Commit Graph

226 Commits

Author SHA1 Message Date
Ariel Frischer 77a256317a feat: add session and trajectory models to track application state and events
- Introduce a new `Session` model to store information about each program run, including command line arguments and environment details.
- Implement a `Trajectory` model to log significant events and errors during execution, enhancing debugging and monitoring capabilities.
- Update various repository classes to support session and trajectory management, allowing for better tracking of user interactions and system behavior.
- Modify existing functions to record relevant events in the trajectory, ensuring comprehensive logging of application activities.
- Enhance error handling by logging errors to the trajectory, providing insights into failures and system performance.

feat(vsc): add initial setup for VS Code extension "ra-aid" with essential files and configurations
chore(vsc): create tasks.json for managing build and watch tasks in VS Code
chore(vsc): add .vscodeignore to exclude unnecessary files from the extension package
docs(vsc): create CHANGELOG.md to document changes and updates for the extension
docs(vsc): add README.md with instructions and information about the extension
feat(vsc): include esbuild.js for building and bundling the extension
chore(vsc): add eslint.config.mjs for TypeScript linting configuration
chore(vsc): create package.json with dependencies and scripts for the extension
feat(vsc): implement extension logic in src/extension.ts with webview support
test(vsc): add initial test suite in extension.test.ts for extension functionality
chore(vsc): create tsconfig.json for TypeScript compiler options
docs(vsc): add vsc-extension-quickstart.md for guidance on extension development
2025-03-12 11:47:21 -07:00
Ariel Frischer 5c9a1e81d2 feat(main.py): refactor imports for better organization and readability
feat(main.py): add DEFAULT_MODEL constant to centralize model configuration
feat(main.py): enhance logging and error handling for better debugging
feat(main.py): implement state_modifier for managing token limits in agent state
feat(anthropic_token_limiter.py): create utilities for handling token limits with Anthropic models
feat(output.py): add print_messages_compact function for debugging message output
test(anthropic_token_limiter.py): add unit tests for token limit utilities and state management
2025-03-11 14:03:18 -07:00
AI Christianson ae9cf5021b record trajectory at all steps 2025-03-11 11:01:05 -04:00
AI Christianson 5d899d3d13 trajectory 2025-03-11 08:56:12 -04:00
AI Christianson 909825bf1b refactor: extract get_most_recent_id 2025-03-10 19:37:39 -04:00
AI Christianson b5e4c64042 improve prompts; make list_directory more resilient 2025-03-10 16:41:09 -04:00
AI Christianson 51fa86b5c4 refactor: extract run_task_implementation_agent 2025-03-10 14:44:34 -04:00
AI Christianson d8dcc8ca86 refactor: extract run_planning_agent 2025-03-10 14:19:06 -04:00
AI Christianson 4f2c36b958 refactor: extract research agent 2025-03-10 13:33:00 -04:00
AI Christianson d194868cff fix binary detection 2025-03-08 22:36:06 -05:00
AI Christianson d0bf78c5f0 support reasoning assistance in research phase. 2025-03-08 19:32:05 -05:00
AI Christianson eaf79fbee5 fix tests; improve prompts 2025-03-08 16:29:17 -05:00
AI Christianson cfb0ec148f extract thinking processing 2025-03-08 14:48:46 -05:00
AI Christianson e64c4066a6 implement reasoning-guided workflows 2025-03-08 13:35:06 -05:00
AI Christianson 96dbd1c4e7 add --show-thoughts flag 2025-03-08 08:31:45 -05:00
AI Christianson e49cce301f support think tag on expert 2025-03-07 21:37:34 -05:00
AI Christianson 9e9c3ad3d2 should exit propagation 2025-03-07 11:25:46 -05:00
AI Christianson c637807e08 handle sonnet thinking tokens in expert tool 2025-03-06 10:30:58 -05:00
AI Christianson 0b621b6008 allow multiple string replacements 2025-03-04 21:34:29 -05:00
AI Christianson c9f3f37ca3 get rid of global memory 2025-03-04 21:25:37 -05:00
AI Christianson 5bd8c76a22 config repository 2025-03-04 21:01:08 -05:00
AI Christianson 3e68dd3fa6 add fixed_string param to ripgrep tool 2025-03-04 19:26:11 -05:00
AI Christianson 60a6707107 track agent depth via context 2025-03-04 19:05:33 -05:00
AI Christianson a1b268fdf4 get rid of global memory work log refs 2025-03-04 18:30:52 -05:00
AI Christianson 47cb6b65ef fix duplicate implementation 2025-03-04 15:14:17 -05:00
AI Christianson 600bf355d9 use repo pattern 2025-03-04 14:59:45 -05:00
AI Christianson 0afed55809 get rid of dead code around implementation_requested 2025-03-04 13:10:52 -05:00
AI Christianson 7845f4d876 remove dead code 2025-03-04 12:46:14 -05:00
AI Christianson 5dfb41b000 ignore .ra-aid in rg by default 2025-03-04 08:02:22 -05:00
AI Christianson 13729f16ce AST-based parsing and validation of tool calls 2025-03-04 01:32:59 -05:00
AI Christianson 9cae0ef1fc project file and ciayn improvements 2025-03-04 00:49:48 -05:00
AI Christianson bd02bffc55 ciayn fixes 2025-03-03 23:50:55 -05:00
AI Christianson 035544c77a research notes repo 2025-03-03 22:31:51 -05:00
AI Christianson 6562b6c332 fix binary file detection 2025-03-03 18:43:49 -05:00
AI Christianson 5202d2e7f3 use context vars for human input repo 2025-03-03 17:58:55 -05:00
AI Christianson ffd1ef15d4 adjust gc thresholds 2025-03-03 17:00:08 -05:00
AI Christianson 36e4004db0 use context vars for key facts repo 2025-03-03 16:58:03 -05:00
AI Christianson dd9af78693 eradicate dead coad 2025-03-03 08:06:12 -05:00
AI Christianson bc9d11e6e2 remove refs to global memory key snippets (dead code/obsolete) 2025-03-03 07:54:37 -05:00
AI Christianson f88ad5bc7a associate key facts and snippets with latest human input 2025-03-02 20:18:00 -05:00
AI Christianson 186904c0ca added human input table 2025-03-02 20:06:04 -05:00
AI Christianson d4353b1824 localize delete_key_snippets with gc agent 2025-03-02 19:56:42 -05:00
AI Christianson 332cbec826 key snippet gc 2025-03-02 19:41:48 -05:00
AI Christianson 772ce3e049 only access snippets via repository 2025-03-02 19:33:03 -05:00
AI Christianson cb3504016f fix tests 2025-03-02 19:18:45 -05:00
AI Christianson 038e7b886c key snippets db 2025-03-02 19:06:51 -05:00
AI Christianson 746649a1bb cleanup 2025-03-02 16:20:36 -05:00
AI Christianson 935a013a4c key facts repository 2025-03-02 16:00:55 -05:00
AI Christianson 1855cc3252 cleaner -> gc 2025-03-02 14:44:39 -05:00
AI Christianson 14c9bdfdc7 key facts gc 2025-03-02 14:37:42 -05:00