@ekanos/cli 0.26.1 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/catalog-api.d.ts +4 -1
- package/dist/catalog-api.js +3 -1
- package/dist/catalog-api.js.map +1 -1
- package/dist/commands/catalog.d.ts +5 -2
- package/dist/commands/catalog.js +8 -3
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/dev.js +6 -4
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/teams-overview.js +2 -1
- package/dist/commands/teams-overview.js.map +1 -1
- package/dist/host-snapshots.d.ts +10 -0
- package/dist/host-snapshots.js +48 -21
- package/dist/host-snapshots.js.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/templates/claude-skill.md.tmpl +4 -3
- package/templates/experience/package.json.tmpl +4 -4
- package/templates/package.json.tmpl +4 -4
- package/templates/skills/build-agent/SKILL.md +1 -1
- package/templates/skills/build-agent/references/agent-json.md +2 -2
- package/templates/skills/build-agent/references/app-setup.md +1 -1
- package/templates/skills/build-agent/references/set-up-an-integration.md +1 -1
- package/templates/skills/build-agent/references/triggers.md +1 -1
- package/templates/skills/ekanos-platform/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekanos/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Ekanos partner toolchain CLI: scaffold, validate, and test an Ekanos integration against the published @ekanos packages. Agent-native — every verb speaks JSON with a stable exit-code taxonomy.",
|
|
6
6
|
"keywords": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@clack/prompts": "1.9.0",
|
|
38
|
-
"@ekanos/integration-schema": "0.
|
|
38
|
+
"@ekanos/integration-schema": "0.32.0",
|
|
39
39
|
"esbuild": "0.28.2",
|
|
40
40
|
"picocolors": "1.1.1"
|
|
41
41
|
},
|
|
@@ -26,11 +26,12 @@ and after upgrading `@ekanos/*` packages. The topic → URL map is in AGENTS.md.
|
|
|
26
26
|
|
|
27
27
|
## Before building, check what the source already has
|
|
28
28
|
|
|
29
|
-
`npx ekanos catalog --json` lists every product the source can use, its
|
|
30
|
-
tools and agent triggers, and the steps left to set each one up
|
|
29
|
+
`npx ekanos catalog --all --json` lists every product the source can use, its
|
|
30
|
+
tools and agent triggers, and the steps left to set each one up (without
|
|
31
|
+
`--all`, only the SDK packages it can build on). If a product
|
|
31
32
|
already does what the user wants, propose setting it up (walk its
|
|
32
33
|
`setupSteps`, naming who does each one) instead of building it again.
|
|
33
|
-
`npx ekanos catalog <product> --json` shows one in full: each tool's
|
|
34
|
+
`npx ekanos catalog <product> --all --json` shows one in full: each tool's
|
|
34
35
|
`inputSchema` (so you can see which other tool returns an id a tool needs)
|
|
35
36
|
and `connection` — who connects the product and whose connection an agent
|
|
36
37
|
run uses.
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"build": "npx ekanos build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ekanos/sdk": "^0.
|
|
26
|
-
"@ekanos/ui": "^0.
|
|
25
|
+
"@ekanos/sdk": "^0.32.0",
|
|
26
|
+
"@ekanos/ui": "^0.32.0",
|
|
27
27
|
"@tanstack/react-query": "^5.101.4",
|
|
28
28
|
"react": "^19.2.8",
|
|
29
29
|
"react-dom": "^19.2.8",
|
|
30
30
|
"zod": "^4.6.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@ekanos/cli": "^0.
|
|
34
|
-
"@ekanos/harness": "^0.
|
|
33
|
+
"@ekanos/cli": "^0.27.0",
|
|
34
|
+
"@ekanos/harness": "^0.32.0",
|
|
35
35
|
"@tailwindcss/postcss": "^4.3.3",
|
|
36
36
|
"@typescript-eslint/parser": "^8.46.2",
|
|
37
37
|
"@types/react": "^19.2.0",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"prepare": "node scripts/setup-hooks.mjs"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ekanos/sdk": "^0.
|
|
16
|
-
"@ekanos/ui": "^0.
|
|
15
|
+
"@ekanos/sdk": "^0.32.0",
|
|
16
|
+
"@ekanos/ui": "^0.32.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ekanos/cli": "^0.
|
|
20
|
-
"@ekanos/harness": "^0.
|
|
19
|
+
"@ekanos/cli": "^0.27.0",
|
|
20
|
+
"@ekanos/harness": "^0.32.0",
|
|
21
21
|
"@hookform/resolvers": "^5.2.2",
|
|
22
22
|
"@tailwindcss/postcss": "^4.3.3",
|
|
23
23
|
"@tanstack/react-query": "^5.101.4",
|
|
@@ -60,7 +60,7 @@ installed — so check it, every time (§ 4, "Make it reachable").
|
|
|
60
60
|
1. `npx @ekanos/cli sources --json` — which Sources, which seats. More than one?
|
|
61
61
|
Ask which Source this is for and pass `--source <slug>` on every command
|
|
62
62
|
after. A `developer` seat can apply drafts but not publish; say so early.
|
|
63
|
-
2. `npx @ekanos/cli catalog --source <slug> --json` — every product the Source
|
|
63
|
+
2. `npx @ekanos/cli catalog --source <slug> --all --json` — every product the Source
|
|
64
64
|
has, its tools, its **agent events** (what can start an agent) and its
|
|
65
65
|
`setupSteps`.
|
|
66
66
|
3. `npx @ekanos/cli agents list --source <slug> --json` — an agent that already
|
|
@@ -56,7 +56,7 @@ conflicting change unless `--overwrite`. Unknown fields are refused.
|
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
The tool names above are illustrations. Take real ones from
|
|
59
|
-
`ekanos catalog --json`; `ekanos catalog <product> --json` gives each tool's
|
|
59
|
+
`ekanos catalog --all --json`; `ekanos catalog <product> --all --json` gives each tool's
|
|
60
60
|
`inputSchema` (when a tool needs an id, another tool of the product returns
|
|
61
61
|
it) and the product's `connection` (`connectedBy`, `runsUse`,
|
|
62
62
|
`sourceConnection`).
|
|
@@ -118,7 +118,7 @@ it) and the product's `connection` (`connectedBy`, `runsUse`,
|
|
|
118
118
|
an optional `prompt` (what to do each time), and `enabled` (default
|
|
119
119
|
`true`; `false` sets it up turned off). Types:
|
|
120
120
|
- `event` — `event` is an integration event (`<slug>.<event>`, as
|
|
121
|
-
`ekanos catalog <product> --json` lists under `agentEvents` — every
|
|
121
|
+
`ekanos catalog <product> --all --json` lists under `agentEvents` — every
|
|
122
122
|
event the product declares, e.g. Zendesk `zendesk.ticket_created` and
|
|
123
123
|
`zendesk.comment_added`, Linear `linear.mentioned`, `linear.assigned`,
|
|
124
124
|
`linear.issue_labeled` and `linear.issue_created`); `filter` holds only
|
|
@@ -14,7 +14,7 @@ the provider's console. Two kinds:
|
|
|
14
14
|
|
|
15
15
|
## Get the facts first — never invent them
|
|
16
16
|
|
|
17
|
-
1. `npx @ekanos/cli catalog <product> --source <slug> --json`: the step's
|
|
17
|
+
1. `npx @ekanos/cli catalog <product> --source <slug> --all --json`: the step's
|
|
18
18
|
`instructions` (the integration's own steps, already filled with the
|
|
19
19
|
Source's exact callback URLs and scopes), `consoleUrl`, `guideUrl`.
|
|
20
20
|
2. For the Source's app, also
|
|
@@ -9,7 +9,7 @@ guess.
|
|
|
9
9
|
|
|
10
10
|
## 1. Find out where it stands (before saying anything)
|
|
11
11
|
|
|
12
|
-
1. `npx @ekanos/cli catalog <product> --source <slug> --json`. Its
|
|
12
|
+
1. `npx @ekanos/cli catalog <product> --source <slug> --all --json`. Its
|
|
13
13
|
`setupSteps` are the integration's own steps, already filled in with this
|
|
14
14
|
Source's exact callback URLs and scopes. Each step has an `actor`:
|
|
15
15
|
`ekanos` (an Ekanos super admin), `source_admin` (the user, if they hold
|
|
@@ -56,7 +56,7 @@ team's triggers follow the template and these commands refuse to change them.
|
|
|
56
56
|
|
|
57
57
|
## Integrations with agent events
|
|
58
58
|
|
|
59
|
-
`ekanos catalog <product> --source <slug> --json` is the authority: its
|
|
59
|
+
`ekanos catalog <product> --source <slug> --all --json` is the authority: its
|
|
60
60
|
`agentEvents` lists **every** event the product declares, with each one's
|
|
61
61
|
filter keys (`filterFields`). The lists below are the known shapes; never
|
|
62
62
|
conclude a product lacks an event because an example here or elsewhere
|
|
@@ -99,7 +99,7 @@ npx @ekanos/cli sources products # what the Source h
|
|
|
99
99
|
|
|
100
100
|
## Products: integrations and experiences
|
|
101
101
|
|
|
102
|
-
Everything in the catalog (`npx @ekanos/cli catalog --source <slug> --json`) is a
|
|
102
|
+
Everything in the catalog (`npx @ekanos/cli catalog --source <slug> --all --json`) is a
|
|
103
103
|
**product** of one of two kinds:
|
|
104
104
|
|
|
105
105
|
- **Integration** — a connection to a third party (Linear, Zendesk, Slack…).
|