Commit Graph

1385 Commits

Author SHA1 Message Date
Nate Kelley 359117a51b
Merge pull request #1020 from buster-so/nate/hot-fix-report
Nate/hot fix report
2025-09-20 15:14:00 -06:00
Nate Kelley e5dbf41db5
Update check-collections-containing-asset.ts 2025-09-20 14:39:02 -06:00
Nate Kelley 3cdd0bfa57
reset permission stuff 2025-09-20 14:30:17 -06:00
Nate Kelley 3bff20c8e0
must be org member 2025-09-20 14:05:48 -06:00
Nate Kelley f406dd5ca3
permission check update 2025-09-20 13:40:42 -06:00
Nate Kelley 9efdf2c67b
pass through asset check 2025-09-20 13:22:52 -06:00
Blake Rouse 7ef63439a2 Merge branch 'saturday-prompt-changes' of https://github.com/buster-so/buster into saturday-prompt-changes 2025-09-20 12:26:46 -06:00
Blake Rouse e819b14b45 Further updates to analyst agent prompt
- Additional refinements to analyst agent prompt text for improved functionality
2025-09-20 12:26:34 -06:00
Blake Rouse a89a9c7d16
Update packages/ai/src/agents/analyst-agent/analyst-agent-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-20 11:51:30 -06:00
Blake Rouse 667fce5eb8
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-20 11:51:16 -06:00
Blake Rouse 79754b6ddb
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-20 11:51:08 -06:00
Blake Rouse 1882ce9dad Update agent prompts and analysis type router formatting
- Updated analyst agent prompt text
- Enhanced think and prep agent investigation and standard prompts
- Improved analysis type router prompt formatting
2025-09-20 11:49:22 -06:00
Nate Kelley 3b2bc471ab
permission helper 2025-09-20 11:05:10 -06:00
Nate Kelley b8d5624304
create a versioned report 2025-09-20 10:37:50 -06:00
Nate Kelley eaaeca332c
Added more report version number stuff 2025-09-20 08:58:28 -06:00
Nate Kelley f1ea82c730
Added handler around metric 2025-09-20 08:54:32 -06:00
dal 79245b58a2
roll back blakes prompt changes 2025-09-19 21:02:14 -06:00
wellsbunk5 18d81fd698
Merge pull request #1015 from buster-so/wells-bus-1848-migrate-the-frontend-to-use-v2-get-dashboards-endpoint
Adding /dashboards/[id] v2 endpoint to frontend
2025-09-19 16:52:41 -06:00
Wells Bunker 31d5f939e5
Adding /dashboards/[id] v2 endpoint to frontend 2025-09-19 16:48:05 -06:00
Nate Kelley 2722dcc5cf
no color by for pie and scatter 2025-09-19 16:23:49 -06:00
Nate Kelley 241b2c4f88
Remove weird chart example and update tests 2025-09-19 15:51:25 -06:00
dal f8292afbd7
Merge pull request #1014 from buster-so/dallin-bus-1846-opening-a-chat-with-a-dashboard-displays-individual-metric
Fix: Align mostRecentFile selection with response message files
2025-09-19 15:46:47 -06:00
dal 2673805cd7
fix: Align mostRecentFile selection with response message files
Ensures the mostRecentFile saved to chat matches what users see in response messages.
Reports take priority (already displayed), followed by first extracted file.

