Skip to content

Commit 25a60d9

Browse files
committed
fix: correct TYPE_ID separator and version in TypeScript constants
- TYPE_ID: 'cxdb:ConversationItem' (colon) → 'cxdb.ConversationItem' (dot) to match the registry bundle which has always used dot separators - TYPE_VERSION: 2 → 3 to match the current registry schema version The colon separator was invalid in contexts that parse the type ID as a namespace path. The version mismatch caused the frontend to miss schema features registered at version 3.
1 parent d80620b commit 25a60d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/types/conversation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* Legacy types (assistant, tool_call, tool_result) are kept for backward compatibility.
1212
*/
1313

14-
// Type ID constants matching the Go package
15-
export const TYPE_ID_CONVERSATION_ITEM = 'cxdb:ConversationItem';
16-
export const TYPE_VERSION_CONVERSATION_ITEM = 2;
14+
// Type ID constants matching the registry bundle
15+
export const TYPE_ID_CONVERSATION_ITEM = 'cxdb.ConversationItem';
16+
export const TYPE_VERSION_CONVERSATION_ITEM = 3;
1717

1818
// =============================================================================
1919
// Enums

0 commit comments

Comments
 (0)