@harness-engineering/cli 1.28.1 → 2.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.
@@ -15,13 +15,28 @@ hooks:
15
15
  beforeRemove: null
16
16
  timeoutMs: 60000
17
17
  agent:
18
- backend: claude
19
- command: claude
20
- # Local model for autonomous execution of simple tasks
21
- localBackend: pi
22
- localEndpoint: http://localhost:1234/v1
23
- localModel: gemma-4-e4b
24
- # Escalation routing controls what runs locally vs primary vs human
18
+ # Named backend definitions (Spec 2). See the Multi-Backend Routing
19
+ # operator guide in the harness docs for the full schema reference.
20
+ backends:
21
+ primary: { type: claude, command: claude }
22
+ # Local backend for autonomous execution of simple tasks.
23
+ # `model` accepts a string OR a prefer-and-fallback array — first
24
+ # match wins after a `/v1/models` probe.
25
+ local:
26
+ type: pi
27
+ endpoint: http://localhost:1234/v1
28
+ model: gemma-4-e4b
29
+ # model: [gemma-4-e4b, qwen3:8b, deepseek-coder-v2]
30
+ # Routing — controls WHICH backend handles each use case.
31
+ routing:
32
+ default: primary
33
+ quick-fix: local
34
+ diagnostic: local
35
+ # Optional: route the intelligence pipeline (sel/pesl) to a local backend.
36
+ # intelligence:
37
+ # sel: local
38
+ # pesl: local
39
+ # Escalation — controls WHETHER a tier dispatches at all (orthogonal to routing).
25
40
  escalation:
26
41
  alwaysHuman: [full-exploration]
27
42
  autoExecute: [quick-fix, diagnostic]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harness-engineering/cli",
3
- "version": "1.28.1",
3
+ "version": "2.0.0",
4
4
  "description": "CLI for Harness Engineering toolkit",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,15 +37,15 @@
37
37
  "web-tree-sitter": "^0.24.7",
38
38
  "yaml": "^2.8.3",
39
39
  "zod": "^3.25.76",
40
- "@harness-engineering/core": "0.23.5",
41
- "@harness-engineering/dashboard": "0.4.1",
40
+ "@harness-engineering/core": "0.23.6",
41
+ "@harness-engineering/dashboard": "0.5.0",
42
42
  "@harness-engineering/graph": "0.7.1",
43
43
  "@harness-engineering/linter-gen": "0.1.7",
44
- "@harness-engineering/orchestrator": "0.2.17",
45
- "@harness-engineering/types": "0.10.1"
44
+ "@harness-engineering/orchestrator": "0.3.0",
45
+ "@harness-engineering/types": "0.11.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@harness-engineering/intelligence": "0.1.5"
48
+ "@harness-engineering/intelligence": "0.2.0"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "@harness-engineering/intelligence": {