Co-Authored-By: Dallin Miner <dallin@buster.so>
2025-09-19 15:41:07 -06:00
dal f58be35411
Merge pull request #1011 from buster-so/jacob-bus-1750-hardcoding-values-in-metrics
First Attempt To Fix Hardcoded values
2025-09-19 15:35:08 -06:00
dal d4f940e6b4
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:35:00 -06:00
dal 5128eee6f9
Update packages/ai/src/agents/analyst-agent/analyst-agent-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:34:55 -06:00
dal f8a48ac0d1
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-standard-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:34:50 -06:00
dal 89df63f931
Merge pull request #1010 from buster-so/update-prompt-files
Update prompt files for AI agents
2025-09-19 15:34:02 -06:00
Nate Kelley 9e3b69af1f
add some options 2025-09-19 15:27:53 -06:00
Blake Rouse 609257752e Minor update to think-and-prep-agent investigation prompt 2025-09-19 15:22:12 -06:00
Wells Bunker 731f2d4e64
adding v2 list chats endpoint 2025-09-19 15:22:11 -06:00
Blake Rouse 5d7bb397a4
Update packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent-investigation-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:16:55 -06:00
Blake Rouse 7e5fbfdca2
Update packages/ai/src/agents/analyst-agent/analyst-agent-prompt.txt
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-19 15:16:42 -06:00
Blake Rouse a89ceb30ae Update prompt files for AI agents
- Updated analyst-agent-prompt.txt
- Updated think-and-prep-agent investigation and standard prompts
- Updated analysis-type-router-step prompt formatting
- Updated generate-chat-title-step implementation
2025-09-19 15:12:43 -06:00
jacob-buster 42ffd3acfe First Attempt To Fix Hardcoded values 2025-09-19 15:09:17 -06:00
Nate Kelley 3eef39f8ca
added color mapping to a dataset itself 2025-09-19 13:08:03 -06:00
wellsbunk5 ba93511536
Merge pull request #1007 from buster-so/wells-bus-1841-migrate-get-dashboard-endpoint-to-v2
Migrate dashboards/[id] GET endpoint over to v2
2025-09-19 11:52:08 -06:00
Wells Bunker 4293093669
Migrate dashboards/[id] GET endpoint over to v2 2025-09-19 11:42:52 -06:00
Nate Kelley 0fdaa5cbb7
Update schema to include color by 2025-09-19 11:19:46 -06:00
dal 894db00004
Revert "Merge pull request #1005 from buster-so/feature/prompt-improvements"
This reverts commit 7c4b22e62b, reversing
changes made to 939012a601.
2025-09-19 11:03:27 -06:00
dal 6434bb077c
ok get rid of random string 2025-09-19 10:57:05 -06:00
dal bea4e290e8
Merge remote-tracking branch 'origin/staging' into dallin-bus-1843-on-all-errors-retry 2025-09-19 10:55:16 -06:00
dal 21f1636fb4
unit test fix 2025-09-19 10:49:12 -06:00
dal 6efa72de40
Merge pull request #1000 from buster-so/dallin-bus-1816-dataset-sample-endpoint-not-working
Update dataset sample handling and add new API routes
2025-09-19 10:42:41 -06:00
dal 84314ebc13
fixes for imports 2025-09-19 10:31:46 -06:00
Blake Rouse c44591b001 Improve AI agent prompts for better routing and analysis
- Enhanced analysis-type-router prompt with detailed routing rules and edge case handling
- Updated analyst-agent prompt for improved analysis capabilities
- Refined think-and-prep-agent prompts for both standard and investigation modes
- Added comprehensive guidelines for Standard vs Investigation mode selection
2025-09-19 10:28:50 -06:00
dal ec757ce152
fix: retry on all AI provider errors, not just overloaded
- Modified retry logic to catch and retry on ALL errors from AI providers
- Keeps exponential backoff and message recovery unchanged
- Updates logging to be more generic for all error types
- Ensures robust handling of unpredictable provider errors (500s, 503s, 429s, etc.)
2025-09-19 10:27:42 -06:00
dal 2df6b234ac
Merge remote-tracking branch 'origin/staging' into dallin-bus-1816-dataset-sample-endpoint-not-working
# Conflicts:
#	packages/access-controls/src/datasets/permissions.ts
2025-09-19 10:16:14 -06:00
dal d6d18f3fca
Update dataset sample handling and add new API routes
- Added new API routes for fetching dataset samples by ID, including validation and error handling.
- Implemented `getDatasetSampleHandler` to manage dataset access and sample query execution.
- Introduced `executeSampleQuery` utility for executing read-only SQL queries with retry logic.
- Created new schemas for dataset sample request and response types.
- Updated existing dataset access control logic to ensure proper permissions are enforced.
- Added tests for the new dataset sample functionality to ensure reliability.
2025-09-19 10:06:03 -06:00
wellsbunk5 feafeb15e1
Merge pull request #993 from buster-so/wells-bus-1825-create-api-endpoint-for-v2-metric_fileid
Adding /metric_file/[id] GET endpoint in v2
2025-09-19 09:01:58 -06:00
dal f96cbf02e8
report file and trigger 2025-09-19 08:58:50 -06:00
Wells Bunker 27e4537ee3
update imports 2025-09-19 08:55:46 -06:00
dal 2922e1f1bb
Merge pull request #999 from buster-so/Jacob-Fix-Commas-and-Escaped-$
Fixed commas being added and escaping the $ in reports
2025-09-19 08:52:15 -06:00
jacob-buster 89de1b0dbc Fixed commas being added and escpaing the $ in reports 2025-09-19 08:50:24 -06:00
Wells Bunker 1149d5751b
Merge branch 'staging' of https://github.com/buster-so/buster into wells-bus-1825-create-api-endpoint-for-v2-metric_fileid 2025-09-19 08:33:32 -06:00
dal df29484dd7
most recent file bug 2025-09-18 16:27:59 -06:00
dal 2ce485e921
terminated retry 2025-09-18 16:10:03 -06:00
Wells Bunker 64ca1c7433
styling changes 2025-09-18 15:07:24 -06:00
Wells Bunker 4a8988bb07
Adding /metric_file/[id] GET endpoint in v2 2025-09-18 14:46:49 -06:00
Nate Kelley f42b26ca86
remove weird imports 2025-09-18 14:29:00 -06:00
Nate Kelley 44bfc6f830
Merge branch 'staging' into big-nate-bus-1815-pulled-in-reports-treated-as-dashboards 2025-09-18 14:16:51 -06:00
Nate Kelley 688fb36270
fix broken unit tests 2025-09-18 14:15:24 -06:00
Nate Kelley 33073e6729
Move to scoped database imports 2025-09-18 12:36:37 -06:00
Wells Bunker bf94ad1984
add migration for most_recent_file_type to fix to report_file 2025-09-18 09:51:40 -06:00
Wells Bunker 9ec0888e44
migration to update messages.reasoning column 2025-09-18 09:29:22 -06:00
dal 33c91039c2
Merge pull request #989 from buster-so/dallin-bus-1821-add-overload-retry-to-pre-agent-tasks
Add retry logic for steps in analyst workflow
2025-09-18 03:55:28 -06:00
dal 74377029ee
grepitle comment fixes 2025-09-18 03:46:55 -06:00
dal 051f4f143d
Merge remote-tracking branch 'origin/staging' into dallin-bus-1821-add-overload-retry-to-pre-agent-tasks 2025-09-18 03:24:48 -06:00
Nate Kelley 9d60c74732
Added additional enum fixes 2025-09-17 17:22:26 -06:00
Nate Kelley 3fd6afa544
moved enums to their own files 2025-09-17 17:03:20 -06:00
Nate Kelley 6bcd9e7b9e
scope down more types 2025-09-17 16:42:47 -06:00
Nate Kelley 4c8875b7c6
Merge branch 'staging' into big-nate-bus-1815-pulled-in-reports-treated-as-dashboards 2025-09-17 16:37:45 -06:00
Nate Kelley 15e78020e2
type safe translation record 2025-09-17 16:32:24 -06:00
dal 438d0f32ca
Add retry logic for steps in analyst workflow
- Implemented `withStepRetry` utility to handle retries for various steps in the analyst workflow, including creating todos, extracting values, generating chat titles, and routing analysis types.
- Enhanced error handling by logging retry attempts and errors for better debugging.
- Introduced a new utility module for step retry functionality, including options for maximum attempts and exponential backoff delays.
- Added tests for the new retry utilities to ensure correct behavior under various scenarios.
2025-09-17 16:18:02 -06:00
Wells Bunker c285854b42
export through schema-types 2025-09-17 16:00:20 -06:00
Wells Bunker 18e7bd2902
fix build 2025-09-17 15:37:05 -06:00
Wells Bunker 3b3a4f5a5a
AMerge branch 'wells-bus-1813-cleanup-asset-type-enums' of https://github.com/buster-so/buster into wells-bus-1813-cleanup-asset-type-enums 2025-09-17 15:25:43 -06:00
Wells Bunker 3fb8d8c425
make database source of truth for assettype enum 2025-09-17 15:24:12 -06:00
Nate Kelley e23fa1184c
Merge branch 'staging' into big-nate-bus-1815-pulled-in-reports-treated-as-dashboards 2025-09-17 15:19:59 -06:00
Nate Kelley e45c8fc244
Reasoning extend 2025-09-17 15:15:29 -06:00
Nate Kelley d5f43fbcf4
Make a Base Asset and extend off of it 2025-09-17 14:58:39 -06:00
Wells Bunker be9b113671
migration for enum values 2025-09-17 14:42:28 -06:00
Wells Bunker fd4ff6216f
AssetTypeEnum rework 2025-09-17 14:37:14 -06:00
Nate Kelley ac8e2e4f2c
Update most recent message handler 2025-09-17 13:54:10 -06:00
dal ee3274b34b
chat conversation not all messages 2025-09-17 12:35:58 -06:00
dal 18d24b3cb2
bigquery date handling 2025-09-17 09:43:05 -06:00
dal e9f2ca5bd6
bigquery fixes 👍🏼 2025-09-17 08:17:01 -06:00
dal 85a8c96056
lint and fix 2025-09-17 07:49:41 -06:00
dal 21713a2e3b
bigquery parser 2025-09-17 07:42:45 -06:00
dal 6ad4654200
bigquery bugfixes 2025-09-17 07:03:11 -06:00
dal a7e0c71acb
Refactor done-tool-execute parameter naming and improve code formatting in modify-reports-tool files 2025-09-17 00:49:09 -06:00
dal 8f9fcb711b
type mapping and fixing the report file streaming for modify. 2025-09-17 00:36:36 -06:00
dal a29f357324
fix type issue rec 2025-09-16 23:52:38 -06:00
dal 46bafb36d4
Merge remote-tracking branch 'origin/staging' into dallin-bus-1753-overloaded-error 2025-09-16 23:20:22 -06:00
dal 4508c2df29
manual retry on the overload error 2025-09-16 23:20:06 -06:00
dal e92b610ed2
Refactor BigQuery adapter to include schema metadata in query results and improve type mappings. Update tests to validate new behavior and ensure compatibility with existing functionality. 2025-09-16 16:27:28 -06:00
wellsbunk5 04c0cd9dcc
Merge pull request #946 from buster-so/fixGetReportsPermission
Fix get reports permission
2025-09-16 16:10:35 -06:00
Wells Bunker 866963bcb7
fix /reports/[id] to return the correct permission 2025-09-16 16:05:09 -06:00
dal 72ef9464dc
slq parser and data source helper and type mappings 2025-09-16 15:50:33 -06:00
Nate Kelley 5152635ef5
Merge pull request #943 from buster-so/big-nate-bus-1803-sharing-fallbacks-not-actually-working
Big nate bus 1803 sharing fallbacks not actually working
2025-09-16 15:17:45 -06:00
Nate Kelley 8595aa655a
Update permission logic 2025-09-16 15:13:37 -06:00
dal 25efb0242a
Merge branch 'staging' into dallin-bus-1797-dashboard-metrics-data-not-inheriting-correctly 2025-09-16 15:12:33 -06:00
dal d0c7efc441
checks and permission 2025-09-16 15:10:38 -06:00
Nate Kelley c36d0dab74
Is shared update 2025-09-16 15:10:21 -06:00
dal 758b6b7d96
lint fixes 2025-09-16 14:56:40 -06:00
dal 9a3378a368
add in unit test and edge case from bugbot 2025-09-16 14:46:00 -06:00
dal d0659723f2
Enhance access control by adding report permission checks and updating cascading permission logic. Refactor metric access functions to include workspace sharing information for chats, dashboards, and collections. 2025-09-16 14:32:36 -06:00
dal 2a42abb3c3
Merge remote-tracking branch 'origin/staging' into dallin-bus-1705-look-into-weird-scatter-plot 2025-09-16 14:25:27 -06:00
dal 377122c107
Refactor database adapters to normalize row values
- Added `normalizeRowValues` function to BigQuery, MySQL, PostgreSQL, Redshift, Snowflake, and SQLServer adapters to ensure consistent data types across different databases.
- Updated row processing logic in each adapter to apply normalization when converting query results.
2025-09-16 14:21:24 -06:00
Wells Bunker 754af01ed1
add new chats to asset_permissions table 2025-09-16 12:02:10 -06:00
Wells Bunker 87c7ee9960
add Commit; Begin; to make sure transaction is commited 2025-09-16 09:48:14 -06:00
Wells Bunker 12a5412dbe
add one more public 2025-09-16 09:21:55 -06:00
Wells Bunker de20c9efa8
fix migrations 2025-09-16 09:17:20 -06:00
Wells Bunker 981804cb23
asset type enum fix 2025-09-16 08:44:06 -06:00
Nate Kelley cf6d6899ce
Merge pull request #902 from buster-so/dallin-bus-1742-view-only-chats-shouldnt-allow-user-to-follow-up-or-anything
Add Chat permissions logic to web to block view only
2025-09-15 18:19:30 -06:00
wellsbunk5 001973580e
Merge pull request #903 from buster-so/wells-bus-1722-add-report_files-inheritance-and-ancestor-search-for-metrics
MetricFilesToReportFiles db table
2025-09-15 17:28:11 -06:00
Wells Bunker b0ac88fbac
Adding the metric_files_to_report_files table and adding inheritance permissions to search 2025-09-15 17:23:39 -06:00
dal 5be31d3ce5
Merge remote-tracking branch 'origin/staging' into dallin-bus-1742-view-only-chats-shouldnt-allow-user-to-follow-up-or-anything 2025-09-15 16:51:04 -06:00
dal b1b21e30a4
Refactor chat permissions and enhance edit capabilities
- Introduced `useChatPermission` hook to manage chat permissions.
- Updated components to utilize the new permission logic, allowing conditional rendering of edit options.
- Adjusted `ChatInput` to display a view-only message when the user lacks edit permissions.
- Cleaned up `package.json` formatting and added missing exports in context files.
2025-09-15 16:50:58 -06:00
dal cf7b1d0109
Merge remote-tracking branch 'origin/staging' into dallin-bus-1714-run-sql-endpoint-needs-to-use-same-functionality-as-the-get 2025-09-15 15:53:19 -06:00
dal ee62786ad1
changes based on greptile suggestions 2025-09-15 15:53:14 -06:00
Nate Kelley 5521bfa30e
Merge branch 'staging' into dallin-bus-1714-run-sql-endpoint-needs-to-use-same-functionality-as-the-get 2025-09-15 15:16:58 -06:00
Nate Kelley 71abdaa576
Merge branch 'staging' into dallin-bus-1713-convert-slack-message-special-characters-in-app 2025-09-15 15:16:50 -06:00
Nate Kelley 11f4e4cc66
Merge pull request #896 from buster-so/nate/hot-fixes-for-any
Remove unused imports
2025-09-15 15:16:18 -06:00
dal fc12cbeabb
Merge remote-tracking branch 'origin/staging' into dallin-bus-1713-convert-slack-message-special-characters-in-app 2025-09-15 15:08:53 -06:00
dal e57b74015f
Merge remote-tracking branch 'origin/staging' into dallin-bus-1714-run-sql-endpoint-needs-to-use-same-functionality-as-the-get 2025-09-15 15:07:49 -06:00
dal 2761b3f0fc
Integrate SQL functionality by adding SQL routes and updating dependencies. Refactor access control imports to use centralized access-controls package. Update pnpm-lock and package.json for new dependencies including node-sql-parser and yaml. 2025-09-15 15:07:43 -06:00
dal eb657d558e
CLAUDE.md and README.md updates... 2025-09-15 15:06:41 -06:00
Nate Kelley 80f3ee0c49
small cleanup 2025-09-15 14:59:33 -06:00
dal 97b51cc518
Merge remote-tracking branch 'origin/staging' into dallin-bus-1713-convert-slack-message-special-characters-in-app 2025-09-15 14:46:07 -06:00
dal 01673d1c4a
Added HTML entity decoding functions to Slack package and updated message retrieval to decode text in thread messages. 2025-09-15 14:45:54 -06:00
Wells Bunker 464ca48264
comment cleanup 2025-09-15 14:25:28 -06:00
Wells Bunker c91441c965
linting 2025-09-15 14:09:52 -06:00
Wells Bunker 5e88b37988
Adding search backend 2025-09-15 14:01:55 -06:00
Nate Kelley c103a5c154
update server package versions 2025-09-15 13:40:11 -06:00
dal c5b8145ede
tweaks to metric formatting prompt 2025-09-12 14:16:00 -06:00
dal 5fc2ffffba
jus tneed to update the files correctly for the chat record 2025-09-12 13:29:55 -06:00
dal 5c66438313
merge staging in 2025-09-12 12:37:54 -06:00
dal 4aba04d623
merge staging in 2025-09-12 12:37:48 -06:00
dal c6288a540c
database optimization on report files 2025-09-12 12:18:05 -06:00
dal 9afc338eaa
Update shortcut handling to default shareWithWorkspace to false and improve code readability with consistent formatting. 2025-09-12 11:42:38 -06:00
dal 2b46a49841
shortcuts final touches 2025-09-12 11:25:43 -06:00
dal e865dc79c4
Enhance chat functionality by adding user last used shortcuts tracking and updating request handling to include metadata. Refactor shortcut listing to prioritize last used shortcuts in the response. 2025-09-12 11:09:15 -06:00
dal a2c2a4bfee
accept union of string or number 2025-09-12 10:26:04 -06:00
dal c914e33acf
Refactor shortcut service and handler files to improve code readability by removing unnecessary blank lines and reordering import statements for consistency. 2025-09-12 08:28:14 -06:00
dal 3c63c56d37
merge with staging 2025-09-12 08:26:35 -06:00
dal 911f859d85
a few changes and clean up 2025-09-12 00:42:11 -06:00
dal 1f2630a1cf
fixing tests 2025-09-11 23:43:52 -06:00
dal 2d63981273
Add in analyst instructions and org documentation to the message post processing. Tweaked propmts to accoutn for those. 2025-09-11 23:36:52 -06:00
dal 09fc15e4a7
snowflake test fix 2025-09-11 22:23:30 -06:00
dal 3af0fee1b0
query limit fixes 2025-09-11 22:19:55 -06:00
wellsbunk5 9f31ab4ff3
Merge pull request #869 from buster-so/wells-bus-1707-user-personalization-endpoints
Personalization
2025-09-11 17:44:03 -06:00
Wells Bunker 886d2bfb11
db migration generation 2025-09-11 17:39:40 -06:00
Wells Bunker db252c9e7a
Adding personalization into the agent, adding PATCH api for user to add personalization 2025-09-11 17:35:01 -06:00
dal 7a07283e30
Refactor sync job processing to use dataset-based syncing from YAML files. Removed unused sync job status tracking and related database queries. Updated tests to reflect changes in job payload structure and logging. Added new types for datasets and searchable fields. 2025-09-11 13:15:22 -06:00
Nate Kelley 70edda49a3
fix broken unit tests 2025-09-11 12:51:14 -06:00
Nate Kelley fe20fb195f
Merge branch 'staging' into nate/many-updates 2025-09-11 12:46:04 -06:00
Wells Bunker f61a5baafd
minor fixes 2025-09-11 12:28:14 -06:00
Wells Bunker 633b66d132
Adding simplified user/[id] v2 endpoint 2025-09-11 12:18:49 -06:00
Nate Kelley 4d7ddb3592
update the shared permissions 2025-09-11 11:51:55 -06:00
Nate Kelley f5afb2772e
create share chat stuff 2025-09-11 11:37:25 -06:00
Nate Kelley 0182713788
Actually, let's remove the unused type 2025-09-11 10:15:00 -06:00
Nate Kelley b5958ebd52
Removed type check 2025-09-11 10:13:51 -06:00
Wells Bunker 4dc7ec62bf
fix type sharing in server-shared 2025-09-11 10:04:17 -06:00
dal 37efbaee23
Refactor DuckDB integration to lazy-load the module and update package dependencies. Adjust Docker workflow to skip optional dependencies during installation. 2025-09-11 09:40:43 -06:00
Wells Bunker f135fccf0f
Adding the db migration files 2025-09-11 08:33:32 -06:00
Wells Bunker c2a3ca0875
Merge branch 'staging' of https://github.com/buster-so/buster into addingMessageTypes 2025-09-11 08:27:08 -06:00
dal 8547b82dae
Merge pull request #830 from buster-so/addSuggestedPrompts2
Adding api, ai task, and database adjustments for user suggested prompts
2025-09-11 08:18:56 -06:00
Wells Bunker 440489d8be
update migrations 2025-09-10 23:07:51 -06:00
Wells Bunker c78f7689e7
remove setting the users updatedAt when modifying suggestedPrompts 2025-09-10 23:00:43 -06:00
Wells Bunker 6069c24061
Add 10 second timeout generating new prompts before returning old ones 2025-09-10 22:55:35 -06:00
Wells Bunker 60f0a1e0e0
Adding in database column, api input, and logic to skip analyst mode router if it is provided in a message 2025-09-10 22:00:15 -06:00
dal b546d121fd
removed the openai provider since we are back on gateway 2025-09-10 16:02:56 -06:00
dal 22e15f72ff
shifted openai provider options up one level 2025-09-10 15:55:59 -06:00
dal 35e4ba56d8
updted ai dependencies 2025-09-10 15:27:43 -06:00
Nate Kelley 4f4326dbea
metric version number assosicated with report 2025-09-10 15:09:44 -06:00
dal 2e3fdc9a59
.txt files 2025-09-10 12:35:14 -06:00
dal 31fb2e54ae
add braintrust logger for server 2025-09-10 12:09:44 -06:00
dal 85f35ccf8d
fix test 2025-09-10 11:03:03 -06:00
dal adaab8131b
shake up trigger and search dependencies to work now 2025-09-10 11:03:01 -06:00
Wells Bunker d9a5023595
pr changes 2025-09-10 11:01:26 -06:00
dal 50db4d25de
fix test 2025-09-10 10:52:35 -06:00
dal c784445960
shake up trigger and search dependencies to work now 2025-09-10 08:11:29 -06:00
Wells Bunker 8f4daaa3e6
Adding api, ai task, and database adjustments for user suggested prompts 2025-09-09 18:09:41 -06:00
dal a8dfa88871
get rid of setup-db and usage in command 2025-09-09 15:25:49 -06:00
dal 22093c21f0
anthorpic million token beta with cli release fix 2025-09-09 14:42:17 -06:00
dal 4eca287677
switch antrhopic and bedrock 2025-09-09 14:22:44 -06:00
dal abcdee786e
gateway remove hour header 2025-09-09 14:12:42 -06:00
dal 13bcecdf33
Merge remote-tracking branch 'origin/staging' into hot-fix-gateway-headers-and-such 2025-09-09 11:52:06 -06:00
dal b482172294
remove headers 2025-09-09 11:52:01 -06:00
dal 0efa01002f
Merge pull request #791 from buster-so/move-search-to-turbo-puffer
Moving Search to Turbopuffer
2025-09-09 11:14:51 -06:00
dal 816bdd5595
add the 0092 bc somehow the migration got lost? 2025-09-09 10:55:29 -06:00
dal 5646d6bda7
mock duckdb since ci cd keeps breaking 2025-09-09 10:48:40 -06:00
dal 47d9e70f8e
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-09 10:15:12 -06:00
dal aa59ad8def
linting and test issues 2025-09-09 10:15:06 -06:00
dal c354a08348
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-09 10:04:50 -06:00
dal e76a20ea65
Merge remote-tracking branch 'origin/staging' into dallin-bus-1694-applying-an-analystmd-to-analyst-agent 2025-09-09 09:40:51 -06:00
dal 6111f2c90f
type and test logic cleanups 2025-09-09 09:40:19 -06:00
dal 791168a0a5
Merge pull request #813 from buster-so/hot-fix-cli-tool-release-wrong
CLI Hotfixes and some type changes and exports
2025-09-09 09:39:33 -06:00
dal 99108c6f54
Merge remote-tracking branch 'origin/staging' into dallin-bus-1694-applying-an-analystmd-to-analyst-agent 2025-09-09 09:28:03 -06:00
dal 42bf5859c8
fix on files 2025-09-09 09:27:03 -06:00
dal 1344bfceba
Add Slack notification handling logic in message post-processing task
- Implemented tests for Slack notification skip logic based on issue and assumption conditions.
- Updated the main task to skip notifications when no issues are found and no major assumptions exist.
- Enhanced workflow to handle undefined `isSlackFollowUp` correctly, ensuring proper message formatting and notification sending.
2025-09-09 09:22:14 -06:00
dal 734c5bbf31
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-09 00:34:16 -06:00
dal 27854e121f
Merge remote-tracking branch 'origin/staging' into dallin-bus-1694-applying-an-analystmd-to-analyst-agent 2025-09-09 00:32:59 -06:00
dal ef41516325
Implement unified deployment for models and docs
- Added new deployment functionality to handle both models and documentation in a single request.
- Introduced new schemas for unified deployment requests and responses using Zod.
- Updated deployment handlers to process and validate models and docs together.
- Enhanced logging to provide detailed information about deleted models and docs during deployment.
- Refactored existing code to integrate the new deployment structure, ensuring backward compatibility with previous functionalities.
2025-09-09 00:32:48 -06:00
Nate Kelley 9f17e2a140
Add healthcheck page 2025-09-08 16:11:13 -06:00
dal d17c21b2b7
Add docs API endpoints and database schema
- Introduced new API routes for managing documents, including listing, creating, updating, and deleting documents.
- Implemented database queries for document operations.
- Added validation schemas for request and response types using Zod.
- Updated the database schema to include a 'docs' table with necessary constraints.
- Integrated the new docs functionality into the server and shared packages.
2025-09-08 15:48:17 -06:00
Nate Kelley 403e15cb81
Update build and logout 2025-09-08 15:28:35 -06:00
dal cae94ae56a
database now has docs table 2025-09-08 14:44:25 -06:00
dal 69379e9057
all changes 2025-09-08 08:07:51 -06:00
dal 3dd4827591
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-06 14:36:59 -06:00
Nate Kelley 55d873ee2d
Added better formatting for cli package and updated versions to match workspace 2025-09-05 11:39:43 -06:00
dal 0aea7b724a
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-05 10:04:32 -06:00
Nate Kelley 820fbe91da
update package versions 2025-09-05 09:55:29 -06:00
dal db8a919e08
final changes on search 2025-09-05 09:45:17 -06:00
Nate Kelley cb8d1101f2
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-05 09:43:12 -06:00
Nate Kelley b1a59c0b93
removed bustered unit tests 2025-09-04 22:29:33 -06:00
Nate Kelley 6ce5028a27
change next vars to vite vars 2025-09-04 22:12:15 -06:00
dal e5c8512c76
ok sync jobs to turbopuffer 2025-09-04 14:36:08 -06:00
dal a69eefe2b7
Merge remote-tracking branch 'origin/staging' into move-search-to-turbo-puffer 2025-09-04 11:46:55 -06:00
dal 4e93071e75
Update environment configuration and sync functionality
- Added `TURBOPUFFER_REGION` to the environment configuration.
- Modified the `createClient` function to utilize the new `TURBOPUFFER_REGION` variable.
- Updated the `generateNamespace` function to return the data source ID directly instead of prefixing it.
- Adjusted various tests and sync job logic to reflect changes in namespace generation and ensure consistency across the application.
2025-09-04 11:45:59 -06:00
dal 17b06b97e7
Update GitHub Actions and CLI configuration
- Added .actrc to .gitignore to prevent local configuration from being tracked.
- Updated cli-release.yml to specify paths for apps and packages, enhancing workflow triggers.
- Improved permissions in cli-release.yml for better access control.
- Enhanced update-brew-tap.yml with detailed summary creation for deployment results.
- Introduced README.md for GitHub Actions, providing usage instructions and supported platforms.
- Added deploy and dry-run actions for better deployment management.
- Updated error handling in CLI commands for clearer messaging and improved user experience.
- Bumped CLI version to 0.3.0 in package.json to reflect recent changes.
2025-09-04 11:21:47 -06:00
Nate Kelley e5112da7b8
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-04 08:50:29 -06:00
dal 3a0c4dbb68
Merge remote-tracking branch 'origin/staging' into recreate-cli-in-typescript 2025-09-04 08:48:01 -06:00
dal 2b2c867dab
typescript commands 2025-09-04 08:47:56 -06:00
dal 80f2eacbee
updates 2025-09-04 07:22:35 -06:00
dal 25da441517
Add init command and enhance deploy command options
- Introduced `init` command to initialize a new Buster project.
- Updated `deploy` command options to clarify the path description.
- Removed unused options from the deploy command.
- Refactored deployment logic to improve error handling and response processing.
- Enhanced configuration loading to ensure required fields are validated.
- Added spinner component for better user feedback during loading states.
2025-09-03 14:55:40 -06:00
dal 06ea66f2a4
recsolvjfj 2025-09-03 12:08:03 -06:00
dal 24d1bbda45
merge 2025-09-03 12:07:44 -06:00
dal 030968e1e8
fix anthropic beta headers 2025-09-03 11:47:03 -06:00
dal b980ad6588
underscore for header on bedrock 2025-09-03 11:30:20 -06:00
dal 6a387ea5a7
stop sequential thinking 2025-09-03 11:24:17 -06:00
dal caf40c492e
sequential thinking is complete field 2025-09-03 11:11:01 -06:00
Nate Kelley ae19b51ecc
simplify the server build 2025-09-03 10:40:13 -06:00
Nate Kelley 97e00e7b6b
make more catalog versions 2025-09-03 10:33:17 -06:00
dal 2e11ee999a
delay to see if it fixes the issue of not marking complete 2025-09-03 10:10:36 -06:00
Nate Kelley a3c9ce8900
make shared materialize function 2025-09-03 10:09:22 -06:00
Nate Kelley fca5a645ae
update tests 2025-09-03 10:05:06 -06:00
dal 992be1d12d
Merge pull request #786 from buster-so/Jacob-fix-db-init
Get rid of setup.sql and put setup in seed
2025-09-03 09:55:52 -06:00
jacob-buster 972db21f23 Get rid of setup.sql and put setup in seed 2025-09-03 09:54:28 -06:00
dal b5e931dcb8
cli 2025-09-03 09:41:52 -06:00
Nate Kelley 811cfb4626
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-03 09:33:23 -06:00
dal 55e50d124e
update message entires fix for race conditions 2025-09-03 09:09:36 -06:00
dal badf379b8f
sequential thinking update for race condition? 2025-09-03 08:59:00 -06:00
dal 4e6f13c181
sequential thinking and updates 2025-09-03 08:46:56 -06:00
dal 1e5bc3977d
update messages 2025-09-03 08:01:07 -06:00
dal 14e7edd8d0
await db writes 2025-09-02 22:08:24 -06:00
dal 30f7e8ac88
speed up writes to db 2025-09-02 21:58:26 -06:00
dal 02e70b6905
anthropic beta headers 2025-09-02 21:49:00 -06:00
dal 4e06c529a5
routing for gateway 2025-09-02 21:21:33 -06:00
dal 13d62eaf14
Add gateway options for 'anthropic' provider in various agent steps
Updated DEFAULT_CACHE_OPTIONS in analyst and think-and-prep agents to include gateway options. Added gateway settings in multiple steps including analysis-type-router, create-todos, extract-values, generate-chat-title, flag-chat, format-follow-up, format-initial, and identify-assumptions steps to restrict provider usage to 'anthropic'. This enhances control over the AI model interactions.
2025-09-02 20:09:21 -06:00
dal 0a8fbe05b5
fix packages and pnpm lock 2025-09-02 17:41:29 -06:00
dal 190e52527d
ai gateway api key require 2025-09-02 17:29:29 -06:00
dal 0283fcd437
passing testsnow 2025-09-02 17:28:18 -06:00
dal d524e33996
Update AI SDK dependencies and refactor model initialization to use AI Gateway. Remove deprecated fallback logic and related tests for improved performance and maintainability. 2025-09-02 17:20:39 -06:00
dal 497598afe1
tool result fixing 2025-09-02 16:49:08 -06:00
dal 017971b776
tool call + result sorting logic 2025-09-02 16:05:04 -06:00
dal ea0ab9f290
resolve comments 2025-09-02 13:10:22 -06:00
dal 679f55b16d
add in public facing chat endpoint 2025-09-02 12:27:51 -06:00
dal b3604c6cb0
embeddings and sync job 2025-09-02 11:29:46 -06:00
dal fbd27bc61a
deduplicate values 2025-09-02 10:20:35 -06:00
dal 79ef7f211e
initial client and types 2025-09-02 10:00:59 -06:00
dal c70dfe735d
initial with types and schemas 2025-09-02 08:56:21 -06:00
dal 5949c3fbf5
added search 2025-09-02 07:50:43 -06:00
Nate Kelley 27bdd9bbe4
added some additional packages for reports 2025-09-01 22:26:08 -06:00
Nate Kelley f7a8572a8e
Add critical report functions 2025-09-01 22:07:50 -06:00
Nate Kelley 2320aa6f0f
read only prop passdown for version history 2025-09-01 16:46:28 -06:00
Nate Kelley 7f377ad85c
added updates to collection 2025-09-01 16:03:50 -06:00
Nate Kelley 9075278457
added three dot menu for dashboard 2025-09-01 14:49:53 -06:00
Nate Kelley b55dd2956a
update reasoning page 2025-08-29 20:44:06 -06:00
Nate Kelley 7fd779c319
auto change layout 2025-08-29 18:18:28 -06:00
Nate Kelley bb4a3bb85e
input flow 2025-08-29 17:58:44 -06:00
Nate Kelley 172de1151c
resolve merge conflicts 2025-08-29 09:58:25 -06:00
dal fd52da943a
chats and shortcuts 2025-08-28 14:58:55 -06:00
dal 1b3150f466
Implement shortcuts feature in chat and API routes
- Added shortcuts routes to the API.
- Enhanced chat handler to process shortcuts in user prompts.
- Introduced shortcuts table schema in the database.
- Updated relevant queries and shared types to include shortcuts.
- Configured environment variables for database connection.
2025-08-28 12:48:01 -06:00
dal e165a37b36
migrate deploy to ts cli 2025-08-28 12:00:20 -06:00
dal 13038ff7b3
Update CLI and SDK configurations for improved functionality
- Enhanced the CLI with new linter rules and updated file structures for better organization.
- Modified package.json to reflect changes in dependencies and ensure compatibility.
- Improved the vitest configuration for better testing practices.
- Refactored various components for consistency and readability, including imports and error handling.
- Updated the server API and database queries to streamline authentication processes.
- Removed deprecated code and cleaned up unused files to maintain a tidy codebase.
2025-08-27 23:59:47 -06:00
dal 5726b01ecc
Enhance CLI functionality and SDK integration
- Added new CLI commands for authentication management and improved default action handling.
- Updated package.json to include new dependencies and scripts for building and running the CLI.
- Integrated authentication features into the SDK, allowing for API key validation.
- Modified the SDK configuration to use a new default API URL.
- Expanded the server API to include authentication routes.
- Updated database queries to support new API key functionalities.
- Improved code structure and readability across CLI and SDK components.
2025-08-27 23:31:03 -06:00
dal 3b585d09dd
sdk and ts cli 2025-08-27 15:53:53 -06:00
dal 397d4f3638
missing a few fixes for tests 2025-08-27 10:54:23 -06:00
dal ed723b7ca7
fixes to other communicatio tools 2025-08-27 10:54:08 -06:00
dal 6b0b4112d7
fixed all report bugs 2025-08-27 09:49:21 -06:00
dal beb332f01a
workspace permissions 2025-08-26 15:58:16 -06:00
dal f8fba4becd
increase max completion tokens 2025-08-26 11:19:20 -06:00
dal 5b1c903f78
snowflake credentials adjustment 2025-08-26 10:34:15 -06:00
dal fb1a49f498
fix on the done tool to get results in before race condition 2025-08-25 15:28:26 -06:00
dal e97ec9c002
Enhance S3 integration functionality
- Added bucketName to S3 integration responses and handlers to support bucket-specific operations.
- Updated tests to reflect the inclusion of bucketName in integration creation and retrieval processes.
- Improved error handling for fetching bucket names from the vault during S3 integration retrieval.

