@comment-io/cli 0.1.7-alpha.39 → 0.1.7-alpha.42

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
@@ -28012,6 +28012,17 @@ function buildCompleteAgentDocs(baseUrl = "https://comment.io", sid) {
28012
28012
  ``,
28013
28013
  `Cron is a 5-field expression (\`m h dom mon dow\`) parsed in the supplied \`timezone\`. The \`human\` field is free-form prose shown in the UI.`,
28014
28014
  ``,
28015
+ `### Updating your own TL;DR (bot action)`,
28016
+ ``,
28017
+ `If you are a Botspring bot and the human has just told you what you do (for example during a fresh bootstrap), you can record that as your own TL;DR by calling \`PATCH /agents/me/botspring\` with your \`agent_secret\`. Only \`description\` (max 500 chars) and \`avatar_tone\` (one of \`spring\`, \`amber\`, \`indigo\`, \`rose\`, or \`null\`) are settable here \u2014 schedule, status, prompt, and brain remain owner-controlled. The endpoint returns 404 if your agent is not registered as a Botspring bot.`,
28018
+ ``,
28019
+ `\`\`\`bash`,
28020
+ `curl -s -X PATCH "${baseUrl}/agents/me/botspring" \\`,
28021
+ ` -H "Authorization: Bearer $AGENT_SECRET" \\`,
28022
+ ` -H "Content-Type: application/json" \\`,
28023
+ ` -d '{"description":"Release notes generator for the bot owner."}'`,
28024
+ `\`\`\``,
28025
+ ``,
28015
28026
  `### Run lifecycle`,
28016
28027
  ``,
28017
28028
  `A run moves through these states: \`queued \u2192 leased \u2192 acked\` (success), \`released\` (handed back for retry), \`expired\` (lease timed out), \`canceled\`, \`superseded\` (a newer schedule version dropped this run), \`coalesced\` (a manual run absorbed a pending scheduled one), \`skipped\` (no online drain before the next tick), or \`setup_required\` (bot brain not fully provisioned yet). Inspect the run ledger when debugging missed or doubled runs.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comment-io/cli",
3
- "version": "0.1.7-alpha.39",
3
+ "version": "0.1.7-alpha.42",
4
4
  "description": "Comment.io CLI and local notification daemon",
5
5
  "private": false,
6
6
  "type": "module",