Skip to content

Add oclif runner and core-plugin host (FR-015)#5

Open
kreneskyp wants to merge 1 commit into
mainfrom
feat/oclif-runner-host
Open

Add oclif runner and core-plugin host (FR-015)#5
kreneskyp wants to merge 1 commit into
mainfrom
feat/oclif-runner-host

Conversation

@kreneskyp

Copy link
Copy Markdown
Contributor

Adds an oclif runner and core-plugin host to ix-cli-core so a consuming CLI can run BaseCommand subclasses and discover commands contributed by packages declared as oclif core plugins.

What

  • run() / execute() / loadConfig() / listCorePlugins() exported from the package.
  • Core-plugin discovery via @oclif/core's native loader: a consumer lists a bundled package in oclif.pluginsdependencies; its commands are resolved as type: core. No @oclif/plugin-plugins (runtime installs out of scope).
  • Wire BaseCommand.prerun into the oclif init lifecycle (capability enforcement previously never ran).
  • @oclif/core moved to runtime dependencies.

Tests

Full suite 243 passing (+4 runner tests). tsc --noEmit + prettier clean.

Context

Track B enablement for the filament-plan-sync Plan-001 (bidirectional plan↔tracker sync). Land first — quoin's oclif migration depends on this (@agent-ix/ix-cli-core >=0.11.0).

🤖 Generated with Claude Code

Export run()/execute()/loadConfig()/listCorePlugins() so a consuming CLI runs BaseCommand subclasses and discovers commands contributed by packages declared as oclif core plugins (package.json oclif.plugins intersected with dependencies). Wire BaseCommand.prerun into the oclif init lifecycle so capability enforcement actually runs. Move @oclif/core to runtime dependencies. (FR-015)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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