{"_id":"@enc-protocol/super-cli","name":"@enc-protocol/super-cli","description":"Per-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.","dist-tags":{"latest":"0.4.2","local":"0.3.2-local"},"versions":{"0.1.0":{"name":"@enc-protocol/super-cli","version":"0.1.0","type":"module","description":"ENC Protocol per-app SDK + skill for the \"super\" app. Enclaves: DM,Group,Personal.","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","super","sdk","skill"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"ERROR: No README data found!","_id":"@enc-protocol/super-cli@0.1.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.1.0.tgz","shasum":"c262a8524afb85507d94969f23a4a93a6174c97b","integrity":"sha512-x1Dm/dNwt0N9Vl+mt1Y/wo3/rpTJKYBceg8zFBdQhsVQGjGj9ToVg6ZsJSsz9qEDFudGpQqy9cWRZI+o1mPQIA=="}},"0.1.1":{"name":"@enc-protocol/super-cli","version":"0.1.1","type":"module","description":"ENC Protocol per-app SDK + skill for the \"super\" app. Enclaves: DM,Group,Personal.","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","super","sdk","skill"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\n\n## Install\n\n```bash\necho \"@enc-protocol:registry=https://npm-registry.ocrybit.workers.dev/\" >> .npmrc\nnpm install @enc-protocol/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` |  | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.1.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.1.1.tgz","shasum":"7c463662de73682ba9bee02e777b967b13814561","integrity":"sha512-t+2g3tCsGeIhOW7IuKJnJDbDK+A/bvkJ3irBS8zIZ6uXdGTxsZ45c+BkLLkFlfCiJDN9WQ3hLzau0oY3GykUmw=="}},"0.1.2":{"name":"@enc-protocol/super-cli","version":"0.1.2","type":"module","description":"ENC Protocol per-app SDK for the \"super\" app (typed methods, encryption hook). Enclaves: DM,Group,Personal. For the Claude Code skill, use @enc-protocol/skill-super (or `enc skill add super`).","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","super","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` |  | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.1.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.1.2.tgz","shasum":"44df727f5f1ce500aedc33777b46eccc08356783","integrity":"sha512-BijE1t86Koi3gmMHNqSQNRG2GUwOZiO3/0+BwFOWfbr6th1upFU5VmLHsqeU3AVp8Yspp+faD0gh7JWWnZQhEg=="}},"0.2.0":{"name":"@enc-protocol/super-cli","version":"0.2.0","type":"module","description":"ENC Protocol per-app SDK for the \"super\" app — multi-enclave composition (DM + Group + Personal).","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","super","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` |  | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.2.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.2.0.tgz","shasum":"b1a2b0cf3fdfca93efe3264715f81e353b955e8d","integrity":"sha512-UonkwJRge4/cADCG/c6HDlWZyzF76IW8WutycUtLFZlRLre14SGgDEAQdh2aOROnJ0K9w6V8LOm+OSz7bGZEhA=="}},"0.3.0":{"name":"@enc-protocol/super-cli","version":"0.3.0","type":"module","description":"ENC Protocol per-app SDK for the \"super\" app — multi-enclave composition (DM + Group + Personal).","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","super","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` |  | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.3.0","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.3.0.tgz","shasum":"073df0b0e378e20639e0b9dda7454d64400cdbc9","integrity":"sha512-yLD26GVPQGQi8ldX45Pnr8kiU3C8pwlmmM9y7z9YtlcT645ORP7+s5k/98XOmHmr3XnSVGBbmwl2U2IbwvvKrA=="}},"0.3.1":{"name":"@enc-protocol/super-cli","version":"0.3.1","type":"module","description":"ENC Protocol per-app SDK for the \"super\" app — multi-enclave composition (DM + Group + Personal).","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","super","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` |  | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.3.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.3.1.tgz","shasum":"23a732a76837e83af4e9c7311390f071110edef9","integrity":"sha512-YwAm+CJ+eY6zRtPcAjYXTNCMKhUv5JRTTydzQccRG2NSOBdsGCtDeJXj45CCZO/Tw/VYKOKDpp9x+DV2jECkkw=="}},"0.4.1":{"name":"@enc-protocol/super-cli","version":"0.4.1","type":"module","description":"ENC Protocol per-app SDK for the \"super\" app — multi-enclave composition (DM + Group + Personal).","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","super","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` | ✓ | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n### Encryption\n\nData types `messages`, `invites`, `notice` are flagged `encrypt` in the app schema. The SDK calls `this._encrypt(dataType, args)` before submit. The default `_encrypt` is a pass-through.\n\nTo add real encryption (e.g. MLS for DM), subclass and override:\n\n```js\nclass EncryptedSuperSdk extends SuperSdk {\n  async _encrypt(dataType, args) {\n    // produce ciphertext for `args`\n    return { ciphertext: /* ... */ }\n  }\n}\n```\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`, `invites` → `invite`\n- **encrypt**: `messages`, `invites`, `notice`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.4.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.4.1.tgz","shasum":"64a6ae018cbbe959a810755ea8bf1a75bf88c02e","integrity":"sha512-cBJdmv/LAZCk3thcxqOZ1Y4mG1iQopOeu/unWj9F2iLTg1/LgjdTwKcO6nVDbDfPKaHTLPs8Tbw3nh7Enz95hQ=="}},"0.4.2":{"name":"@enc-protocol/super-cli","version":"0.4.2","type":"module","description":"ENC Protocol per-app SDK for the \"super\" app — multi-enclave composition (DM + Group + Personal).","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","super","sdk","cli"],"license":"MIT","publishConfig":{"registry":"https://npm-registry.ocrybit.workers.dev/"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` | ✓ | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n### Encryption\n\nData types `messages`, `invites`, `notice` are flagged `encrypt` in the app schema. The SDK calls `this._encrypt(dataType, args)` before submit. The default `_encrypt` is a pass-through.\n\nTo add real encryption (e.g. MLS for DM), subclass and override:\n\n```js\nclass EncryptedSuperSdk extends SuperSdk {\n  async _encrypt(dataType, args) {\n    // produce ciphertext for `args`\n    return { ciphertext: /* ... */ }\n  }\n}\n```\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`, `invites` → `invite`\n- **encrypt**: `messages`, `invites`, `notice`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","_id":"@enc-protocol/super-cli@0.4.2","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.4.2.tgz","shasum":"9112f6d37010dc2ed3e124461552b7c65b5a412b","integrity":"sha512-yANg1qAHYkpI/prU33F8SCVGuBVga9m+qskOs9tUAlnd9GRHH4VZpZynlH83ipXprWHhfENZ9/eTUsvSWK+s0Q=="}},"0.3.2-local":{"name":"@enc-protocol/super-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/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` | ✓ | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n### Encryption\n\nData types `messages` are flagged `encrypt` in the app schema. The SDK calls `this._encrypt(dataType, args)` before submit. The default `_encrypt` is a pass-through.\n\nTo add real encryption (e.g. MLS for DM), subclass and override:\n\n```js\nclass EncryptedSuperSdk extends SuperSdk {\n  async _encrypt(dataType, args) {\n    // produce ciphertext for `args`\n    return { ciphertext: /* ... */ }\n  }\n}\n```\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`, `invites` → `invite`\n- **encrypt**: `messages`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n","readmeFilename":"README.md","gitHead":"9d8f216d0d69913d9f915ddcdc914e183a2ea52a","_id":"@enc-protocol/super-cli@0.3.2-local","description":"Per-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"tarball":"https://npm-registry.ocrybit.workers.dev/@enc-protocol/super-cli/-/@enc-protocol/super-cli-0.3.2-local.tgz","shasum":"1820b40d4ce05fe24c87cdf2cff950ccf71d4387","integrity":"sha512-Nqm9yy7+zntXnmHFWa3Tp0ebvKJqTygbI4hSlsIFDBOyWHy23QO4JMehADn4Kg3ZtcgNoelNNiHyUE4EVQA1pA=="}}},"time":{"created":"2026-05-14T14:59:35.703Z","modified":"2026-06-12T21:35:48.365Z","0.1.0":"2026-05-14T14:59:35.703Z","0.1.1":"2026-05-14T15:08:30.078Z","0.1.2":"2026-05-14T15:18:42.841Z","0.2.0":"2026-05-14T16:19:03.203Z","0.3.0":"2026-05-15T19:19:22.541Z","0.3.1":"2026-05-15T19:53:57.413Z","0.4.1":"2026-05-19T02:59:39.686Z","0.4.2":"2026-05-19T17:59:53.125Z","0.3.2-local":"2026-06-12T21:35:48.365Z"},"readme":"# @enc-protocol/super-cli\n\nPer-app SDK for the `super` app on ENC Protocol. Enclaves: DM, Group, Personal.\n\n> Auto-generated by `lib/codegen/readme-codegen.mjs` from `apps/super/{app,schema}.json`. Do not hand-edit — regenerate via `enc gen readme super`.\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/super.md)\nenc skill add super\n```\n\nThe skill is the recommended consumption surface for Claude Code — adds an `/enc super` slash command. The skill package is published as `@enc-protocol/skill-super`.\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/super-cli\n```\n\n## Quick example\n\n```js\nimport { SuperSdk } from '@enc-protocol/super-cli'\n\nconst sdk = new SuperSdk({ mode: 'cf', nodeUrl: process.env.NODE_URL })\nawait sdk.init()\nawait sdk.submitMessages({\"message_draft\":\"example\"})\nconst events = await sdk.queryProfiles()\n```\n\n## API reference\n\n### `new SuperSdk(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 3 enclaves (DM, Group, Personal), 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` | `DM.message` | ✓ | CDU | FRIEND \\| OWNER \\| Sender |\n| `submitMoments(args)` | `moments` | `Personal.public` |  | CDU | OWNER \\| dataview |\n\n### Read methods\n\n| Method | Read | Source | Fields |\n|--------|------|--------|--------|\n| `queryProfiles()` | `profiles` | *dataview (cross_enclave)* | *all* |\n| `queryMessages()` | `messages` | `DM.message` | `body`, `outgoing` |\n| `queryMoments()` | `moments` | `Personal.public` | `body`, `from`, `trailing`, `likes`, `replies` |\n\n### Encryption\n\nData types `messages` are flagged `encrypt` in the app schema. The SDK calls `this._encrypt(dataType, args)` before submit. The default `_encrypt` is a pass-through.\n\nTo add real encryption (e.g. MLS for DM), subclass and override:\n\n```js\nclass EncryptedSuperSdk extends SuperSdk {\n  async _encrypt(dataType, args) {\n    // produce ciphertext for `args`\n    return { ciphertext: /* ... */ }\n  }\n}\n```\n\n## Composition\n\n- **Enclaves**: `DM`, `Group`, `Personal`\n- **tableMap**: `messages` → `message`, `moments` → `public`, `invites` → `invite`\n- **encrypt**: `messages`\n- **derived views**: `conversations`, `requests`, `group_members`, `group_info_items`\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 super`)\n- `@enc-protocol/cli-sdk-base` — base class (`AppSdk`, `AppClient`, `DataView`)\n"}