feat: library improvements — tests, status command, custom platforms, verbose flag, parallel sync#4
Open
IgnacioCastro0713 wants to merge 1 commit intomainfrom
Open
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
via new resolvePlatforms() in constants.ts; clean + sync updated to use it
via setVerbose() in log.ts; resolver and sync emit verbose output
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