Skip to content

feat!: multi-engine monorepo#1

Merged
itz4blitz merged 2 commits intomasterfrom
feat/multi-engine-monorepo
Feb 21, 2026
Merged

feat!: multi-engine monorepo#1
itz4blitz merged 2 commits intomasterfrom
feat/multi-engine-monorepo

Conversation

@itz4blitz
Copy link
Copy Markdown
Contributor

Summary

  • Expands from a single hook engine package to a 6-package monorepo with unified adapter-registry-CLI architecture
  • Renames packages/corepackages/hooks, removes packages/plannable
  • Adds 5 new engine packages: @premierstudio/ai-mcp, @premierstudio/ai-agents, @premierstudio/ai-skills, @premierstudio/ai-rules, @premierstudio/ai-tools (unified CLI)
  • Each engine supports 9+ AI tools (Claude Code, Codex, Cursor, Gemini CLI, Kiro, OpenCode, Cline, Factory Droid, Amp, and more)
  • 83 test files, 1718 tests, 100% coverage across all packages
  • Adds CLAUDE.md hierarchy, .claude/settings.json, and .claude/commands/ skills for AI-assisted development

BREAKING CHANGES

  • packages/core directory renamed to packages/hooks (npm package name @premierstudio/ai-hooks unchanged)
  • packages/plannable removed entirely

Test plan

  • npm run check passes (lint, format, typecheck, test)
  • npm run build produces all 6 package dist outputs
  • All 6 CLIs execute: ai-tools, ai-hooks, ai-mcp, ai-skills, ai-agents, ai-rules
  • E2E: configs install correctly with native formats per tool

BREAKING CHANGE: Package renamed from `@premierstudio/ai-hooks` (packages/core) to
`@premierstudio/ai-hooks` (packages/hooks). The `packages/plannable` package has been
removed entirely.

Introduces 5 new engine packages alongside the existing hook engine:

- `@premierstudio/ai-mcp` — MCP server configuration management (stdio/SSE transports)
- `@premierstudio/ai-agents` — Agent configuration with markdown adapter factory
- `@premierstudio/ai-skills` — Skills/prompts configuration (name + content as markdown)
- `@premierstudio/ai-rules` — Project rules with scoping system (always/glob/manual/agent)
- `@premierstudio/ai-tools` — Unified CLI dispatcher routing to all 5 engines

All packages follow the same adapter-registry-CLI pattern. Each engine supports 9+ AI
tools (Claude Code, Codex, Cursor, Gemini CLI, Kiro, OpenCode, Cline, Factory Droid, Amp,
and more). 83 test files, 1718 tests, 100% coverage.

Also adds CLAUDE.md hierarchy for AI-assisted development, .claude/settings.json with
permissions and PostToolUse formatting hook, and .claude/commands/ skills.
…with --force override

- All 5 packages (hooks, mcp, agents, skills, rules) now call adapter.detect()
  when --tools is specified, skipping undetected tools with a warning
- Added --force flag to bypass detection checks for --tools across all packages
- Rules package: changed resolveAdapters from sync getAll() to async detectAll(),
  so default (no --tools) only targets detected tools instead of all registered adapters
- Updated CLI tests in all 5 packages with install guard and --force coverage
@itz4blitz itz4blitz force-pushed the feat/multi-engine-monorepo branch from b365d6f to 9c59756 Compare February 21, 2026 04:56
@itz4blitz itz4blitz self-assigned this Feb 21, 2026
@itz4blitz itz4blitz merged commit 664ae3d into master Feb 21, 2026
5 checks passed
@itz4blitz itz4blitz deleted the feat/multi-engine-monorepo branch February 21, 2026 04:57
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