kylon-cli 0.2.2-next.271 → 0.2.2-next.276
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 +26 -17
- package/dist/kylon-bundle.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,21 +9,22 @@ Requires Node.js 22.15.0 or newer.
|
|
|
9
9
|
|
|
10
10
|
The CLI is published to npm as
|
|
11
11
|
[`kylon-cli`](https://www.npmjs.com/package/kylon-cli). The Web UI provides
|
|
12
|
-
two copy-paste entry points
|
|
12
|
+
two distinct copy-paste entry points:
|
|
13
13
|
|
|
14
14
|
- **Workspace Settings → Kylon CLI** shows
|
|
15
|
-
`npx --yes kylon-cli@<tag>
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
`npx --yes kylon-cli@<tag> auth login --workspace <id>` — authorizes this
|
|
16
|
+
installation for human workspace commands. Its **Use with Your Agents**
|
|
17
|
+
prompt teaches Claude Code, Codex, Hermes, or OpenClaw to discover and use
|
|
18
|
+
`kylon workspace` commands without assuming a provider-specific interface.
|
|
18
19
|
- **An external agent's Settings page** (and the create-agent flow) shows
|
|
19
|
-
`npx --yes kylon-cli@<tag> connect --url '<setup url>'` —
|
|
20
|
-
|
|
21
|
-
URL carries intent only (workspace + agent),
|
|
22
|
-
after an hour.
|
|
23
|
-
|
|
24
|
-
Both commands browser-authenticate the operator
|
|
25
|
-
machine-scoped credential stored locally with mode `0600`)
|
|
26
|
-
daemon. In release builds on supported hosts a user-level
|
|
20
|
+
`npx --yes kylon-cli@<tag> connect --url '<setup url>'` — authorizes the
|
|
21
|
+
installation when needed, registers it as a computer, and assigns the named
|
|
22
|
+
agent in the same run. The setup URL carries intent only (workspace + agent),
|
|
23
|
+
never a credential, and expires after an hour.
|
|
24
|
+
|
|
25
|
+
Both commands browser-authenticate the operator. Only `connect` enrolls the
|
|
26
|
+
computer (minting a machine-scoped credential stored locally with mode `0600`)
|
|
27
|
+
and starts the host daemon. In release builds on supported hosts a user-level
|
|
27
28
|
`launchd` / `systemd --user` service is installed so the daemon survives
|
|
28
29
|
terminal exit, reboot, and sleep/wake; otherwise the daemon runs in the
|
|
29
30
|
foreground until `Ctrl+C`.
|
|
@@ -85,7 +86,7 @@ workspace's **Settings → Kylon CLI** section, expand it, and copy its setup
|
|
|
85
86
|
command, or run:
|
|
86
87
|
|
|
87
88
|
```bash
|
|
88
|
-
|
|
89
|
+
npx --yes kylon-cli@latest auth login --workspace <WORKSPACE_ID>
|
|
89
90
|
```
|
|
90
91
|
|
|
91
92
|
The CLI opens Kylon in your browser. After you sign in, confirm the installation
|
|
@@ -142,9 +143,17 @@ Logout revokes the selected installation credential remotely before removing
|
|
|
142
143
|
that entry from the local collection. With no `--workspace`, it selects the most
|
|
143
144
|
recently authorized entry. If Kylon cannot confirm revocation, it keeps the local
|
|
144
145
|
credential so you can retry. `kylon auth logout --local-only` deliberately skips
|
|
145
|
-
the remote revocation.
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
the remote revocation. This logout is deliberately credential-only: it does not
|
|
147
|
+
disconnect a computer or unassign its agents. If that installation still hosts
|
|
148
|
+
external agents, it remains listed as an **Authorized device** so its host
|
|
149
|
+
authority can still be removed without signing the CLI in again.
|
|
150
|
+
|
|
151
|
+
You can instead remove an **Authorized device** from **Settings → Kylon CLI**.
|
|
152
|
+
After warning about the impact, that workspace-scoped action revokes any active
|
|
153
|
+
installation credential, disconnects and revokes the computer host associated
|
|
154
|
+
with the same installation, and unassigns every external agent hosted there.
|
|
155
|
+
The device's authorizations and host registrations in other workspaces, browser
|
|
156
|
+
sessions, and workspace service keys are unaffected.
|
|
148
157
|
|
|
149
158
|
Credentials created by the earlier browser flow appear as **Legacy user API
|
|
150
159
|
key** in Settings. They can be revoked there, but they are not bound to a single
|
|
@@ -155,7 +164,7 @@ workspace; sign in again to replace one with the per-installation flow.
|
|
|
155
164
|
`kylon connect` is the single onboarding entrypoint.
|
|
156
165
|
|
|
157
166
|
```bash
|
|
158
|
-
#
|
|
167
|
+
# Register this machine directly, then assign agents from the web:
|
|
159
168
|
npx --yes kylon-cli@latest connect --workspace <WORKSPACE_ID>
|
|
160
169
|
|
|
161
170
|
# From an agent's page — register this machine AND assign that agent to it:
|