@hlix/cli 0.8.0 → 1.0.2
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 +5 -3
- package/THIRD_PARTY_NOTICES +19 -15
- package/dist/index-prve49qz.js +406 -0
- package/dist/index.js +4 -4
- package/dist/main-r8tdnspm.js +169 -0
- package/dist/{package-32h7hjkw.js → package-0e5rh922.js} +1 -1
- package/package.json +19 -18
- package/skills/hlix/SKILL.md +20 -9
- package/dist/index-8rhfsnj8.js +0 -399
- package/dist/main-exs93wtp.js +0 -147
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var s="@hlix/cli",e="0.
|
|
2
|
+
var s="@hlix/cli",e="1.0.2",n="SEE LICENSE IN LICENSE",a="Hlix Code and the hlix control-plane CLI.",r=["hlix","cli","agents"],l="https://hlix.ai",c="module",p="./dist/index.js",o={hlix:"./bin/hlix"},b=["bin","install.cjs","dist","skills","LICENSE","THIRD_PARTY_NOTICES"],d={node:">=22.19.0"},u={access:"public"},h={build:"rm -rf dist && bun build src/index.ts --outdir dist --target node --format esm --splitting --packages external --minify --banner '#!/usr/bin/env node'",test:'bun test src --path-ignore-patterns "**/*.integration.test.ts" --timeout 20000',typecheck:"tsc --noEmit",prepublishOnly:"bun run typecheck && bun run build && bun run test","test:integration":"NODE_ENV=test bun run ../../apps/backend/scripts/with-aimock.ts -- bun run ../../apps/backend/scripts/with-test-db.ts -- bun test --isolate --preload ../../apps/backend/test/helpers/pool-lifecycle.ts --timeout 60000 .integration.test.ts","build:binary":"bun run scripts/build-binary.ts","test:binary":"bun run build:binary && HLIX_TEST_BINARY=dist-native/hlix bun test src/__tests__/binary.test.ts --timeout 60000 && bun run scripts/smoke-binary.ts","test:integration:binary":"bun run build:binary && HLIX_TEST_BINARY=dist-native/hlix NODE_ENV=test bun run ../../apps/backend/scripts/with-aimock.ts -- bun run ../../apps/backend/scripts/with-test-db.ts -- bun test --isolate --preload ../../apps/backend/test/helpers/pool-lifecycle.ts --timeout 60000 src/__tests__/auth.integration.test.ts",postinstall:"node install.cjs"},m={"@agentclientprotocol/sdk":"1.8.0","@earendil-works/pi-tui":"1.3.0","@mastra/acp":"^0.4.2","@mastra/core":"1.74.0","@mastra/docker":"^0.9.2","@mastra/libsql":"1.25.0","@mastra/mcp":"2.1.2","@mastra/memory":"1.35.0","dinero.js":"2.0.2",ignore:"7.0.12","jsonc-parser":"3.3.1","openapi-fetch":"^0.17.0","smol-toml":"1.9.1",yaml:"2.9.1",zod:"4.6.7"},x={"@hlix/sdk":"^1.0.0","@hlix/shared":"*","@types/bun":"latest",typescript:"^7.0.2"},y={"@hlix/cli-darwin-arm64":"1.0.2","@hlix/cli-darwin-x64":"1.0.2","@hlix/cli-linux-x64":"1.0.2","@hlix/cli-linux-arm64":"1.0.2"},k={name:s,version:e,license:n,description:a,keywords:r,homepage:l,type:c,main:p,bin:o,files:b,engines:d,publishConfig:u,scripts:h,dependencies:m,devDependencies:x,optionalDependencies:y};export{o as bin,k as default,m as dependencies,a as description,x as devDependencies,d as engines,b as files,l as homepage,r as keywords,n as license,p as main,s as name,y as optionalDependencies,u as publishConfig,h as scripts,c as type,e as version};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hlix/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "Hlix Code and the hlix control-plane CLI.",
|
|
6
6
|
"keywords": [
|
|
@@ -40,31 +40,32 @@
|
|
|
40
40
|
"postinstall": "node install.cjs"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@agentclientprotocol/sdk": "
|
|
44
|
-
"@earendil-works/pi-tui": "
|
|
45
|
-
"@mastra/acp": "^0.4.
|
|
46
|
-
"@mastra/core": "1.
|
|
47
|
-
"@mastra/docker": "^0.9.
|
|
48
|
-
"@mastra/libsql": "1.
|
|
49
|
-
"@mastra/mcp": "2.1.
|
|
50
|
-
"@mastra/memory": "1.
|
|
51
|
-
"
|
|
43
|
+
"@agentclientprotocol/sdk": "1.8.0",
|
|
44
|
+
"@earendil-works/pi-tui": "1.3.0",
|
|
45
|
+
"@mastra/acp": "^0.4.2",
|
|
46
|
+
"@mastra/core": "1.74.0",
|
|
47
|
+
"@mastra/docker": "^0.9.2",
|
|
48
|
+
"@mastra/libsql": "1.25.0",
|
|
49
|
+
"@mastra/mcp": "2.1.2",
|
|
50
|
+
"@mastra/memory": "1.35.0",
|
|
51
|
+
"dinero.js": "2.0.2",
|
|
52
|
+
"ignore": "7.0.12",
|
|
52
53
|
"jsonc-parser": "3.3.1",
|
|
53
54
|
"openapi-fetch": "^0.17.0",
|
|
54
|
-
"smol-toml": "1.
|
|
55
|
-
"yaml": "2.9.
|
|
56
|
-
"zod": "4.6.
|
|
55
|
+
"smol-toml": "1.9.1",
|
|
56
|
+
"yaml": "2.9.1",
|
|
57
|
+
"zod": "4.6.7"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
|
-
"@hlix/sdk": "^0.
|
|
60
|
+
"@hlix/sdk": "^1.0.0",
|
|
60
61
|
"@hlix/shared": "*",
|
|
61
62
|
"@types/bun": "latest",
|
|
62
63
|
"typescript": "^7.0.2"
|
|
63
64
|
},
|
|
64
65
|
"optionalDependencies": {
|
|
65
|
-
"@hlix/cli-darwin-arm64": "0.
|
|
66
|
-
"@hlix/cli-darwin-x64": "0.
|
|
67
|
-
"@hlix/cli-linux-x64": "0.
|
|
68
|
-
"@hlix/cli-linux-arm64": "0.
|
|
66
|
+
"@hlix/cli-darwin-arm64": "1.0.2",
|
|
67
|
+
"@hlix/cli-darwin-x64": "1.0.2",
|
|
68
|
+
"@hlix/cli-linux-x64": "1.0.2",
|
|
69
|
+
"@hlix/cli-linux-arm64": "1.0.2"
|
|
69
70
|
}
|
|
70
71
|
}
|
package/skills/hlix/SKILL.md
CHANGED
|
@@ -84,7 +84,7 @@ file sets it — and where it applies. The stored credential stays at
|
|
|
84
84
|
`~/.config/hlix/credentials.json` and is not part of this cascade.
|
|
85
85
|
|
|
86
86
|
`harness` names the coder Hlix Code runs (`hlix`, `claude-code`, `codex`,
|
|
87
|
-
`
|
|
87
|
+
`opencode`, `goose`, `qwen-code`, `pi`) and applies to the `local` and `docker` sandboxes only — a
|
|
88
88
|
cloud project's coder is the project's own harness setting on the server.
|
|
89
89
|
`model` is the model the hlix agent starts on; `sandbox` is where its files and
|
|
90
90
|
shell live (`cloud`, `docker`, `local`). `dockerImage` is the container image
|
|
@@ -157,7 +157,7 @@ Secrets are agency-only on every route. A client collaborator gets `forbidden`.
|
|
|
157
157
|
hlix cycles create <project-id> --title <t> --description <d> [--json]
|
|
158
158
|
hlix tasks create <project-id> --description <d> [--title <t>] [--json]
|
|
159
159
|
hlix harness get [project-id] [--json]
|
|
160
|
-
hlix harness set <hlix|claude-code|codex|
|
|
160
|
+
hlix harness set <hlix|claude-code|codex|opencode|goose|qwen-code|pi> [project-id] [--org] [--json]
|
|
161
161
|
hlix harness clear [project-id] [--org] [--json]
|
|
162
162
|
```
|
|
163
163
|
|
|
@@ -189,6 +189,8 @@ hlix rules [--edit] [--global] [--json] # the rules files the coding agent rea
|
|
|
189
189
|
hlix projects list [--json] # projects in the workspace
|
|
190
190
|
hlix projects get [project-id] [--json]
|
|
191
191
|
hlix projects delete <id|name> [--yes] [--json]
|
|
192
|
+
hlix projects watch [--project <id>] [--json] # stream the project manager's feed until stopped
|
|
193
|
+
hlix projects message [--project <id>] <text> [--json] # send the project manager a message, print its answer
|
|
192
194
|
hlix init [folder] [--project <id>] [--json] # create committed project configuration; --project binds an existing cloud project
|
|
193
195
|
hlix terminal [project-id] [--print] [--web] [--json] # shell into the project's Coding Workspace (ssh here, or the browser terminal)
|
|
194
196
|
hlix import [folder] [--dry-run] [--env-file <path>] [--history preserve|sanitize] [--include <path>] [--yes] [--json]
|
|
@@ -201,7 +203,7 @@ hlix agent import <markdown-file> [--name <name>] [--runtime <runtime>] [--duty
|
|
|
201
203
|
hlix mcp import <.mcp.json> [--server <name>] [--allow-stdio] [--json]
|
|
202
204
|
hlix tasks list [--project <id>] [--status <status>] [--json]
|
|
203
205
|
hlix tasks get <task-id> [--json] # one task
|
|
204
|
-
hlix tasks review <task-id> [--json] # the verified review evidence
|
|
206
|
+
hlix tasks review <task-id> [--json] # the verified review evidence of the task's cycle
|
|
205
207
|
hlix tasks watch <task-id> [--json] # stream status changes until the task ends
|
|
206
208
|
```
|
|
207
209
|
|
|
@@ -217,8 +219,16 @@ the command itself always exits 0. An argument error — an unknown flag, a stra
|
|
|
217
219
|
positional, a `--cwd` that is not a directory — is still exit 2, because it is
|
|
218
220
|
rejected before `status` runs at all.
|
|
219
221
|
|
|
220
|
-
`tasks list`
|
|
221
|
-
so
|
|
222
|
+
`tasks list`, `projects get`, `projects watch` and `projects message` default to
|
|
223
|
+
the project this folder is bound to, so they are usable with no arguments inside
|
|
224
|
+
an imported project.
|
|
225
|
+
|
|
226
|
+
`projects watch` is read-only: cycle and task changes, the decisions the
|
|
227
|
+
project manager makes, its messages and the runs it starts, including the ones
|
|
228
|
+
it starts on its own. It runs until stopped, survives a dropped connection, and
|
|
229
|
+
prints `Cloud work landed` when a cycle finishes or the preview moves.
|
|
230
|
+
`projects message` posts to the same thread the dashboard chat uses; a
|
|
231
|
+
manager busy answering someone else fails it with `conflict` and nothing is sent.
|
|
222
232
|
|
|
223
233
|
Run `hlix import --dry-run` first. The report includes file count, byte count and the number of protected files, without secret values. Review the upload, then use `--yes` to approve it. New projects receive a repository in **HLIX Repos**. Local Git history and origin stay intact.
|
|
224
234
|
|
|
@@ -267,7 +277,7 @@ Transport-only inspection commands pass the API response through unchanged.
|
|
|
267
277
|
Local project commands such as `import`, `push`, `pull`, and `sync` return the
|
|
268
278
|
documented local result shape. The CLI selects columns for the human table only.
|
|
269
279
|
|
|
270
|
-
`tasks watch --json` and `mirror --json` (without `--once`) are the exceptions
|
|
280
|
+
`tasks watch --json`, `projects watch --json` and `mirror --json` (without `--once`) are the exceptions
|
|
271
281
|
to "one document": they emit **one envelope per line** (JSONL), because a live
|
|
272
282
|
stream cannot be a single JSON document. Read them line by line.
|
|
273
283
|
|
|
@@ -293,9 +303,10 @@ hlix -p "<prompt>" [--json] [--yolo] [--sandbox cloud|docker|local] [--cwd <dir>
|
|
|
293
303
|
final text and exits `0`; a turn that was aborted, errored or parked exits `1`.
|
|
294
304
|
`--json` replaces that with one JSON object per line — `message_end` carries
|
|
295
305
|
`role` and `text`, `tool_start` / `tool_end` carry the tool and its call id,
|
|
296
|
-
`usage_update` carries `totalTokens` and `
|
|
297
|
-
|
|
298
|
-
|
|
306
|
+
`usage_update` carries `totalTokens` and `costMicros` (whole micros of a US
|
|
307
|
+
dollar: `1000000` is US$1) when the provider reported a price,
|
|
308
|
+
`subagent_start` / `subagent_end` carry the subagent's type, and the last line
|
|
309
|
+
is `agent_end` with a `reason`. The controller's `display_state_changed`
|
|
299
310
|
snapshots are deliberately NOT emitted: one follows every other event and repeats
|
|
300
311
|
what the typed events already said.
|
|
301
312
|
|