@hlix/cli 1.0.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 +2 -2
- 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-qbwm0yj5.js → package-0e5rh922.js} +1 -1
- package/package.json +12 -11
- package/skills/hlix/SKILL.md +7 -6
- package/dist/index-jf4vh8hj.js +0 -403
- package/dist/main-003f6m56.js +0 -161
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var s="@hlix/cli",e="1.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": "1.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,20 +40,21 @@
|
|
|
40
40
|
"postinstall": "node install.cjs"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@agentclientprotocol/sdk": "1.
|
|
44
|
-
"@earendil-works/pi-tui": "
|
|
43
|
+
"@agentclientprotocol/sdk": "1.8.0",
|
|
44
|
+
"@earendil-works/pi-tui": "1.3.0",
|
|
45
45
|
"@mastra/acp": "^0.4.2",
|
|
46
46
|
"@mastra/core": "1.74.0",
|
|
47
47
|
"@mastra/docker": "^0.9.2",
|
|
48
48
|
"@mastra/libsql": "1.25.0",
|
|
49
49
|
"@mastra/mcp": "2.1.2",
|
|
50
50
|
"@mastra/memory": "1.35.0",
|
|
51
|
-
"
|
|
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
60
|
"@hlix/sdk": "^1.0.0",
|
|
@@ -62,9 +63,9 @@
|
|
|
62
63
|
"typescript": "^7.0.2"
|
|
63
64
|
},
|
|
64
65
|
"optionalDependencies": {
|
|
65
|
-
"@hlix/cli-darwin-arm64": "1.0.
|
|
66
|
-
"@hlix/cli-darwin-x64": "1.0.
|
|
67
|
-
"@hlix/cli-linux-x64": "1.0.
|
|
68
|
-
"@hlix/cli-linux-arm64": "1.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
|
|
|
@@ -203,7 +203,7 @@ hlix agent import <markdown-file> [--name <name>] [--runtime <runtime>] [--duty
|
|
|
203
203
|
hlix mcp import <.mcp.json> [--server <name>] [--allow-stdio] [--json]
|
|
204
204
|
hlix tasks list [--project <id>] [--status <status>] [--json]
|
|
205
205
|
hlix tasks get <task-id> [--json] # one task
|
|
206
|
-
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
|
|
207
207
|
hlix tasks watch <task-id> [--json] # stream status changes until the task ends
|
|
208
208
|
```
|
|
209
209
|
|
|
@@ -303,9 +303,10 @@ hlix -p "<prompt>" [--json] [--yolo] [--sandbox cloud|docker|local] [--cwd <dir>
|
|
|
303
303
|
final text and exits `0`; a turn that was aborted, errored or parked exits `1`.
|
|
304
304
|
`--json` replaces that with one JSON object per line — `message_end` carries
|
|
305
305
|
`role` and `text`, `tool_start` / `tool_end` carry the tool and its call id,
|
|
306
|
-
`usage_update` carries `totalTokens` and `
|
|
307
|
-
|
|
308
|
-
|
|
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`
|
|
309
310
|
snapshots are deliberately NOT emitted: one follows every other event and repeats
|
|
310
311
|
what the typed events already said.
|
|
311
312
|
|