Commit Graph

935 Commits

Author SHA1 Message Date
dal 9589ca198b
upgrade and fixes 2025-08-18 08:07:13 -06:00
dal 855e7b1a55
Integrate dataset handling into Analyst and Think and Prep agents
- Added support for fetching and managing user-specific datasets in the `analystAgentTask`, enhancing the context available for processing.
- Updated the `AnalystAgent` and `ThinkAndPrepAgent` schemas to include datasets, ensuring they are passed correctly in system messages.
- Implemented error handling for dataset retrieval to prevent workflow interruptions.
- Adjusted integration tests to accommodate the new datasets structure, ensuring comprehensive coverage.

These changes improve the agents' ability to utilize relevant datasets, enhancing their functionality and user experience.
2025-08-12 19:31:25 -06:00
dal 1e594ac4ec
Refactor chat message handling by removing unused fields
- Eliminated `responseMessages`, `reasoning`, and `rawLlmMessages` from chat creation and handling functions to streamline data processing.
- Updated the `generateJsonbArraySql` function to accept pre-stringified JSON for better performance and clarity.

These changes enhance the efficiency of chat message management and reduce unnecessary complexity in the codebase.
2025-08-12 16:38:20 -06:00
dal da4f3605cc
Refactor prompt loading and streamline agent steps
- Replaced file system reads with direct imports of prompt text files in various agent and step files to improve performance and reduce complexity.
- Updated the `runDocsAgentStep` and `runDocsAgentWorkflow` functions to return `void` instead of structured outputs, simplifying their interfaces.
- Enhanced test cases to validate prompt loading without relying on file system checks, ensuring faster and more reliable tests.
- Cleaned up unused imports and optimized code structure across multiple files.

These changes aim to enhance code clarity, maintainability, and performance in the agent workflow and related components.
2025-08-12 14:57:23 -06:00
dal ccc4528396
Refactor chat cancellation logic and remove unused components
- Updated type imports in `cancel-chat.ts` from `CoreMessage` to `ModelMessage` and adjusted related function signatures for consistency.
- Modified the structure of tool result messages to use `ToolResultPart` instead of the deprecated types.
- Deleted the `AIMenu.tsx` and `ai-kit.tsx` files to remove unused components, streamlining the codebase.
- These changes enhance the clarity and maintainability of the chat cancellation functionality while cleaning up the project structure.
2025-08-12 14:17:04 -06:00
dal 8c27a3dfff
Merge remote-tracking branch 'origin/staging' into dal/upgrade-to-ai-sdk-v5 2025-08-12 12:53:48 -06:00
dal c6a28e39d5
migration changes 2025-08-12 12:44:15 -06:00
Nate Kelley 9079a768ab
fixed strange issue causing initial token to be undefined 2025-08-11 17:24:39 -06:00
Nate Kelley 9d023db3f8
Merge pull request #699 from buster-so/cursor/ensure-active-auth-session-38b9
Ensure active auth session
2025-08-11 16:48:30 -06:00
Nate Kelley 34cc2226b9
Update supbase 2025-08-11 16:44:25 -06:00
Nate Kelley 2fee9a2311
Update next config to support supabase url 2025-08-11 16:41:11 -06:00
Nate Kelley d8451325cc
Update vitest.setup.ts 2025-08-11 15:52:45 -06:00
Nate Kelley d64f911442
Fix imports 2025-08-11 15:46:47 -06:00
Cursor Agent 6b68d16461 Changes from background agent bc-654437a1-f840-4d59-90ee-87a733d631b1 2025-08-11 21:26:34 +00:00
Nate Kelley a369ba2b32
browser client update 2025-08-11 15:22:17 -06:00
Nate Kelley 48fa337303
can parse dollar signs 2025-08-11 15:10:55 -06:00
Nate Kelley 438bec4ce4
Fix caption parser 2025-08-11 15:01:08 -06:00
Nate Kelley 9dd37de7cd
Add tests for metric caption parsing 2025-08-11 14:53:41 -06:00
Nate Kelley 9f6df07334
Add streaming to report component 2025-08-11 14:11:27 -06:00
Nate Kelley e9d6b7ed1b
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-08-11 13:40:03 -06:00
Nate Kelley 23411f25c6
report editor updates 2025-08-11 13:40:01 -06:00
dal 8d438f25fd
fix trigger int tests 2025-08-11 13:32:13 -06:00
Nate Kelley 78374e7ddf
Update server editor 2025-08-11 13:13:33 -06:00
Nate Kelley f948ad3415
web load env 2025-08-11 11:53:05 -06:00
Nate Kelley a2190e677e
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-08-11 11:39:29 -06:00
Nate Kelley 28e704c53e
added env validation for server 2025-08-11 11:39:08 -06:00
dal b96cb39b78
turbo fast web build 2025-08-11 11:33:18 -06:00
dal 332c367be2
trigger dev upgrade 2025-08-11 11:15:24 -06:00
dal 21c76f268a
trigger stuff 2025-08-11 11:03:09 -06:00
Nate Kelley 1196893a08
Added some content 2025-08-11 11:02:32 -06:00
Nate Kelley c81fdd00bc
throttle stream 2025-08-11 10:56:12 -06:00
Nate Kelley 41db82df6e
Remove streaming with llm ui 2025-08-11 09:18:11 -06:00
Nate Kelley 68038e13e5
Fix potential memory leak 2025-08-11 09:09:30 -06:00
dal 74ae581f73
refactor: update ESLint rules and clean up socket query files
- Disabled specific TypeScript ESLint rules to allow for more flexibility in type definitions.
- Removed unused socket query files and related types to streamline the codebase.
- Enhanced various components and layouts for better performance and readability.

