ข้ามไปยังเนื้อหาหลัก
BlueForge

Agent pack

packr-cli: the packr-registry client

Installing and publishing against the packr registry (@blueforge-studio/*).

Rendered from docs/agent-pack/packr-cli.mdrelease v0.2.0Edit on forge-git

Registry: https://api.packr.blueforge.studio. Scope: @blueforge-studio/*. Source: packr-registry/CLAUDE.md (read 2026-10-11). packr-cli itself was not run; check --help before relying on a flag.

The binary is packr-cli, not packr. packr is the registry server; running it tries to open a database.

  • Install: pnpm add @blueforge-studio/<pkg>; needs .npmrc with @blueforge-studio:registry=... and a token (PACKR_TOKEN in deploy environments; production builds fail without it).
  • Auth needs no browser: POST /-/v1/login, then POST /api/v1/admin/users/me/tokens. CLI: packr-cli login, token create|list|revoke, rotate, doctor (server probe; do not trust whoami).
  • Rotation mints a fresh token and leaves the old one active until you token revoke it. Revoke last.
  • Automation uses a ci-publish role, never admin.
  • Publishing normally happens in CI: publish-changed.yml on blueforge-org. A merged PR is not a published version: ask the registry (pnpm view <pkg> versions).
  • Never print or store a token. Per-purpose tokens only.

Full token procedure, roles per purpose and rotation order: tokens.md. Publishing: publishing.md.

ติดตามข่าวสาร

บันทึกการอัปเดตและสิทธิ์เข้าใช้ก่อนใคร

ส่งอีเมลหนึ่งฉบับเมื่อมีอะไรใหม่ปล่อยออกมา: ฟีเจอร์ใหม่ของแพลตฟอร์ม แอปใหม่ และคำเชิญร่วมงานเปิดตัว เข้าร่วมรายชื่อรอเพื่อรับสิทธิ์ใช้งานก่อนใครสำหรับการสมัครด้วยตนเองและเว็บไซต์โปรโมชัน

ไม่มีสแปม ยกเลิกการรับได้ด้วยคลิกเดียว