Commit Graph

4718 Commits

Author SHA1 Message Date
dal ed9ab33b35
feat: enhance file tools to support base64 encoding for command arguments
- Updated bash-execute-script, create-files-script, edit-files-script, and grep-search-script to handle base64 encoded JSON arguments, improving robustness against data corruption.
- Refactored corresponding tool scripts to encode command parameters as base64 before execution.
- Enhanced integration tests to validate the new base64 encoding functionality across various file tools.
2025-07-28 16:55:52 -06:00
dal 3b706a73b3
refactor: streamline file tool scripts and enhance error handling
- Removed sequential test execution settings from vitest configuration to improve performance.
- Updated bash-execute-script to handle missing arguments and improved error handling for JSON parsing.
- Refactored create-files-tool to process file creation sequentially, enhancing directory management and error reporting.
- Enhanced read-files-tool to return structured error messages when no file paths are provided.
- Updated grep-search-tool to accept raw ripgrep commands, simplifying the command structure and improving output handling.
- Removed outdated test files and integrated new test cases for improved coverage and validation across file tools.
2025-07-28 16:22:12 -06:00
dal a41d5c944b
feat: implement ls-files functionality with comprehensive tests
- Introduced the `ls-files-script` module to handle file listing with various options (detailed, all, recursive, human-readable).
- Added integration tests for the `ls-files-script` to validate functionality across different scenarios, including handling of hidden files and non-existent paths.
- Removed the previous `ls-files-tool` integration tests to streamline the testing process and focus on the new implementation.
- Updated the `ls-files-tool` to utilize the new `ls-files-script` for execution and code generation.
- Enhanced error handling and output parsing for improved robustness.
2025-07-28 14:57:05 -06:00
dal 05c309b0c1
refactor: convert create-files-tool to script pattern
- Rename create-file-functions.ts to create-files-script.ts
- Implement script pattern matching ls-files-tool structure
- Update create-file-tool.ts to execute script via sandbox
- Add comprehensive unit tests for script functionality
- Add integration tests for script execution
- Update existing tests to work with new pattern