These changes improve code maintainability and reduce clutter in the project.
2025-08-11 07:57:14 -06:00
Nate Kelley 729004b925
card font updates 2025-08-09 23:31:10 -06:00
Nate Kelley f86d612ac7
Merge branch 'staging' into cursor/diagnose-appmarkdownstreaming-memory-leak-f64a 2025-08-09 22:44:23 -06:00
Nate Kelley 6c4cd8bcf3
Merge branch 'staging' into devin/1754746916-fix-memory-leaks 2025-08-09 22:35:49 -06:00
Nate Kelley 3f87a7bd6f
Remove socket 2025-08-09 22:34:57 -06:00
Nate Kelley 3be68339db
Make more components for streaming 2025-08-09 17:08:09 -06:00
Nate Kelley 21dcae0878
Add different context selector 2025-08-09 16:50:31 -06:00
Nate Kelley 548505a856
Merge branch 'staging' into cursor/diagnose-appmarkdownstreaming-memory-leak-f64a 2025-08-09 16:34:06 -06:00
Nate Kelley 74675a8b55
metric element can be deleted 2025-08-09 16:32:04 -06:00
Nate Kelley 9bfab329d9
Merge branch 'staging' into cursor/fix-metric-node-deletion-in-plate-js-editor-8ba9 2025-08-09 15:33:42 -06:00
Nate Kelley 8ba281cf31
Add caption and ring content 2025-08-09 15:31:03 -06:00
Nate Kelley 5b56b88839
Merge branch 'staging' into cursor/add-floating-toolbar-for-metric-element-1f54 2025-08-09 15:19:42 -06:00
Devin AI db2365c5ed Fix PreventNavigation memory leak while preserving isDirty behavior
- Add conditional check for isDirty before adding event listeners
- Ensure cleanup always runs to prevent memory leaks
- Address greptile-apps[bot] feedback about breaking intended behavior
- Maintain original logic where listeners are only active when there are unsaved changes

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-09 13:58:29 +00:00
Devin AI eb02a76f2a Fix critical memory leaks in Next.js navigation
- Fix PreventNavigation event listener accumulation by changing useEffect dependency from [isDirty] to [handleClick, handlePopState, handleBeforeUnload]
- Improve RoutePrefetcher cleanup by adding proper load event listener cleanup
- Simplify Chart tooltip cleanup to use direct DOM removal instead of complex cloning
- Enhance canvas cleanup in getTextWidth with try/finally pattern
- Add canvas cleanup in DotPattern useEffect return function

These fixes prevent memory leaks during page navigation loops by ensuring proper cleanup of event listeners, timers, observers, and DOM elements.

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-09 13:43:16 +00:00
Cursor Agent 65271a18bd Optimize markdown streaming memory management and rendering
Co-authored-by: natemkelley <natemkelley@gmail.com>
2025-08-09 05:11:43 +00:00
Nate Kelley b73795355b
remove markdown streaming in thoughts 2025-08-08 22:54:38 -06:00
Nate Kelley 1ad0a5bed1
added report fixes 2025-08-08 22:38:35 -06:00