@hlix/cli 1.0.0 → 1.0.3

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.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ var e="@hlix/cli",i="1.0.3",n="SEE LICENSE IN LICENSE",r="Hlix Code and the hlix control-plane CLI.",a=["hlix","cli","agents"],l="https://hlix.ai",p="module",o="./dist/index.js",b={hlix:"./bin/hlix"},c=["bin","install.cjs","dist","skills","LICENSE","THIRD_PARTY_NOTICES"],u={node:">=22.19.0"},d={access:"public"},m={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"},h={"@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"},y={"@hlix/sdk":"^1.0.0","@hlix/shared":"*","@types/bun":"latest",typescript:"^7.0.2"},k={name:e,version:i,license:n,description:r,keywords:a,homepage:l,type:p,main:o,bin:b,files:c,engines:u,publishConfig:d,scripts:m,dependencies:h,devDependencies:y};export{b as bin,k as default,h as dependencies,r as description,y as devDependencies,u as engines,c as files,l as homepage,a as keywords,n as license,o as main,e as name,d as publishConfig,m as scripts,p as type,i as version};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hlix/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
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.7.0",
44
- "@earendil-works/pi-tui": "0.85.1",
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
- "ignore": "7.0.8",
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.8.0",
55
- "yaml": "2.9.0",
56
- "zod": "4.6.5"
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.0",
66
- "@hlix/cli-darwin-x64": "1.0.0",
67
- "@hlix/cli-linux-x64": "1.0.0",
68
- "@hlix/cli-linux-arm64": "1.0.0"
66
+ "@hlix/cli-darwin-arm64": "1.0.3",
67
+ "@hlix/cli-darwin-x64": "1.0.3",
68
+ "@hlix/cli-linux-x64": "1.0.3",
69
+ "@hlix/cli-linux-arm64": "1.0.3"
69
70
  }
70
71
  }
@@ -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
- `cursor-agent`) and applies to the `local` and `docker` sandboxes only — a
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|cursor-agent|opencode|goose|qwen-code|pi> [project-id] [--org] [--json]
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 for a task
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 `costUsd` when the provider reported a
307
- price, `subagent_start` / `subagent_end` carry the subagent's type, and the last
308
- line is `agent_end` with a `reason`. The controller's `display_state_changed`
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