@sema-agent/cli 1.0.2 → 1.0.4

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 (4) hide show
  1. package/README.md +5 -0
  2. package/npm-shrinkwrap.json +2557 -0
  3. package/package.json +10 -4
  4. package/sema.js +13532 -11046
package/README.md CHANGED
@@ -17,6 +17,11 @@ sema "fix the failing test in this repo"
17
17
 
18
18
  No account, no sign-up, no default cloud — the agent runs locally and talks only to the model endpoint you configured.
19
19
 
20
+ Sema infers the context window and output-token budget for known model families automatically.
21
+ If your model id is not recognized, set `MODEL_MAX_TOKENS` yourself — for reasoning-heavy models
22
+ use at least 32000, or the whole budget can be consumed by reasoning and the run fails with a
23
+ max_tokens truncation error.
24
+
20
25
  - `sema` — interactive REPL (bare prompt argument starts the REPL with that task)
21
26
  - `sema -p "…"` — non-interactive print mode for scripts and pipes
22
27
  - `sema update` — self-update from the npm registry