Commit Graph

5341 Commits

Author SHA1 Message Date
Nate Kelley b95f952166
Add a few quick wins for caching 2025-08-08 09:24:14 -06:00
dal 402b27d178
integration tests for the steps are great 2025-08-08 09:08:16 -06:00
dal e4b70eb1da
more clean up and exports 2025-08-08 09:04:16 -06:00
dal 0c1a0525e5
clean up 2025-08-08 08:59:57 -06:00
dal 135d95b46e
chore: remove outdated test files for analyst step functionality
- Deleted multiple test files related to the analyst step, including tests for database save, deduplication, failed tool handling, file ID mapping, and file selection.
- This cleanup reduces clutter in the codebase and focuses on maintaining relevant tests.

These changes aim to streamline the testing process and improve overall maintainability.
2025-08-08 08:46:23 -06:00
dal f3dd5c1ccb
refactor: export AnalystAgentOptionsSchema and AnalystStreamOptionsSchema
- Changed the declaration of AnalystAgentOptionsSchema and AnalystStreamOptionsSchema to export them for use in other modules.
- Removed the test files related to analyst-agent steps, streamlining the codebase and improving maintainability.

This update enhances the modularity of the agent's configuration schemas while cleaning up unused test files.
2025-08-08 08:25:41 -06:00
dal 1d92be2a71
more fixes 2025-08-08 08:06:55 -06:00
dal 283d74ca09
tons of cleanup 2025-08-08 08:03:22 -06:00
Cursor Agent c97dc131f1 Update MetricToolbar to support preselected metric and improve modal handling
Co-authored-by: nate <nate@buster.so>
2025-08-08 13:31:55 +00:00
dal 1b70c6e2b3
fix: clean up imports and enhance dashboard file handling
- Removed duplicate import of ModelMessage in create-dashboards-execute.ts for clarity.
- Updated createDashboardsReasoningMessage function to conditionally include version_number only if defined, improving the handling of dashboard file properties.

All changes aim to streamline the code and enhance maintainability.
2025-08-08 07:14:13 -06:00
Cursor Agent dca78e9458 Add metric toolbar with edit and delete actions for metric elements
Co-authored-by: nate <nate@buster.so>
2025-08-08 13:11:14 +00:00
dal c08fdbc30f
ok now i actually removed them 2025-08-08 07:10:50 -06:00
dal a3a078c8cd
removed unnecessary streaming tools for the file tools 2025-08-08 07:10:42 -06:00
dal 4e19eddbb8
communication and cleanup 2025-08-08 06:55:54 -06:00
Nate Kelley e9fb9f0199
Merge pull request #681 from buster-so/big-nate-bus-1647-make-report-top-level-button
Big nate bus 1647 make report top level button
2025-08-07 23:46:16 -06:00
Nate Kelley f38d4b0ac1
Update SortableItemContext.tsx 2025-08-07 23:46:02 -06:00
dal c432df1326
fix: update list-files-tool streaming test expectations to match actual implementation
Updated test expectations in list-files-tool-streaming.test.ts to match the actual structure of MessageEntry objects being passed to updateMessageEntries. The implementation passes complete objects with all properties rather than partial objects, and args are serialized as JSON strings.

Changes:
- Updated test expectations to check for complete MessageEntry objects instead of partial matches
- Fixed args field to expect JSON strings instead of objects
- Added missing properties like type, result, and started_at
- Fixed state.paths expectations for partial JSON parsing scenarios

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-07 23:39:30 -06:00
Nate Kelley 0455da1455
Update Toolbar.tsx 2025-08-07 23:35:31 -06:00
Nate Kelley 4d3580bf3a
Update transforms.ts 2025-08-07 23:34:53 -06:00
Nate Kelley 51f896d19e
Add title skeletons 2025-08-07 23:24:28 -06:00
dal 8c2c94b31c
feat: enhance file selection and tool creation in communication tools
- Introduced new file selection logic to extract and prioritize files based on their status and relationships.
- Added helper functions for failure indicator checks and file extraction from reasoning history.
- Updated the communication tools to utilize the new file selection methods, improving response message creation.
- Refactored file tools to follow a consistent factory pattern for better maintainability and clarity.

