Commit Graph

220 Commits

Author SHA1 Message Date
dal b7fc3eaa09
unit tests are passing 2025-07-14 12:40:53 -06:00
Cursor Agent 7988ccbb58 Add 529 error handling with tool call cleanup and backoff strategy
Co-authored-by: dallin <dallin@buster.so>
2025-07-14 17:09:54 +00:00
Nate Kelley 5352ae8f10
currency response 2025-07-14 09:41:25 -06:00
Nate Kelley 906986b51e
Update inlcude 2025-07-12 23:46:09 -06:00
Nate Kelley 963bf6b2f2
fix all of the bugs 2025-07-12 22:14:08 -06:00
Nate Kelley 4810daef9f
Update packages/server-shared/src/type-utilities/index.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-12 16:33:53 -06:00
Nate Kelley 4197cf799e
Update packages/database/src/connection.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-12 16:33:33 -06:00
Nate Kelley 5448af614a
lint fixes 👀 2025-07-12 16:32:47 -06:00
Nate Kelley 139a0f52c9
organization camelcase update 2025-07-12 16:31:35 -06:00
Nate Kelley aeaf7dbb57
type updates 2025-07-12 16:19:08 -06:00
Nate Kelley 2c2bf74475
Add prebuild script to server-shared 2025-07-12 16:07:55 -06:00
Nate Kelley d8e0146978
create a db utilities 2025-07-12 15:48:42 -06:00
Nate Kelley 9de6e8227e
Merge branch 'staging' into big-nate/bus-1355-make-it-so-regular-users-can-invite-others 2025-07-11 16:30:59 -06:00
dal 10431a81d3
add has_more_records to the server shared type 2025-07-11 15:30:53 -06:00
dal 550aba77e6
execute sql fixes 2025-07-11 15:28:01 -06:00
dal 7fe7ecb00b
Refactor SQL execution logic to limit results at the adapter level instead of modifying SQL queries. Removed the wrapQueryWithLimit function and updated related code to enhance performance and preserve caching in Snowflake. Updated documentation to reflect changes in query handling. 2025-07-11 14:54:34 -06:00
dal a36bba3b40
Add '@buster/ai' dependency and enhance chat cancellation logic
- Added '@buster/ai' as a workspace dependency in pnpm-lock.yaml and package.json.
- Updated database-migrations.yml to trigger on changes in the database package.
- Refined the cancelChatHandler function to include detailed message cleanup and trigger cancellation logic.
- Improved response handling in the chat cancellation endpoint to return a success message.
- Enhanced updateMessageFields to support marking messages as completed.
2025-07-11 09:51:51 -06:00
dal 87f3853ce8
stubbed out the cancel endpoint and added the trigger run col 2025-07-10 16:26:30 -06:00
Nate Kelley e7cfafa95e
Update pooler 2025-07-10 16:06:13 -06:00
dal 6d75c30834
Merge remote-tracking branch 'origin/staging' into dallin/bus-1345-figure-out-why-snowflake-is-so-delayed-here 2025-07-10 15:21:49 -06:00
dal 319f6baa4f
snowflake serverless optimization 2025-07-10 15:21:25 -06:00
Nate Kelley 252a892cae
Merge pull request #475 from buster-so/nate/hot-fix-server-build
Server build update
2025-07-10 12:50:47 -06:00
Nate Kelley e6307838b7
Update base.json 2025-07-10 12:22:18 -06:00
Nate Kelley e7ee256072
move shared to be zod v4 2025-07-10 12:16:34 -06:00
dal 315cfa7a8f
Merge pull request #472 from buster-so/dallin/bus-1346-access-paths-for-datasets-need-to-go-through-defaults-as
Dallin/bus 1346 access paths for datasets need to go through defaults as
2025-07-10 10:15:13 -07:00
dal 687cf6d072
lock down datasets to orgs 2025-07-10 11:14:02 -06:00
dal 0e0b14a47f
access controls listing datasets with new default datasets access pattern through security settings. 2025-07-10 11:03:45 -06:00
Nate Kelley 7b9892129c
update imports and type checks 2025-07-10 10:52:21 -06:00
Nate Kelley b28f6e1e35
additional types fixes 2025-07-10 10:14:16 -06:00
dal 4d7f1353ff
clean up tyeps 2025-07-10 07:52:41 -06:00
dal 3ca54c7f28
Refactor integration tests for domain management and workspace settings. Update error messages for permission checks to be more specific. Enhance domain handling logic for consistency and improve test cleanup procedures. 2025-07-10 07:45:04 -06:00
dal f22c03874c
tests are passing 2025-07-10 07:27:16 -06:00
dal 29e6a6ae7f
Workspace Settings Done with auto-add 2025-07-10 07:01:23 -06:00
dal c047d7dd40
Refactor security API handlers to improve organization validation and domain management. Consolidate permission checks and domain operations into utility functions for better code reuse. Update endpoint routes for workspace settings and approved domains, ensuring consistent response formatting. 2025-07-10 05:30:10 -06:00
dal 7f1cbe7488
Merge branch 'staging' into big-nate/bus-1260-set-a-default-permissionpermission-role-for-newly-added 2025-07-09 16:18:43 -06:00
dal e1f7f63270
add conversation history to the 2025-07-09 15:46:15 -06:00
dal e4387c7523
new prompts 2025-07-09 14:40:58 -06:00
dal b062694a2c
fixed types on slack handlers 2025-07-09 14:34:02 -06:00
dal 8e9e9a087e
claude rules and schema tweak 2025-07-09 14:15:46 -06:00
Nate Kelley b179a7dd9d
Merge pull request #458 from buster-so/dallin/bus-1212-wire-up-slack-alerts-for-flagchat-and-major-assumptions
Dallin/bus 1212 wire up slack alerts for flagchat and major assumptions
2025-07-09 14:10:44 -06:00
Nate Kelley c223309df2
Add slack integration endpoints 2025-07-09 14:08:29 -06:00
dal 5941d6975d
schema migration and handlers stubbed out 2025-07-09 14:07:55 -06:00
dal 30125e342e
Merge pull request #457 from buster-so/cursor/validate-chart-axis-configurations-6704
Validate chart axis configurations
2025-07-09 11:59:47 -07:00
dal 98190539b8
biome and test fix 2025-07-09 12:59:27 -06:00
dal 0f30e344ce
Update packages/ai/src/tools/visualization-tools/bar-line-axis-validator.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-09 11:55:23 -07:00
dal 0fe31e1059
Merge pull request #456 from buster-so/cursor/update-message-type-to-enum-a472
get rid of old message type
2025-07-09 11:46:00 -07:00
dal 4a7b87104d
get rid of old message type 2025-07-09 12:42:56 -06:00
dal 812910624c
revert schema changes 2025-07-09 12:39:12 -06:00
dal e2fe53261e
Enhance message post-processing to include Slack message existence check. Updated workflow to differentiate between follow-up messages based on Slack context. Added tests to validate new functionality and ensure proper handling of Slack-related follow-ups. 2025-07-09 12:08:23 -06:00
Cursor Agent 8ef482310d Add axis validation for bar and line charts with auto-correction
Co-authored-by: dallin <dallin@buster.so>
2025-07-09 17:58:16 +00:00
Nate Kelley 821ed90083
initial slack build out (no apis) 2025-07-09 11:52:33 -06:00
Cursor Agent 95787d7b46 Update Slack message tracking with new message source enum
Co-authored-by: dallin <dallin@buster.so>
2025-07-09 17:49:27 +00:00
Nate Kelley 12fa022cfe
Merge pull request #454 from buster-so/big-nate/bus-1260-set-a-default-permissionpermission-role-for-newly-added
Big nate/bus 1260 set a default permissionpermission role for newly added
2025-07-09 11:08:14 -06:00
Nate Kelley e22a795326
Add additinal fixes 2025-07-09 11:06:25 -06:00
Nate Kelley 26d77fef53
create workspace settings 2025-07-09 10:58:51 -06:00
dal 4bdddd179b
small change 2025-07-09 10:41:14 -06:00
Nate Kelley 59e6aacd9d
part 1 of making workspace toggles 2025-07-09 09:42:16 -06:00
dal cba5e99223
Refactor follow-up and initial message formatting to handle major assumptions more effectively. Added checks for major assumptions and updated message structure for clarity in output. 2025-07-09 09:13:58 -06:00
dal 0c2e3e2e95
greptile fixes 2025-07-09 08:53:14 -06:00
dal 897ac4ce83
added in the slack message tracking 2025-07-09 07:44:10 -06:00
dal 59c19354b9
Update flag-chat and format-initial-message steps to clarify the AI agent's name as "Buster" and enhance summary message guidelines for better communication with the data team. 2025-07-08 17:50:08 -06:00
dal f19b3a0b91
new prompt for follow up 2025-07-08 17:23:10 -06:00
Nate Kelley 46c3fccb9b
invite link updates 2025-07-08 17:20:31 -06:00
dal 1ec4b17143
added title to the update-message tool and routed to the 'summaryTitle' 2025-07-08 17:11:17 -06:00
dal 2367e81f66
Merge pull request #448 from buster-so/dal/retry-agent-logic
Dal/retry-agent-logic
2025-07-08 16:01:50 -07:00
dal 9f009e970d
Refactor healing strategy logic for improved clarity and consistency. Adjust error handling messages and ensure proper formatting. Enhance type definitions for better type safety. 2025-07-08 17:01:09 -06:00
dal a1f9de2168
retry final touches 2025-07-08 16:56:57 -06:00
Nate Kelley 9bd7824586
create security endpoints strucutre 2025-07-08 16:48:13 -06:00
dal 3b5d981ecd
abstract the error handler and retry into a different helper 2025-07-08 16:25:15 -06:00
Nate Kelley 7d22c42141
Move organization user to a server type 2025-07-08 15:06:17 -06:00
dal bf35c9b09c
abstract the error handler and retry into a different helper 2025-07-08 14:49:37 -06:00
dal a620d74d82
Merge branch 'staging' into dal/retry-agent-logic 2025-07-08 14:22:02 -06:00
dal 6af278cd9e
get rid of unused retry functions and logic 2025-07-08 13:35:25 -06:00
Nate Kelley 86aa9234b8
Merge branch 'staging' into big-nate/bus-1273-add-assumptions-and-confidence-score-to-web-app 2025-07-08 12:57:07 -06:00
Nate Kelley 8850b1ffd8
Assumption cards 2025-07-08 12:54:18 -06:00
Cursor Agent 0f97741e52 Convert column names to lowercase in metrics file creation tools
Co-authored-by: dallin <dallin@buster.so>
2025-07-08 17:35:50 +00:00
dal f21690acc0
added in the server shared types for post-processing and moved the type into shared from trigger. 2025-07-08 11:14:30 -06:00
dal 7fa5e496ff
Merge branch 'staging' into big-nate/bus-1273-add-assumptions-and-confidence-score-to-web-app 2025-07-08 10:59:16 -06:00
dal fe4d2c9a83
message post processing formatting 2025-07-08 10:55:19 -06:00
Nate Kelley 6b437d8737
post processing messages 2025-07-08 10:12:51 -06:00
Nate Kelley f4c2515f25
truncate metric headers and values 2025-07-08 09:46:51 -06:00
Nate Kelley 75e5c1ec4b
Merge branch 'staging' into big-nate/bus-1273-add-assumptions-and-confidence-score-to-web-app 2025-07-08 09:35:38 -06:00
dal 4246a14f4d
more retry healing logic 2025-07-08 09:10:03 -06:00
Nate Kelley aabb6908d7
move types to be on server 2025-07-07 22:26:42 -06:00
dal f1f73463ce
- Increased retryable errors
- modified issue with slack auth
2025-07-07 17:40:17 -06:00
dal 19fe3748d2
more logging 2025-07-07 17:31:47 -06:00
dal 73f652081a
increase timeouts 2025-07-07 17:14:12 -06:00
dal bb9ca0acbb
Merge branch 'staging' into more-fixes-for-horizontal-bars 2025-07-07 15:42:04 -07:00
Jacob Anderson 2212b69585 even more fixes for horizontal bar charts 2025-07-07 16:38:43 -06:00
dal d470609a10
Merge pull request #428 from buster-so/fixes-for-horizontal-charts
additional fixes for horizontal charts, hopefully fixing them
2025-07-07 15:21:11 -07:00
Nate Kelley 4e888f9506
Merge pull request #427 from buster-so/big-nate/bus-1181-point-to-google-workspace-profile-pics
Big nate/bus 1181 point to google workspace profile pics
2025-07-07 16:17:54 -06:00
Nate Kelley 2a6bd2f5a8
avatar passthrough 2025-07-07 16:15:10 -06:00
Jacob Anderson d9358d6450 additional fixes for horizontal charts, hopefully fixing them 2025-07-07 16:09:22 -06:00
Nate Kelley 0331be1cda
verification pass through avatar url 2025-07-07 15:53:18 -06:00
Nate Kelley 6d02d8900f
move types to server 2025-07-07 15:43:47 -06:00
dal 35761e9dd0
Merge pull request #426 from buster-so/cursor/ensure-correct-types-for-integration-handler-fac1
Ensure correct types for integration handler
2025-07-07 14:37:32 -07:00
dal b5b9da222c
Merge pull request #425 from buster-so/jacob-prompt-changes-v2
Jacob prompt changes v2
2025-07-07 13:39:52 -07:00
Jacob Anderson aa24e709fe changes to precomputed metric and vertical/horziontal bar chart logic 2025-07-07 14:36:42 -06:00
Nate Kelley b2f9e7c119
lint hot fix 2025-07-07 14:04:10 -06:00
Cursor Agent 76b18c8765 Convert Slack response types to Zod schemas for runtime validation
Co-authored-by: dallin <dallin@buster.so>
2025-07-07 20:02:29 +00:00