CC Safety Net
코딩 에이전트 CLI 안전층으로 실행 전 파괴적 git·파일시스템 명령과 비밀 파일 접근을 차단
Canopy로 B2B SaaS에 로그인·사용자·역할을 추가하고, 간단한 역할에서 팀·부서·상속 권한으로 확장
Add sign-in, users, and roles to your B2B SaaS with Canopy. Start with simple roles, then grow into teams, departments, and inherited permissions.
보안TypeScript · JavaScriptGitHub @canopy-identity온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
Official Canopy SDKs for JavaScript and TypeScript — hierarchical identity and access management for B2B SaaS. `@canopy-io/node` and framework adapters.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗The official JavaScript and TypeScript client libraries for Canopy — hierarchical identity and access management for B2B SaaS.
This repository is the whole family. Each package is published independently to npm under the @canopy-io scope, and each has its own README describing what it does.
| Package | What it is |
|---|---|
@canopy-io/node | The server client. Calls the API, verifies access tokens, and has zero runtime dependencies. |
@canopy-io/nestjs | The NestJS integration. Wraps the client in a module and turns an authorization check into a decorator on the route. |
@canopy-io/browser | The browser client. Signs a single-page app in through Canopy's hosted login as a public OAuth client, with PKCE and tokens kept in memory. |
@canopy-io/nestjs depends on @canopy-io/node and installs it for you. A NestJS application needs only the integration package; anything else needs the client.
Everything here is TypeScript and ships both ESM and CommonJS. The server packages require Node 18 or later; @canopy-io/browser runs in any browser with the Web Crypto API.
Every request and response type is generated from the same OpenAPI document that renders Canopy's API reference, and CI fails when the committed types no longer match it — so a package cannot silently describe an API that has moved on.
These are the only official SDKs. That specification is published so a generator can produce a client for Python, Go, or anything else, which serves those languages better than a partly-maintained SDK would.
The Canopy agent skill teaches an assistant to integrate Canopy correctly: which sign-in shape to choose, verifying tokens, authorizing locally, failing closed, and the mistakes to avoid. Every code block in it is compiled against these packages in CI.
In Claude Code:
/plugin marketplace add canopy-identity/canopy-javascript
/plugin install canopy@canopy-javascript
Other assistants can read the same Markdown files directly, starting from SKILL.md. AGENTS.md points there too.
See CONTRIBUTING.md for building, testing, and releasing.
MIT © Canopy Identity Inc.