@skrr-ai/cli 0.1.142 → 0.1.144

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.
Files changed (156) hide show
  1. package/README.md +8 -0
  2. package/dist/base-command.d.ts +4 -2
  3. package/dist/base-command.js +46 -13
  4. package/dist/commands/agenda/trigger/create.js +4 -2
  5. package/dist/commands/agenda/trigger/list.js +7 -7
  6. package/dist/commands/agent/message/approve.d.ts +17 -0
  7. package/dist/commands/agent/message/approve.js +72 -0
  8. package/dist/commands/agent/message/decline.d.ts +17 -0
  9. package/dist/commands/agent/message/decline.js +72 -0
  10. package/dist/commands/agent/message/pending.d.ts +18 -0
  11. package/dist/commands/agent/message/pending.js +79 -0
  12. package/dist/commands/agents/always-on/disable.js +9 -1
  13. package/dist/commands/agents/always-on/enable.js +9 -1
  14. package/dist/commands/agents/always-on/status.js +14 -1
  15. package/dist/commands/agents/create.js +10 -1
  16. package/dist/commands/agents/delete.d.ts +51 -0
  17. package/dist/commands/agents/delete.js +163 -2
  18. package/dist/commands/agents/intuitions/list.js +1 -1
  19. package/dist/commands/agents/plan-day.d.ts +39 -7
  20. package/dist/commands/agents/plan-day.js +254 -65
  21. package/dist/commands/agents/proactive-audit.d.ts +22 -0
  22. package/dist/commands/agents/proactive-audit.js +86 -0
  23. package/dist/commands/agents/schedule-overview.d.ts +7 -0
  24. package/dist/commands/agents/schedule-overview.js +43 -5
  25. package/dist/commands/agents/schedule-trace.js +30 -19
  26. package/dist/commands/agents/spawn.d.ts +51 -0
  27. package/dist/commands/agents/spawn.js +212 -9
  28. package/dist/commands/agents/todos/cancel.js +3 -0
  29. package/dist/commands/agents/todos/edit.js +1 -1
  30. package/dist/commands/agents/todos/list.d.ts +5 -0
  31. package/dist/commands/agents/todos/list.js +19 -5
  32. package/dist/commands/agents/triggers/create.js +1 -1
  33. package/dist/commands/agents/triggers/policy.js +7 -0
  34. package/dist/commands/agents/triggers/update.js +1 -1
  35. package/dist/commands/commitments/create.js +13 -3
  36. package/dist/commands/commitments/preflight.js +31 -5
  37. package/dist/commands/daemon/index.js +1 -0
  38. package/dist/commands/daemon/logs.d.ts +8 -1
  39. package/dist/commands/daemon/logs.js +32 -22
  40. package/dist/commands/daemon/profile.d.ts +15 -0
  41. package/dist/commands/daemon/profile.js +51 -0
  42. package/dist/commands/goals/briefing/status.js +1 -1
  43. package/dist/commands/initiatives/worker/deactivate.d.ts +23 -0
  44. package/dist/commands/initiatives/worker/deactivate.js +78 -0
  45. package/dist/commands/login.js +8 -2
  46. package/dist/commands/logout.d.ts +20 -0
  47. package/dist/commands/logout.js +110 -5
  48. package/dist/commands/machines/profiles/disconnect.d.ts +23 -0
  49. package/dist/commands/machines/profiles/disconnect.js +102 -0
  50. package/dist/commands/machines/profiles/index.d.ts +15 -0
  51. package/dist/commands/machines/profiles/index.js +33 -0
  52. package/dist/commands/machines/profiles/label.d.ts +24 -0
  53. package/dist/commands/machines/profiles/label.js +85 -0
  54. package/dist/commands/machines/profiles/list.d.ts +16 -0
  55. package/dist/commands/machines/profiles/list.js +87 -0
  56. package/dist/commands/memory/maintain.js +16 -2
  57. package/dist/commands/profiles/list.js +17 -2
  58. package/dist/commands/spaces/delete.js +6 -1
  59. package/dist/commands/spaces/workflows/archive.js +6 -1
  60. package/dist/commands/spaces/workflows/publish.js +3 -1
  61. package/dist/commands/spaces/workflows/run.d.ts +1 -0
  62. package/dist/commands/spaces/workflows/run.js +17 -1
  63. package/dist/commands/spaces/workflows/triggers/create.js +3 -1
  64. package/dist/commands/tasks/workflow-context.js +3 -1
  65. package/dist/commands/triggers/authorization.js +1 -1
  66. package/dist/commands/triggers/capabilities.js +17 -1
  67. package/dist/commands/triggers/create.d.ts +2 -0
  68. package/dist/commands/triggers/create.js +23 -7
  69. package/dist/commands/triggers/fire-detail.js +12 -3
  70. package/dist/commands/triggers/list.d.ts +1 -0
  71. package/dist/commands/triggers/list.js +13 -1
  72. package/dist/commands/triggers/preflight.js +18 -0
  73. package/dist/commands/triggers/prune.js +9 -5
  74. package/dist/commands/triggers/update.js +13 -4
  75. package/dist/generated/agent-guides.json +35 -35
  76. package/dist/lib/agent-guides.js +1 -1
  77. package/dist/lib/agent-proactive-baseline.d.ts +6 -0
  78. package/dist/lib/agent-proactive-baseline.js +32 -3
  79. package/dist/lib/always-on-command-result.d.ts +18 -0
  80. package/dist/lib/always-on-command-result.js +52 -0
  81. package/dist/lib/always-on-runtime.d.ts +31 -0
  82. package/dist/lib/always-on-runtime.js +39 -0
  83. package/dist/lib/auth-diagnostics.d.ts +10 -1
  84. package/dist/lib/auth-diagnostics.js +16 -8
  85. package/dist/lib/commitments.d.ts +16 -9
  86. package/dist/lib/commitments.js +65 -4
  87. package/dist/lib/compasses.js +5 -0
  88. package/dist/lib/daemon-binding.js +6 -3
  89. package/dist/lib/daemon-command-hint.d.ts +10 -5
  90. package/dist/lib/daemon-command-hint.js +11 -6
  91. package/dist/lib/daemon-setup.js +9 -3
  92. package/dist/lib/daemonBroker.d.ts +7 -0
  93. package/dist/lib/daemonBroker.js +5 -0
  94. package/dist/lib/daemonHandoff.d.ts +2 -0
  95. package/dist/lib/daemonHandoff.js +16 -3
  96. package/dist/lib/daemonIslandProfile.d.ts +19 -0
  97. package/dist/lib/daemonIslandProfile.js +41 -0
  98. package/dist/lib/drain-stdio.d.ts +22 -0
  99. package/dist/lib/drain-stdio.js +46 -0
  100. package/dist/lib/format.d.ts +32 -0
  101. package/dist/lib/format.js +105 -1
  102. package/dist/lib/initiatives-worker.d.ts +25 -0
  103. package/dist/lib/initiatives-worker.js +13 -0
  104. package/dist/lib/keychain.d.ts +22 -1
  105. package/dist/lib/keychain.js +40 -1
  106. package/dist/lib/local-daemon-readiness.js +4 -6
  107. package/dist/lib/local-skills.js +4 -1
  108. package/dist/lib/login.d.ts +7 -0
  109. package/dist/lib/login.js +5 -0
  110. package/dist/lib/machines.d.ts +68 -0
  111. package/dist/lib/machines.js +67 -0
  112. package/dist/lib/proactive-audit.d.ts +52 -0
  113. package/dist/lib/proactive-audit.js +67 -0
  114. package/dist/lib/proactiveApi.d.ts +23 -0
  115. package/dist/lib/refresh.d.ts +20 -6
  116. package/dist/lib/refresh.js +27 -9
  117. package/dist/lib/roles.d.ts +1 -1
  118. package/dist/lib/runtime-start-verification.js +3 -6
  119. package/dist/lib/schedule.d.ts +189 -9
  120. package/dist/lib/schedule.js +283 -22
  121. package/dist/lib/triggers.d.ts +134 -3
  122. package/dist/lib/triggers.js +370 -17
  123. package/dist/lib/workflow-node-control.js +8 -0
  124. package/dist/lib/workflow-run-view.js +9 -0
  125. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/configRoot.d.ts +12 -0
  126. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/configRoot.js +10 -2
  127. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.d.ts +8 -0
  128. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.js +22 -0
  129. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/executorStopReceiptV2.d.ts +133 -0
  130. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/executorStopReceiptV2.js +180 -0
  131. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +5 -3
  132. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +50 -0
  133. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/profilePorts.d.ts +137 -0
  134. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/profilePorts.js +328 -0
  135. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/profileSelection.d.ts +63 -0
  136. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/profileSelection.js +174 -0
  137. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.d.ts +22 -0
  138. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +15 -4
  139. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/configRoot.d.ts +12 -0
  140. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/configRoot.js +14 -0
  141. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceIdentityBridge.d.ts +8 -0
  142. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceIdentityBridge.js +27 -0
  143. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/executorStopReceiptV2.d.ts +133 -0
  144. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/executorStopReceiptV2.js +183 -0
  145. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +5 -3
  146. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +11 -3
  147. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/profilePorts.d.ts +137 -0
  148. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/profilePorts.js +333 -0
  149. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/profileSelection.d.ts +63 -0
  150. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/profileSelection.js +212 -0
  151. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.d.ts +22 -0
  152. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.js +22 -4
  153. package/dist/node_modules/@skrr-ai/auth-core/package.json +11 -1
  154. package/dist/node_modules/@skrr-ai/data-provider/index.js +7446 -7378
  155. package/oclif.manifest.json +844 -47
  156. package/package.json +1 -1
