Commit Graph

5364 Commits

Author SHA1 Message Date
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
Nate Kelley 6a507bd7ff
rename should navigate to different page 2025-07-26 10:23:36 -06:00
dal 1ddc3d5cb6
copy over claude settings 2025-07-26 10:13:43 -06:00
Nate Kelley 7b8cbc6213
Merge pull request #631 from buster-so/big-nate/bus-1521-couple-bugz-with-three-dot-menu
Fix save to collection dropdown
2025-07-26 10:06:13 -06:00
Nate Kelley 1653ae5af4
Update apps/web/src/layouts/ChatLayout/FileContainer/FileContainerHeader/DashboardContainerHeaderButtons/DashboardThreeDotMenu.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-26 10:05:07 -06:00
Nate Kelley f3944a6dea
fix bug causing dashboard add menu to flicker 2025-07-26 10:03:28 -06:00
dal 2cfe8585a3
small local dev helper 2025-07-26 09:53:34 -06:00
dal 4d9109aa84
Merge pull request #637 from buster-so/update-claude-planning-settings
Add planning and review guidelines to CLAUDE.md
2025-07-26 09:47:00 -06:00
dal 2218262dda
Add planning and review guidelines to CLAUDE.md
- Add Plan & Review section with instructions for creating detailed implementation plans
- Require writing plans to .claude/tasks/TASK_NAME.md before starting work
- Emphasize MVP approach and getting approval before proceeding
- Add guidelines for updating plans during implementation with detailed change descriptions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 09:29:56 -06:00
dal 645cadd7c9
Merge pull request #636 from buster-so/fix-env-copy-script
Fix-env-copy-script
2025-07-25 19:38:48 -06:00
dal 4672f0fcaa
Enhance move-env-to-worktree script to respect gitignore for non-.env files and always include .env files (excluding .env.example). This improves file handling during environment setup in worktrees. 2025-07-25 19:38:21 -06:00
dal f8f33365ea
Merge pull request #635 from buster-so/worktree-info-exploration
Add simplified env file copy script for worktrees
2025-07-25 19:32:20 -06:00
dal 88ecc1b216
Add simplified env file copy script for worktrees
This script copies all .env files from ~/buster/buster to the current worktree,
ignoring gitignore rules to ensure actual .env files are copied (not just examples).
Unlike the existing move-env-to-worktree.ts script which respects gitignore,
this script is designed specifically for syncing environment files between worktrees.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 19:31:44 -06:00
dal 83952f4554
Refactor .env file copying script to implement custom gitignore handling
This update enhances the script by replacing the glob-based search for .env files with a custom directory traversal method that respects .gitignore rules. The new implementation allows for more precise control over which files are included, improving the script's functionality in various project structures.
2025-07-25 19:20:48 -06:00
dal 9aed7a612e
Merge pull request #634 from buster-so/move-env-to-worktree-script
Add script to copy .env files from main repo to worktree
2025-07-25 19:14:57 -06:00
dal 73e47748f2
Add script to copy .env files from main repo to worktree
This script helps developers quickly set up environment variables in worktrees by copying all .env files from the main repository (~buster/buster) to the current worktree, preserving the directory structure.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 19:11:50 -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