Skip to content

Treat path-shaped runtime_package values as importable package sources #1562

Description

@chubes4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions