NCBM
81a30d0e4d
core/tools/file: add edit_lineno line-range edit tool
...
1-based inclusive range replace/delete/append; document Phase B agent
and tool updates in CLAUDE.md.
2026-07-14 23:24:34 +08:00
NCBM
e063efda20
core/agent: fix Phase A streaming await bug and polish
...
Do not await async generators for raw SSE; close stream on cancel;
merge tool calls without relying only on finish_reason; quieter tool
output; /status slash command.
2026-07-14 22:22:14 +08:00
NCBM
f26e13c2c1
core/tools/file: copy, move, and delete paths via shutil
...
Workspace-bound copy_path/move_path/delete_path for files and
directories; overwrite and recursive flags where needed.
2026-07-14 21:47:57 +08:00
NCBM
25ff849efe
core/cli: level-1 cancel of in-flight turns via Ctrl+C
...
Run turns as asyncio tasks; SIGINT cancels the task; agent rolls back
and keeps pending_retry_text for /retry.
2026-07-14 21:02:54 +08:00
NCBM
e0916a6352
core/agent+cli: defer DB write until turn success; auto/manual retry
...
Failed turns roll back memory and keep pending_retry_text; persist only
after success. CLI auto-retries 10s/20s/30s (cancellable) and /retry.
2026-07-14 20:56:08 +08:00
NCBM
f079ab73df
core/tools/file: add tree with depth, entry, and VCS filters
...
Workspace-relative tree; always skip VCS dirs; skip hidden dirs by
default; max_depth and max_entries caps.
2026-07-14 20:19:49 +08:00
NCBM
a634021a80
core/cli: interactive continue prompts for loop and PTY limits
...
on_limit raises tool-round allowance; PTY session/budget limits can
prompt to raise; MaxRoundsEvent.continued marks extended runs.
2026-07-14 19:53:34 +08:00
NCBM
1b53b415b6
core/tools/process: harden PTY sessions for agents
...
Structured alive/exit_code/data reads; until= wait; SIGTERM then
SIGKILL; exec-fail marker; session limit, idle TTL, output budget.
2026-07-14 19:47:32 +08:00
NCBM
73c11cee36
core/tools/process: run_command stdin/env and write_pty
...
Optional stdin and env overlay for run_command; write_pty for
interactive PTY input.
2026-07-14 19:36:46 +08:00
NCBM
bd6f8f5d9a
core/cli: resume sessions, history, editline Tab, higher tool rounds
...
Default to file SQLite DB and latest session; /history and /rounds;
bind Tab for libedit; max tool rounds default 32.
2026-07-14 19:15:12 +08:00
NCBM
5d90e48618
core/cli: open config in $EDITOR with optional prompt
...
shlex-split EDITOR (e.g. codium --wait); prompt when no providers;
add config path/edit commands.
2026-07-14 18:44:32 +08:00
NCBM
a017adda39
core/cli: readline Tab completion and persistent history
...
Complete slash commands and provider/model/tools args; store history
under platformdirs user data.
2026-07-14 18:33:34 +08:00
NCBM
054b2e8837
docs: document CLI in CLAUDE.md
2026-07-14 18:29:46 +08:00
NCBM
2d589eb36f
docs: document tools package in CLAUDE.md
2026-07-14 18:20:32 +08:00
NCBM
b72a9a8c1c
docs: document agent package in CLAUDE.md
2026-07-14 17:45:47 +08:00
NCBM
27c6cb77f5
docs: update CLAUDE.md for memory, runtime, and pytest
2026-07-14 17:25:22 +08:00
NCBM
123aadeadf
docs: add architecture notes and development principles
2026-07-14 17:19:31 +08:00