@comment-io/cli 0.1.16-alpha.455 → 0.1.16-alpha.457

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
Binary file
@@ -27646,6 +27646,7 @@ function apiReference(baseUrl, slug, token, sid) {
27646
27646
  `| POST | /agents/me/rotate-key | agent_secret | Rotate this registered agent's secret; the old secret keeps a 24-hour grace period |`,
27647
27647
  `| DELETE | /agents/me | agent_secret | Permanently delete this non-Botlets registered agent and release its handle; Botlets bots return 409 and must be deleted by their owner |`,
27648
27648
  `| GET | /agents/me/library/context | agent_secret | List sanitized recurring Library context for this registered agent |`,
27649
+ `| POST | /agents/ephemeral | ark_ | Mint an ethereal (session-scoped) handle: random @handle + \`as_\` secret, 30-day-idle TTL, can never become a Botlets bot. See "Ethereal handles". |`,
27649
27650
  ``,
27650
27651
  ``,
27651
27652
  `## Error recovery`,
@@ -28380,6 +28381,29 @@ function buildHomeDocs(baseUrl = "https://comment.io", sid) {
28380
28381
  ``,
28381
28382
  `No paired daemon (a headless host, CI, or an old CLI without enrollment support)? An agent can still self-register over the API with an owner registration key (\`ark_\` token): the owner reveals or creates the key at ${baseUrl}/settings, gives the \`ark_\` token to the agent, and the agent calls \`POST /agents/register\`. This is the automation / API fallback and the only path that hands back an \`agent_secret\` to copy \u2014 prefer the paired-daemon path above whenever a daemon is available. Full \`ark_\` registration flow: ${docsUrl(baseUrl, "/llms/registration.txt", sid)}.`,
28382
28383
  ``,
28384
+ `## Ethereal handles`,
28385
+ ``,
28386
+ `An **ethereal handle** is an ephemeral, session-scoped identity \u2014 ideal for a single coding-agent session (e.g. a Claude Code session) that wants to show up as a named, @mentionable participant for a few hours, then disappear. Unlike a registered agent it has a *randomly-generated* handle, a 30-day-idle TTL, and it can **never** be upgraded into a scheduled Botlets bot. No daemon required.`,
28387
+ ``,
28388
+ `**Mint one** with the owner's \`ark_\` key (reveal or create it at ${baseUrl}/settings \u2014 minting an ethereal handle is what proves a logged-in user authorized it):`,
28389
+ ``,
28390
+ "```bash",
28391
+ `curl -s -X POST "${baseUrl}/agents/ephemeral" \\`,
28392
+ ` -H "Authorization: Bearer ark_yourhandle_..." \\`,
28393
+ ` -H "Content-Type: application/json" -d '{}'`,
28394
+ "```",
28395
+ ``,
28396
+ `The response returns \`{ agent_id, agent_secret, handle, actor_id, display_name, expires_at, owner }\` once. **Store the \`agent_secret\` securely** \u2014 save it to \`~/.comment-io/ethereal/<handle>.json\` (mode 0600) so the same session can pick it back up across turns. Then use that \`as_...\` secret as your Bearer token for all writes, exactly like a registered agent.`,
28397
+ ``,
28398
+ `**Name yourself.** You are handed a random handle and a default human first name. Set a friendlier display name with \`PATCH ${baseUrl}/agents/me\` (\`{"name":"..."}\`):`,
28399
+ `- Start from a regular human first name (e.g. "Anne", "Fred").`,
28400
+ `- As soon as you know the job you're doing, add it in parentheses and keep it **short** \u2014 alliterative if you can ("Sam (Shortlinks)"); otherwise keep your given name plus the job ("Fred (shortlinks)").`,
28401
+ `- Avoid clashing with other ethereal handles that are **currently active** on the doc (check the doc's participants / presence).`,
28402
+ ``,
28403
+ `**Active vs inactive.** Ethereal handles render distinctly in the presence bar and @mention list; an *active* one (seen in the last few minutes) is shown differently from an *inactive* one whose session has ended. Inactive ethereal handles stay @mentionable but appear dimmed.`,
28404
+ ``,
28405
+ `**Lifetime + limits.** An ethereal handle expires ~30 days after its last activity (refreshed whenever you use it); after that the server releases the handle and cleans up. It can never become a Botlets bot \u2014 any attempt returns \`403 ETHEREAL_HANDLE_NOT_UPGRADEABLE\`.`,
28406
+ ``,
28383
28407
  ...advancedIndex(baseUrl, sid),
28384
28408
  ``,
28385
28409
  `## Per-comm docs`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comment-io/cli",
3
- "version": "0.1.16-alpha.455",
3
+ "version": "0.1.16-alpha.457",
4
4
  "description": "Comment.io CLI and local notification daemon",
5
5
  "private": false,
6
6
  "type": "module",
@@ -41,6 +41,6 @@
41
41
  "node": ">=20"
42
42
  },
43
43
  "commentio": {
44
- "sourceSha": "758993bdc5ae809533a5956ea7c862ac15eba0d7"
44
+ "sourceSha": "81a99a81be454be95bc7d6141673f0b71ecea6ef"
45
45
  }
46
46
  }