The create-files-tool now follows the established script pattern where
the script handles the core file creation logic and the tool serves as
a medium that executes the script in a sandboxed environment.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 13:54:03 -06:00
dal 786e4be791
feat: add integration tests for file tools and enhance todo list functionality
- Introduced integration tests for various file tools including bash execution, file creation, deletion, editing, and listing.
- Enhanced the check-off todo list tool to support multiple items and improved error handling for non-existent tasks.
- Updated test cases to cover edge scenarios and ensure robust validation across all tools.
- Increased timeout for the docs agent workflow to accommodate longer-running tests.
2025-07-28 12:41:07 -06:00
dal 2f4aeba817
feat: enhance documentation and testing capabilities for docs agent workflow
- Added section in CLAUDE.md for direct database access during integration testing.
- Updated `maxSteps` in `docs-agent` to allow for more complex tasks.
- Improved validation in `docs-agent-context` for sandbox instances.
- Enhanced `create-docs-todos` step to handle todos more effectively.
- Introduced comprehensive integration tests for the docs agent workflow, covering various scenarios and edge cases.
- Added test helpers for creating mock dbt projects and managing sandboxes.
- Implemented error handling and logging improvements in the workflow execution process.
2025-07-28 11:56:59 -06:00
dal a08f32fe1d
refactor: remove unused test setup files and helper functions to streamline testing process 2025-07-28 08:48:48 -06:00
dal ed812afc81
docs: update CLAUDE.md with package naming conventions and git commit guidelines 2025-07-26 12:47:25 -06:00
dal c9b52ccdb8
Refactor CLAUDE.md for improved build and linting instructions; update context handling in workflow and schemas. Enhance test validation for clarification questions and adjust output structure in related tests. 2025-07-26 12:43:25 -06:00
dal a92c3a0b44
Merge remote-tracking branch 'origin/staging' into dallin/bus-1498-piece-together-docs-agent-with-instructions-tools-workflow 2025-07-25 19:10:19 -06:00
dal 57dd2895d2
dry run for these two bad boys 2025-07-25 19:00:07 -06:00
dal 3e821f5609
Merge pull request #633 from buster-so/dallin/should-be-able-to-turbo-build-lint-test-unit-without-env-vars
Dallin/should-be-able-to-turbo-build-lint-test-unit-without-env-vars
2025-07-25 18:38:40 -06:00
dal 198adf9fb3
global cursor fix 2025-07-25 18:33:39 -06:00
dal e6c6123754
Update CLAUDE.md to enhance test running guidelines and introduce pre-completion workflow steps for CI/CD checks. 2025-07-25 18:32:59 -06:00
dal 2833c6bb0c
dry run 2025-07-25 18:29:35 -06:00
dal d0ab484a81
test and lint don't need buidl 2025-07-25 17:41:43 -06:00
dal 168da8a640
Merge pull request #632 from buster-so/dallin/minor-ui-tweaks-and-fixes
Hide filters for now
2025-07-25 17:07:47 -06:00
dal 45c2846b9b
hiding filters for now since we're noticing LLM isn't ready. 2025-07-25 16:33:33 -06:00
Nate Kelley deb866b67e
Merge pull request #630 from buster-so/big-nate/bus-1574-charts-are-not-reflecting-styling-changes-in-real-time
Memoized props should alwasy rerender
2025-07-25 15:47:35 -06:00
Nate Kelley 850dc2577b
Memoized props should alwasy rerender 2025-07-25 15:47:13 -06:00
Nate Kelley 9784abe906
Merge pull request #629 from buster-so/hot-fix/fix-drilldown-pr
Remove "mode" from followup
2025-07-25 15:35:13 -06:00
Nate Kelley e6d4628a5f
Remove "mode" from followup
Removed mode from followup asset content. It was logically impossible to have a mode with a metric. Falling back to just asset type.
2025-07-25 15:35:04 -06:00
dal 14fe8d0712
icon is now black when importing assets 2025-07-25 14:57:46 -06:00
dal 523a6921b1
hotfix on sql dialect 2025-07-25 14:31:35 -06:00
dal 4464abfc22
Merge pull request #628 from buster-so/big-nate/bus-1483-quick-win-for-filter-dashboard-drill-downexplore-metric
Filter and drill down feature
2025-07-25 13:42:20 -06:00
dal 1f52bd9b69
Enhance asset chat handling by introducing `handleAssetChatWithPrompt` for processing user prompts alongside asset imports. Update `createChatHandler` to manage asset-only and asset+prompt scenarios, ensuring correct message order and preventing unnecessary analyst task triggers. Add tests for new functionality and refactor related services for improved clarity and maintainability. 2025-07-25 12:47:01 -06:00
Nate Kelley 2df53404d1
Merge pull request #627 from buster-so/devin/BUS-1494-1753276227
Front end - asset document titles
2025-07-24 18:18:38 -06:00
Nate Kelley 1d646c003d
Update request to use v2 2025-07-24 18:15:43 -06:00
Nate Kelley 0c6271f5c9
title generations 2025-07-24 18:09:18 -06:00
Nate Kelley 55679b9d19
Make request 2025-07-24 17:54:55 -06:00
Nate Kelley 633a77e2ef
Merge pull request #603 from buster-so/devin/BUS-1494-1753276227
Implement /api/v2/title endpoint for asset title retrieval (BUS-1494)
2025-07-24 17:43:41 -06:00
Nate Kelley 5e6eb76f5b
move get asset types around 2025-07-24 17:41:36 -06:00
Nate Kelley b2cf1725fc
Merge branch 'staging' into devin/BUS-1494-1753276227 2025-07-24 17:21:04 -06:00
Nate Kelley e127df9d4c
Merge pull request #626 from buster-so/big-nate/bus-1541-backticked-copy-in-markdown-isnt-displaying-correctly
Update code to scale down slightly
2025-07-24 17:03:44 -06:00
Nate Kelley bcf6aac85d
Update code to scale down slightly 2025-07-24 17:03:25 -06:00
Nate Kelley 8c49417e40
Merge pull request #625 from buster-so/big-nate/bus-1523-when-i-click-cancel-on-the-delete-chat-confirmation-modal-it
bug: on success callback updated
2025-07-24 16:59:31 -06:00
Nate Kelley a397cda878
Update chat-helpers.test.ts 2025-07-24 16:59:19 -06:00
Nate Kelley 09e0e3ec84
On success callback updated 2025-07-24 16:56:34 -06:00
Nate Kelley d134883db0
default markdown should use strip formatting, also not use llm output for blocks 2025-07-24 15:24:45 -06:00
dal 4d61349c6c
Merge pull request #622 from buster-so/devin/BUS-1486-1753380038
Fix chat message ordering bug in handleExistingChat (BUS-1486)
2025-07-24 12:22:20 -06:00
Devin AI ccd8e1eab8 Add comprehensive unit tests for handleExistingChat message ordering
- Test prepending new messages to maintain descending order (newest first)
- Verify message_ids array reflects correct chronological order
- Cover edge cases: multiple messages, single message, empty messages
- Prevent future regressions in message ordering logic

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-24 18:11:06 +00:00
Devin AI 2ecf0a05fb Fix chat message ordering bug in handleExistingChat
- Prepend new message instead of appending to maintain descending order
- Fixes BUS-1486: Message order reversal when adding follow-up messages
- getMessagesForChat returns newest-first, so new messages should be prepended

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-24 18:01:34 +00:00
dal ac43b30195
Merge branch 'staging' into dallin/bus-1498-piece-together-docs-agent-with-instructions-tools-workflow 2025-07-24 10:17:11 -06:00
dal a6f8e041cd
fix 1 hr 2025-07-24 10:16:59 -06:00
dal 2c02b9189b
fix the 1 hr ttl 2025-07-24 10:16:19 -06:00
dal ed77fb4409
Merge remote-tracking branch 'origin/staging' into dallin/bus-1498-piece-together-docs-agent-with-instructions-tools-workflow 2025-07-24 10:13:47 -06:00
dal 2d8890837a
add the extended cache beta header 2025-07-24 10:12:48 -06:00
dal 19f7256a27
switch system messages to leverage caching a bit better 2025-07-24 10:06:18 -06:00
dal 8104ad33bf
fix the stream component so it can build 2025-07-24 09:49:05 -06:00
dal 0c3994da00
hotfix: use v2 on chats 2025-07-24 09:22:30 -06:00