NCBM
e4ed89b391
core/tools: distinguish missing files from non-files on read
2026-08-11 15:37:56 +08:00
NCBM
25e6ec3d44
core/tools: show 1-based line range on read_file results
2026-08-11 15:33:12 +08:00
NCBM
3fbf2dc388
core/agent: fix deepseek responses reasoning_content for tool calls
2026-08-11 15:27:01 +08:00
NCBM
6458a4ad31
core/tools: embed truncate tokens in read_file (max_chars)
2026-08-11 15:02:37 +08:00
NCBM
00db7cdc7f
core/tools: add get_truncated tool for chained resume
2026-08-11 14:59:39 +08:00
NCBM
c96f669bcb
core/tools: embed truncate tokens in fetch (offset param)
2026-08-11 14:55:55 +08:00
NCBM
8cd456171c
core/agent: drop increase-limit hint in favor of truncate tokens
2026-08-11 14:53:49 +08:00
NCBM
cb137c1dee
core/tools: add truncate token module (chainable cursors)
2026-08-11 14:53:15 +08:00
NCBM
d3a5200e0f
core/tools: add wait tool (Enter to disturb)
2026-08-11 14:46:58 +08:00
NCBM
fe7b75aad8
core/prompting: add line input with timeout
2026-08-11 14:44:34 +08:00
NCBM
df8f6bf959
core/tools: rename run_command_batch to run_argv_batch (steps/argv keys)
2026-08-04 21:40:25 +08:00
NCBM
d698fbf06f
core/tools: rename run_command to run_argv (argv param)
2026-08-04 21:38:20 +08:00
NCBM
23f7b4e299
core/tools: clear argv error when run_command gets a string
2026-08-04 20:35:22 +08:00
NCBM
3449f3a77d
lint: drop mypy-style type ignore comments
2026-08-03 23:38:32 +08:00
NCBM
a834984bcc
core/memory: merge session schema migrations by version
2026-08-01 02:47:08 +08:00
NCBM
a198fa9d41
runtime: route DeepSeek convention=anthropic to Anthropic client
2026-08-01 02:31:21 +08:00
NCBM
439c24a1ce
lmproto: add DeepSeek Anthropic client
2026-08-01 02:30:19 +08:00
NCBM
6e4d229f6f
config: default deepseek anthropic convention url
2026-08-01 02:27:23 +08:00
NCBM
f6072ce2a6
core/agent: interleave responses tool outputs after their calls
2026-08-01 02:16:48 +08:00
NCBM
4b7cc93917
runtime: route DeepSeek convention=responses to Responses client
2026-08-01 02:03:52 +08:00
NCBM
bfafe74a6f
core/agent: handle incomplete/failed Responses stream terminals
2026-08-01 02:03:02 +08:00
NCBM
db6d2a83f4
lmproto: add DeepSeek Responses client
2026-08-01 02:01:06 +08:00
NCBM
8ad33af652
config: add typed DeepSeek convention field for API surface
2026-08-01 01:59:39 +08:00
NCBM
a877dba8c1
cli/repl: keep second Ctrl+C inside the REPL
2026-08-01 01:45:10 +08:00
NCBM
3fe1c4cf91
core/agent: add model-friendly hint to truncated tool results
2026-08-01 01:42:17 +08:00
NCBM
19ac4533d4
core/tools: invalidate lineno read state on file mutation
2026-08-01 01:22:30 +08:00
NCBM
56ac8d17d7
core/tools: restrict edit_lineno to lines read with line numbers
2026-08-01 01:21:00 +08:00
NCBM
1d4e48f6f3
core/agent: normalize provider usage structs in token_usage_from_api
2026-08-01 01:09:12 +08:00
NCBM
626012e92f
core/agent: unify provider finish_reason mapping
2026-08-01 01:05:26 +08:00
NCBM
5198a8da20
core/agent: align missing-terminal contract in messages dispatch
2026-08-01 01:05:17 +08:00
NCBM
e29e66dbc7
core/agent: surface openai responses stream error events
2026-08-01 01:05:09 +08:00
NCBM
06f1b386a0
test/lmproto: cover anthropic messages client HTTP round-trips
2026-08-01 00:41:59 +08:00
NCBM
44a5f047ba
core/runtime: plumb anthropic HTTP timeout
2026-08-01 00:34:41 +08:00
NCBM
3a671f73ea
core/agent: wire anthropic messages bridge and dispatch
2026-08-01 00:34:32 +08:00
NCBM
de7cae83e4
core/agent: restore OpenAI responses dispatch and provider_tools
2026-08-01 00:34:15 +08:00
NCBM
ad58d6cdc6
lint: drop dead code that blocks basedpyright (unused helper and import)
2026-08-01 00:33:25 +08:00
NCBM
ef3594ad62
core/tools: change ask_user_choice and ask_user_form params from JSON strings to typed lists
2026-07-29 01:42:00 +08:00
NCBM
f5b566b371
core/tools: add per-turn guard requiring lineno read before edit_lineno
2026-07-29 01:40:31 +08:00
NCBM
60f9c9b56d
core/agent: danger classification overrides YOLO tag in confirm pipeline
2026-07-29 01:37:17 +08:00
NCBM
904ac3d982
core/agent: remove turn-start todo nag -- nag only fires after complete turn
2026-07-29 01:07:59 +08:00
NCBM
f60fd876c6
test: update for kind-based dispatch and remove ResponsesChatClient references
2026-07-29 00:46:08 +08:00
NCBM
0ce9ed84a0
core/agent: suppress end-of-turn todo nag on retry when turn-start pair survived
2026-07-28 23:52:06 +08:00
NCBM
a83c67ba6d
test/agent: cover synthetic_tool todo nag retry detection
...
Adds 7 unit tests for _synthetic_todo_pair_after and committed_prefix_end
with synthetic todo nag pairs: survival across rollback, detection at
correct index, immunity to real tool calls, and multiple rollbacks.
These directly verify the guard that prevents duplicate turn-start
nag injection on /retry when a synthetic pair from a previous failed
attempt survived rollback (committed tool batch).
2026-07-28 23:45:27 +08:00
NCBM
9600d2f757
core/lmproto: coerce developer role for chat completions
2026-07-28 22:16:36 +08:00
NCBM
c7ee9b0063
test/config: cover model-level preset routing
2026-07-28 21:45:59 +08:00
NCBM
0ca92dfd7e
core/config: networking ssrf_assume_public_cidrs for fetch Fake-IP
2026-07-24 20:20:30 +08:00
NCBM
f3cefccefc
test/memory: cover session context usage fields
2026-07-24 19:41:37 +08:00
NCBM
e3e0cf2080
core/agent: append-only directive checkpoints on token bands
2026-07-24 19:40:37 +08:00
NCBM
f5a667567d
test/tools: cover fetch SSRF, methods, and user-agent
2026-07-24 19:08:10 +08:00
NCBM
908e68665b
core/agent: run_aside side turns; CLI /btw with --tools
2026-07-24 17:42:34 +08:00