These changes improve the S3 integration management by allowing for more granular control and visibility of storage buckets.
2025-08-25 12:48:19 -06:00
dal 48de08f603
Merge remote-tracking branch 'origin/staging' into add-s3-integration-capability 2025-08-25 09:53:18 -06:00
dal 8a26630836
storage integration 2025-08-25 09:52:37 -06:00
dal abbbd6eac7
make update message entries await 2025-08-25 09:26:27 -06:00
dal e2cf8449e6
s3 tests 2025-08-25 08:48:10 -06:00
dal 41ca3c3724
Refactor S3 integration handlers and storage provider logic
- Simplified S3 integration handler functions by consolidating imports and improving code readability.
- Updated error handling in the S3 integration process to enhance clarity and maintainability.
- Refactored storage provider functions to utilize a more modular approach, separating concerns for better organization.
- Introduced utility functions for common operations, improving code reuse and reducing duplication.

These changes enhance the overall structure and maintainability of the S3 integration management features.
2025-08-25 08:06:07 -06:00
dal 5f51dfc459
Implement S3 integration management features
- Added routes for creating, retrieving, and deleting S3 integrations in the API.
- Introduced handlers for S3 integration operations, including validation of user permissions and storage credentials.
- Updated database schema to support S3 integrations, including a new table and associated queries.
- Integrated storage provider logic to handle S3, R2, and GCS configurations.
- Enhanced error handling and response structures for integration operations.

