Skip to content

feat: git-based pack registries#392

Closed
RobertLD wants to merge 2 commits intodevelopmentfrom
feat/pack-registries
Closed

feat: git-based pack registries#392
RobertLD wants to merge 2 commits intodevelopmentfrom
feat/pack-registries

Conversation

@RobertLD
Copy link
Owner

Summary

  • Adds a full git-based pack registry system (src/registry/) with modules for config, sync, resolve, search, publish, checksum, and git helpers
  • New libscope registry CLI command group: add, remove, list, sync, search, create, publish, unpublish
  • pack install now resolves pack names/versions from configured registries before falling back to local file paths
  • 8 unit test files covering every registry module
  • 4 integration tests covering lifecycle, publish, offline cache, and conflict resolution
  • New docs: Pack Registries guide + Registry reference; updated CLI reference and README

Test plan

  • npm run typecheck — zero errors
  • npm run lint — zero new errors
  • npm test — all tests pass
  • Manual: libscope registry add <git-url> then libscope registry search <query> then libscope pack install <name>

🤖 Generated with Claude Code

RobertLD and others added 2 commits March 10, 2026 14:47
* fix: prep for release

* ci: simplify pipeline for trunk-based development

- Remove development branch from ci.yml and docker.yml triggers
- Delete merge-gate.yml (blocked non-development PRs to main)
- Delete release.yml (redundant with release-please which handles
  GitHub release creation and npm publish)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* ci: trigger vercel docs deploy only on release

- vercel.json: always skip auto-deploys (exit 0) to avoid rate limiting
- release-please.yml: add deploy-docs job that calls a Vercel Deploy Hook
  only when release-please creates a new release

Requires VERCEL_DOCS_DEPLOY_HOOK secret in GitHub repo settings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a full pack registry system that lets users share and discover
knowledge packs through git-hosted registries.

- New `src/registry/` module: config, sync, resolve, search, publish,
  checksum, git helpers, and shared types
- New `libscope registry` CLI command group (add, remove, list, sync,
  search, create, publish, unpublish) wired via `src/cli/commands/registry.ts`
- Registry-aware `pack install` resolves pack names and versions from
  configured registries before falling back to local file paths
- Unit tests for every registry module (8 files)
- Integration tests covering lifecycle, publish, offline cache, and
  conflict resolution (4 files)
- Docs: new Pack Registries guide + Registry reference page; updated
  CLI reference and README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
libscope Ignored Ignored Mar 11, 2026 4:27pm

@RobertLD RobertLD closed this Mar 11, 2026
@RobertLD RobertLD deleted the feat/pack-registries branch March 11, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant