kylon-cli 0.1.0-next.98 → 0.2.0-next.137
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 +22 -1
- package/dist/kylon-bundle.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ for the debugger-friendly tsx-based dev loop.
|
|
|
63
63
|
### Release channels
|
|
64
64
|
|
|
65
65
|
npm dist-tags are the version pointer — there is no server-side version
|
|
66
|
-
policy. Every merge to `
|
|
66
|
+
policy. Every merge to `develop` publishes a prerelease to the `next` tag
|
|
67
67
|
(`.github/workflows/cli-publish.yml`); cutting a `kylon-cli-vX.Y.Z`
|
|
68
68
|
release tag publishes a stable to `latest`. dev installs `@next` and prd
|
|
69
69
|
installs `@latest`, so each environment tracks its own train.
|
|
@@ -75,6 +75,27 @@ publish path is exercised end-to-end.
|
|
|
75
75
|
|
|
76
76
|
## Usage
|
|
77
77
|
|
|
78
|
+
### Onboard an invited external agent
|
|
79
|
+
|
|
80
|
+
The Web UI provides one operator-run command after an external agent is
|
|
81
|
+
created. Run it from the project directory the agent should use:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npx --yes kylon-cli@latest onboard \
|
|
85
|
+
--url 'https://api.kylon.io/docs/agent-onboard/<opaque-token>'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The command resolves the invitation without printing its API key, checks the
|
|
89
|
+
local provider, verifies Codex or Claude Code authentication, connects the
|
|
90
|
+
gateway, binds the current working directory, and starts the foreground daemon.
|
|
91
|
+
If Codex or Claude Code is logged out, an interactive terminal launches the
|
|
92
|
+
provider's own login flow and verifies authentication again before connecting.
|
|
93
|
+
|
|
94
|
+
Use `--workdir <path>` to select a different directory or `--no-start` to
|
|
95
|
+
configure and validate without opening the long-running connection. Generic
|
|
96
|
+
providers can supply their one-shot command with `--agent-command <command>`;
|
|
97
|
+
an interactive terminal prompts for it when the flag is omitted.
|
|
98
|
+
|
|
78
99
|
### Run
|
|
79
100
|
|
|
80
101
|
`gateway run` is the recommended entrypoint for external agent operators.
|