Context: Daily sync feature currently has stub implementations for Phase 10.
Tasks:
- Integrate with
MCPClientPool.discoverMCPTools() for schema fetching
- Implement full schema hashing algorithm (normalize, sort, SHA-256)
- Reconstruct
MCPServerSelection from wrapper entries
- Implement full wrapper regeneration
Locations:
src/cli/daily-sync.ts:322 - Schema fetching TODO
src/cli/daily-sync.ts:334 - Hash computation TODO
src/cli/daily-sync.ts:351 - MCPServerSelection reconstruction TODO
src/cli/daily-sync.ts:363 - Wrapper regeneration TODO
Priority: Enhancement (Phase 10, post-v1.0.0)
Current Behavior: Stub implementations return deterministic test data.
Desired Behavior: Full integration with MCP discovery and wrapper generation.
Dependencies: Phase 8 (wrapper-generator) completion
Algorithm (from code comments):
- Call
discoverMCPTools({ search: [mcpName] })
- Extract tools array, sort by name (deterministic order)
- JSON.stringify with sorted keys
- Compute SHA-256 hash
- Reconstruct config and regenerate wrappers
Context: Daily sync feature currently has stub implementations for Phase 10.
Tasks:
MCPClientPool.discoverMCPTools()for schema fetchingMCPServerSelectionfrom wrapper entriesLocations:
src/cli/daily-sync.ts:322- Schema fetching TODOsrc/cli/daily-sync.ts:334- Hash computation TODOsrc/cli/daily-sync.ts:351- MCPServerSelection reconstruction TODOsrc/cli/daily-sync.ts:363- Wrapper regeneration TODOPriority: Enhancement (Phase 10, post-v1.0.0)
Current Behavior: Stub implementations return deterministic test data.
Desired Behavior: Full integration with MCP discovery and wrapper generation.
Dependencies: Phase 8 (wrapper-generator) completion
Algorithm (from code comments):
discoverMCPTools({ search: [mcpName] })