@@ -1098,7 +1098,7 @@
1098
1098
  "required": true
1099
1099
  }
1100
1100
  },
1101
- "description": "Register a future automatic agent run via the AgentTrigger subsystem. Mirrors the agenda_create_trigger MCP tool.",
1101
+ "description": "Register a future automatic agent run via the AgentTrigger subsystem. Mirrors the agenda_create_trigger MCP tool. Every run is a model turn. For a daily time, a one-time run or a deterministic action with no model turn (for example creating a task), use `skrr triggers create`.",
1102
1102
  "examples": [
1103
1103
  "<%= config.bin %> agenda trigger create <agent-id> --kind schedule --cron '0 9 * * MON' --label 'Weekly briefing' --prompt 'Summarize last week and plan this week.'",
1104
1104
  "<%= config.bin %> agenda trigger create <agent-id> --kind self_scheduled --delay-minutes 240 --label 'Follow up' --prompt 'Check back on the Q2 launch task.'",
@@ -1180,7 +1180,7 @@
1180
1180
  "type": "option"
1181
1181
  },
1182
1182
  "timezone": {
1183
- "description": "IANA timezone for the cron (defaults to UTC). Only used with --kind=schedule.",
1183
+ "description": "IANA timezone the cron is read in, for example America/Los_Angeles. Defaults to UTC, so \"0 9 * * *\" is 09:00 UTC when this is left out. Only used with --kind=schedule.",
1184
1184
  "name": "timezone",
1185
1185
  "hasDynamicHelp": false,
1186
1186
  "multiple": false,
@@ -3073,6 +3073,88 @@
3073
3073
  "show.js"
3074
3074
  ]
3075
3075
  },
3076
+ "agent:message:approve": {
3077
+ "aliases": [],
3078
+ "args": {
3079
+ "intent": {
3080
+ "description": "Intent ID from `agent message pending`",
3081
+ "name": "intent",
3082
+ "required": true
3083
+ }
3084
+ },
3085
+ "description": "Approve an Agent's message that is waiting for your approval, and deliver it",
3086
+ "examples": [
3087
+ "<%= config.bin %> agent message pending --agent <agent-id>",
3088
+ "<%= config.bin %> agent message approve <intent-id> --agent <agent-id>"
3089
+ ],
3090
+ "flags": {
3091
+ "bare": {
3092
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
3093
+ "name": "bare",
3094
+ "allowNo": false,
3095
+ "type": "boolean"
3096
+ },
3097
+ "token": {
3098
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
3099
+ "name": "token",
3100
+ "hasDynamicHelp": false,
3101
+ "multiple": false,
3102
+ "type": "option"
3103
+ },
3104
+ "workspace": {
3105
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
3106
+ "name": "workspace",
3107
+ "hasDynamicHelp": false,
3108
+ "multiple": false,
3109
+ "type": "option"
3110
+ },
3111
+ "profile": {
3112
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
3113
+ "name": "profile",
3114
+ "hasDynamicHelp": false,
3115
+ "multiple": false,
3116
+ "type": "option"
3117
+ },
3118
+ "raw": {
3119
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
3120
+ "name": "raw",
3121
+ "allowNo": false,
3122
+ "type": "boolean"
3123
+ },
3124
+ "agent": {
3125
+ "description": "Agent ID",
3126
+ "name": "agent",
3127
+ "required": false,
3128
+ "hasDynamicHelp": false,
3129
+ "multiple": false,
3130
+ "type": "option"
3131
+ },
3132
+ "json": {
3133
+ "description": "Output as JSON",
3134
+ "name": "json",
3135
+ "allowNo": false,
3136
+ "type": "boolean"
3137
+ }
3138
+ },
3139
+ "hasDynamicHelp": false,
3140
+ "hiddenAliases": [],
3141
+ "id": "agent:message:approve",
3142
+ "pluginAlias": "@skrr-ai/cli",
3143
+ "pluginName": "@skrr-ai/cli",
3144
+ "pluginType": "core",
3145
+ "strict": true,
3146
+ "enableJsonFlag": false,
3147
+ "autonomousCredentialPolicy": "delegated",
3148
+ "resolveSpaceFlag": true,
3149
+ "isESM": false,
3150
+ "relativePath": [
3151
+ "dist",
3152
+ "commands",
3153
+ "agent",
3154
+ "message",
3155
+ "approve.js"
3156
+ ]
3157
+ },
3076
3158
  "agent:message:context": {
3077
3159
  "aliases": [],
3078
3160
  "args": {
@@ -3168,6 +3250,169 @@
3168
3250
  "context.js"
3169
3251
  ]
3170
3252
  },
