Skip to content

B-APKG-publish-path-resolve-agent-plugin-dependency

Extracting the harness core to @sksizer/agent-plugin (D-HRNS-harness-model-and-exporters) means the plugin’s harness model / harness export ops now import a bare specifier @sksizer/agent-plugin. In the workspace this resolves via a hoisted symlink (dev + CI + tests all green). The published npx @sksizer/sdlc path (D-0014-cli-primary-npm-distribution) does NOT yet:

  • tsc-alias rewrites only @lib/@cli (tsconfig paths); @sksizer/agent-plugin stays a bare import in the built .js, resolved from node_modules at runtime.
  • plugin build-artifact’s buildPublishPackageJson copies root dependencies verbatim, so the published package.json would carry "@sksizer/agent-plugin": "workspace:*" — invalid on npm.

To close before the next publish: (a) publish @sksizer/agent-plugin to npm (or vendor/bundle it into the artifact like markdown-contract), and (b) translate workspace:* → the real version in buildPublishPackageJson. Until then the extraction is workspace-only, which is fine for dev.


← Back to Backlog