dal
f9c5253f5d
fix lint
2025-09-22 09:46:37 -06:00
dal
ddc9748ad8
merge staging
2025-09-22 09:35:24 -06:00
dal
905ef3509f
sql dialect specific guidance
2025-09-22 09:11:50 -06:00
dal
0cc6fb04b0
merge staging
2025-09-22 09:02:46 -06:00
dal
1adad1b6e9
ssl through url
2025-09-22 09:01:09 -06:00
dal
e68032ab8d
lint errors
2025-09-22 08:59:25 -06:00
dal
83aca9300e
percentage instruction fix so llm is better at them
2025-09-22 08:42:35 -06:00
dal
e63fd79df5
database ssl connection fix
2025-09-22 08:32:06 -06:00
Wells Bunker
6f857d9436
Update suggested prompts endpoint to return immediately and run update in background
2025-09-21 19:12:16 -06:00
dal
408cc1853c
migration fix
2025-09-20 16:47:54 -06:00
dal
1acecff3a4
try one more time without custom ssl
2025-09-20 16:41:34 -06:00
dal
cf7725fd53
add cert step
2025-09-20 16:34:28 -06:00
dal
0e2ac5c9d1
change ssl one more time
2025-09-20 16:28:31 -06:00
dal
f81a524279
make test more stable and add ssl requirement on migration
2025-09-20 16:24:39 -06:00
dal
52189a6fa0
migration job fix
2025-09-20 16:10:25 -06:00
Nate Kelley
01a0c06a08
Merge pull request #1025 from buster-so/nate/sharing-hot-fix
...
Make a more composible check for checkPermission
2025-09-20 15:51:06 -06:00
Nate Kelley
2519e84c0f
update permission cache
2025-09-20 15:48:44 -06:00
dal
0e89b502ea
fix lint build and tests
2025-09-20 15:22:28 -06:00
dal
189dedd32e
Merge remote-tracking branch 'origin/staging' into dallin-bus-1836-move-seed-script-to-ts
2025-09-20 15:15:45 -06:00
dal
9c01bcb37c
seed script and db clean up
2025-09-20 15:15:26 -06:00
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
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
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
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
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