3253
+ "agent:message:decline": {
3254
+ "aliases": [],
3255
+ "args": {
3256
+ "intent": {
3257
+ "description": "Intent ID from `agent message pending`",
3258
+ "name": "intent",
3259
+ "required": true
3260
+ }
3261
+ },
3262
+ "description": "Decline an Agent's message that is waiting for your approval, and cancel it",
3263
+ "examples": [
3264
+ "<%= config.bin %> agent message pending --agent <agent-id>",
3265
+ "<%= config.bin %> agent message decline <intent-id> --agent <agent-id>"
3266
+ ],
3267
+ "flags": {
3268
+ "bare": {
3269
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
3270
+ "name": "bare",
3271
+ "allowNo": false,
3272
+ "type": "boolean"
3273
+ },
3274
+ "token": {
3275
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
3276
+ "name": "token",
3277
+ "hasDynamicHelp": false,
3278
+ "multiple": false,
3279
+ "type": "option"
3280
+ },
3281
+ "workspace": {
3282
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
3283
+ "name": "workspace",
3284
+ "hasDynamicHelp": false,
3285
+ "multiple": false,
3286
+ "type": "option"
3287
+ },
3288
+ "profile": {
3289
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
3290
+ "name": "profile",
3291
+ "hasDynamicHelp": false,
3292
+ "multiple": false,
3293
+ "type": "option"
3294
+ },
3295
+ "raw": {
3296
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
3297
+ "name": "raw",
3298
+ "allowNo": false,
3299
+ "type": "boolean"
3300
+ },
3301
+ "agent": {
3302
+ "description": "Agent ID",
3303
+ "name": "agent",
3304
+ "required": false,
3305
+ "hasDynamicHelp": false,
3306
+ "multiple": false,
3307
+ "type": "option"
3308
+ },
3309
+ "json": {
3310
+ "description": "Output as JSON",
3311
+ "name": "json",
3312
+ "allowNo": false,
3313
+ "type": "boolean"
3314
+ }
3315
+ },
3316
+ "hasDynamicHelp": false,
3317
+ "hiddenAliases": [],
3318
+ "id": "agent:message:decline",
3319
+ "pluginAlias": "@skrr-ai/cli",
3320
+ "pluginName": "@skrr-ai/cli",
3321
+ "pluginType": "core",
3322
+ "strict": true,
3323
+ "enableJsonFlag": false,
3324
+ "autonomousCredentialPolicy": "delegated",
3325
+ "resolveSpaceFlag": true,
3326
+ "isESM": false,
3327
+ "relativePath": [
3328
+ "dist",
3329
+ "commands",
3330
+ "agent",
3331
+ "message",
3332
+ "decline.js"
3333
+ ]
3334
+ },
3335
+ "agent:message:pending": {
3336
+ "aliases": [],
3337
+ "args": {
3338
+ "agent": {
3339
+ "description": "Agent ID",
3340
+ "name": "agent",
3341
+ "required": false
3342
+ }
3343
+ },
3344
+ "description": "List an Agent's own messages that are waiting for your approval because it is set to ask first",
3345
+ "examples": [
3346
+ "<%= config.bin %> agent message pending --agent <agent-id>",
3347
+ "<%= config.bin %> agent message approve <intent-id> --agent <agent-id>"
3348
+ ],
3349
+ "flags": {
3350
+ "bare": {
3351
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
3352
+ "name": "bare",
3353
+ "allowNo": false,
3354
+ "type": "boolean"
3355
+ },
3356
+ "token": {
3357
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
3358
+ "name": "token",
3359
+ "hasDynamicHelp": false,
3360
+ "multiple": false,
3361
+ "type": "option"
3362
+ },
3363
+ "workspace": {
3364
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
3365
+ "name": "workspace",
3366
+ "hasDynamicHelp": false,
3367
+ "multiple": false,
3368
+ "type": "option"
3369
+ },
3370
+ "profile": {
3371
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
3372
+ "name": "profile",
3373
+ "hasDynamicHelp": false,
3374
+ "multiple": false,
3375
+ "type": "option"
3376
+ },
3377
+ "raw": {
3378
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
3379
+ "name": "raw",
3380
+ "allowNo": false,
3381
+ "type": "boolean"
3382
+ },
3383
+ "agent": {
3384
+ "description": "Agent ID",
3385
+ "name": "agent",
3386
+ "hasDynamicHelp": false,
3387
+ "multiple": false,
3388
+ "type": "option"
3389
+ },
3390
+ "json": {
3391
+ "description": "Output as JSON",
3392
+ "name": "json",
3393
+ "allowNo": false,
3394
+ "type": "boolean"
3395
+ }
3396
+ },
3397
+ "hasDynamicHelp": false,
3398
+ "hiddenAliases": [],
3399
+ "id": "agent:message:pending",
3400
+ "pluginAlias": "@skrr-ai/cli",
3401
+ "pluginName": "@skrr-ai/cli",
3402
+ "pluginType": "core",
3403
+ "strict": true,
3404
+ "enableJsonFlag": false,
3405
+ "autonomousCredentialPolicy": "delegated",
3406
+ "resolveSpaceFlag": true,
3407
+ "isESM": false,
3408
+ "relativePath": [
3409
+ "dist",
3410
+ "commands",
3411
+ "agent",
3412
+ "message",
3413
+ "pending.js"
3414
+ ]
3415
+ },
3171
3416
  "agent:message:send": {
3172
3417
  "aliases": [],
3173
3418
  "args": {
@@ -7731,7 +7976,8 @@
7731
7976
  "description": "Delete an agent you created (irreversible), or uninstall one installed from the store (reinstalling restores it)",
7732
7977
  "examples": [
7733
7978
  "<%= config.bin %> agents delete <agent-id>",
7734
- "<%= config.bin %> agents delete <agent-id> --yes"
7979
+ "<%= config.bin %> agents delete <agent-id> --yes",
7980
+ "<%= config.bin %> agents delete <agent-id> --yes --json"
7735
7981
  ],
7736
7982
  "flags": {
7737
7983
  "bare": {
@@ -7773,6 +8019,12 @@
7773
8019
  "name": "yes",
7774
8020
  "allowNo": false,
7775
8021
  "type": "boolean"
8022
+ },
8023
+ "json": {
8024
+ "description": "Output the receipt as JSON: what was done (`removal`) and the server's own erasure and retained-work report. Pair with --yes in scripts.",
8025
+ "name": "json",
8026
+ "allowNo": false,
8027
+ "type": "boolean"
7776
8028
  }
7777
8029
  },
7778
8030
  "hasDynamicHelp": false,
@@ -12231,7 +12483,7 @@
12231
12483
  "type": "option"
12232
12484
  },
12233
12485
  "timezone": {
12234
- "description": "IANA timezone for the working-hours window",
12486
+ "description": "IANA timezone for the plan day and its working hours (defaults to this machine's timezone, as in schedule-trace and todos list)",
12235
12487
  "name": "timezone",
12236
12488
  "hasDynamicHelp": false,
12237
12489
  "multiple": false,
@@ -12264,8 +12516,10 @@
12264
12516
  "autonomousCredentialPolicy": "delegated",
12265
12517
  "resolveSpaceFlag": true,
12266
12518
  "TIMEOUT_STATUSES": {},
12267
- "RECOVERY_ATTEMPTS": 12,
12268
- "RECOVERY_INTERVAL_MS": 15000,
12519
+ "POLL_INTERVAL_MS": 15000,
12520
+ "LEGACY_POLL_ATTEMPTS": 12,
12521
+ "MAX_WAIT_MS": 900000,
12522
+ "DRAFT_LAG_POLLS": 4,
12269
12523
  "isESM": false,
12270
12524
  "relativePath": [
12271
12525
  "dist",
@@ -12433,19 +12687,19 @@
12433
12687
  "update.js"
12434
12688
  ]
12435
12689
  },
12436
- "agents:pull": {
12690
+ "agents:proactive-audit": {
12437
12691
  "aliases": [],
12438
12692
  "args": {
12439
- "id": {
12693
+ "agent": {
12440
12694
  "description": "Agent ID",
12441
- "name": "id",
12695
+ "name": "agent",
12442
12696
  "required": true
12443
12697
  }
12444
12698
  },
12445
- "description": "Write an agent as a portable spec document (agent-as-code); round-trips with `agents push`",
12699
+ "description": "Who changed an agent's proactivity boundary (Compass, worker, Smart Schedule, goal planner), and the task/goal watcher's effective switches",
12446
12700
  "examples": [
12447
- "<%= config.bin %> agents pull <agent-id> --output agents/research.agent.json",
12448
- "<%= config.bin %> agents pull <agent-id> | jq .spec.instructions"
12701
+ "<%= config.bin %> agents proactive-audit <agent-id>",
12702
+ "<%= config.bin %> agents proactive-audit <agent-id> --domain smart_schedule --limit 20 --json"
12449
12703
  ],
12450
12704
  "flags": {
12451
12705
  "bare": {
@@ -12481,24 +12735,36 @@
12481
12735
  "allowNo": false,
12482
12736
  "type": "boolean"
12483
12737
  },
12484
- "output": {
12485
- "char": "o",
12486
- "description": "Write the document to this path (overwrites it). Omit for stdout.",
12487
- "name": "output",
12488
- "hasDynamicHelp": false,
12489
- "multiple": false,
12490
- "type": "option"
12491
- },
12492
12738
  "json": {
12493
- "description": "With --output, print a JSON receipt instead of a line",
12739
+ "description": "Output as JSON",
12494
12740
  "name": "json",
12495
12741
  "allowNo": false,
12496
12742
  "type": "boolean"
12743
+ },
12744
+ "domain": {
12745
+ "description": "Only one domain's changes (agent_compass, agent_initiatives, smart_schedule, goal_planner)",
12746
+ "name": "domain",
12747
+ "hasDynamicHelp": false,
12748
+ "multiple": false,
12749
+ "options": [
12750
+ "agent_compass",
12751
+ "agent_initiatives",
12752
+ "smart_schedule",
12753
+ "goal_planner"
12754
+ ],
12755
+ "type": "option"
12756
+ },
12757
+ "limit": {
12758
+ "description": "Events to return (1-200, newest first)",
12759
+ "name": "limit",
12760
+ "hasDynamicHelp": false,
12761
+ "multiple": false,
12762
+ "type": "option"
12497
12763
  }
12498
12764
  },
12499
12765
  "hasDynamicHelp": false,
12500
12766
  "hiddenAliases": [],
12501
- "id": "agents:pull",
12767
+ "id": "agents:proactive-audit",
12502
12768
  "pluginAlias": "@skrr-ai/cli",
12503
12769
  "pluginName": "@skrr-ai/cli",
12504
12770
  "pluginType": "core",
@@ -12511,10 +12777,10 @@
12511
12777
  "dist",
12512
12778
  "commands",
12513
12779
  "agents",
12514
- "pull.js"
12780
+ "proactive-audit.js"
12515
12781
  ]
12516
12782
  },
12517
- "agents:push": {
12783
+ "agents:pull": {
12518
12784
  "aliases": [],
12519
12785
  "args": {
12520
12786
  "id": {
@@ -12523,10 +12789,91 @@
12523
12789
  "required": true
12524
12790
  }
12525
12791
  },
12526
- "description": "Apply a portable agent spec document to an agent; refuses any field that may not travel",
12792
+ "description": "Write an agent as a portable spec document (agent-as-code); round-trips with `agents push`",
12527
12793
  "examples": [
12528
- "<%= config.bin %> agents push <agent-id> --file agents/research.agent.json",
12529
- "cat agent.json | <%= config.bin %> agents push <agent-id> --file -"
12794
+ "<%= config.bin %> agents pull <agent-id> --output agents/research.agent.json",
12795
+ "<%= config.bin %> agents pull <agent-id> | jq .spec.instructions"
12796
+ ],
12797
+ "flags": {
12798
+ "bare": {
12799
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
12800
+ "name": "bare",
12801
+ "allowNo": false,
12802
+ "type": "boolean"
12803
+ },
12804
+ "token": {
12805
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
12806
+ "name": "token",
12807
+ "hasDynamicHelp": false,
12808
+ "multiple": false,
12809
+ "type": "option"
12810
+ },
12811
+ "workspace": {
12812
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
12813
+ "name": "workspace",
12814
+ "hasDynamicHelp": false,
12815
+ "multiple": false,
12816
+ "type": "option"
12817
+ },
12818
+ "profile": {
12819
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
12820
+ "name": "profile",
12821
+ "hasDynamicHelp": false,
12822
+ "multiple": false,
12823
+ "type": "option"
12824
+ },
12825
+ "raw": {
12826
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
12827
+ "name": "raw",
12828
+ "allowNo": false,
12829
+ "type": "boolean"
12830
+ },
12831
+ "output": {
12832
+ "char": "o",
12833
+ "description": "Write the document to this path (overwrites it). Omit for stdout.",
12834
+ "name": "output",
12835
+ "hasDynamicHelp": false,
12836
+ "multiple": false,
12837
+ "type": "option"
12838
+ },
12839
+ "json": {
12840
+ "description": "With --output, print a JSON receipt instead of a line",
12841
+ "name": "json",
12842
+ "allowNo": false,
12843
+ "type": "boolean"
12844
+ }
12845
+ },
12846
+ "hasDynamicHelp": false,
12847
+ "hiddenAliases": [],
12848
+ "id": "agents:pull",
12849
+ "pluginAlias": "@skrr-ai/cli",
12850
+ "pluginName": "@skrr-ai/cli",
12851
+ "pluginType": "core",
12852
+ "strict": true,
12853
+ "enableJsonFlag": false,
12854
+ "autonomousCredentialPolicy": "delegated",
12855
+ "resolveSpaceFlag": true,
12856
+ "isESM": false,
12857
+ "relativePath": [
12858
+ "dist",
12859
+ "commands",
12860
+ "agents",
12861
+ "pull.js"
12862
+ ]
12863
+ },
12864
+ "agents:push": {
12865
+ "aliases": [],
12866
+ "args": {
12867
+ "id": {
12868
+ "description": "Agent ID",
12869
+ "name": "id",
12870
+ "required": true
12871
+ }
12872
+ },
12873
+ "description": "Apply a portable agent spec document to an agent; refuses any field that may not travel",
12874
+ "examples": [
12875
+ "<%= config.bin %> agents push <agent-id> --file agents/research.agent.json",
12876
+ "cat agent.json | <%= config.bin %> agents push <agent-id> --file -"
12530
12877
  ],
12531
12878
  "flags": {
12532
12879
  "bare": {
@@ -15140,7 +15487,7 @@
15140
15487
  "type": "option"
15141
15488
  },
15142
15489
  "timezone": {
15143
- "description": "IANA timezone for the plan day",
15490
+ "description": "IANA timezone for the plan day and for the times shown (defaults to this machine's timezone, as in plan-day and todos list)",
15144
15491
  "name": "timezone",
15145
15492
  "hasDynamicHelp": false,
15146
15493
  "multiple": false,
@@ -15700,7 +16047,7 @@
15700
16047
  "name": "sentence"
15701
16048
  }
15702
16049
  },
15703
- "description": "Spawn a complete proactive agent from one sentence (plan → review → approve)",
16050
+ "description": "Spawn a complete proactive agent from one sentence (plan → review → approve)\n\nSPEC FORMAT (--from-spec). --print-spec-template prints a valid spec; unknown keys are refused.\n- identity: name, provider, model (required); description, instructions, category.\n- systems: any of worker, orchestrator. An empty list installs neither and skips the baseline watchers.\n- worker (installed when systems has worker): watchers (1-8) and policy.\n- worker.watchers[].source: task_goal_watcher, initiative_follow_through, slack_watcher, memory_watcher, calendar_watcher, daemon_watcher, email_watcher, github_watcher, initiative_digest_watcher, rss_watcher. Optional intervalMinutes (15-1440) and limit (1-100).\n- worker.policy.mode: suggestions_only, ask_first, auto_run_limited, auto_run. workingHours and quietHours: { enabled, start, end, timezone }, with times as \"HH:MM\".\n- orchestrator (installed when systems has orchestrator): mode review or auto, executePlan true or false, workingHours { start, end, timezone }.\n- Optional: commitments (at most 3), initialize { goals, tasks, jobs }, compass, autonomyPosture.",
15704
16051
  "examples": [
15705
16052
  "<%= config.bin %> agents spawn \"watch my Slack and flag urgent unanswered messages\"",
15706
16053
  "<%= config.bin %> agents spawn \"plan my day every morning, working hours 9-6\" --approve",
@@ -15708,6 +16055,7 @@
15708
16055
  "<%= config.bin %> agents spawn \"watch launch blockers\" --recommend",
15709
16056
  "<%= config.bin %> agents spawn --approve-recommendation par_123 --spec-hash <reviewed-hash>",
15710
16057
  "<%= config.bin %> agents spawn --apply-recommendation par_123 --spec-hash <reviewed-hash>",
16058
+ "<%= config.bin %> agents spawn --print-spec-template > spec.json",
15711
16059
  "<%= config.bin %> agents spawn --from-spec spec.json --approve"
15712
16060
  ],
15713
16061
  "flags": {
@@ -15784,12 +16132,18 @@
15784
16132
  "type": "option"
15785
16133
  },
15786
16134
  "from-spec": {
15787
- "description": "Path to a spec JSON (or \"-\" for stdin) to apply directly (requires --approve). An explicit empty systems list skips implicit baseline watchers.",
16135
+ "description": "Path to a spec JSON (or \"-\" for stdin) to apply directly (requires --approve). Its shape is under SPEC FORMAT below; --print-spec-template prints a valid one. An explicit empty systems list skips implicit baseline watchers.",
15788
16136
  "name": "from-spec",
15789
16137
  "hasDynamicHelp": false,
15790
16138
  "multiple": false,
15791
16139
  "type": "option"
15792
16140
  },
16141
+ "print-spec-template": {
16142
+ "description": "Print a valid spec JSON to edit and pass to --from-spec, and exit (creates nothing)",
16143
+ "name": "print-spec-template",
16144
+ "allowNo": false,
16145
+ "type": "boolean"
16146
+ },
15793
16147
  "agent-id": {
15794
16148
  "description": "Apply onto an existing agent instead of creating a new one (convergent re-run)",
15795
16149
  "name": "agent-id",
@@ -16181,7 +16535,7 @@
16181
16535
  "type": "option"
16182
16536
  },
16183
16537
  "timezone": {
16184
- "description": "IANA timezone for the day (defaults to UTC)",
16538
+ "description": "IANA timezone for the day and for the times shown (defaults to this machine's timezone, as in plan-day and schedule-trace)",
16185
16539
  "name": "timezone",
16186
16540
  "hasDynamicHelp": false,
16187
16541
  "multiple": false,
@@ -16941,7 +17295,7 @@
16941
17295
  "type": "boolean"
16942
17296
  },
16943
17297
  "mode": {
16944
- "description": "Execution mode (default send_message)",
17298
+ "description": "Execution mode. send_message runs an Agent turn and posts its reply to the destination chat; run_only runs an Agent turn and posts nothing visible (it still uses the Agent’s model budget). Default: send_message.",
16945
17299
  "name": "mode",
16946
17300
  "hasDynamicHelp": false,
16947
17301
  "multiple": false,
@@ -18369,7 +18723,7 @@
18369
18723
  "type": "boolean"
18370
18724
  },
18371
18725
  "mode": {
18372
- "description": "Execution mode",
18726
+ "description": "Execution mode. send_message runs an Agent turn and posts its reply to the destination chat; run_only runs an Agent turn and posts nothing visible (it still uses the Agent’s model budget).",
18373
18727
  "name": "mode",
18374
18728
  "hasDynamicHelp": false,
18375
18729
  "multiple": false,
@@ -32074,16 +32428,19 @@
32074
32428
  "type": "option"
32075
32429
  },
32076
32430
  "github-event": {
32077
- "description": "GitHub event to watch (repeatable; implies --watch github). Use check_run_failed for CI remediation.",
32431
+ "description": "GitHub event to watch (repeatable; implies --watch github). Use check_run_failed for one failing check, workflow_run_failed or workflow_run_succeeded for a whole workflow.",
32078
32432
  "name": "github-event",
32079
32433
  "hasDynamicHelp": false,
32080
32434
  "multiple": true,
32081
32435
  "options": [
32082
32436
  "pull_request_opened",
32083
32437
  "pull_request_merged",
32438
+ "pull_request_synchronized",
32084
32439
  "review_requested",
32085
32440
  "check_run_failed",
32086
32441
  "check_run_succeeded",
32442
+ "workflow_run_failed",
32443
+ "workflow_run_succeeded",
32087
32444
  "issue_opened",
32088
32445
  "comment_created"
32089
32446
  ],
@@ -32111,14 +32468,14 @@
32111
32468
  "type": "option"
32112
32469
  },
32113
32470
  "cadence": {
32114
- "description": "Check interval, e.g. \"15m\", \"6h\", \"30d\" (1m..365d). Defaults to interval mode; with --event-driven, this is the timed backstop.",
32471
+ "description": "Check interval, e.g. \"15m\", \"6h\", \"30d\" (1m..365d). Defaults to interval mode; with --event-driven, this is the recovery interval: a missed event is not replayed, the next interval re-checks current state.",
32115
32472
  "name": "cadence",
32116
32473
  "hasDynamicHelp": false,
32117
32474
  "multiple": false,
32118
32475
  "type": "option"
32119
32476
  },
32120
32477
  "event-driven": {
32121
- "description": "Wake on matching watched-source events, with a timed backstop from --cadence (default 24h). Requires an event-capable watched source and cannot be combined with a different --cadence-mode.",
32478
+ "description": "Wake on matching watched-source events, so checks come sooner than --cadence (default 24h). An event can be missed and is not replayed; every interval the Commitment re-checks current state instead. Requires an event-capable watched source and cannot be combined with a different --cadence-mode.",
32122
32479
  "name": "event-driven",
32123
32480
  "allowNo": false,
32124
32481
  "type": "boolean"
@@ -36533,7 +36890,7 @@
36533
36890
  "type": "option"
36534
36891
  },
36535
36892
  "event-fixture": {
36536
- "description": "Optional event fixture JSON file, or - for stdin",
36893
+ "description": "Event context JSON file, or - for stdin; previews context, not event matching",
36537
36894
  "name": "event-fixture",
36538
36895
  "hasDynamicHelp": false,
36539
36896
  "multiple": false,
@@ -42203,6 +42560,37 @@
42203
42560
  "status.js"
42204
42561
  ]
42205
42562
  },
42563
+ "daemon:profile": {
42564
+ "aliases": [
42565
+ "daemons:profile"
42566
+ ],
42567
+ "args": {},
42568
+ "description": "Flags are forwarded to `skrrd profile` unchanged, so they are not listed here — run `skrrd profile --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`. If `skrrd` is not on your PATH, use its installed path instead (typically `~/.skrr/bin/skrrd` on macOS and Linux).",
42569
+ "examples": [
42570
+ "<%= config.bin %> daemon profile list",
42571
+ "<%= config.bin %> daemon profile remove work",
42572
+ "<%= config.bin %> daemon profile remove work --apply",
42573
+ "<%= config.bin %> daemon profile trash",
42574
+ "<%= config.bin %> daemon profile restore <trash-name>"
42575
+ ],
42576
+ "flags": {},
42577
+ "hasDynamicHelp": false,
42578
+ "hiddenAliases": [],
42579
+ "id": "daemon:profile",
42580
+ "pluginAlias": "@skrr-ai/cli",
42581
+ "pluginName": "@skrr-ai/cli",
42582
+ "pluginType": "core",
42583
+ "strict": false,
42584
+ "summary": "Manage background service profiles: list, create, select, clean up, remove and restore them",
42585
+ "enableJsonFlag": false,
42586
+ "isESM": false,
42587
+ "relativePath": [
42588
+ "dist",
42589
+ "commands",
42590
+ "daemon",
42591
+ "profile.js"
42592
+ ]
42593
+ },
42206
42594
  "daemon:recover-offline-queue": {
42207
42595
  "aliases": [
42208
42596
  "daemons:recover-offline-queue"
@@ -55985,6 +56373,100 @@
55985
56373
  "list.js"
55986
56374
  ]
55987
56375
  },
56376
+ "initiatives:worker:deactivate": {
56377
+ "aliases": [],
56378
+ "args": {
56379
+ "agent": {
56380
+ "description": "Agent ID",
56381
+ "name": "agent",
56382
+ "required": true
56383
+ }
56384
+ },
56385
+ "description": "Stop an agent's worker: disable all its worker watchers and turn its initiative policy off (the agent is kept)",
56386
+ "examples": [
56387
+ "<%= config.bin %> initiatives worker deactivate <agent-id>",
56388
+ "<%= config.bin %> initiatives worker deactivate <agent-id> --keep-initiatives --yes"
56389
+ ],
56390
+ "flags": {
56391
+ "bare": {
56392
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
56393
+ "name": "bare",
56394
+ "allowNo": false,
56395
+ "type": "boolean"
56396
+ },
56397
+ "token": {
56398
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
56399
+ "name": "token",
56400
+ "hasDynamicHelp": false,
56401
+ "multiple": false,
56402
+ "type": "option"
56403
+ },
56404
+ "workspace": {
56405
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
56406
+ "name": "workspace",
56407
+ "hasDynamicHelp": false,
56408
+ "multiple": false,
56409
+ "type": "option"
56410
+ },
56411
+ "profile": {
56412
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
56413
+ "name": "profile",
56414
+ "hasDynamicHelp": false,
56415
+ "multiple": false,
56416
+ "type": "option"
56417
+ },
56418
+ "raw": {
56419
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
56420
+ "name": "raw",
56421
+ "allowNo": false,
56422
+ "type": "boolean"
56423
+ },
56424
+ "json": {
56425
+ "description": "Output as JSON",
56426
+ "name": "json",
56427
+ "allowNo": false,
56428
+ "type": "boolean"
56429
+ },
56430
+ "yes": {
56431
+ "char": "y",
56432
+ "description": "Skip the confirmation prompt",
56433
+ "name": "yes",
56434
+ "allowNo": false,
56435
+ "type": "boolean"
56436
+ },
56437
+ "keep-initiatives": {
56438
+ "description": "Leave the agent's open initiatives as they are (by default they are closed)",
56439
+ "name": "keep-initiatives",
56440
+ "allowNo": false,
56441
+ "type": "boolean"
56442
+ },
56443
+ "reason": {
56444
+ "description": "Why (recorded on the change)",
56445
+ "name": "reason",
56446
+ "hasDynamicHelp": false,
56447
+ "multiple": false,
56448
+ "type": "option"
56449
+ }
56450
+ },
56451
+ "hasDynamicHelp": false,
56452
+ "hiddenAliases": [],
56453
+ "id": "initiatives:worker:deactivate",
56454
+ "pluginAlias": "@skrr-ai/cli",
56455
+ "pluginName": "@skrr-ai/cli",
56456
+ "pluginType": "core",
56457
+ "strict": true,
56458
+ "enableJsonFlag": false,
56459
+ "autonomousCredentialPolicy": "delegated",
56460
+ "resolveSpaceFlag": true,
56461
+ "isESM": false,
56462
+ "relativePath": [
56463
+ "dist",
56464
+ "commands",
56465
+ "initiatives",
56466
+ "worker",
56467
+ "deactivate.js"
56468
+ ]
56469
+ },
55988
56470
  "instruction-blocks:create": {
55989
56471
  "aliases": [],
55990
56472
  "args": {},
@@ -61256,6 +61738,15 @@
61256
61738
  "name": "yes",
61257
61739
  "allowNo": false,
61258
61740
  "type": "boolean"
61741
+ },
61742
+ "json": {
61743
+ "description": "Print the outcome as JSON: whether a local sign-in was removed and whether its server session was revoked. `ok` is false when a session was left live.",
61744
+ "exclusive": [
61745
+ "all-devices"
61746
+ ],
61747
+ "name": "json",
61748
+ "allowNo": false,
61749
+ "type": "boolean"
61259
61750
  }
61260
61751
  },
61261
61752
  "hasDynamicHelp": false,
@@ -68289,6 +68780,304 @@
68289
68780
  "list.js"
68290
68781
  ]
68291
68782
  },
