Commit graph

235 commits

Author SHA1 Message Date
CREDO23
7d1bd1fab4 Implement KB sync after Notion page updates with block ID verification
- Add NotionKBSyncService for immediate KB updates after page changes
- Implement block ID verification to ensure content freshness
- Refactor duplicate block processing logic to shared utils
- Add user-friendly status messages
- Include debug logging for troubleshooting
2026-02-17 20:30:12 +02:00
CREDO23
2f65536c6d use document_id instead of page_id for kb sync lookup 2026-02-17 18:25:56 +02:00
CREDO23
b240bc3e1a add kb sync for notion updates 2026-02-17 17:37:47 +02:00
DESKTOP-RTLN3BA\$punk
7bd3a4e08f chore: linting 2026-02-16 23:30:35 -08:00
DESKTOP-RTLN3BA\$punk
9390f195cc refactor: fix decision handling and error message extraction in Notion tools
- Improved decision extraction logic in create, delete, and update Notion page tools to ensure proper handling of approval decisions.
- Added a static method to NotionHistoryConnector for consistent error message extraction from API responses, enhancing readability and maintainability.
2026-02-16 02:14:26 -08:00
DESKTOP-RTLN3BA\$punk
81c70befcf chore: linting 2026-02-15 23:38:15 -08:00
Anish Sarkar
ed28439246 Merge remote-tracking branch 'upstream/dev' into feat/report-artifact 2026-02-14 19:12:01 +05:30
Anish Sarkar
2755c0d7c0 chore: update uv.lock and ran linting 2026-02-14 19:09:45 +05:30
Anish Sarkar
3ec30d94ce refactor: optimize report generation tool to use short-lived database sessions for improved performance and connection management 2026-02-14 18:48:36 +05:30
Anish Sarkar
8746051670 feat: enhance system prompts to specify LaTeX notation for mathematical expressions 2026-02-14 14:28:47 +05:30
CREDO23
66a6fb685e Merge upstream/dev into feature/human-in-the-loop 2026-02-13 20:17:59 +02:00
CREDO23
d8d62ab2c5 Disable Notion tools when connector not configured 2026-02-13 19:52:48 +02:00
CREDO23
743b40ece6 fix: add user_id filter to create_notion_page connector lookup 2026-02-13 19:15:17 +02:00
CREDO23
97d5b046d4 Fix delete notion page tool implementation 2026-02-13 18:50:14 +02:00
CREDO23
cc36780c67 Add delete_from_db parameter and DB deletion logic to delete_notion_page 2026-02-13 16:08:06 +02:00
CREDO23
45de7d546c Refactor delete_notion_page: use page_title, add HITL, logging, not_found status 2026-02-13 15:52:50 +02:00
Anish Sarkar
138c6d8cd6 feat: update report generation tool with new user prompts 2026-02-13 19:02:46 +05:30
CREDO23
da451ffff7 Handle page not found as informational status instead of error 2026-02-13 13:22:52 +02:00
CREDO23
9411edf057 Refactor update_notion_page to append-only with simplified parameters 2026-02-13 13:07:19 +02:00
DESKTOP-RTLN3BA\$punk
a8c1aa28c0 feat: remove pandoc and its respective engine dependencies 2026-02-13 01:34:43 -08:00
CREDO23
0d1b61d7e6 Implement update notion page tool 2026-02-13 10:45:51 +02:00
DESKTOP-RTLN3BA\$punk
3a7a27f3ae feat: enhance report generation instructions with comprehensive trigger phrases and formatting rules for Markdown output 2026-02-12 17:18:50 -08:00
Anish Sarkar
a2dd5fb671 chore: ran linting 2026-02-13 02:43:26 +05:30
CREDO23
f15e6aeb5e Add HIL to update notion page tool 2026-02-12 18:42:11 +02:00
CREDO23
67473bbb78 Add validation for title and connector in notion page creation 2026-02-12 17:51:11 +02:00
CREDO23
9023f2656b Improve notion page creation approval UI 2026-02-12 17:35:27 +02:00
CREDO23
c47171e218 fix edited action args extraction for notion page creation 2026-02-12 16:38:08 +02:00
Anish Sarkar
f96e7e11c6 docs: enhance report generation instructions with detailed formatting guidelines for code examples and Mermaid diagrams 2026-02-12 19:29:48 +05:30
CREDO23
066fb6dbfb use interrupt primitive with db context for notion page creation 2026-02-12 15:29:41 +02:00
Anish Sarkar
d627409af0 docs: update system prompt and report tool instructions for clarity on report generation and modification requests 2026-02-12 18:22:47 +05:30
Anish Sarkar
adeef35443 feat: add report versioning support with report_group_id 2026-02-12 03:19:38 +05:30
CREDO23
78127243e2 merge upstream/dev: add user_id to configs, provider icons, i18n 2026-02-11 20:05:00 +02:00
CREDO23
8e6fa2ee58 add delete notion page approval ui 2026-02-11 18:20:51 +02:00
CREDO23
04ea40f0c8 fix notion write tools and add retry wrapper 2026-02-11 17:18:59 +02:00
Anish Sarkar
90bf93b0a5 feat: enhance report generation with error handling and metadata extraction
- Updated the report generation tool to include error handling for failed report generation, persisting error messages in the database.
- Modified metadata extraction to count section headings and return a status indicating readiness or failure.
- Adjusted frontend components to handle and display error states based on report generation outcomes, improving user feedback and experience.
2026-02-11 20:04:36 +05:30
CREDO23
8649ca7ac0 add notion tools for create/update/delete pages 2026-02-11 16:11:53 +02:00
CREDO23
2ef2474058 add HITL tool argument editing with approval UI
Enables users to edit tool call arguments before execution in human-in-the-loop
workflows. Adds edit mode UI with form fields, grayscale styling, and subtle
pulse animations for pending approvals. Backend stub enhanced to verify edited
arguments are correctly passed through.
2026-02-11 15:43:07 +02:00
Anish Sarkar
acad8c6d2b feat: implement report generation tool and associated routes for CRUD operations
- Added a new tool for generating structured Markdown reports based on user input.
- Implemented routes for creating, reading, exporting, and deleting reports.
- Integrated report generation into the chat flow, allowing users to generate reports inline.
- Updated schemas to support report data structures and responses.
- Enhanced frontend components to handle report generation and display results.
2026-02-11 17:55:52 +05:30
Anish Sarkar
fc64f65876 Merge remote-tracking branch 'upstream/dev' into feat/sur-159 2026-02-11 03:47:51 +05:30
Anish Sarkar
bb4ed3cac6 refactor: update configuration names from "Auto (Load Balanced)" to "Auto (Fastest)" across multiple components for consistency and clarity 2026-02-10 23:04:15 +05:30
CREDO23
c9542c8603 register create_notion_page tool with interrupt_on 2026-02-10 15:27:47 +02:00
CREDO23
9fa923051c add stub create_notion_page tool 2026-02-10 15:23:29 +02:00
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
Rohan Verma
dcd1497630
Merge pull request #802 from CREDO23/sur-161-feat-add-github-models-as-llm-provider
[Improvements] Add GitHub models as llm provider
2026-02-09 15:07:40 -08:00
Rohan Verma
3f0c9c35f7
Merge pull request #799 from CREDO23/sur-152-impr-split-private-and-shared-memory
[Feat] Split private vs shared chat memory and add team prompt/attribution
2026-02-09 15:03:54 -08:00
DESKTOP-RTLN3BA\$punk
2b75c4e6d3 chore: linting 2026-02-09 14:14:46 -08:00
DESKTOP-RTLN3BA\$punk
17b7348f61 feat: fixed and improved search and background task management. 2026-02-09 14:03:56 -08:00
CREDO23
a96d18ec31 Fix GitHub Models provider: use github prefix, fix migration, add Zod enum 2026-02-09 19:14:16 +02:00
CREDO23
a9d6c41964 Add GITHUB_MODELS to provider maps 2026-02-09 17:34:25 +02:00
CREDO23
99d9ce04b3 Conditional system prompt for private vs shared chat memory 2026-02-09 10:54:31 +02:00