All tests updated and passing for new functionality.
2025-08-07 23:22:29 -06:00
dal b2e5d702cc
feat: refactor create-files-tool to follow factory pattern
- Update create-file-tool.ts to use factory function from create-files-tool.ts
- Fix docs-agent to properly use factory functions for file tools
- Remove experimental_context usage in favor of proper context passing
- Fix lint issues with type definitions in transform helper
- All tests passing for create-files-tool functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-07 23:17:55 -06:00
Nate Kelley 6fa31403aa
reframe editor 2025-08-07 22:35:41 -06:00
dal d052f56f86
execute sql and sequential tests 2025-08-07 22:21:20 -06:00
dal ca2d3e940c
Refactor SQL execution tools to improve code readability and maintainability. Consolidate function parameters into single lines and enhance error handling in execution results. Update imports for consistency across files. 2025-08-07 22:10:11 -06:00
dal ee99a835c3
Refactor Analyst and Think-and-Prep agents to enforce required messageId field in options schema. Update tool creation logic to streamline context handling and enhance error reporting. Introduce new execute-sql tool with improved state management and SQL execution capabilities, including delta processing and message updates. Remove deprecated execute-sql functionality and related tests. 2025-08-07 22:09:58 -06:00
Nate Kelley 064bc3e9c9
use client updates 2025-08-07 22:04:50 -06:00
dal affa91ce4f
done with communication tools 2025-08-07 21:38:43 -06:00
dal f3436f7a04
Remove deprecated dashboard and metrics tools, including associated tests. Refactor the create and modify dashboard/metrics execution logic to streamline processing and enhance error handling. Update schemas and validation logic to ensure consistency across tools. 2025-08-07 20:36:48 -06:00
Cursor Agent f7f6019e9b Implement PDF export and editor registry for report management
Co-authored-by: natemkelley <natemkelley@gmail.com>
2025-08-07 23:43:22 +00:00
dal 99c0d29b7c
agent md *sigh 2025-08-07 17:37:20 -06:00
Nate Kelley b6df224590
Merge pull request #677 from buster-so/big-nate-bus-1647-make-report-top-level-button
Big nate bus 1647 make report top level button
2025-08-07 17:32:31 -06:00
dal ead86c5d39
Refactor agent tools to enhance error handling and state management. Update healing message structure in Analyst and Think-and-Prep agents to provide more detailed tool availability information. Introduce state management for streaming in Modify and Create dashboards/metrics tools, improving database interaction and processing feedback. Remove deprecated tools and streamline tool creation processes. 2025-08-07 17:31:13 -06:00
dal 8987ca17a1
parallelToolCalls 2025-08-07 17:26:47 -06:00
Nate Kelley bb06088c55
Merge pull request #676 from buster-so/cursor/add-report-menu-options-and-stub-functions-e636
Add report menu options and stub functions
2025-08-07 17:23:10 -06:00
Nate Kelley e4004968dc
Merge branch 'big-nate-bus-1647-make-report-top-level-button' into cursor/add-report-menu-options-and-stub-functions-e636 2025-08-07 17:22:56 -06:00
Nate Kelley 0969a1cbd3
Merge branch 'staging' into cursor/add-report-menu-options-and-stub-functions-e636 2025-08-07 17:22:18 -06:00
Nate Kelley 216e610aa8
Added some additional safe parse element stuff 2025-08-07 17:21:38 -06:00
dal 8c8d1f37cc
big migration of tools 2025-08-07 17:10:24 -06:00
Nate Kelley 75950ae108
super nested list items 2025-08-07 17:01:45 -06:00
Nate Kelley 69eb14c836
Update report editor to the ui 2025-08-07 16:44:49 -06:00
Nate Kelley 7a45e20903
Add more error handling for get report 2025-08-07 16:42:04 -06:00
Nate Kelley 01add5df25
added a fix for markdown report 2025-08-07 16:37:47 -06:00
dal 468cf44cca
done tool 2025-08-07 16:36:01 -06:00
Nate Kelley 04121ac987
report version handler 2025-08-07 16:17:22 -06:00
dal 91290530ba
tons of changes 2025-08-07 16:09:45 -06:00
dal 8e624a2c50
fixing migrations 2025-08-07 15:57:01 -06:00
Nate Kelley 2f06ede92c
Merge branch 'staging' into cursor/add-report-menu-options-and-stub-functions-e636 2025-08-07 15:34:49 -06:00
Nate Kelley 0ad83db0cc
Merge branch 'staging' into big-nate-bus-1647-make-report-top-level-button 2025-08-07 15:29:21 -06:00
Nate Kelley 2f324baa62
Remove some unecssary memo 2025-08-07 15:28:53 -06:00