logicsrc/packages/schemas
Anthony Ettinger cf73fe5af2 feat(credential-sharing): implement the Credential Sharing OpenSpec (M1-M3)
New @logicsrc/plugin-credential-sharing: a provider-neutral secret-sync engine
with env/.env, Doppler, Railway, and GitHub Secrets adapters behind one
CredentialProvider contract.

- engine: inspect -> diff -> plan -> approve -> sync -> rollback -> audit/export
- dry-run is the default for sync; --approve writes; destructive changes gated
- fingerprint-based diffs (salted SHA-256); raw values never printed or stored in
  plans/runs/audit; rollback pre-image kept in a 0600 .logicsrc vault (gitignored)
- github-secrets is write-only for values (sealed-box via libsodium), so it cannot
  be a sync source or value-restoring rollback target
- CLI: real `logicsrc credentials <providers|inspect|diff|plan|approve|sync|
  rollback|audit|export>` (replaces the prior stub)
- 4 JSON schemas registered in @logicsrc/validators
- flip logicsrc.com/credential-sharing band from coming-soon to available
- 37 tests pass; full env->env lifecycle verified; artifacts schema-validate

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 15:24:30 +00:00
..
fixtures Add AgentGit M1: agent-native git layer over a Forgejo backend 2026-06-14 15:15:06 +00:00
schemas feat(credential-sharing): implement the Credential Sharing OpenSpec (M1-M3) 2026-06-27 15:24:30 +00:00
package.json feat(credential-sharing): implement the Credential Sharing OpenSpec (M1-M3) 2026-06-27 15:24:30 +00:00
README.md Add AgentAd ad schemas as a LogicSRC primitive (#10) 2026-06-11 21:02:43 -07:00

@logicsrc/schemas

Canonical JSON Schemas (draft 2020-12) for the LogicSRC open coordination standards, maintained by Profullstack, Inc.

Two schema families ship from this package:

  • LogicSRC corelogicsrc-*.schema.json: tasks, agents, runs, events, plugins, connected accounts, email messages, social posts.
  • AgentAdagentad-*.schema.json: a disclosed, agent-readable advertising contract for CLI tools and AI agents (ads, placements, requests, responses, impressions, clicks, campaigns). See docs/agentad.md in the repo; cl1s.tech is the reference network.

Install

npm install @logicsrc/schemas

Use

import adSchema from "@logicsrc/schemas/agentad-ad" with { type: "json" };
import taskSchema from "@logicsrc/schemas/task" with { type: "json" };

Schema $ids resolve under https://schemas.logicsrc.com/. Validate with any draft 2020-12 validator (e.g. ajv/dist/2020.js), or use @logicsrc/validators from the monorepo.

License

MIT © Profullstack, Inc.