Skip to content

Add type per key#46

Merged
dh7 merged 8 commits intomainfrom
Add-type-per-key
Jan 15, 2026
Merged

Add type per key#46
dh7 merged 8 commits intomainfrom
Add-type-per-key

Conversation

@dh7
Copy link
Owner

@dh7 dh7 commented Jan 15, 2026

No description provided.

dh7 added 7 commits January 15, 2026 00:08
…ache

- Added support for custom types with markdown schema definitions.
- Implemented methods for registering types, assigning types to keys, and retrieving type schemas.
- Enhanced AIToolBuilder to utilize custom type schemas in tool descriptions and prompts.
- Updated tests to validate custom type functionality and integration with existing features.
- Reflected changes in the core types and exports to accommodate new custom type definitions.
- Made baseUrl a required field in OAuthClient, removing the default value.
- Added clear error messages with examples for missing baseUrl.
- Implemented URL format validation and domain warnings.
- Added API ping on initialization to check endpoint accessibility.
- Updated tokenProvider to fetch WebSocket tokens from /api/ws-token.
- Introduced accessTokenProvider for raw OAuth token access.
- Updated documentation to reflect new baseUrl requirements.
- Enhanced contact schema to include new fields: address, linkedin, twitter, and birthday.
- Updated extraction prompt to specify new fields for contact information.
- Modified contact display to show additional information such as address and social links.
- Improved code readability and structure in the contact extraction component.
…lities

- Renamed `extractContacts` function to `processContent` for clarity.
- Updated API request to include existing contacts for improved processing.
- Enhanced error handling and user feedback during processing.
- Modified UI elements to reflect new processing terminology.
- Improved code structure and readability in the contact extraction component.
- Added a new button to sort contacts alphabetically by name.
- Implemented `sortContacts` function to update the zIndex of contacts based on alphabetical order.
- Updated subscription logic to utilize `getSortedKeys()` for zIndex ordering.
- Improved UI to reflect sorting capabilities alongside existing clear functionality.
…zation

- Introduced a new feature to export contacts as a Markdown file.
- Updated MindCache initialization to include IndexedDB persistence for better data management.
- Enhanced the contact extraction rules to clarify handling of CSV data and contact updates.
- Updated the MindCache class to automatically set the underlying type to 'json' when assigning a custom type to a key.
- Modified the contact extractor to specify 'json' type during contact updates, improving data structure consistency.
@vercel
Copy link

vercel bot commented Jan 15, 2026

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

Project Deployment Review Updated (UTC)
mindcache Ready Ready Preview, Comment Jan 15, 2026 9:01pm

@dh7 dh7 merged commit df1ae9e into main Jan 15, 2026
9 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