@hlix/cli 0.8.0 → 1.0.0

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.
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var s="@hlix/cli",e="0.8.0",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"],u={node:">=22.19.0"},d={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":"0.21.1","@earendil-works/pi-tui":"0.85.1","@mastra/acp":"^0.4.1","@mastra/core":"1.72.0","@mastra/docker":"^0.9.0","@mastra/libsql":"1.23.0","@mastra/mcp":"2.1.0","@mastra/memory":"1.33.0",ignore:"7.0.8","jsonc-parser":"3.3.1","openapi-fetch":"^0.17.0","smol-toml":"1.8.0",yaml:"2.9.0",zod:"4.6.5"},x={"@hlix/sdk":"^0.3.0","@hlix/shared":"*","@types/bun":"latest",typescript:"^7.0.2"},y={"@hlix/cli-darwin-arm64":"0.8.0","@hlix/cli-darwin-x64":"0.8.0","@hlix/cli-linux-x64":"0.8.0","@hlix/cli-linux-arm64":"0.8.0"},k={name:s,version:e,license:n,description:a,keywords:r,homepage:l,type:c,main:p,bin:o,files:b,engines:u,publishConfig:d,scripts:h,dependencies:m,devDependencies:x,optionalDependencies:y};export{o as bin,k as default,m as dependencies,a as description,x as devDependencies,u as engines,b as files,l as homepage,r as keywords,n as license,p as main,s as name,y as optionalDependencies,d as publishConfig,h as scripts,c as type,e as version};
2
+ var s="@hlix/cli",e="1.0.0",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"],u={node:">=22.19.0"},d={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.7.0","@earendil-works/pi-tui":"0.85.1","@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",ignore:"7.0.8","jsonc-parser":"3.3.1","openapi-fetch":"^0.17.0","smol-toml":"1.8.0",yaml:"2.9.0",zod:"4.6.5"},x={"@hlix/sdk":"^1.0.0","@hlix/shared":"*","@types/bun":"latest",typescript:"^7.0.2"},y={"@hlix/cli-darwin-arm64":"1.0.0","@hlix/cli-darwin-x64":"1.0.0","@hlix/cli-linux-x64":"1.0.0","@hlix/cli-linux-arm64":"1.0.0"},k={name:s,version:e,license:n,description:a,keywords:r,homepage:l,type:c,main:p,bin:o,files:b,engines:u,publishConfig:d,scripts:h,dependencies:m,devDependencies:x,optionalDependencies:y};export{o as bin,k as default,m as dependencies,a as description,x as devDependencies,u as engines,b as files,l as homepage,r as keywords,n as license,p as main,s as name,y as optionalDependencies,d 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.8.0",
3
+ "version": "1.0.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Hlix Code and the hlix control-plane CLI.",
6
6
  "keywords": [
@@ -40,14 +40,14 @@
40
40
  "postinstall": "node install.cjs"
41
41
  },
42
42
  "dependencies": {
43
- "@agentclientprotocol/sdk": "0.21.1",
43
+ "@agentclientprotocol/sdk": "1.7.0",
44
44
  "@earendil-works/pi-tui": "0.85.1",
45
- "@mastra/acp": "^0.4.1",
46
- "@mastra/core": "1.72.0",
47
- "@mastra/docker": "^0.9.0",
48
- "@mastra/libsql": "1.23.0",
49
- "@mastra/mcp": "2.1.0",
50
- "@mastra/memory": "1.33.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
51
  "ignore": "7.0.8",
52
52
  "jsonc-parser": "3.3.1",
53
53
  "openapi-fetch": "^0.17.0",
@@ -56,15 +56,15 @@
56
56
  "zod": "4.6.5"
57
57
  },
58
58
  "devDependencies": {
59
- "@hlix/sdk": "^0.3.0",
59
+ "@hlix/sdk": "^1.0.0",
60
60
  "@hlix/shared": "*",
61
61
  "@types/bun": "latest",
62
62
  "typescript": "^7.0.2"
63
63
  },
64
64
  "optionalDependencies": {
65
- "@hlix/cli-darwin-arm64": "0.8.0",
66
- "@hlix/cli-darwin-x64": "0.8.0",
67
- "@hlix/cli-linux-x64": "0.8.0",
68
- "@hlix/cli-linux-arm64": "0.8.0"
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"
69
69
  }
70
70
  }
@@ -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> [project-id] [--org] [--json]
160
+ hlix harness set <hlix|claude-code|codex|cursor-agent|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]
@@ -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` and `projects get` default to the project this folder is bound to,
221
- so both are usable with no arguments inside an imported project.
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