Commit Graph

4699 Commits

Author SHA1 Message Date
Devin AI 4b21570145 feat: optimize web app bundle size
- Fix Next.js config to enable bundle analyzer
- Replace barrel file exports with explicit named exports for better tree-shaking
- Create dynamic Chart.js component to reduce initial bundle size
- Optimize icon library exports to only include commonly used icons
- Update imports to use dynamic loading for Chart.js components

Bundle analyzer reports generated showing optimization impact.
Addresses BUS-1459.

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 16:19:11 +00:00
dal f90081faf4
Merge pull request #570 from buster-so/staging
Hotfix: concurrency
2025-07-18 23:34:29 -06:00
dal d3e2577d13
New polling logic 2025-07-18 23:30:28 -06:00
dal 18dde9e40b
concurrency and queuing 2025-07-18 23:19:48 -06:00
dal ac4cfc314b
Merge pull request #569 from buster-so/dallin/bus-1458-queue-messages-and-filter-out-duplicates
Enhance task triggering by adding concurrency key for sequential processing
2025-07-18 23:02:18 -06:00
dal 6e65bec499
Enhance task triggering by adding concurrency key for sequential processing
- Updated `createChatHandler` to include a `concurrencyKey` when triggering the `analyst-agent-task`, ensuring tasks are processed sequentially per chat.
- Adjusted related test cases to verify the inclusion of the `concurrencyKey`.
- Integrated the `concurrencyKey` in the `slackAgentTask` to manage task queuing and notify users when tasks are queued.
2025-07-18 23:01:32 -06:00
dal 8daceae2e3
Add duplicate message check in slack-agent-task
- Introduced a new function `checkForDuplicateMessages` in the database queries to verify if a message already exists in the same chat.
- Integrated the duplicate check in the `slackAgentTask` to prevent processing of duplicate messages, enhancing task efficiency and logging warnings for duplicates detected.
2025-07-18 22:53:02 -06:00
dal 61666b2943
Merge pull request #568 from buster-so/staging
Hotfix
2025-07-18 22:37:33 -06:00
dal 6ab256004c
Merge pull request #567 from buster-so/dallin/bus-1456-stop-button-in-buster-not-working-need-to-debug-and-figure
Add trigger run id to the message during slack task
2025-07-18 22:37:02 -06:00
dal 0e46d64683
trigger run id being added during the slack agent task 2025-07-18 22:34:02 -06:00
dal 6f707a7552
Merge pull request #566 from buster-so/staging
Release
2025-07-18 22:21:32 -06:00
dal a6c3474464
Merge pull request #564 from buster-so/devin/BUS-1457-1752898251
Replace 'Unknown' user name fallback with email address (BUS-1457)
2025-07-18 22:16:55 -06:00
Devin AI a0dc9e03d2 Fix syntax highlighting flicker by replacing PrismAsyncLight with Shiki
- Replace react-syntax-highlighter with Shiki for synchronous highlighting
- Convert existing light theme to Shiki format in shiki-light-theme.ts
- Eliminate flicker in reasoning slide-out component
- Maintain compatibility with existing SyntaxHighlighter usage
- Remove react-syntax-highlighter dependencies from package.json

Fixes BUS-1445

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 04:14:17 +00:00
Devin AI 9896b5cc90 Replace 'Unknown' user name fallback with email address
- Update Rust handlers to use user_email instead of 'Unknown' fallback
- Add user_email field to MessageWithUser and ChatWithUser structs
- Update database queries to select user email field
- Update TypeScript chat-helpers to use email fallback
- Maintain final fallback to 'Unknown'/'Unknown User' if email is null

Fixes BUS-1457

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-19 04:12:13 +00:00
Devin AI 20bf6d8bf9 fix: address code review suggestions
- Use consistent regex for both validation and replacement
- Add reasonable upper limit (100) for bulk operations to prevent memory issues

Addresses greptile-apps bot feedback on PR #561

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-19 03:57:45 +00:00
Devin AI 24aaa23a2f feat(BUS-1376): Replace AppMarkdown with AppMarkdownStreaming and fix animation issues
- Replace AppMarkdown with AppMarkdownStreaming in ChatResponseMessage_Text and ReasoningMessage_Text
- Map props correctly: markdown → content, showLoader → isStreamFinished
- Add wrapper divs to handle className prop
- Adjust spring physics in ReasoningMessageSelector to prevent height overshoot:
  - Reduce stiffness from 400→300 and increase damping from 32→40 for animate
  - Reduce stiffness from 450→350 and increase damping from 35→45 for exit
- Improves streaming text animation smoothness and prevents height expansion beyond content

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 03:57:22 +00:00
Devin AI 3d632c96ad feat: implement redirect-after-login for BUS-1455
- Update middleware to capture original URL and add as 'next' query param
- Modify layout redirect to include redirect parameter
- Update LoginForm to extract and pass redirect to all auth methods
- Add redirect parameter support to all sign-in functions
- Implement URL validation with fallback to home page
- Update OAuth callback to handle redirects consistently
- Support all authentication methods: email/password, Google, GitHub, Azure

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 03:56:19 +00:00
Devin AI 79336d5d9d feat(BUS-1447): Add useTrackAndUpdateNewMessages hook to track external message insertions
- Create new hook to detect message insertions from external sources like Slack
- Configure useShapeStream with 'insert' operations only
- Update chat message_ids array when new messages are detected
- Integrate hook into useChatStreaming alongside existing tracking hooks
- Handle message ordering and deduplication with uniq
- Fix TypeScript errors by ensuring id property is included in onUpdateChat calls

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 03:47:42 +00:00
Devin AI 754de61bdf feat: implement edit_files tool for find-and-replace operations
- Add edit_files tool in packages/ai/src/tools/file-tools/
- Implement find-and-replace with exact single occurrence validation
- Support bulk operations with individual success/failure tracking
- Handle both relative and absolute file paths
- Return detailed error messages for various failure scenarios
- Follow established patterns using createTool and wrapTraced
- Add comprehensive unit tests with 11 test cases
- Export tool in packages/ai/src/tools/index.ts

