The Agents API runtime-package adapter treated path-shaped runtime_package values as slugs instead of importable package sources.
Observed input contained an importable workspace path such as /workspace/wp-site-generator/bundles/store-idea-agent, but bundle import still failed with Bundle path not found.
Acceptance criteria:
- Path-shaped
runtime_package values become package descriptors with stable slug plus source path.
- Workspace-relative runtime package paths resolve through the sandbox/default workspace mount when available.
- Metadata descriptor source does not override the importable path with a stale relative value.
- Tests cover absolute sandbox workspace paths and workspace-relative package paths.
The Agents API runtime-package adapter treated path-shaped
runtime_packagevalues as slugs instead of importable package sources.Observed input contained an importable workspace path such as
/workspace/wp-site-generator/bundles/store-idea-agent, but bundle import still failed withBundle path not found.Acceptance criteria:
runtime_packagevalues become package descriptors with stable slug plus source path.