{"_id":"@enc-protocol/registry-cli","name":"@enc-protocol/registry-cli","description":"Per-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.","dist-tags":{"latest":"0.4.2","local":"0.3.2-local"},"versions":{"0.1.0":{"name":"@enc-protocol/registry-cli","version":"0.1.0","type":"module","description":"ENC Protocol per-app SDK + skill for the \"registry\" app. Enclaves: Registry.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.1.0"},"keywords":["enc-protocol","registry","sdk","skill"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"ERROR: No README data found!","_id":"@enc-protocol/registry-cli@0.1.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.1.0.tgz","shasum":"4aa82e89b79e4964126ca6270c012d1c2e471592","integrity":"sha512-3RA4T4+IJz9aLD8B0rHdEDLOtmAPvfTzPu4PlHC0u3Md4TAnpIwfF7rPB/vHkIqVdhfTAeDLjeXcMGS15RaeTw=="}},"0.1.1":{"name":"@enc-protocol/registry-cli","version":"0.1.1","type":"module","description":"ENC Protocol per-app SDK + skill for the \"registry\" app. Enclaves: Registry.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.1.1"},"keywords":["enc-protocol","registry","sdk","skill"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.1.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.1.1.tgz","shasum":"796252dc16f6067e2ee59aecfffeff9743cf6331","integrity":"sha512-VLoaR57C9bLJaUT1ltf2z9IkTE7Ah6HxNf2TnCm9Q21LIRdpv16n30txi/tGtv7a2Eb/EYwuV/I27y8fBvuE0w=="}},"0.1.2":{"name":"@enc-protocol/registry-cli","version":"0.1.2","type":"module","description":"ENC Protocol per-app SDK for the \"registry\" app (typed methods, encryption hook). Enclaves: Registry. For the Claude Code skill, use @enc-protocol/skill-registry (or `enc skill add registry`).","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.1.1"},"keywords":["enc-protocol","registry","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.1.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.1.2.tgz","shasum":"c1905aebf6cb80f445218d180bd46474f2f79cb0","integrity":"sha512-zKXoIyEsKUHDk6UUdEtb/FyxFUg02QdxykledpMxm5/jDQhDI3UWiRC4XqTMexw1u6ozWTDfXlwV+b+/KJ4cvA=="}},"0.2.0":{"name":"@enc-protocol/registry-cli","version":"0.2.0","type":"module","description":"ENC Protocol per-app SDK for the \"registry\" app — global identity/enclave/node directory.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.2.0"},"keywords":["enc-protocol","registry","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.2.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.2.0.tgz","shasum":"55dd07b84cf002427fac7cd8cba84de82e2e2854","integrity":"sha512-Q+BKSloK3WIrRgDX9iEhmTzY4X3uJXT3RWp7BKo+arYaz2FItl4gz90Ps4T8aTKp+oXr8YGg6zJYWkL+lynjtg=="}},"0.3.0":{"name":"@enc-protocol/registry-cli","version":"0.3.0","type":"module","description":"ENC Protocol per-app SDK for the \"registry\" app — global identity/enclave/node directory.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.3.0"},"keywords":["enc-protocol","registry","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.3.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.3.0.tgz","shasum":"511f52c7e5675de530833245a6ac6adba07f5c86","integrity":"sha512-m05nSCTdk1SsK81HEEpf17t1elXGjUaPvldzplI8gxfMoEIpgekX9Q4TQNpA7zd7a9tV1mRwzrYwQm/1uhH+pQ=="}},"0.3.1":{"name":"@enc-protocol/registry-cli","version":"0.3.1","type":"module","description":"ENC Protocol per-app SDK for the \"registry\" app — global identity/enclave/node directory.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.3.0"},"keywords":["enc-protocol","registry","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.3.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.3.1.tgz","shasum":"7b05b0619ba92520adee8542db7f123d37a7282c","integrity":"sha512-6/Xm8fiXsAD8d3RWWkL6HB0LmUoK7CaLjVmZ+3nuaSPFiBtEOmSpA5p7mJctJ5PDFUQP9nTqB4TDevTG0bk4+w=="}},"0.4.1":{"name":"@enc-protocol/registry-cli","version":"0.4.1","type":"module","description":"ENC Protocol per-app SDK for the \"registry\" app — global identity/enclave/node directory.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.4.0"},"keywords":["enc-protocol","registry","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.4.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.4.1.tgz","shasum":"785c3759b83d94c29d3342b7a72dc93e9e4b3425","integrity":"sha512-wNybsBCWgMGlYC799G2PMHm0AsaF8igHWp+qU2hSpM4RAzc9avjZbSp7Nbo54hkj5xv5fv4BnSkEYAiwj8fJPA=="}},"0.4.2":{"name":"@enc-protocol/registry-cli","version":"0.4.2","type":"module","description":"ENC Protocol per-app SDK for the \"registry\" app — global identity/enclave/node directory.","main":"sdk.mjs","files":["sdk.mjs","cli.json","skill/SKILL.md","README.md"],"exports":{".":"./sdk.mjs","./sdk":"./sdk.mjs","./cli.json":"./cli.json","./skill":"./skill/SKILL.md"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.4.0"},"keywords":["enc-protocol","registry","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/registry-cli@0.4.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.4.2.tgz","shasum":"dac068b94f4ac131c4eb9f08a946873d48145b82","integrity":"sha512-a1YkTagTQakxugvT4Uy8hvJ2D4lL9Df3PMNy3ww4igO+r5xRc8czRA7CZUNYRmpzt+QJWpKnQxoUas1TRRY1kw=="}},"0.3.2-local":{"name":"@enc-protocol/registry-cli","version":"0.3.2-local","type":"module","main":"sdk.mjs","exports":{".":"./sdk.mjs","./sdk.mjs":"./sdk.mjs"},"dependencies":{"@enc-protocol/cli-sdk-base":"^0.3.1"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","gitHead":"9d8f216d0d69913d9f915ddcdc914e183a2ea52a","_id":"@enc-protocol/registry-cli@0.3.2-local","description":"Per-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/registry-cli/-/@enc-protocol/registry-cli-0.3.2-local.tgz","shasum":"4946444d406d740d744b3e058858b8f0e1975b1f","integrity":"sha512-IlPi6zUL2a7xmP6oSDX53kif9pBDYnaQm8JJxnT3BQpKCpc2IaGZRXuuIki9unc0NmqkHTL+kZWfNaFMfo+m9w=="}}},"time":{"created":"2026-05-14T14:59:31.744Z","modified":"2026-06-12T21:35:46.590Z","0.1.0":"2026-05-14T14:59:31.744Z","0.1.1":"2026-05-14T15:08:25.569Z","0.1.2":"2026-05-14T15:18:38.727Z","0.2.0":"2026-05-14T16:18:59.241Z","0.3.0":"2026-05-15T19:19:19.008Z","0.3.1":"2026-05-15T19:53:53.923Z","0.4.1":"2026-05-19T02:59:36.270Z","0.4.2":"2026-05-19T17:59:48.785Z","0.3.2-local":"2026-06-12T21:35:46.590Z"},"readme":"# @enc-protocol/registry-cli\n\nPer-app SDK for the `registry` app on ENC Protocol. Enclaves: Registry.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/registry/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme registry`.\n\n## Install\n\n### Recommended — via the `enc` CLI\n\n```bash\n# Install the global enc CLI once (any project)\nnpm install -g @enc-protocol/cli --registry https://npm-registry.ocrybit.workers.dev/\n\n# Install the skill into the current project (.claude/commands/registry.md)\nenc skill add registry\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc registry` slash command. The skill package is published as `@enc-protocol/skill-registry`.\n\n### Programmatic — for direct SDK use\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/registry-cli\n```\n\n## Quick example\n\n```js\nimport { RegistrySdk } from '@enc-protocol/registry-cli'\n\nconst sdk = new RegistrySdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\n```\n\n## API reference\n\n### `new RegistrySdk(opts)`\n\nConstructor. Accepts:\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `mode` | `'mem' \\| 'cf'` | Backend: in-process mem or HTTP cf |\n| `identity` | `Identity` | Required for cf mode (signing keypair) |\n| `nodeUrl` | `string` | cf-mode node URL (or set `NODE_URL` env) |\n| `repoRoot` | `string` | Path to repo root for finding `apps/<id>/` and `enclaves/<Name>.json` (defaults to package location) |\n| `encHome` | `string` | Optional state directory (defaults to `~/.enc`) |\n\n### `async init()`\n\nInitialize the SDK: load app definition, register all 1 enclave (Registry), wire dataview, mint cf enclaves if needed.\n\n## Composition\n\n- **Enclaves**: `Registry`\n- **tableMap**: `reg_identities` → `reg_identity`, `reg_enclaves` → `reg_enclave`, `reg_nodes` → `reg_node`\n- **derived views**: `register_options`, `lookup_options`, `identity_results`, `enclave_results`, `node_results`, `pending_enclaves`\n\n## See also\n\n- [`cli.json`](./cli.json) — full app metadata + fuzz contract\n- [`skill/SKILL.md`](./skill/SKILL.md) — Claude Code skill bundle (install via `enc skill install registry`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n"}