Repository navigation
scream-code 0.20.0
The phase-3 capability set, fully reviewed end to end (two adversarial review passes, an independent fix-verification round, and the full gate: 8 test suites green, six package typechecks, lint within budget).
New capabilities
- AST tools (
ast_grep,ast_edit): structural search across files and trees, and preview-then-apply rewrites gated on a match count with the same write pipeline as Edit. The@ast-grep/napiengine stays external to the CLI bundle and resolves per platform. - DAP debugger: an eight-op
Debugtool (launch/attach, breakpoints, continue, stack traces, scopes, variables, evaluate) over a shared Content-Length framing utility, driven by the debugpy stdio adapter behind the deferred tool portal. Requirespip install debugpy. - Exact token counting: js-tiktoken (lite entry) behind a per-alias
tokenizersetting, threaded through every estimate site; run-aware sampling keeps pathological inputs bounded and the heuristic remains the fallback. - Provider key pools:
api_key = [...]for the rotation-capable providers, session-affine KeyRing with cooldowns, and quota-429 rotation in the retry loop that does not spend the generic attempt budget. - Edit recovery reminders: new errors introduced by an edit become reminders that survive compaction — per-step dedupe, first-edit baseline seeding, timeout awareness, and clearing when any writer fixes the file.
/model diypickers (0.20.0 line): role-based routing (read/task/judge), the compaction model, and per-subagent bindings, persisted live with clearly marked priority.
Fixes and hardening
- Edit tool: line-range edits with anchor validation, stale-anchor recovery with rollback, and conflict re-checks on remapped windows.
- Activity block and smooth scrolling fixed at the source (no more black bands or missed last rows).
- LSP tools expanded to 10 operations, plus opportunistic file outlines on Read.
- Tool portal keeps explicit tool lists exact; deferred groups survive profile re-application.
- Review round fixes across the edit pipeline, tokenizer threading, bundling, and docs.
Verification
- agent-core 4390 tests, ltod 1216, app 2022, node-sdk 154, memory 117, jian 222, knowledge 98, evals 102 — all green.
- Six package typechecks clean; lint ratchet within budget.
- Build verified: ast-grep externalized, unused tokenizer tables absent from the bundle.