Skip to content

Add rawDel function and enhance sync database schema#101

Merged
ric-v merged 1 commit into
dev-asterix:mainfrom
ric-v:feat/polish-gating-and-feature-gaps
Jun 17, 2026
Merged

Add rawDel function and enhance sync database schema#101
ric-v merged 1 commit into
dev-asterix:mainfrom
ric-v:feat/polish-gating-and-feature-gaps

Conversation

@ric-v

@ric-v ric-v commented Jun 17, 2026

Copy link
Copy Markdown
Member

This pull request introduces several significant improvements and new features, primarily focused on expanding AI model provider support, enhancing AI settings management, and improving sync and storage logic. The most notable changes are the addition of DeepSeek, Moonshot, and Mistral AI providers, a more robust AI settings structure with scope-based defaults, and clarifications to the sync deletion protocol.

AI Model Provider Expansion and Integration:

  • Added support for DeepSeek, Moonshot/Kimi, and Mistral AI as first-class providers, including model listing, provider display names, and default model selection throughout the AI assistant and settings UI. [1] [2] [3] [4] [5] [6] [7] [8]
  • Implemented a shared helper function to fetch models from any OpenAI-compatible API, and used it for DeepSeek, Moonshot, and Mistral providers.

AI Settings Management Improvements:

  • Refactored AI settings to support separate notebook and chat provider/model defaults, allowing for more granular user configuration. Updated the settings handler to read, save, and post these scoped settings, and to maintain last-used models per provider. [1] [2] [3] [4] [5]
  • Enhanced the AI settings handler to properly test and list models for the new providers, with improved error handling and messaging. [1] [2] [3]

Sync and Storage Logic Updates:

  • Clarified and documented the deletion (tombstone) protocol for synced items, ensuring that deletes propagate safely and consistently across devices and backends.
  • Updated the local sync index logic to avoid prematurely removing entries, ensuring proper cloud tombstone emission and preventing accidental resurrection of deleted items.

Database and Store Maintenance:

  • Added explicit ALTER TABLE migrations to ensure all required columns exist in the sync_accounts table, improving reliability for users upgrading from older versions.

  • Introduced a rawDel function to the key-value store utility for consistent deletion support across environments. [1] [2]…schema

  • Introduced rawDel function to delete keys from the store, supporting both KV and local storage.

  • Enhanced sync database schema by adding new columns to the sync_accounts table for better tracking of account usage and status.

  • Updated documentation to include details on the new deletion process for synced items.

  • Improved AI Assistant features by integrating new AI providers and updating model listing functionalities.

  • Refactored settings hub UI to support new AI configuration options and enhance user experience.

…schema

- Introduced rawDel function to delete keys from the store, supporting both KV and local storage.
- Enhanced sync database schema by adding new columns to the sync_accounts table for better tracking of account usage and status.
- Updated documentation to include details on the new deletion process for synced items.
- Improved AI Assistant features by integrating new AI providers and updating model listing functionalities.
- Refactored settings hub UI to support new AI configuration options and enhance user experience.
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

@ric-v is attempting to deploy a commit to the asterix-dev Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pg-studio Ready Ready Preview, Comment Jun 17, 2026 7:08pm

@ric-v ric-v merged commit d7175c3 into dev-asterix:main Jun 17, 2026
4 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant