Commit Graph

10 Commits

Author SHA1 Message Date
f8fbafa19a chore: remove trailing whitespace from README.md line 42 2026-01-29 01:27:20 +00:00
dc150f2ea2 chore: remove entire agent, auth, browse, chat, db_utils, and http_curl source trees
This commit deletes the complete implementation of the agent loop, authentication module, web browsing utilities, chat prompt builder, database helper, and HTTP client. All corresponding header files and test harnesses are also removed. The diff shows the deletion of 6 source files and 6 header files totaling over 1000 lines of code, including the agent state machine, API key resolution logic, curl-based HTTP functions, SQLite database initialization and CRUD operations, and the JSON chat prompt construction.
2026-01-29 01:21:11 +00:00
65630263c1 feat: add parallel thread execution for tool calls and port scanning with configurable concurrency
Implement pthread-based parallel execution in tool_registry_execute to run tool calls concurrently, replacing the previous sequential loop. Add tool_thread_args_t struct and tool_thread_func wrapper for thread-safe execution. Introduce MAX_PARALLEL_PROBES constant and probe_t struct in network_port_scan_execute to enable concurrent socket probing with non-blocking connect patterns, replacing the single-threaded sequential port scan loop.
2026-01-28 23:51:24 +00:00
20d92682b2 feat: add bash_repair, context_manager, json_repair, python_repair, and r_diff modules with Makefile integration 2026-01-28 23:38:21 +00:00
216627e777 feat: add context overflow detection and automatic history shrinking in agent loop
Implement context manager integration that detects API errors indicating context length exceeded, then automatically shrinks message history and retries the request. Add new messages API functions (remove_range, get_object, replace_at) and a new R_ERROR_CONTEXT_TOO_LONG error code to support this functionality.
2026-01-28 19:15:02 +00:00
09e3f62a34 feat: stream agent response incrementally and remove duplicate rendering in main loop 2026-01-28 19:06:18 +00:00
c9a29efc5d chore: update system prompt instructions for tool calls and communication rules 2026-01-28 18:55:47 +00:00
c096e43c96 chore: add ANSI dim/bold escape codes to stderr output in bash executor and tool registry 2026-01-28 18:50:07 +00:00
88458a81c9 chore: reformat indentation from 4-space to 2-space style in src/main.c 2026-01-28 18:47:14 +00:00
7f799e8fa5 chore: remove AppRun, compose.yml, collect_so_files.sh and database.db; add include headers and refactor Makefile with src directory structure 2026-01-28 18:34:39 +00:00