@spatz/cli 0.1.3 → 0.1.5

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.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  **Choose a model and effort for your coding task. Learn from the result.**
4
4
 
5
+ Harness model defaults refresh from a [daily catalog](docs/configuration.md#harness-catalog), without a CLI release.
6
+
5
7
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
8
  [![Version](https://img.shields.io/github/v/release/lorenzh/spatz)](https://github.com/lorenzh/spatz/releases/latest)
7
9
  [![Bun 1.4](https://img.shields.io/badge/Bun-1.4-black?logo=bun)](https://bun.sh)
@@ -19,7 +21,7 @@ You or your coding agent run the task with the recommended pair.
19
21
  Different tasks need different models and effort levels.
20
22
  spatz combines task classification with results from your previous tasks.
21
23
 
22
- - **Use your available models.** Pass the candidates with `--models`.
24
+ - **Use your available models.** Start with harness defaults or set your own candidates.
23
25
  - **Learn from results.** Record outcomes through hooks or `spatz report`.
24
26
  - **Compare performance.** Use `spatz stats` to see results per task type or routing scope.
25
27
  - **Connect to coding agents.** Hooks support Claude Code and Codex CLI. Other agents can use the CLI directly.
@@ -45,15 +47,15 @@ For the unstable nightly version, use `npm install -g @spatz/cli@nightly`.
45
47
 
46
48
  ### 2. Ask for a recommendation
47
49
 
48
- Pass the task and the model pairs that your agent can run:
50
+ From Claude Code or Codex, pass the task:
49
51
 
50
52
  ```bash
51
- spatz "Fix the off-by-one error in src/list.ts" \
52
- --models claude-opus-5-5:high+medium,claude-sonnet-5-5:medium+low
53
+ spatz "Fix the off-by-one error in src/list.ts"
53
54
  ```
54
55
 
55
- Each candidate uses `<model-id>:<effort>+<effort>...`.
56
- Use model IDs and efforts that your environment supports.
56
+ spatz uses a preset for the detected harness.
57
+ Override it with `--models`, `SPATZ_MODELS`, or `models` in [configuration files](docs/configuration.md#default-models).
58
+ Use `--family claude` or `--family gpt` to filter candidates for a review.
57
59
  The output includes a `suggestion_id` and a ranked list of pairs.
58
60
  Add `--json` for machine-readable output.
59
61
 
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@spatz/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Model and effort recommendations for coding agents",
5
5
  "bin": {
6
6
  "spatz": "bin/spatz.js"
7
7
  },
8
8
  "optionalDependencies": {
9
- "@spatz/cli-linux-x64": "0.1.3",
10
- "@spatz/cli-linux-arm64": "0.1.3",
11
- "@spatz/cli-darwin-arm64": "0.1.3",
12
- "@spatz/cli-darwin-x64": "0.1.3",
13
- "@spatz/cli-win32-x64": "0.1.3"
9
+ "@spatz/cli-linux-x64": "0.1.5",
10
+ "@spatz/cli-linux-arm64": "0.1.5",
11
+ "@spatz/cli-darwin-arm64": "0.1.5",
12
+ "@spatz/cli-darwin-x64": "0.1.5",
13
+ "@spatz/cli-win32-x64": "0.1.5"
14
14
  },
15
15
  "engines": {
16
16
  "node": ">=18"