Repository navigation
Description
Problem or use case
#841 found that explicit external operator extensions are supported, but managed installation/discovery is tied to first-party package identities, release URLs and lockstep versions. Inert artifacts accept a narrow proprietary file layout. We need actual ecosystem interoperability, not a replacement private registry. Synthetic probes against main a996f0d confirmed catalog identity/URL refusal; see #841. Earlier #741 documented the manual path and does not implement this work.
Proposed behavior and alternatives
After the first upstream-provider proof determines the smallest needed contract, support an independently versioned scoped npm provider and its static documents as a packed consumer. Reuse npm resolution and package-lock integrity. Keep the official catalog as curated recommendations. Do not build another package manager or require a hosted catalog.
Separate package identity/version/integrity, URLCode contract version, logical provider/capability names, supported targets, operator activation/grants and discovery metadata. Use a small static descriptor or adapter sidecar beside standard package documents. Prefer existing urlcode.json machinery if it can be generalized; do not introduce per-extension YAML dialects.
Three explicit operations:
- Inspect pinned inert JSON/Markdown/YAML documents and local refs, including JSON Schema/OpenAPI. Reading cannot import a package, run a lifecycle script, fetch a remote reference, create a grant or treat document prose as trusted agent instructions.
- Stage source assets from an existing component/skill format as data with a complete file/dependency diff. Do not claim a shadcn registry or Agent Skill containing executable files satisfies the old inert-artifact contract. Materialization is a separate opt-in and may be deferred from the first PR.
- Activate operator-selected executable providers. A YAML behavior declaration does not install code or choose credentials/storage providers.
Acceptance:
- A synthetic @example provider package outside the first-party namespace can be installed from a pinned local tarball, inspected offline without execution, registered, validated and removed; repeat with an actual upstream-backed adapter from the proof.
- Test independently versioned packages, declared compatible/incompatible core contracts, stale descriptor/integrity, duplicate core instances, malicious paths/symlinks, reference cycles/limits, and package lifecycle scripts that must not run during inspection/install.
- Inspect one standard OpenAPI YAML document with a local ref and one JSON Schema document without repackaging their contents into custom field syntax. Record media type, origin and digest.
- Locked installation still works after core's curated catalog changes; runtime/catalog versions do not masquerade as external-package versions.
- CLI and authoring MCP use the same project-installed discovery facts. Host imports remain explicitly identified as trusted execution.
- No package publication, license change, automatic grant approval or live credential access is needed for conformance fixtures.
Delete first-party-only assumptions from general management when replaced; no backwards compatibility for old managed descriptors/CLI aliases is required. Preserve useful native npm lockfile behavior and failure cleanup. New-format bootstrap is required; old-site data migration is not.
Implementation areas: addon-manifest.ts, addon-install.ts, upgrade.ts, extensions-cli.ts, agent-context.ts, agents-guide.ts; docs/EXTENSIONS.md, artifact/agent references and packed-consumer tests. #834 owns exact runnable validation context. Scope source materialization only after inert external documents and provider packages pass; do not let a universal registry aggregator delay the first deliverable.
Primary references: https://github.com/npm/pacote ; https://ui.shadcn.com/docs/registry/registry-item-json ; https://agentskills.io/specification . Use npm directly where it already does the job; pacote is optional, not a mandated extra dependency.
Activity
jimhoyd commentedon Sep 28, 2026
Evidence from the #843 proof (PR: #848), for scoping this issue:
proofs/private-requests/operator/better-auth-extension.mjs), composed throughcomposeHostlike any extension.--host-filevalidation, test, audit, serve andexplainall accept it.urlcode validate --project app(no host) refuses it:extensions.better-auth: @jimhoyd/urlcode-better-auth is not installed ... run urlcode extensions add better-auth or npm ci. The static path assumes every declared extension is the first-party package@jimhoyd/urlcode-<name>, and its advice cannot work for an independent provider. This is the first-party identity assumption this issue describes, observed.better-auth, targets[node],providesPrincipal,capabilities: [identity], config/policy schemas (both empty), and the served provider paths. The proof currently proves the last one only with an operator probe script (npm run inventory).explain/reportnow label mount subpaths "provider-defined, not enumerated or inspected by URLCode" rather than implying review.[email protected](MIT) installs 23 packages, ~32 MiB unpacked, including unused Mongo/Prisma/Drizzle adapters and@opentelemetry/semantic-conventions(12 MiB) as hard dependencies.feat(extensions): install independent extension packages by spec or t…
feat(artifacts): inspect pinned inert documents offline (#844)
feat(artifacts): inspect pinned inert documents offline (#844) (#856)
Stage shadcn registry items and Agent Skills as data; opt-in material…
Declare the URLCode extension contract every package is built for (#844…
jimhoyd commentedon Sep 29, 2026
Delivered on main:
upgrade: Declare the URLCode extension contract every package is built for (#844) #906.A real upstream-backed independent provider (Auth.js, #886) installs from a tarball. Operator activation of executable providers stays explicit through
host.mjs.fix(core): hermetic runs enforce the data handover and clean up their…