scream-code 0.19.7 → 0.19.8
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.
- package/README.md +24 -3
- package/dist/{app-Bpl0l99M.mjs → app-BK_bW4ee.mjs} +105 -78
- package/dist/{dispatch-d_R8-8sn.mjs → dispatch-DD8Vu4Qc.mjs} +1 -1
- package/dist/{dispatch-BiOeRj_C.mjs → dispatch-DMntc47e.mjs} +390 -94
- package/dist/main.mjs +1 -1
- package/docs/sessions.md +10 -1
- package/docs/skills.md +4 -1
- package/package.json +2 -2
package/dist/main.mjs
CHANGED
|
@@ -6,7 +6,7 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import "./suppress-sqlite-warning-C2VB0doZ.mjs";
|
|
7
7
|
//#region src/main.ts
|
|
8
8
|
try {
|
|
9
|
-
(await import("./app-
|
|
9
|
+
(await import("./app-BK_bW4ee.mjs")).main();
|
|
10
10
|
} catch (error) {
|
|
11
11
|
process.stderr.write(`${error instanceof Error ? error.stack ?? error.message : String(error)}\n`);
|
|
12
12
|
process.exit(1);
|
package/docs/sessions.md
CHANGED
|
@@ -33,7 +33,7 @@ append-only record stream.
|
|
|
33
33
|
|
|
34
34
|
## Compaction
|
|
35
35
|
|
|
36
|
-
Three layers, all automatic:
|
|
36
|
+
Three layers, all automatic (unless `loopControl.compactionMode = "off"`):
|
|
37
37
|
|
|
38
38
|
- **Micro** — keeps the most recent 20 messages (bounded to 40k tokens) and
|
|
39
39
|
truncates older ones.
|
|
@@ -47,6 +47,15 @@ Three layers, all automatic:
|
|
|
47
47
|
The summary is marked unverified: re-check anything it asserts before acting on
|
|
48
48
|
it. Configurable via `loopControl.compactionTriggerRatio` (0.5–0.99).
|
|
49
49
|
|
|
50
|
+
**Off mode** — `loopControl.compactionMode = "off"` for unattended and IM
|
|
51
|
+
sessions that must not stall on a compaction LLM call: micro and auto
|
|
52
|
+
compaction are disabled entirely (the context read paths never advance the
|
|
53
|
+
micro cutoff behind the caller's back, and a context-overflow error surfaces
|
|
54
|
+
instead of triggering recovery). At the 90% blocking threshold the model gets
|
|
55
|
+
a one-time wrap-up reminder per episode instead of being blocked; the
|
|
56
|
+
provider's own context limit remains the hard backstop. `/compact` still works
|
|
57
|
+
manually.
|
|
58
|
+
|
|
50
59
|
## Switching and concurrency
|
|
51
60
|
|
|
52
61
|
- One session is live at a time; its turns are serialised.
|
package/docs/skills.md
CHANGED
|
@@ -60,8 +60,11 @@ in `config.toml` merges every discovered skill instead of the project-scoped set
|
|
|
60
60
|
## Authoring a new skill
|
|
61
61
|
|
|
62
62
|
1. Run `/make-skill` and answer the prompts, or write the `SKILL.md` yourself.
|
|
63
|
-
2. `MakeSkillPlan` drafts a package (name, description, body, supporting files).
|
|
63
|
+
2. `MakeSkillPlan` drafts a package (name, description, body, supporting files, and a trigger test).
|
|
64
64
|
3. `MakeSkillApply` writes it into the plugin center, where `/plugin` manages it.
|
|
65
|
+
4. Run the plan's trigger test once it is installed: `verification.instructions` names
|
|
66
|
+
requests that should fire the skill and a near miss that should not. A skill that
|
|
67
|
+
fires on the near miss is over-broad; one that ignores its own triggers is invisible.
|
|
65
68
|
|
|
66
69
|
Skills are listed in the system prompt when the session starts, so a skill added
|
|
67
70
|
mid-session needs a new session (or `/skill` refresh) to appear.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scream-code",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.8",
|
|
4
4
|
"description": "A terminal-native AI agent for builders",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ScreamCli",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@earendil-works/pi-codemode": "^1.1.0",
|
|
59
59
|
"@huggingface/tokenizers": "^0.2.0",
|
|
60
60
|
"@larksuiteoapi/node-sdk": "^1.76.0",
|
|
61
|
-
"@liutod-scream/pi-tui": "^1.5.
|
|
61
|
+
"@liutod-scream/pi-tui": "^1.5.1",
|
|
62
62
|
"@mariozechner/clipboard": "^0.3.2",
|
|
63
63
|
"chalk": "^5.4.1",
|
|
64
64
|
"cli-highlight": "^2.1.11",
|