Skip to content

Refactor/cli commands architecture#16

Merged
mars167 merged 5 commits intomainfrom
refactor/cli-commands-architecture
Feb 2, 2026
Merged

Refactor/cli commands architecture#16
mars167 merged 5 commits intomainfrom
refactor/cli-commands-architecture

Conversation

@mars167
Copy link
Copy Markdown
Owner

@mars167 mars167 commented Feb 2, 2026

No description provided.

- Add src/cli/ with handlers, schemas, commands separation
- Implement handler registry for all 24 CLI commands
- Use Zod validation for all command inputs
- Add shared helpers (resolveRepoContext, validateIndex)
- Remove legacy src/commands/*.ts files (~1800 lines removed)
- Add CLI_REFACTOR_DESIGN.md documenting architecture
- Move cozo-node from optionalDependencies to dependencies
- Remove cozo-lib-wasm (doesn't work in Node.js)
- Simplify cozo.ts - remove invalid WASM fallback
- Add troubleshooting hints for installation failures
- Add --http flag to enable HTTP transport (default: stdio)
- Add --port option for custom HTTP port (default: 3000)
- Add --stateless option for load-balanced setups
- Add /health endpoint for status checks
- Session management with automatic cleanup
- Multiple AI agents can now connect simultaneously
- Rename skill directory for better SEO on skills.sh
- Rewrite SKILL.md with concise Quick Start guide
- Separate instructions for Agents (3-step pattern) and Users (CLI)
- Update all documentation references
- New install command: npx skills add mars167/git-ai-cli/skills/git-ai-code-search
@mars167 mars167 merged commit 1b72d2b into main Feb 2, 2026
1 check passed
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.

1 participant