68783
+ "machines:profiles": {
68784
+ "aliases": [],
68785
+ "args": {},
68786
+ "description": "Daemon profiles on a machine — list them, label them, or disconnect one without the others",
68787
+ "examples": [
68788
+ "<%= config.bin %> machines profiles list 03548116",
68789
+ "<%= config.bin %> machines profiles label 03548116 work --label \"Work laptop\"",
68790
+ "<%= config.bin %> machines profiles disconnect 03548116 work --yes"
68791
+ ],
68792
+ "flags": {},
68793
+ "hasDynamicHelp": false,
68794
+ "hiddenAliases": [],
68795
+ "id": "machines:profiles",
68796
+ "pluginAlias": "@skrr-ai/cli",
68797
+ "pluginName": "@skrr-ai/cli",
68798
+ "pluginType": "core",
68799
+ "strict": true,
68800
+ "enableJsonFlag": false,
68801
+ "isESM": false,
68802
+ "relativePath": [
68803
+ "dist",
68804
+ "commands",
68805
+ "machines",
68806
+ "profiles",
68807
+ "index.js"
68808
+ ]
68809
+ },
68810
+ "machines:profiles:disconnect": {
68811
+ "aliases": [],
68812
+ "args": {
68813
+ "machine": {
68814
+ "description": "Machine id, uuid, daemon id, name, or a unique prefix",
68815
+ "name": "machine",
68816
+ "required": true
68817
+ },
68818
+ "profile": {
68819
+ "description": "The profile name, exactly as `skrr machines profiles list` prints it",
68820
+ "name": "profile",
68821
+ "required": true
68822
+ }
68823
+ },
68824
+ "description": "Disconnect one daemon profile of a machine — revokes that profile's access and leaves the others connected",
68825
+ "examples": [
68826
+ "<%= config.bin %> machines profiles disconnect 03548116 work",
68827
+ "<%= config.bin %> machines profiles disconnect 03548116 work --yes",
68828
+ "<%= config.bin %> machines profiles disconnect 03548116 work --yes --clear-label"
68829
+ ],
68830
+ "flags": {
68831
+ "bare": {
68832
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
68833
+ "name": "bare",
68834
+ "allowNo": false,
68835
+ "type": "boolean"
68836
+ },
68837
+ "token": {
68838
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
68839
+ "name": "token",
68840
+ "hasDynamicHelp": false,
68841
+ "multiple": false,
68842
+ "type": "option"
68843
+ },
68844
+ "workspace": {
68845
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
68846
+ "name": "workspace",
68847
+ "hasDynamicHelp": false,
68848
+ "multiple": false,
68849
+ "type": "option"
68850
+ },
68851
+ "profile": {
68852
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
68853
+ "name": "profile",
68854
+ "hasDynamicHelp": false,
68855
+ "multiple": false,
68856
+ "type": "option"
68857
+ },
68858
+ "raw": {
68859
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
68860
+ "name": "raw",
68861
+ "allowNo": false,
68862
+ "type": "boolean"
68863
+ },
68864
+ "json": {
68865
+ "description": "Output as JSON",
68866
+ "name": "json",
68867
+ "allowNo": false,
68868
+ "type": "boolean"
68869
+ },
68870
+ "yes": {
68871
+ "char": "y",
68872
+ "description": "Skip the confirmation prompt",
68873
+ "name": "yes",
68874
+ "allowNo": false,
68875
+ "type": "boolean"
68876
+ },
68877
+ "clear-label": {
68878
+ "description": "Also delete the profile's display label (kept by default, so a reconnect shows it again)",
68879
+ "name": "clear-label",
68880
+ "allowNo": false,
68881
+ "type": "boolean"
68882
+ }
68883
+ },
68884
+ "hasDynamicHelp": false,
68885
+ "hiddenAliases": [],
68886
+ "id": "machines:profiles:disconnect",
68887
+ "pluginAlias": "@skrr-ai/cli",
68888
+ "pluginName": "@skrr-ai/cli",
68889
+ "pluginType": "core",
68890
+ "strict": true,
68891
+ "enableJsonFlag": false,
68892
+ "autonomousCredentialPolicy": "delegated",
68893
+ "resolveSpaceFlag": true,
68894
+ "isESM": false,
68895
+ "relativePath": [
68896
+ "dist",
68897
+ "commands",
68898
+ "machines",
68899
+ "profiles",
68900
+ "disconnect.js"
68901
+ ]
68902
+ },
68903
+ "machines:profiles:label": {
68904
+ "aliases": [],
68905
+ "args": {
68906
+ "machine": {
68907
+ "description": "Machine id, uuid, daemon id, name, or a unique prefix",
68908
+ "name": "machine",
68909
+ "required": true
68910
+ },
68911
+ "profile": {
68912
+ "description": "The profile name, exactly as `skrr machines profiles list` prints it",
68913
+ "name": "profile",
68914
+ "required": true
68915
+ }
68916
+ },
68917
+ "description": "Set or clear a daemon profile's display label and description (the profile's name itself cannot change)",
68918
+ "examples": [
68919
+ "<%= config.bin %> machines profiles label 03548116 work --label \"Work laptop\"",
68920
+ "<%= config.bin %> machines profiles label 03548116 work --description \"Client repos only\"",
68921
+ "<%= config.bin %> machines profiles label 03548116 work --clear"
68922
+ ],
68923
+ "flags": {
68924
+ "bare": {
68925
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
68926
+ "name": "bare",
68927
+ "allowNo": false,
68928
+ "type": "boolean"
68929
+ },
68930
+ "token": {
68931
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
68932
+ "name": "token",
68933
+ "hasDynamicHelp": false,
68934
+ "multiple": false,
68935
+ "type": "option"
68936
+ },
68937
+ "workspace": {
68938
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
68939
+ "name": "workspace",
68940
+ "hasDynamicHelp": false,
68941
+ "multiple": false,
68942
+ "type": "option"
68943
+ },
68944
+ "profile": {
68945
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
68946
+ "name": "profile",
68947
+ "hasDynamicHelp": false,
68948
+ "multiple": false,
68949
+ "type": "option"
68950
+ },
68951
+ "raw": {
68952
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
68953
+ "name": "raw",
68954
+ "allowNo": false,
68955
+ "type": "boolean"
68956
+ },
68957
+ "json": {
68958
+ "description": "Output as JSON",
68959
+ "name": "json",
68960
+ "allowNo": false,
68961
+ "type": "boolean"
68962
+ },
68963
+ "label": {
68964
+ "description": "Display label, up to 64 characters (\"\" clears it)",
68965
+ "name": "label",
68966
+ "hasDynamicHelp": false,
68967
+ "multiple": false,
68968
+ "type": "option"
68969
+ },
68970
+ "description": {
68971
+ "description": "A note, up to 280 characters (\"\" clears it)",
68972
+ "name": "description",
68973
+ "hasDynamicHelp": false,
68974
+ "multiple": false,
68975
+ "type": "option"
68976
+ },
68977
+ "clear": {
68978
+ "description": "Clear both the label and the description",
68979
+ "exclusive": [
68980
+ "label",
68981
+ "description"
68982
+ ],
68983
+ "name": "clear",
68984
+ "allowNo": false,
68985
+ "type": "boolean"
68986
+ }
68987
+ },
68988
+ "hasDynamicHelp": false,
68989
+ "hiddenAliases": [],
68990
+ "id": "machines:profiles:label",
68991
+ "pluginAlias": "@skrr-ai/cli",
68992
+ "pluginName": "@skrr-ai/cli",
68993
+ "pluginType": "core",
68994
+ "strict": true,
68995
+ "enableJsonFlag": false,
68996
+ "autonomousCredentialPolicy": "delegated",
68997
+ "resolveSpaceFlag": true,
68998
+ "isESM": false,
68999
+ "relativePath": [
69000
+ "dist",
69001
+ "commands",
69002
+ "machines",
69003
+ "profiles",
69004
+ "label.js"
69005
+ ]
69006
+ },
69007
+ "machines:profiles:list": {
69008
+ "aliases": [],
69009
+ "args": {
69010
+ "machine": {
69011
+ "description": "Machine id, uuid, daemon id, name, or a unique prefix",
69012
+ "name": "machine",
69013
+ "required": true
69014
+ }
69015
+ },
69016
+ "description": "List the daemon profiles that have registered on a machine",
69017
+ "examples": [
69018
+ "<%= config.bin %> machines profiles list 03548116",
69019
+ "<%= config.bin %> machines profiles list \"Frank MacBook\" --json"
69020
+ ],
69021
+ "flags": {
69022
+ "bare": {
69023
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
69024
+ "name": "bare",
69025
+ "allowNo": false,
69026
+ "type": "boolean"
69027
+ },
69028
+ "token": {
69029
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
69030
+ "name": "token",
69031
+ "hasDynamicHelp": false,
69032
+ "multiple": false,
69033
+ "type": "option"
69034
+ },
69035
+ "workspace": {
69036
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
69037
+ "name": "workspace",
69038
+ "hasDynamicHelp": false,
69039
+ "multiple": false,
69040
+ "type": "option"
69041
+ },
69042
+ "profile": {
69043
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
69044
+ "name": "profile",
69045
+ "hasDynamicHelp": false,
69046
+ "multiple": false,
69047
+ "type": "option"
69048
+ },
69049
+ "raw": {
69050
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
69051
+ "name": "raw",
69052
+ "allowNo": false,
69053
+ "type": "boolean"
69054
+ },
69055
+ "json": {
69056
+ "description": "Output as JSON",
69057
+ "name": "json",
69058
+ "allowNo": false,
69059
+ "type": "boolean"
69060
+ }
69061
+ },
69062
+ "hasDynamicHelp": false,
69063
+ "hiddenAliases": [],
69064
+ "id": "machines:profiles:list",
69065
+ "pluginAlias": "@skrr-ai/cli",
69066
+ "pluginName": "@skrr-ai/cli",
69067
+ "pluginType": "core",
69068
+ "strict": true,
69069
+ "enableJsonFlag": false,
69070
+ "autonomousCredentialPolicy": "delegated",
69071
+ "resolveSpaceFlag": true,
69072
+ "isESM": false,
69073
+ "relativePath": [
69074
+ "dist",
69075
+ "commands",
69076
+ "machines",
69077
+ "profiles",
69078
+ "list.js"
69079
+ ]
69080
+ },
68292
69081
  "machines:services": {
68293
69082
  "aliases": [],
68294
69083
  "args": {},
@@ -105538,7 +106327,7 @@
105538
106327
  "type": "option"
105539
106328
  },
