Skip to content

feat: library improvements — tests, status command, custom platforms, verbose flag, parallel sync#4

Open
IgnacioCastro0713 wants to merge 1 commit intomainfrom
claude/library-improvement-ideas-ISJg3
Open

feat: library improvements — tests, status command, custom platforms, verbose flag, parallel sync#4
IgnacioCastro0713 wants to merge 1 commit intomainfrom
claude/library-improvement-ideas-ISJg3

Conversation

@IgnacioCastro0713
Copy link
Copy Markdown
Owner

  • Add test/core/mcp.test.ts: 15 tests covering syncMCP, cleanMCP and resolveServer
  • Add cortex status command: shows per-file sync state (synced/modified/missing/new)
  • Add custom platform support: [platform.X] in cortex.toml overrides or extends built-ins
    via new resolvePlatforms() in constants.ts; clean + sync updated to use it
  • Add --verbose / -V flag: shows glob expansions, destination paths and skip reasons
    via setVerbose() in log.ts; resolver and sync emit verbose output
  • Parallelize sync I/O: glob patterns resolved concurrently in resolveEntries,
    file copies run in parallel in copyEntries, MCP platform writes run in parallel,
    section entries resolved once upfront and reused across all platforms

https://claude.ai/code/session_01AoH7a4kB4LuJxnXiYc5S3U

… verbose flag, parallel sync

- Add test/core/mcp.test.ts: 15 tests covering syncMCP, cleanMCP and resolveServer
- Add cortex status command: shows per-file sync state (synced/modified/missing/new)
- Add custom platform support: [platform.X] in cortex.toml overrides or extends built-ins
  via new resolvePlatforms() in constants.ts; clean + sync updated to use it
- Add --verbose / -V flag: shows glob expansions, destination paths and skip reasons
  via setVerbose() in log.ts; resolver and sync emit verbose output
- Parallelize sync I/O: glob patterns resolved concurrently in resolveEntries,
  file copies run in parallel in copyEntries, MCP platform writes run in parallel,
  section entries resolved once upfront and reused across all platforms

https://claude.ai/code/session_01AoH7a4kB4LuJxnXiYc5S3U
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.

2 participants