Summary
Implement additional package manager shim adapters for Maven Central, Cargo/crates.io, and PyPI.
Context
The ShimAdapter plugin architecture is in place (PR #21). The README (line 243) calls out Maven, Cargo/crates.io, and PyPI as future adapters. Each would implement the ShimAdapter interface and register in src/daemon/adapters/index.ts.
Adapters to implement
Implementation pattern
Each adapter follows the same pattern as existing shims (npm, go, oci):
- Create
src/shims/<ecosystem>/server.ts with request handler
- Create
src/daemon/adapters/<ecosystem>.ts implementing ShimAdapter
- Register in
src/daemon/adapters/index.ts
- Add tests in
tests/shims.spec.ts or a new test file
These can be implemented independently — each is a self-contained PR.
Summary
Implement additional package manager shim adapters for Maven Central, Cargo/crates.io, and PyPI.
Context
The
ShimAdapterplugin architecture is in place (PR #21). The README (line 243) calls out Maven, Cargo/crates.io, and PyPI as future adapters. Each would implement theShimAdapterinterface and register insrc/daemon/adapters/index.ts.Adapters to implement
Implementation pattern
Each adapter follows the same pattern as existing shims (
npm,go,oci):src/shims/<ecosystem>/server.tswith request handlersrc/daemon/adapters/<ecosystem>.tsimplementingShimAdaptersrc/daemon/adapters/index.tstests/shims.spec.tsor a new test fileThese can be implemented independently — each is a self-contained PR.