105540
106329
  "config": {
105541
- "description": "Trigger config as JSON",
106330
+ "description": "Trigger config as JSON. schedule: {\"intervalMs\":60000} (milliseconds, 60000 to 2678400000) plus an optional \"input\" object; webhook takes none.",
105542
106331
  "name": "config",
105543
106332
  "hasDynamicHelp": false,
105544
106333
  "multiple": false,
@@ -136071,7 +136860,7 @@
136071
136860
  "type": "boolean"
136072
136861
  },
136073
136862
  "mode": {
136074
- "description": "Execution mode",
136863
+ "description": "Execution mode. send_message runs an Agent turn and posts its reply to the destination chat; run_only runs an Agent turn and posts nothing visible (it still uses the Agent’s model budget).",
136075
136864
  "name": "mode",
136076
136865
  "hasDynamicHelp": false,
136077
136866
  "multiple": false,
@@ -136221,14 +137010,14 @@
136221
137010
  "type": "option"
136222
137011
  },
136223
137012
  "working-hours": {
136224
- "description": "Execution workingHours JSON object",
137013
+ "description": "Execution workingHours: only fires inside the window run. JSON object {\"enabled\":true,\"start\":\"09:00\",\"end\":\"17:00\",\"timezone\":\"America/Vancouver\"}. \"enabled\" is required for the window to apply, and with no \"timezone\" it is read in UTC, not in the trigger's own zone.",
136225
137014
  "name": "working-hours",
136226
137015
  "hasDynamicHelp": false,
136227
137016
  "multiple": false,
136228
137017
  "type": "option"
136229
137018
  },
