Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
docs: document pushing connector images to your org namespace
Jose Ramirezf45adb4f4a24
diff --git a/docs/get-started/registry-quickstart.md b/docs/get-started/registry-quickstart.mdindex f0e42928b..612a0e6aa 100644--- a/docs/get-started/registry-quickstart.md+++ b/docs/get-started/registry-quickstart.md@@ -142,7 +142,39 @@ curl -s -H "Authorization: Bearer $REGISTRY_API_KEY" \# → {"type":"machine","orgName":"<org>","scopes":["registry:publish", …]}```-## 6. Publish your first entry+## 6. Push an image (local connectors only)++A **local** connector runs from an image the registry hosts under your org. Push+it before publishing the entry that points at it. Recipes have no image and skip+this step.++**Publisher → Docker credentials** (`/publisher/credentials`) generates a push+credential and shows your exact coordinate. Log in with the literal username+`_`, then push into `<org>/<name>`:++```bash+echo "$REGISTRY_API_KEY" | docker login registry.evenfire.ai -u _ --password-stdin+docker tag my-connector:local registry.evenfire.ai/acme/db-tools:1.4.0+docker push registry.evenfire.ai/acme/db-tools:1.4.0+```++Three ways this goes wrong:++- **The `@` does not belong in the image path.** The entry is `@acme/db-tools`;+ the image is `registry.evenfire.ai/acme/db-tools`. Docker reads `@` as the+ digest delimiter and rejects the reference outright.+- **The org segment is not optional.** `registry.evenfire.ai/db-tools` sits+ outside your namespace, which is all your key grants. Host, then org, then+ name, every time.+- **`<name>` must equal the entry's name.** The pull grant is resolved from the+ OCI path, so `@acme/db-tools` published against+ `registry.evenfire.ai/acme/dbtools` is rejected with a `422` at publish and+ again at install. Left unchecked it would deny the pull and show up as an+ `ImagePullBackOff` in someone else's cluster.++The tag is yours to pick — only the repo path is matched against the entry name.++## 7. Publish your first entry### From the Control UI@@ -177,19 +209,21 @@ Field-by-field reference and the update/delete routes are in## Troubleshooting-| Symptom | Cause and fix |-| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `control-api` will not start, complains about the URL | `CLERUM_REGISTRY_URL` is not in the allowlist. Add it to `CLERUM_REGISTRY_URL_ALLOWLIST` (see step 1). |-| No Connect panel, no banner | The deployment is in `managed` mode. Managed deployments are connected for you and have nothing to configure. |-| `org_name_taken` on registration | Another deployment holds that organization name. Pick a different one and register again. Nothing was saved. |-| `org_blocklisted` on registration | The name is reserved. Pick a different one. |-| Connect panel stuck at **Finishing the connection** | The inline redeem did not land. Press **Finish connecting**; it needs no token. Reach for **Start over** only when the panel says the credentials were issued but never stored. |-| `deployment_suspended` | Evenfire suspended the deployment. Contact support. Do **not** press Start over: a suspension is reversible, a destroyed keypair is not. |-| `409 CONFLICT` on publish | That `name` + `version` already exists. Bump the version; versions are immutable. |-| `400 scope_required` on publish | The entry name is unscoped. Use `@<org>/<name>`. |-| `422` naming the `imageRef` | For an evenfire-hosted local plugin the image repo must equal the entry name, or the cross-org pull is denied at install time. |-| `403` when managing **grants** | Expected. Deployments that onboarded through self-hosted connect do not hold `registry:grant`. Receiving and installing granted plugins still works. |-| Connector installed but cannot reach its API | Egress. Default-deny networking blocks anything not declared in the install's egress step. |+| Symptom | Cause and fix |+| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `control-api` will not start, complains about the URL | `CLERUM_REGISTRY_URL` is not in the allowlist. Add it to `CLERUM_REGISTRY_URL_ALLOWLIST` (see step 1). |+| No Connect panel, no banner | The deployment is in `managed` mode. Managed deployments are connected for you and have nothing to configure. |+| `org_name_taken` on registration | Another deployment holds that organization name. Pick a different one and register again. Nothing was saved. |+| `org_blocklisted` on registration | The name is reserved. Pick a different one. |+| Connect panel stuck at **Finishing the connection** | The inline redeem did not land. Press **Finish connecting**; it needs no token. Reach for **Start over** only when the panel says the credentials were issued but never stored. |+| `deployment_suspended` | Evenfire suspended the deployment. Contact support. Do **not** press Start over: a suspension is reversible, a destroyed keypair is not. |+| `409 CONFLICT` on publish | That `name` + `version` already exists. Bump the version; versions are immutable. |+| `400 scope_required` on publish | The entry name is unscoped. Use `@<org>/<name>`. |+| `invalid reference format` from `docker` | The `@` scope prefix is in the image path. It belongs in the entry name only: push to `registry.evenfire.ai/<org>/<name>`, not `/@<org>/<name>`. |+| `docker push` denied | The path is missing the org segment, or you logged in as something other than the literal username `_`. Your key grants `<org>/…` and nothing above it. |+| `422` naming the `imageRef` | The image repo path does not equal the entry name. `@acme/db-tools` needs `registry.evenfire.ai/acme/db-tools`. Checked at publish and install, since a mismatch denies the pull. |+| `403` when managing **grants** | Expected. Deployments that onboarded through self-hosted connect do not hold `registry:grant`. Receiving and installing granted plugins still works. |+| Connector installed but cannot reach its API | Egress. Default-deny networking blocks anything not declared in the install's egress step. |## Next stepsdiff --git a/docs/how-to/publish-plugin-to-registry.md b/docs/how-to/publish-plugin-to-registry.mdindex be376a89c..cd39f0e88 100644--- a/docs/how-to/publish-plugin-to-registry.md+++ b/docs/how-to/publish-plugin-to-registry.md@@ -30,7 +30,65 @@ curl -s -H "Authorization: Bearer $REGISTRY_API_KEY" \# → {"type":"machine","orgName":"<org>","scopes":["registry:publish", …]}```-## 2. Publish — `POST /api/v1/entries`+## 2. Push a connector image to your org namespace++A **local** connector runs from an image the registry hosts under your org. Push+it before publishing the entry that references it.++**Control UI → Publisher → Docker credentials** (`/publisher/credentials`)+generates a durable push credential and hands you the login command, a+downloadable `dockerconfigjson` for CI, and your exact push coordinate. A key+minted at **Marketplace → API keys** works identically — both are `efrk_` org+keys.++Log in with the literal username `_`:++```bash+echo "$REGISTRY_API_KEY" | docker login registry.evenfire.ai -u _ --password-stdin+```++Then tag and push into `<org>/<name>`:++```bash+docker tag my-connector:local registry.evenfire.ai/acme/db-tools:1.4.0+docker push registry.evenfire.ai/acme/db-tools:1.4.0+```++### Four things that go wrong here++1. **No `@` in the image path.** The entry is named `@acme/db-tools`, but the+ image is `registry.evenfire.ai/acme/db-tools:1.4.0`. Docker reads `@` as the+ digest delimiter and refuses `registry.evenfire.ai/@acme/…` outright with+ `invalid reference format`. The scope prefix belongs in the entry name and+ nowhere else.++2. **The org segment is not optional.** `registry.evenfire.ai/db-tools:1.4.0`+ is outside your namespace, and your key only grants `<org>/…`. The path is+ always host, then org, then name.++3. **`<name>` must equal the entry's name.** For an evenfire-hosted local+ plugin, the pull grant is resolved from the OCI path as+ `@<org>/<name>`, so the image repo path has to match the entry exactly.+ Publishing `@acme/db-tools` with an `imageRef` of+ `registry.evenfire.ai/acme/dbtools` is rejected with a `422` naming both+ values. The check runs at publish **and** at install, because a mismatch+ would otherwise deny the cross-org pull and surface as a silent+ `ImagePullBackOff` in someone else's cluster.++4. **Docker manifest format.** The registry advertises+ `http.compat: ["docker2s2"]`, so Docker schema-2 manifests are accepted and a+ plain `docker push` works. If your tooling emits OCI-only images and the push+ is rejected, re-tag to Docker manifest format.++The **tag** is yours to choose. Only the repo path (`<org>/<name>`) is checked+against the entry name, so a tag that differs from the entry `version` is+allowed — though matching them keeps things legible.++For CI, download the `dockerconfigjson` and mount it as `~/.docker/config.json`+or a Kubernetes `dockerconfigjson` secret. Keys are listable and revocable from+the same panel.++## 3. Publish — `POST /api/v1/entries`Required fields: `name` (**`@<org>/<name>`**), `version` (semver), `entryType`(`recipe` | `mcp-server`), `description`, `author`, `origin`, `category`,@@ -44,18 +102,21 @@ curl -s -X POST https://registry.evenfire.ai/api/v1/entries \-H "Content-Type: application/json" -d @entry.json```-Two gotchas for org-key callers:+Three gotchas for org-key callers:1. The name **must** be scoped `@<org>/<name>` — a bare name is rejected(`400 scope_required`). `@clerum` / `@evenfire` names are curator-only.2. The bare `<name>` **must equal** the recipe's `metadata.name` — a mismatch is`400 INVALID_INPUT`. Use `metadata.name`, not your repo name.+3. For a **local connector**, `imageRef` points at the image you pushed in+ step 2 and its repo path must be `<org>/<name>`, matching this entry's name+ without the `@`. A mismatch is a `422` naming both values.To build the recipe itself, see the[`@clerum/workflow-sdk`](../../packages/workflow-sdk/README.md) and the[WorkflowRecipe CRD reference](../crds/workflowrecipe.md).-## 3. Verify+## 4. VerifyA `private` entry is hidden from the default listing — pass `?visibility=all`:@@ -64,7 +125,7 @@ curl -s -H "Authorization: Bearer $REGISTRY_API_KEY" \"https://registry.evenfire.ai/api/v1/entries?q=<name>&visibility=all"```-## 4. Update+## 5. Update- Re-publishing the **same `name` + `version` → `409 CONFLICT`.** Bump theversion to ship a change.