dal
d31ac1f367
Merge pull request #530 from buster-so/devin/BUS-1413-1737133153
...
feat: implement markdown to Slack mrkdwn converter for BUS-1413
2025-07-17 09:15:01 -07:00
Devin AI
96d0d219ee
Fix remaining unit test issues in AI and data-source packages
...
- Fixed AI package unit tests that were previously failing
- Updated database package.json with environment variables for tests
- Fixed snowflake adapter test issues in data-source package
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:14:57 +00:00
Devin AI
135dd40410
Remove old test files after moving to source directories
...
- Removed empty test files from packages/rerank/tests/ and packages/stored-values/tests/
- All unit tests are now co-located with their source files
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:14:13 +00:00
Devin AI
281ef4a1a7
Add remaining unit test files alongside source files in test-utils package
...
- Added unit tests for database helper functions
- Added unit tests for mock helpers and environment helpers
- All test files now follow the convention of being alongside their source files
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:13:57 +00:00
Devin AI
ce91c4e997
Move unit tests to be alongside source files
...
- Moved unit tests from tests/ folders to src/ directories in stored-values, rerank, and test-utils packages
- Updated import paths in moved test files
- Removed old test files from tests/ directories
- Tests now follow convention: if there's a file.ts, the test is file.test.ts in the same directory
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:13:40 +00:00
Devin AI
ddae13ad9d
fix: resolve linting issues in markdown converter
...
- Prefix unused parameters with underscore in regex replace functions
- Fix biome lint errors for unused variables
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:08:00 +00:00
Nate Kelley
54feda404a
update type checking
2025-07-17 10:05:50 -06:00
Devin AI
fa81ede5f0
feat: implement markdown to Slack mrkdwn converter
...
- Add convertMarkdownToSlack utility function that converts standard markdown to Slack-compatible mrkdwn format
- Handle headers (converted to section blocks), bold/italic text, code blocks, and ordered/unordered lists
- Integrate converter into messaging service for all outgoing messages (sendMessage, replyToMessage, updateMessage)
- Add comprehensive tests covering all conversion scenarios including nested formatting
- Use placeholder approach to avoid conflicts between bold and italic regex patterns
- Leave unsupported markdown unchanged as required
Fixes BUS-1413
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 15:59:30 +00:00
Nate Kelley
5c15664b22
Add new column and rules around type safety
2025-07-17 09:51:48 -06:00
Nate Kelley
06d8c1e568
Merge pull request #527 from buster-so/big-nate/bus-1420-add-searchable-menu-to-share-dropdowns
...
add searchable menu to share dropdowns
2025-07-16 23:48:44 -06:00
Nate Kelley
0be0744bd0
share update
2025-07-16 23:46:34 -06:00
Nate Kelley
39a9dc2b5d
update with or condition
2025-07-16 23:08:28 -06:00
Nate Kelley
a24779d40f
Query request in line
2025-07-16 23:01:49 -06:00
dal
bcaa133059
Enhance Slack agent task with no message handling and increase max duration
...
- Updated maxDuration to 600 seconds to align with analyst agent task.
- Added logic to handle cases where no messages are found, sending a direct response to Slack and updating message reactions accordingly.
- Improved type safety in SlackSharingPermissions component by defining a specific type for sharing permissions.
2025-07-16 17:37:17 -06:00
dal
da380485d9
added in the slack auto-sharing functionality
2025-07-16 16:54:09 -06:00
dal
e4630b5cd7
add default slack sharing permissions
2025-07-16 15:14:16 -06:00
Nate Kelley
bc5b0e4f84
update select
2025-07-16 14:48:33 -06:00
dal
86572acfa4
slack agent react
2025-07-16 13:58:03 -06:00
dal
d4f216cb66
Merge remote-tracking branch 'origin/staging' into dallin/bus-1363-slack-agent-query-buster-from-slack-direct-query
2025-07-16 12:54:18 -06:00
dal
1e2e031240
slack info from user
2025-07-16 11:56:11 -06:00
Nate Kelley
bd66820792
Update packages/database/package.json
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-16 11:25:10 -06:00
dal
0d217714cc
added slack tracking on chats
2025-07-16 11:15:16 -06:00
Nate Kelley
1a8d6e1240
Merge pull request #520 from buster-so/big-nate/bus-1420-add-searchable-menu-to-share-dropdowns
...
Big nate/bus 1420 add searchable menu to share dropdowns
2025-07-16 10:37:20 -06:00
Nate Kelley
8fe5e9f906
working tests
2025-07-16 10:36:24 -06:00
Nate Kelley
0f7d1c313d
update rules for database folder
2025-07-16 10:29:10 -06:00
Nate Kelley
f11afec05a
query params update for cursor rules
2025-07-16 10:13:30 -06:00
dal
2bc11900b9
Slack User auth and domain validation
2025-07-16 10:09:57 -06:00
Nate Kelley
a032a966f8
make generic handler
2025-07-16 09:59:30 -06:00
Nate Kelley
0d01dfcb4c
array parter
2025-07-16 09:54:28 -06:00
Nate Kelley
5dc31814d8
Simplify the get user endpoint
2025-07-16 09:32:48 -06:00
Nate Kelley
d9ed8b1423
finalize pagination endpoint
2025-07-16 09:25:51 -06:00
Jacob Anderson
a4551e661b
assumption prompt changes for first person voice and join logic
2025-07-16 09:09:37 -06:00
Nate Kelley
b637bf356a
paginated queries
2025-07-15 23:05:12 -06:00
Nate Kelley
fdf70abfb8
update database dev
2025-07-15 22:26:13 -06:00
Nate Kelley
094fc4c251
add pagination type responses
2025-07-15 17:23:32 -06:00
Nate Kelley
fb0e79065f
udpate endpoint to accept more params
2025-07-15 16:54:18 -06:00
Nate Kelley
a9b8acbb80
user to organization method
2025-07-15 16:36:14 -06:00
Nate Kelley
2e73d97ffc
create basic user to organization db
2025-07-15 16:20:40 -06:00
Nate Kelley
74993ca556
change folder name
2025-07-15 16:08:01 -06:00
Nate Kelley
f23d933cc1
initial commit to move files
2025-07-15 15:44:26 -06:00
dal
a751d22baa
initial slack challenge verification and receive messages
2025-07-14 16:08:01 -06:00
dal
4ab3ae97a2
env vars
2025-07-14 15:12:46 -06:00
Nate Kelley
727e66a630
Fix files on lint
2025-07-14 14:30:07 -06:00
dal
3b48e51969
format
2025-07-14 14:28:06 -06:00
dal
bd34e72b93
bugfix on data metdata
2025-07-14 14:23:37 -06:00
Cursor Agent
2cf56e895c
Change file type from 'agent-action' to 'todo' in chunk processor
...
Co-authored-by: dallin <dallin@buster.so>
2025-07-14 18:49:58 +00:00
dal
d42fdd489d
Merge pull request #503 from buster-so/cursor/improve-529-error-recovery-process-6ba8
...
Handle 529 and clean up
2025-07-14 11:43:45 -07:00
dal
fd901b40af
Update packages/ai/tests/utils/retry/cleanup-incomplete-tool-calls.test.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-14 11:42:55 -07:00
dal
b7fc3eaa09
unit tests are passing
2025-07-14 12:40:53 -06:00
dal
69da316f6c
Merge remote-tracking branch 'origin/staging' into dallin/bus-1380-fix-unit-tests
2025-07-14 12:37:15 -06:00
dal
a518f93f76
rest of them
2025-07-14 12:34:00 -06:00
dal
75cfb9d733
data source tests
2025-07-14 12:33:54 -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
dal
5a971dd8a1
fix on access-control tests
2025-07-14 11:01:53 -06:00
Nate Kelley
5352ae8f10
currency response
2025-07-14 09:41:25 -06:00
dal
2be9784516
Add unit and integration test scripts to package.json files across multiple packages
2025-07-14 09:11:20 -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