Addresses BUS-1449

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-19 03:44:13 +00:00
Devin AI 74687223db feat: implement read_files tool for BUS-1448
- Add read_files tool in packages/ai/src/tools/file-tools
- Support both absolute and relative file paths
- Implement 1000-line truncation with indication
- Handle errors gracefully with discriminated union results
- Include comprehensive unit tests with 10/10 passing
- Export tool from main index
- Update sandbox index to export runTypescript and createSandbox
- Follow established patterns from execute-sql.ts

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-19 03:42:03 +00:00
dal ba04450469
Enhance Slack event handling by adding hourglass reaction on app mentions and refactoring reaction management in slack-agent-task. Update CLAUDE.md and global.mdc with new guidelines for testing and development workflows. Adjust .gitignore for rerank package to ensure proper directory exclusion. 2025-07-18 21:40:20 -06:00
Nate Kelley 364fe39069
inline code update 2025-07-18 16:51:09 -06:00
dal 2e7dcef3ef
Merge pull request #559 from buster-so/staging
Release
2025-07-18 16:14:47 -06:00
dal f9786c75c8
increase polling time for trigger bc 5 seconds or less still get charged lol 2025-07-18 16:12:03 -06:00
dal 97a8bb4c56
lint errors done & unit tests passing 2025-07-18 16:02:24 -06:00
Nate Kelley 6022f4b131
Merge branch 'staging' into big-nate/bus-1376-make-streaming-individual-words-use-the-streaming-affect 2025-07-18 15:58:28 -06:00
Nate Kelley 9fb8778b63
Install turbo in global package.json 2025-07-18 15:57:27 -06:00
Nate Kelley 8947758f6f
Fix linting errors 2025-07-18 15:54:46 -06:00
Nate Kelley f582065772
user safe selector 2025-07-18 15:50:23 -06:00
Nate Kelley cd3bc58a57
Merge pull request #558 from buster-so/hot-fix/make-colors-passthrough
Hot fix/make colors passthrough
2025-07-18 15:44:35 -06:00
Nate Kelley 06f9c2e24a
check anon user 2025-07-18 15:44:17 -06:00
dal 87fc5f1bb3
Merge pull request #557 from buster-so/dallin/bus-1451-setup-daytona-sandboxing
Dallin/bus-1451-setup-daytona-sandboxing
2025-07-18 15:44:00 -06:00
dal ecd2b67c55
Merge remote-tracking branch 'origin/staging' into dallin/bus-1451-setup-daytona-sandboxing 2025-07-18 15:43:05 -06:00
dal 584d5823eb
interact with filesystem test 2025-07-18 15:42:22 -06:00
Nate Kelley c5fe152bee
DEFAULT must defined colors 2025-07-18 15:38:55 -06:00
dal d60d523e1d
dotenv on the package.json? 2025-07-18 15:37:29 -06:00
dal dac631ce91
run typescript and some int tests 2025-07-18 15:34:08 -06:00
Nate Kelley 5980e9d37d
Fix additional lint errors 2025-07-18 15:17:12 -06:00
dal ca79e9253a
Merge remote-tracking branch 'origin/staging' into dallin/bus-1451-setup-daytona-sandboxing 2025-07-18 15:14:54 -06:00
Nate Kelley 9dca49f0b8
Merge pull request #556 from buster-so/eval-style-changes
style fixes for eval files
2025-07-18 15:13:12 -06:00
jacob-buster c53e6ee19a
Update packages/ai/evals/agents/analyst-agent/metrics/example_scorers.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-18 15:12:40 -06:00
dal c42a358c7f
Merge pull request #555 from buster-so/devin/BUS-1453-1752871654
BUS-1453: Implement color fallback logic for metric handlers
2025-07-18 15:12:12 -06:00
dal 8ba6ee20a4
Merge branch 'devin/BUS-1453-1752871654' of https://github.com/buster-so/buster into devin/BUS-1453-1752871654 2025-07-18 15:11:27 -06:00
dal 227168bb62
BUS-1454: Add multiple color themes and refactor organization color palette retrieval logic 2025-07-18 15:10:38 -06:00
jacob-buster 7a60317591 style fixes for eval files 2025-07-18 15:08:15 -06:00
Nate Kelley ff12325abc
Add recommended extensions 2025-07-18 15:01:05 -06:00
Devin AI c4da72173c BUS-1453: Address PR comments - fix duplicate color and improve org palette query
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-18 21:00:36 +00:00
Nate Kelley 542795833a
use zod workspace in shared 2025-07-18 14:54:11 -06:00
dal d7f2f16930
get rid of random pr 2025-07-18 14:51:41 -06:00
dal 15182c887d
update tsconfig.json and vitest.config.ts 2025-07-18 14:51:28 -06:00