136230
137019
  "quiet-hours": {
136231
- "description": "Execution quietHours JSON object",
137020
+ "description": "Execution quietHours: fires inside the window are skipped. JSON object {\"enabled\":true,\"start\":\"09:00\",\"end\":\"17:00\",\"timezone\":\"America/Vancouver\"}. \"enabled\" is required for the window to apply, and with no \"timezone\" it is read in UTC, not in the trigger's own zone.",
136232
137021
  "name": "quiet-hours",
136233
137022
  "hasDynamicHelp": false,
136234
137023
  "multiple": false,
@@ -136263,7 +137052,7 @@
136263
137052
  "type": "option"
136264
137053
  },
136265
137054
  "timezone": {
136266
- "description": "IANA timezone for schedule triggers",
137055
+ "description": "IANA timezone for schedule triggers, for example America/Los_Angeles. Defaults to UTC: without it --daily-time 09:30 or a cron runs at 09:30 UTC, not at 09:30 where you are.",
136267
137056
  "name": "timezone",
136268
137057
  "hasDynamicHelp": false,
136269
137058
  "multiple": false,
@@ -137064,6 +137853,7 @@
137064
137853
  "examples": [
137065
137854
  "<%= config.bin %> triggers list",
137066
137855
  "<%= config.bin %> triggers list --scope agent --kind schedule --enabled",
137856
+ "<%= config.bin %> triggers list --ref agentId=<agent-id> --json",
137067
137857
  "<%= config.bin %> triggers list --ref-entity agent:<agent-id> --json"
137068
137858
  ],
137069
137859
  "flags": {
@@ -137148,6 +137938,13 @@
137148
137938
  "allowNo": true,
137149
137939
  "type": "boolean"
137150
137940
  },
137941
+ "ref": {
137942
+ "description": "Filter by a scope ref as key=value (repeatable), the same spelling `triggers create` takes, for example --ref agentId=abc",
137943
+ "name": "ref",
137944
+ "hasDynamicHelp": false,
137945
+ "multiple": true,
137946
+ "type": "option"
137947
+ },
137151
137948
  "ref-entity": {
137152
137949
  "description": "Filter by ref entity as kind:id (repeatable), e.g. --ref-entity agent:abc",
137153
137950
  "name": "ref-entity",
@@ -137926,7 +138723,7 @@
137926
138723
  "type": "boolean"
137927
138724
  },
137928
138725
  "mode": {
137929
- "description": "Execution mode",
138726
+ "description": "Execution mode. send_message runs an Agent turn and posts its reply to the destination chat; run_only runs an Agent turn and posts nothing visible (it still uses the Agent’s model budget).",
137930
138727
  "name": "mode",
137931
138728
  "hasDynamicHelp": false,
137932
138729
  "multiple": false,
@@ -138016,14 +138813,14 @@
138016
138813
  "type": "option"
138017
138814
  },
138018
138815
  "working-hours": {
138019
- "description": "Execution workingHours JSON object",
138816
+ "description": "Execution workingHours: only fires inside the window run. JSON object {\"enabled\":true,\"start\":\"09:00\",\"end\":\"17:00\",\"timezone\":\"America/Vancouver\"}. \"enabled\" is required for the window to apply, and with no \"timezone\" it is read in UTC, not in the trigger's own zone.",
138020
138817
  "name": "working-hours",
138021
138818
  "hasDynamicHelp": false,
138022
138819
  "multiple": false,
138023
138820
  "type": "option"
138024
138821
  },
138025
138822
  "quiet-hours": {
138026
- "description": "Execution quietHours JSON object",
138823
+ "description": "Execution quietHours: fires inside the window are skipped. JSON object {\"enabled\":true,\"start\":\"09:00\",\"end\":\"17:00\",\"timezone\":\"America/Vancouver\"}. \"enabled\" is required for the window to apply, and with no \"timezone\" it is read in UTC, not in the trigger's own zone.",
138027
138824
  "name": "quiet-hours",
138028
138825
  "hasDynamicHelp": false,
138029
138826
  "multiple": false,
@@ -138058,7 +138855,7 @@
138058
138855
  "type": "option"
138059
138856
  },
138060
138857
  "timezone": {
138061
- "description": "IANA timezone for schedule triggers",
138858
+ "description": "IANA timezone for schedule triggers, for example America/Los_Angeles. Defaults to UTC: without it --daily-time 09:30 or a cron runs at 09:30 UTC, not at 09:30 where you are.",
138062
138859
  "name": "timezone",
138063
138860
  "hasDynamicHelp": false,
138064
138861
  "multiple": false,
@@ -143533,5 +144330,5 @@
143533
144330
  ]
143534
144331
  }
143535
144332
  },
143536
- "version": "0.1.142"
144333
+ "version": "0.1.144"
143537
144334
  }