feat: implement custom smart context functionality with hooks, IPC handlers, and utilities
Some checks failed
CI / test (map[image:macos-latest name:macos], 1, 4) (push) Has been cancelled
CI / test (map[image:macos-latest name:macos], 2, 4) (push) Has been cancelled
CI / test (map[image:macos-latest name:macos], 3, 4) (push) Has been cancelled
CI / test (map[image:macos-latest name:macos], 4, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 1, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 2, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 3, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 4, 4) (push) Has been cancelled
CI / merge-reports (push) Has been cancelled
Some checks failed
CI / test (map[image:macos-latest name:macos], 1, 4) (push) Has been cancelled
CI / test (map[image:macos-latest name:macos], 2, 4) (push) Has been cancelled
CI / test (map[image:macos-latest name:macos], 3, 4) (push) Has been cancelled
CI / test (map[image:macos-latest name:macos], 4, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 1, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 2, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 3, 4) (push) Has been cancelled
CI / test (map[image:windows-latest name:windows], 4, 4) (push) Has been cancelled
CI / merge-reports (push) Has been cancelled
- Added custom hooks for managing smart context metadata and snippets. - Implemented IPC handlers for retrieving context, upserting snippets, and updating summaries. - Created utility functions for reading and writing smart context data to the filesystem. - Established a structured custom code organization under src/custom/ for better maintainability. - Included a comprehensive update guide to assist with future updates and custom feature integration.
This commit is contained in:
18
dyad-backup-20251218-085122/custom/index.ts
Normal file
18
dyad-backup-20251218-085122/custom/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
// Custom modules for moreminimore-vibe
|
||||
// This file exports all custom functionality to make imports easier
|
||||
|
||||
// Custom hooks
|
||||
export { useSmartContextMeta, useRetrieveSmartContext, useUpsertSmartContextSnippets, useUpdateRollingSummary } from './hooks/useSmartContext';
|
||||
|
||||
// Custom IPC handlers (these will need to be imported and registered in the main process)
|
||||
export { registerSmartContextHandlers } from './ipc/smart_context_handlers';
|
||||
|
||||
// Custom utilities
|
||||
export * from './utils/smart_context_store';
|
||||
|
||||
// Re-export types that might be needed
|
||||
export type {
|
||||
SmartContextMeta,
|
||||
SmartContextSnippet,
|
||||
SmartContextRetrieveResult,
|
||||
} from '../ipc/ipc_types';
|
||||
Reference in New Issue
Block a user