Files
lib-integration-registry-cl…/package.json
Giuliano Silvestro ac9f1fa7c2 Initial commit — @crema/integration-registry-client
Typed client + types for the arcadia integration registry (on arcadia-llm-gateway).
One createIntegrationsApi(client, mode) factory serves both surfaces:
- operator → /api/v1/integrations* (any scope, scope filters)
- tenant   → /api/v1/me/integrations* (scope forced server-side)

Plus shared types (Integration/Credential/UsageEntry/*Input/TestVerdict) and
display helpers (formatUsd, credentialHealth). Consumed by arcadia-admin and
arcadia-console as a sibling lib via vite/tsconfig aliases (no build step).
Secrets are write-only; the rich panels stay per-app.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 21:25:29 +10:00

15 lines
414 B
JSON

{
"name": "@crema/integration-registry-client",
"version": "0.1.0",
"description": "Typed client + types for the arcadia integration registry (on arcadia-llm-gateway). One factory serves the operator and tenant surfaces.",
"type": "module",
"main": "src/index.tsx",
"types": "src/index.tsx",
"exports": {
".": "./src/index.tsx"
},
"peerDependencies": {
"@crema/arcadia-client": "*"
}
}