This commit lays the groundwork for managing storage integrations within the application, allowing users to connect and manage their S3 storage solutions.
2025-08-25 08:05:19 -06:00
dal f469b2a152
Update PostgreSQL adapter SSL configuration to allow self-signed certificates
- Modified the SSL configuration in both the PostgreSQL adapter and its tests to use { rejectUnauthorized: false } instead of a boolean true value.
- Ensured consistency in handling SSL settings across the adapter and its tests.
2025-08-25 00:26:29 -06:00
dal 570624a112
posgres ssl fix 2025-08-25 00:15:09 -06:00
dal 2e24d830f0
Refactor database credential handling across adapters
- Updated all database adapter tests and implementations to replace the 'database' field with 'default_database' for consistency.
- Ensured backward compatibility in the Redshift adapter by allowing both 'database' and 'default_database' fields.
- Enhanced SQLServer and MySQL adapters to reflect the new credential structure, improving clarity and maintainability.
2025-08-24 23:35:46 -06:00
dal 9bdfe81cd5
final tweak 2025-08-24 22:09:45 -06:00
dal 7b9afdbb2f
Enhance tool result conversion by validating toolCallId
- Added checks to ensure toolCallId exists and is a valid string before processing tool results.
- Preserves the original part if toolCallId is missing or invalid, improving robustness in message conversion.
2025-08-24 21:51:13 -06:00
dal 980a786d21
fix build errors 2025-08-24 21:42:38 -06:00
dal 455888cdcd
ai sdk v4 to v5 conversion 2025-08-24 21:31:16 -06:00