Commit Graph

5333 Commits

Author SHA1 Message Date
dal 351689f93b
Add createReports and editReports tools to analyst-agent 2025-07-29 08:04:48 -06:00
dal 6d36edeeb2
moving tools over 2025-07-29 07:39:09 -06:00
Nate Kelley 9c08da8fad
fix a few more node 2025-07-28 23:23:25 -06:00
Nate Kelley c5794a2593
Update nodes 2025-07-28 22:49:44 -06:00
Nate Kelley d323df1f0f
pass ref straight through 2025-07-28 22:40:39 -06:00
Nate Kelley fe7a2b3e5b
Add brand in tailwind 2025-07-28 22:23:35 -06:00
Nate Kelley ad53f0ffe1
update code blocs 2025-07-28 22:19:11 -06:00
Nate Kelley 7f592dffa9
Update block draggable 2025-07-28 22:09:34 -06:00
Nate Kelley 09efc1745c
add listing components 2025-07-28 21:52:25 -06:00
Nate Kelley ffba785e9d
Add additional components 2025-07-28 21:40:46 -06:00
Nate Kelley d1b665694f
Fixed some broken nodes 2025-07-28 20:31:30 -06:00
Nate Kelley 0ac9db4bf1
Added additional plugins 2025-07-28 20:14:37 -06:00
Nate Kelley b79ae0a15d
update imports 2025-07-28 19:12:51 -06:00
Nate Kelley d6ff3f8bcb
Add component level typesafety 2025-07-28 18:57:46 -06:00
Nate Kelley 4f00d569b8
Update Slider.tsx 2025-07-28 18:06:50 -06:00
Nate Kelley 30ec1443d0
type safety part 1 2025-07-28 17:58:12 -06:00
Nate Kelley dcaa8eb6e8
Added table nodes 2025-07-28 17:31:35 -06:00
Nate Kelley 695a393fe7
Fix emoji mart stuff 2025-07-28 17:05:54 -06:00
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
Nate Kelley 4c9c0adaf9
Update EmojiToolbarButton.tsx 2025-07-28 16:52:04 -06:00
Nate Kelley 93cb03d216
Add additional report stories 2025-07-28 16:46:14 -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
Nate Kelley 9b9e8e6e76
update the type 2025-07-28 16:00:00 -06:00
Nate Kelley fd8bce7b53
make more block and callout adjustments 2025-07-28 15:52:12 -06:00
Nate Kelley b8c25f7ca9
More plugins 2025-07-28 15:27:22 -06:00
Nate Kelley 4e31af9a9c
code bock nodes 2025-07-28 14:58: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
Nate Kelley 9233af8b25
Update useEditor.tsx 2025-07-28 14:44:43 -06:00
Nate Kelley e94ceeb508
Update shiki-instance.ts 2025-07-28 14:44:39 -06:00
Nate Kelley 42b9f0f0e8
Create useCodeHighlighter.tsx 2025-07-28 14:44:35 -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
Nate Kelley 8d3a38db60
Add additinional callout and toolbar 2025-07-28 13:15:11 -06:00
Nate Kelley 1a1b0a0bc0
add additional components
Add
2025-07-28 12:54:53 -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 1a5cc47b58
Reverse message IDs in chat response to ensure they are ordered from oldest to newest. 2025-07-28 12:39:44 -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
Nate Kelley 37e12a4791
Initial commit for editor 2025-07-28 11:35:20 -06:00
dal 84d20501b8
Merge pull request #641 from buster-so/filter-tool-create-new-changes
Fixes for the filter tool + changes for data existence
2025-07-28 11:24:53 -06:00
jacob-buster ae0c4f048d Fixes for the filter tool + changes for data existence 2025-07-28 11:19:45 -06:00
dal 2fa2f6caf0
Merge pull request #640 from buster-so/staging
Staging
2025-07-28 11:12:03 -06:00
Nate Kelley 1a6e758863
update optimistic parsing for query requests 2025-07-28 10:54:49 -06:00
Nate Kelley 9c499b647a
add some shadcn tailwind syntax 2025-07-28 10:29:58 -06:00
dal 4bef4205f3
feat(access-controls): migrate Rust access control libraries to TypeScript
This PR migrates the Rust  and  libraries to TypeScript in the new  package.

## Changes

### New Access Controls Package
- Implemented complete asset permissions system with CRUD operations
- Added dataset permissions with all 5 access paths (admin, direct user, user→group, team→direct, team→group, org→default)
- Implemented cascading permissions (metrics inherit from dashboards/chats/collections)
- Added LRU caching to replace Redis (30-second TTL)
- Comprehensive test coverage (148 tests passing, 3 skipped pending createUser)

### Database Package Updates
- Fixed AssetType enum to include all 14 asset types
- Added missing database queries for permissions
- Fixed timestamp fields to use ISO strings
- Added getUserOrganizationsByUserId function
- Created organized query structure by table

### AI Package Updates
- Updated getPermissionedDatasets API calls to new format
- Changed property references from ymlFile to ymlContent
- Fixed all test mocks to match new API structure

### Trigger App Updates
- Updated to use new access controls API
- Fixed test mocks to match DatasetListResult structure
- Added proper type imports

### Server Shared Updates
- Added request/response types for access control endpoints
- Exported types for API consistency

## Testing
- All packages build successfully with turbo build:dry-run
- All tests pass with turbo test:unit
- Full type safety maintained throughout

## Migration Notes
- Drop-in replacement for Rust libraries
- Same permission model and roles
- Cache invalidation strategies implemented
- Soft delete pattern maintained

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 10:17:35 -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 ff1404324a
last claude update for the sub agents 2025-07-26 10:41:30 -06:00
Nate Kelley a01d4f42e1
Merge pull request #638 from buster-so/big-nate/bus-1521-couple-bugz-with-three-dot-menu
Big nate/bus 1521 couple bugz with three dot menu
2025-07-26 10:26:47 -06:00
Nate Kelley 9acc244b2e
Merge branch 'staging' into big-nate/bus-1521-couple-bugz-with-three-dot-menu 2025-07-26 10:23:52 -06:00
Nate Kelley 1608547a3e
Merge branch 'big-nate/bus-1521-couple-bugz-with-three-dot-menu' of https://github.com/buster-so/buster into big-nate/bus-1521-couple-bugz-with-three-dot-menu 2025-07-26 10:23:39 -06:00