ekanos.json file declares your project’s entry point and publishing target. It has three shapes, chosen by kind: an integration (the default), an experience, or the root of a repo.
Single-integration project
Multi-integration project
validate cross-checks multiple integrations for colliding slugs, widget ids, and tool names.
Experience project
slug, entry and at least one entry in integrations; it may not carry contract. The integrations entries are { name, version, operations, required?, modes? }: see Build an experience. uses is the deprecated, aliased form and is accepted for one version; declaring both is an error.
Repo root
packages is a list of globs relative to the repo root; each match is a package with its own ekanos.json. The one other field is namespace, the namespace the repo’s packages are published under (your Source’s namespace). It lets an experience’s vastly/news entry find the repo’s own news package; when it is absent the CLI uses the single source every integration package names. See Namespaced integrations. See One repo, many packages.
All fields
What this
ekanos.json describes. Defaults to "integration". "repo" is
only valid with packages and nothing else.Kebab-case identifier (e.g.,
"my-integration"). Must match the definition’s
slug field. Only used in the single-integration form.Path to the module exporting your
defineIntegration(...) result (default
export, or any named export that is an object with a string slug field).
Only used in the single-integration form.Array of
{ slug, entry } objects for multi-integration projects. Each slug must be unique, and each entry must export a definition with a matching slug. Only used in the list form.Integrations only. The authored contract version (semver, such as
"0.1.0");
the compat line follows it. Required by ekanos contract. See Operation
contracts.Who may use the package once it is published. Defaults to global. See
Availability; the host does not read it
at submission yet.
Experiences only. Import specifiers, beyond the default allowlist, that the
integration-import boundary accepts.
Extra Tailwind The harness already points at:
@source globs to include in the dev harness. Project-relative, no .. allowed, restricted character set (validated strictly since they’re written verbatim into generated CSS).Top level only — not per-integration, because Tailwind scans one content set for the whole shell.src/, app/, lib/, components/, integrations/, packages/. Add globs here only for integration sources outside those locations.Ekanos source slug this project publishes to (e.g.,
"my-source"). Written by
ekanos use and by every successful publish whose source differs. Read by
publish when no --source flag is passed, and by status to list the
project’s submissions.Ekanos host origin (e.g.,
"https://your-ekanos-host"). Written by a
successful publish or ekanos use only when the field is absent — an
existing host is never overwritten. Read by every host-taking verb except
login (see Authentication).One or more http(s) URLs or project-relative paths to the target API’s documentation. Created by
ekanos init --docs if provided, but you can add or edit this field anytime.Optional. URLs are never fetched; a project-relative path that doesn’t exist produces a docs/missing-file warning from validate.Slug consistency
Theslug in ekanos.json must equal the slug in the definition it points at. If they disagree, validate reports a project.slug-agreement error naming both values.
Strictness
The file is strict: an unrecognised key is an error naming the key, not a silent no-op. Given:precondition_failed (exit 9):
Auto-generated fields
A successfulpublish writes source (and host, if absent) to ekanos.json. This lets later verbs find the same deployment without needing flags:
ekanos use <slug> also writes source, and optionally host if not already set.
Where it lives
ekanos.json lives at the root of your project directory — the current working directory, or --dir. validate, dev, test, use, publish, and upgrade require it and fail with not_found (exit 6) when it is missing; status and sources read it when present.
Troubleshooting
Unrecognized key
Check your field names against the reference above. Remember:- Single projects use
slug+entry - Multi projects use
integrations(array of objects) - Never mix both forms
Slug mismatch
validate reports ekanos.json declares slug "<a>" for this entry, but the definition says "<b>". Edit either ekanos.json or the definition so they agree.
Missing required fields
- Single-integration projects must have
slugandentry - Multi-integration projects must have
integrationswith at least one entry entrymust be a path, relative to the project, to a file that exists (otherwisenot_found, exit 6)