plugin-kit-ai dev
由实际的 Cobra 命令树生成。
Watch the project, re-generate, re-validate, rebuild when needed, and rerun fixtures
plugin-kit-ai dev
Watch the project, re-generate, re-validate, rebuild when needed, and rerun fixtures
Synopsis
Watch launcher-based runtime targets in a fast inner loop.
Each cycle re-generates the selected target, performs runtime-aware rebuilds when needed, runs strict validation, and reruns the configured stable Claude or Codex fixture smoke tests.
Gemini has a production-ready 9-hook Go runtime with dedicated runtime gates and stays outside this stable watch loop. For Gemini use generate, generate --check, validate --strict, inspect, capabilities --mode runtime, make test-gemini-runtime, then gemini extensions link . and optionally rerun make test-gemini-runtime-live after changes.
plugin-kit-ai dev [path] [flags]Options
--all run every stable event for the selected platform on each cycle
--event string stable event to execute (for example Stop, PreToolUse, UserPromptSubmit, or Notify)
--fixture string fixture JSON path for single-event runs (default: fixtures/<platform>/<event>.json)
--golden-dir string golden output directory (default: goldens/<platform>)
-h, --help help for dev
--interval duration poll interval for watch mode (default 750ms)
--once run a single generate/validate/test cycle and exit
--platform string target override ("claude" or "codex-runtime")SEE ALSO
- plugin-kit-ai - plugin-kit-ai CLI - scaffold and tooling for AI plugins