agent-credentials
Use when working on the private credential store, PKCE login, provisioning, or purpose-separated token supply in @jeswr/agent-credentials.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- agent-credentials
- description
- Use when working on the private credential store, PKCE login, provisioning, or purpose-separated token supply in @jeswr/agent-credentials.
02 资源文件 33
- 参考文档package.json1.7 KB
- 参考文档README.md6.7 KB
- 脚本src/cli.ts23.3 KB
- 脚本src/index.ts1.4 KB
- 脚本src/matrix-record.ts1.0 KB
- 脚本src/matrix.ts4.3 KB
- 脚本src/operations.ts24.3 KB
- 脚本src/providers.ts23.3 KB
- 脚本src/providers/common.ts9.7 KB
- 脚本src/providers/credentials.ts8.5 KB
- 脚本src/providers/fixtures.ts6.3 KB
- 脚本src/providers/google.ts5.0 KB
- 脚本src/providers/microsoft.ts9.5 KB
- 脚本src/providers/setup.ts1.6 KB
- 脚本src/providers/time.ts1.1 KB
- 脚本src/provision.ts2.3 KB
- 脚本src/store.ts20.5 KB
- 脚本src/testing.ts207 B
- 脚本src/token-provider.ts2.8 KB
- 脚本test/callback-errors.test.ts6.1 KB
- 脚本test/cli-errors.test.ts18.1 KB
- 脚本test/exports.test.ts1.9 KB
- 脚本test/fixture.ts337 B
- 脚本test/grants.test.ts25.7 KB
- 脚本test/matrix.test.ts7.7 KB
- 脚本test/pilot.test.ts63.7 KB
- 脚本test/provider-config-errors.test.ts4.0 KB
- 脚本test/provider-errors.test.ts28.1 KB
- 脚本test/providers.test.ts27.8 KB
- 脚本test/store-errors.test.ts20.2 KB
- 参考文档tsconfig.json235 B
- 参考文档tsconfig.test.json201 B
- 脚本vitest.config.ts427 B
03 SKILL.md 正文
<!-- AUTHORED-BY Codex GPT-6.1-Sol -->
@jeswr/agent-credentials
Read README.md and agent DESIGN §9.2. Node >=24, ESM, private security-critical package; maintain 100% branches/functions/lines/statements coverage. Source imports use bare Node builtin names because the agent layer guard forbids colon-containing specifiers.
Ported from pilot credentials and action providers. Preserve owner-only 0700 directories, 0600 records, O_EXCL temporary writes + fsync + rename, O_NOFOLLOW reads, account/tenant/client pinning, signed OIDC ID-token checks, and per-profile refresh locks. Never fall back across provider, account, purpose or resource. A read grant cannot supply a send token even when its OAuth scopes include send. Missing or ambiguous profiles fail closed.
Tests always supply a temporary store directory, fake transport and reserved example accounts. Never open the real default store, run a real op executable or contact a live provider. Network is injected explicitly; absent transport refuses. Keep ./testing synthetic and deterministic. The provisioning shell test prepends a fake op to PATH. Its POSIX-compatible zsh script can also be tested with bash when zsh is unavailable. No runtime use of 1Password.
04 同仓库更多 Skills
storage-conformance
Work on @jeswr/storage-conformance, the shared storage conformance suite package in the Solid SDK workspace.
fetch-rdf-engine-tests
Maintain fetch-rdf's real Node WASM parser integration tests without introducing a reverse engine dependency in fetch-rdf.
alpha
Use when checking fixtures, including folded YAML descriptions.
widget
Use when testing package skills: YAML quoting works.
web-seo
Use when improving technical and entity SEO for a modern personal, portfolio, documentation, or marketing site, including crawlable HTML, canonical metadata, sitemap and robots, Person/ProfilePage JSON-LD, Core Web Vitals, and honest ranking expectations.
solid-wac
Use when implementing or auditing Solid server WAC authorization, ACL creation and inheritance, auxiliary-resource escalation, method-to-mode mapping, 401 versus 403 challenges, WAC-Allow, or defensive typed ACL parsing with @solid/object and @rdfjs/wrapper.