Feat/tests and atlas#10
Closed
ice-chillios wants to merge 26 commits into
Closed
Conversation
- Implement recursive YAML serializer (toYaml) with support for strings, numbers, booleans, null, objects, arrays, and nested structures - Fix formatOutput to actually use the format parameter instead of ignoring it (_format) - Remove all unsafe type casts (as string[], as number, as boolean) since ConfigManager.get() and InferArgs already return correct types - Add OutputFormat type alias and isOutputFormat type guard for runtime validation of format parameter
…ping - Add --deps flag to map command for dependency analysis - Import and use analyzeImports + flattenFileTree in map command - Output AtlasScanResult with optional dependencies field - Remove type casts in explore command
- 124 tests covering CodebaseScanner, ImportAnalyzer, map YAML, explore helpers - Export pure functions for testability
… CLI - Remove codebase scanner, import analyzer, map/explore commands - Rewrite types.ts with TrackedEntry, BackendConfig, AtlasConfig - Add built-in presets (brew, zsh, fish, git, ssh, nvim, vscode, etc.) - Scaffold empty cli.ts ready for new commands
Implement BackendAdapter interface with three storage backends: - GitAdapter: syncs configs to a git repository via Bun shell - GistAdapter: syncs configs to GitHub Gists via fetch API - DirectoryAdapter: syncs configs to a local directory via fs/promises Includes BackendConfig union type definitions and factory function.
Implement SyncEngine service that orchestrates push/pull/status operations between local files, the store, and the backend. Uses dependency injection for all I/O (diff, copy, encrypt, compress, backend) so the engine is fully testable without real filesystem or network access. Also adds types.ts with TrackedEntry, EntryDiff, SyncResult, and BackendConfig type definitions.
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.
No description provided.