{"_id":"@enc-protocol/hello-cli","name":"@enc-protocol/hello-cli","description":"Per-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.","dist-tags":{"latest":"0.4.2","local":"0.3.2-local"},"versions":{"0.1.0":{"name":"@enc-protocol/hello-cli","version":"0.1.0","type":"module","description":"ENC Protocol per-app SDK + skill for the \"hello\" app. Enclaves: Hello.","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","hello","sdk","skill"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"ERROR: No README data found!","_id":"@enc-protocol/hello-cli@0.1.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.1.0.tgz","shasum":"f7db025fbc68086034a69e1d7e0df2f211de7d82","integrity":"sha512-ss9T4Rz7r3kMCZ89ByBgeQTzjVCFX6LwiH5QMmh8H0V6xnlouXDJ0AgSy3X5QNZgPqgfWwCtIdJ3slMKqlPLeA=="}},"0.1.1":{"name":"@enc-protocol/hello-cli","version":"0.1.1","type":"module","description":"ENC Protocol per-app SDK + skill for the \"hello\" app. Enclaves: Hello.","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","hello","sdk","skill"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\n\n## Install\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.1.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.1.1.tgz","shasum":"c3e3b0443b0428ae777a7f1a6da8927928f8a62b","integrity":"sha512-O5lyfsVkuwaOSOptWGkNA3dOJMSWowRCNj3BhBzAyVpJBf1ti1VuunN5C3w29rcEFAODNLRSUJCUhGSuNsODpw=="}},"0.1.2":{"name":"@enc-protocol/hello-cli","version":"0.1.2","type":"module","description":"ENC Protocol per-app SDK for the \"hello\" app (typed methods, encryption hook). Enclaves: Hello. For the Claude Code skill, use @enc-protocol/skill-hello (or `enc skill add hello`).","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","hello","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.1.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.1.2.tgz","shasum":"4e8e3377466544294482559c6385bcf93798e312","integrity":"sha512-QovvUl6qC3y4Yc8NucWEmY1Rr7fD9nVK1dvKKhJCQWtmo2NWhhyRzlM7NqqaJW7aQi67/T9LYjvgxtKw03VAfA=="}},"0.2.0":{"name":"@enc-protocol/hello-cli","version":"0.2.0","type":"module","description":"ENC Protocol per-app SDK for the \"hello\" app (typed methods, encryption hook). Single-enclave Hello example.","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","hello","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.2.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.2.0.tgz","shasum":"e5d28715d11483b0f462fd2043c99df948650a9d","integrity":"sha512-kLnXWB0HjvJnusp6LRqrxe1Oc2XzL1VBG94Rp7g0tyfFXhLHDWb0KnytOCx5ugZLFhe0Qd18Zod4lAzl7CnJQg=="}},"0.3.0":{"name":"@enc-protocol/hello-cli","version":"0.3.0","type":"module","description":"ENC Protocol per-app SDK for the \"hello\" app (typed methods, encryption hook). Single-enclave Hello example.","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","hello","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.3.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.3.0.tgz","shasum":"bbd8657e523e378e76e2a8384927371cabc7684d","integrity":"sha512-O7ZjqMZu2qh7vMNvzEd/56qMZhb7k9Z06Ke64S5Owllg8DmvWVNE9LNvqljbUiZ4QtDZ+g8DhmImOFAn1q6duA=="}},"0.3.1":{"name":"@enc-protocol/hello-cli","version":"0.3.1","type":"module","description":"ENC Protocol per-app SDK for the \"hello\" app (typed methods, encryption hook). Single-enclave Hello example.","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","hello","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.3.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.3.1.tgz","shasum":"e08935db94beabb5ca8446a45d39de7b2ef507f9","integrity":"sha512-3Axqb4QyTg5CSvnvlbl0RmHoDRodm8uYy1+wgCkB4VwSDULZIPcteHA/Rua7dUAgoNCprPZwNZk6i0giJDXEMg=="}},"0.4.1":{"name":"@enc-protocol/hello-cli","version":"0.4.1","type":"module","description":"ENC Protocol per-app SDK for the \"hello\" app (typed methods, encryption hook). Single-enclave Hello example.","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","hello","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.4.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.4.1.tgz","shasum":"43cae7c3a7c3c93d00df0b491acce64bc8929521","integrity":"sha512-Mo6N7oC/TuDZsUPljHcEZfMolztIYzSenj8mQSrzZVGaSKZ/shR7hAXtlQOp1JE8OkDEgV/glo4J88UY4VpmkA=="}},"0.4.2":{"name":"@enc-protocol/hello-cli","version":"0.4.2","type":"module","description":"ENC Protocol per-app SDK for the \"hello\" app (typed methods, encryption hook). Single-enclave Hello example.","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","hello","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/hello-cli@0.4.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.4.2.tgz","shasum":"9cd5bef2f35ba2635f68600f50e3922237b4170a","integrity":"sha512-CNni5bk1oiPeua7xyo9l+gV3d7Po4Z/laGayfMfKDbsYek0312+dqSGNtgXth7dDDdKEbVTSenHTB7yZ3WhFiw=="}},"0.3.2-local":{"name":"@enc-protocol/hello-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/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","gitHead":"9d8f216d0d69913d9f915ddcdc914e183a2ea52a","_id":"@enc-protocol/hello-cli@0.3.2-local","description":"Per-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/hello-cli/-/@enc-protocol/hello-cli-0.3.2-local.tgz","shasum":"70375340f41defd9f4600c6629a18bf8e6216a8a","integrity":"sha512-K1T6BrPqQuKSOo+MpR77e4/5Yqbun2IpMEg9YtvARXQSPKGinbOqcpSdR1RD+hrxNtzd1jC6qnt3rmbG8naN7A=="}}},"time":{"created":"2026-05-14T14:59:23.181Z","modified":"2026-06-12T21:35:40.888Z","0.1.0":"2026-05-14T14:59:23.181Z","0.1.1":"2026-05-14T15:08:16.577Z","0.1.2":"2026-05-14T15:18:26.499Z","0.2.0":"2026-05-14T16:18:48.905Z","0.3.0":"2026-05-15T19:19:11.809Z","0.3.1":"2026-05-15T19:53:46.814Z","0.4.1":"2026-05-19T02:59:29.138Z","0.4.2":"2026-05-19T17:59:40.678Z","0.3.2-local":"2026-06-12T21:35:40.888Z"},"readme":"# @enc-protocol/hello-cli\n\nPer-app SDK for the `hello` app on ENC Protocol. Enclaves: Hello.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/hello/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme hello`.\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/hello.md)\nenc skill add hello\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc hello` slash command. The skill package is published as `@enc-protocol/skill-hello`.\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/hello-cli\n```\n\n## Quick example\n\n```js\nimport { HelloSdk } from '@enc-protocol/hello-cli'\n\nconst sdk = new HelloSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"draft\":\"example\"})\nconst events = await sdk.queryMessages()\n```\n\n## API reference\n\n### `new HelloSdk(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 (Hello), wire dataview, mint cf enclaves if needed.\n\n### Write methods\n\n| Method | Data type | Resolves to | Encrypted | Ops | Operators |\n|--------|-----------|-------------|-----------|-----|-----------|\n| `submitMessages(args)` | `messages` | `Hello.post` |  | CDU | owner |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryMessages()` | `messages` | `Hello.post` | `from`, `body`, `trailing` |\n\n## Composition\n\n- **Enclaves**: `Hello`\n- **tableMap**: `messages` → `post`, `my_messages` → `post`\n- **derived views**: `my_messages`\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 hello`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n"}