···7878- [ ] Implement `tangled repo create <repo-name>` command.
7979- [ ] Implement `tangled repo view` command (display repo details).
8080 - [ ] Support `--json` output with field filtering (e.g., `--json name,cloneUrl,description`) using `lodash/pick`).
8181-8282-## SSH Key Upload & Management (Phase 4)
8383-8484-This phase adds CLI-based SSH key management for users who want to upload keys programmatically.
8585-8686-- [ ] Implement `tangled ssh-key add <public-key-path>` command.
8787- - [ ] This command should upload the provided public SSH key to the user's tangled.org account via the API, similar to how `gh ssh-key add` works. If no path is provided, it should default to `~/.ssh/id_ed25519.pub` or prompt the user for a path.
8888- - [ ] Support reading keys from SSH agent via `ssh-add -L` for 1Password SSH agent users.
8989- - [ ] The CLI is not responsible for generating SSH keys or managing the local ssh-agent; users are expected to handle these steps externally.
9090-- [ ] Implement `tangled ssh-key list` command.
9191- - [ ] List all SSH keys stored in the user's PDS.
9292- - [ ] Display key type, name, creation date, and URI.
9393-9494-## Output & LLM Integration
9595-9696-- [ ] Implement output formatting based on `is-interactive` check.
9797- - [ ] "Human Mode" (TTY): Use `cli-table3` for pretty tables.
9898- - [ ] "Machine Mode" (Pipe/`--json`): Plain text or JSON output.
9999-- [ ] Implement `--json` flag for structured output.
100100-- [ ] Implement `--no-input` flag to force CLI to error on unresolved context or missing flags (Fail Fast, Fail Loud principle).
101101-102102-## Testing
103103-104104-- [x] Set up a testing framework (Vitest).
105105-- [x] Write unit tests for core modules (Auth, Session, API client, Validation, Prompts).
106106-- [x] Write integration tests for CLI commands (Auth, SSH key verify).
107107-- [ ] Add integration tests for remaining commands as they are implemented.
108108-109109-## Documentation & Deployment
110110-111111-- [ ] Generate CLI help documentation (`commander` usually handles this).
112112-- [ ] Consider packaging/distribution strategy (npm, standalone binary).
113113-114114-## Outstanding Issues / Future Considerations (from README)
115115-116116-- [x] Secure cross-platform AT Proto session storage (OS keychain) - Implemented with @napi-rs/keyring.
117117-- [x] SSH key verification for Git authentication - Implemented `tangled ssh-key verify`.
118118-- [ ] SSH key upload management (See Phase 4 above).
119119-- [ ] 1Password SSH agent integration for key upload (See Phase 4 above).
120120-- [ ] Define clear precedence order for settings resolution (local config, home folder, CLI flags).
121121-- [ ] Consider adding extensions/plugins (Out of Scope for V1, but keep in mind).