@skrr-ai/cli 0.1.143 → 0.1.145

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 (102) hide show
  1. package/README.md +13 -0
  2. package/dist/commands/agenda/plan.d.ts +7 -0
  3. package/dist/commands/agenda/plan.js +17 -0
  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 +70 -0
  8. package/dist/commands/agent/message/decline.d.ts +17 -0
  9. package/dist/commands/agent/message/decline.js +70 -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/delete.d.ts +45 -0
  13. package/dist/commands/agents/delete.js +139 -2
  14. package/dist/commands/agents/plan-day.d.ts +50 -7
  15. package/dist/commands/agents/plan-day.js +293 -65
  16. package/dist/commands/agents/proactive-audit.d.ts +22 -0
  17. package/dist/commands/agents/proactive-audit.js +86 -0
  18. package/dist/commands/agents/schedule-overview.d.ts +7 -0
  19. package/dist/commands/agents/schedule-overview.js +49 -5
  20. package/dist/commands/agents/schedule-trace.js +42 -21
  21. package/dist/commands/agents/spawn.d.ts +78 -1
  22. package/dist/commands/agents/spawn.js +262 -6
  23. package/dist/commands/agents/todos/list.d.ts +5 -0
  24. package/dist/commands/agents/todos/list.js +19 -5
  25. package/dist/commands/agents/triggers/create.js +1 -1
  26. package/dist/commands/agents/triggers/update.js +1 -1
  27. package/dist/commands/agents/upcoming.d.ts +1 -0
  28. package/dist/commands/agents/upcoming.js +18 -7
  29. package/dist/commands/commitments/create.js +14 -4
  30. package/dist/commands/commitments/preflight.js +14 -3
  31. package/dist/commands/commitments/update.js +1 -1
  32. package/dist/commands/initiatives/worker/deactivate.d.ts +23 -0
  33. package/dist/commands/initiatives/worker/deactivate.js +78 -0
  34. package/dist/commands/login.js +8 -2
  35. package/dist/commands/logout.d.ts +20 -0
  36. package/dist/commands/logout.js +110 -5
  37. package/dist/commands/memory/maintain.js +16 -2
  38. package/dist/commands/spaces/delete.js +6 -1
  39. package/dist/commands/spaces/workflow-templates/insert.js +4 -0
  40. package/dist/commands/spaces/workflows/archive.js +6 -1
  41. package/dist/commands/spaces/workflows/publish.js +3 -1
  42. package/dist/commands/spaces/workflows/run.d.ts +1 -0
  43. package/dist/commands/spaces/workflows/run.js +17 -1
  44. package/dist/commands/spaces/workflows/triggers/create.js +3 -1
  45. package/dist/commands/store/show.js +22 -0
  46. package/dist/commands/tasks/workflow-context.js +3 -1
  47. package/dist/commands/triggers/capabilities.js +17 -1
  48. package/dist/commands/triggers/create.d.ts +2 -0
  49. package/dist/commands/triggers/create.js +23 -7
  50. package/dist/commands/triggers/fire-detail.js +12 -3
  51. package/dist/commands/triggers/list.d.ts +1 -0
  52. package/dist/commands/triggers/list.js +13 -1
  53. package/dist/commands/triggers/preflight.js +18 -0
  54. package/dist/commands/triggers/prune.js +9 -5
  55. package/dist/commands/triggers/update.js +13 -4
  56. package/dist/generated/agent-guides.json +35 -35
  57. package/dist/lib/agent-proactive-baseline.js +7 -1
  58. package/dist/lib/agentic-stream.d.ts +7 -0
  59. package/dist/lib/agentic-stream.js +22 -0
  60. package/dist/lib/commitments.d.ts +16 -9
  61. package/dist/lib/commitments.js +78 -5
  62. package/dist/lib/compasses.js +1 -1
  63. package/dist/lib/daemon-setup.js +9 -3
  64. package/dist/lib/daemonBroker.d.ts +7 -0
  65. package/dist/lib/daemonBroker.js +5 -0
  66. package/dist/lib/daemonHandoff.d.ts +2 -0
  67. package/dist/lib/daemonHandoff.js +10 -1
  68. package/dist/lib/daemonIslandProfile.d.ts +19 -0
  69. package/dist/lib/daemonIslandProfile.js +41 -0
  70. package/dist/lib/dedicated-power.js +10 -3
  71. package/dist/lib/format.d.ts +47 -0
  72. package/dist/lib/format.js +136 -1
  73. package/dist/lib/initiatives-worker.d.ts +25 -0
  74. package/dist/lib/initiatives-worker.js +13 -0
  75. package/dist/lib/login.d.ts +7 -0
  76. package/dist/lib/login.js +5 -0
  77. package/dist/lib/planOutcome.d.ts +51 -0
  78. package/dist/lib/planOutcome.js +88 -0
  79. package/dist/lib/proactive-audit.d.ts +52 -0
  80. package/dist/lib/proactive-audit.js +67 -0
  81. package/dist/lib/proactiveApi.d.ts +71 -0
  82. package/dist/lib/proactiveApi.js +10 -1
  83. package/dist/lib/refresh.d.ts +20 -6
  84. package/dist/lib/refresh.js +27 -9
  85. package/dist/lib/roles.d.ts +1 -1
  86. package/dist/lib/schedule.d.ts +214 -10
  87. package/dist/lib/schedule.js +317 -21
  88. package/dist/lib/triggers.d.ts +139 -3
  89. package/dist/lib/triggers.js +382 -18
  90. package/dist/lib/workflow-node-control.js +8 -0
  91. package/dist/lib/workflow-run-view.js +9 -0
  92. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +1 -1
  93. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +2 -0
  94. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.d.ts +22 -0
  95. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +15 -4
  96. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +1 -1
  97. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +1 -1
  98. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.d.ts +22 -0
  99. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.js +22 -4
  100. package/dist/node_modules/@skrr-ai/data-provider/index.js +5252 -5211
  101. package/oclif.manifest.json +526 -29
  102. 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,11 @@
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
+ "FOLLOW_INTERVAL_MS": 5000,
12521
+ "LEGACY_POLL_ATTEMPTS": 12,
12522
+ "MAX_WAIT_MS": 900000,
12523
+ "DRAFT_LAG_POLLS": 4,
12269
12524
  "isESM": false,
12270
12525
  "relativePath": [
12271
12526
  "dist",
@@ -12433,6 +12688,99 @@
12433
12688
  "update.js"
12434
12689
  ]
12435
12690
  },
12691
+ "agents:proactive-audit": {
12692
+ "aliases": [],
12693
+ "args": {
12694
+ "agent": {
12695
+ "description": "Agent ID",
12696
+ "name": "agent",
12697
+ "required": true
12698
+ }
12699
+ },
12700
+ "description": "Who changed an agent's proactivity boundary (Compass, worker, Smart Schedule, goal planner), and the task/goal watcher's effective switches",
12701
+ "examples": [
12702
+ "<%= config.bin %> agents proactive-audit <agent-id>",
12703
+ "<%= config.bin %> agents proactive-audit <agent-id> --domain smart_schedule --limit 20 --json"
12704
+ ],
12705
+ "flags": {
12706
+ "bare": {
12707
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
12708
+ "name": "bare",
12709
+ "allowNo": false,
12710
+ "type": "boolean"
12711
+ },
12712
+ "token": {
12713
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
12714
+ "name": "token",
12715
+ "hasDynamicHelp": false,
12716
+ "multiple": false,
12717
+ "type": "option"
12718
+ },
12719
+ "workspace": {
12720
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
12721
+ "name": "workspace",
12722
+ "hasDynamicHelp": false,
12723
+ "multiple": false,
12724
+ "type": "option"
12725
+ },
12726
+ "profile": {
12727
+ "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`.",
12728
+ "name": "profile",
12729
+ "hasDynamicHelp": false,
12730
+ "multiple": false,
12731
+ "type": "option"
12732
+ },
12733
+ "raw": {
12734
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
12735
+ "name": "raw",
12736
+ "allowNo": false,
12737
+ "type": "boolean"
12738
+ },
12739
+ "json": {
12740
+ "description": "Output as JSON",
12741
+ "name": "json",
12742
+ "allowNo": false,
12743
+ "type": "boolean"
12744
+ },
12745
+ "domain": {
12746
+ "description": "Only one domain's changes (agent_compass, agent_initiatives, smart_schedule, goal_planner)",
12747
+ "name": "domain",
12748
+ "hasDynamicHelp": false,
12749
+ "multiple": false,
12750
+ "options": [
12751
+ "agent_compass",
12752
+ "agent_initiatives",
12753
+ "smart_schedule",
12754
+ "goal_planner"
12755
+ ],
12756
+ "type": "option"
12757
+ },
12758
+ "limit": {
12759
+ "description": "Events to return (1-200, newest first)",
12760
+ "name": "limit",
12761
+ "hasDynamicHelp": false,
12762
+ "multiple": false,
12763
+ "type": "option"
12764
+ }
12765
+ },
12766
+ "hasDynamicHelp": false,
12767
+ "hiddenAliases": [],
12768
+ "id": "agents:proactive-audit",
12769
+ "pluginAlias": "@skrr-ai/cli",
12770
+ "pluginName": "@skrr-ai/cli",
12771
+ "pluginType": "core",
12772
+ "strict": true,
12773
+ "enableJsonFlag": false,
12774
+ "autonomousCredentialPolicy": "delegated",
12775
+ "resolveSpaceFlag": true,
12776
+ "isESM": false,
12777
+ "relativePath": [
12778
+ "dist",
12779
+ "commands",
12780
+ "agents",
12781
+ "proactive-audit.js"
12782
+ ]
12783
+ },
12436
12784
  "agents:pull": {
12437
12785
  "aliases": [],
12438
12786
  "args": {
@@ -15140,7 +15488,7 @@
15140
15488
  "type": "option"
15141
15489
  },
15142
15490
  "timezone": {
15143
- "description": "IANA timezone for the plan day",
15491
+ "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
15492
  "name": "timezone",
15145
15493
  "hasDynamicHelp": false,
15146
15494
  "multiple": false,
@@ -15700,7 +16048,7 @@
15700
16048
  "name": "sentence"
15701
16049
  }
15702
16050
  },
15703
- "description": "Spawn a complete proactive agent from one sentence (plan → review → approve)",
16051
+ "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
16052
  "examples": [
15705
16053
  "<%= config.bin %> agents spawn \"watch my Slack and flag urgent unanswered messages\"",
15706
16054
  "<%= config.bin %> agents spawn \"plan my day every morning, working hours 9-6\" --approve",
@@ -15708,7 +16056,10 @@
15708
16056
  "<%= config.bin %> agents spawn \"watch launch blockers\" --recommend",
15709
16057
  "<%= config.bin %> agents spawn --approve-recommendation par_123 --spec-hash <reviewed-hash>",
15710
16058
  "<%= config.bin %> agents spawn --apply-recommendation par_123 --spec-hash <reviewed-hash>",
15711
- "<%= config.bin %> agents spawn --from-spec spec.json --approve"
16059
+ "<%= config.bin %> agents spawn --print-spec-template > spec.json",
16060
+ "<%= config.bin %> agents spawn --from-spec spec.json --approve",
16061
+ "<%= config.bin %> agents spawn --from-spec spec.json --minimal --approve",
16062
+ "<%= config.bin %> agents spawn --from-spec spec.json --without memory_watcher --without relationship_loops --approve"
15712
16063
  ],
15713
16064
  "flags": {
15714
16065
  "bare": {
@@ -15784,12 +16135,37 @@
15784
16135
  "type": "option"
15785
16136
  },
15786
16137
  "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.",
16138
+ "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
16139
  "name": "from-spec",
15789
16140
  "hasDynamicHelp": false,
15790
16141
  "multiple": false,
15791
16142
  "type": "option"
15792
16143
  },
16144
+ "print-spec-template": {
16145
+ "description": "Print a valid spec JSON to edit and pass to --from-spec, and exit (creates nothing)",
16146
+ "name": "print-spec-template",
16147
+ "allowNo": false,
16148
+ "type": "boolean"
16149
+ },
16150
+ "minimal": {
16151
+ "description": "Install only what the spec asks for: decline every default the platform would add (the memory and task/goal scans, the initiative follow-through loop, the four relationship loops). The plan lists each default first",
16152
+ "name": "minimal",
16153
+ "allowNo": false,
16154
+ "type": "boolean"
16155
+ },
16156
+ "without": {
16157
+ "description": "Decline one default by name; repeatable. One of: memory_watcher, task_goal_watcher, initiative_follow_through, relationship_loops. Refused when the spec itself asks for it",
16158
+ "name": "without",
16159
+ "hasDynamicHelp": false,
16160
+ "multiple": true,
16161
+ "options": [
16162
+ "memory_watcher",
16163
+ "task_goal_watcher",
16164
+ "initiative_follow_through",
16165
+ "relationship_loops"
16166
+ ],
16167
+ "type": "option"
16168
+ },
15793
16169
  "agent-id": {
15794
16170
  "description": "Apply onto an existing agent instead of creating a new one (convergent re-run)",
15795
16171
  "name": "agent-id",
@@ -16181,7 +16557,7 @@
16181
16557
  "type": "option"
16182
16558
  },
16183
16559
  "timezone": {
16184
- "description": "IANA timezone for the day (defaults to UTC)",
16560
+ "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
16561
  "name": "timezone",
16186
16562
  "hasDynamicHelp": false,
16187
16563
  "multiple": false,
@@ -16941,7 +17317,7 @@
16941
17317
  "type": "boolean"
16942
17318
  },
16943
17319
  "mode": {
16944
- "description": "Execution mode (default send_message)",
17320
+ "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
17321
  "name": "mode",
16946
17322
  "hasDynamicHelp": false,
16947
17323
  "multiple": false,
@@ -18369,7 +18745,7 @@
18369
18745
  "type": "boolean"
18370
18746
  },
18371
18747
  "mode": {
18372
- "description": "Execution mode",
18748
+ "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
18749
  "name": "mode",
18374
18750
  "hasDynamicHelp": false,
18375
18751
  "multiple": false,
@@ -19084,6 +19460,13 @@
19084
19460
  "hasDynamicHelp": false,
19085
19461
  "multiple": false,
19086
19462
  "type": "option"
19463
+ },
19464
+ "timezone": {
19465
+ "description": "IANA timezone the times are shown in (defaults to this machine's timezone, as in schedule-trace and plan-day). --json keeps UTC.",
19466
+ "name": "timezone",
19467
+ "hasDynamicHelp": false,
19468
+ "multiple": false,
19469
+ "type": "option"
19087
19470
  }
19088
19471
  },
19089
19472
  "hasDynamicHelp": false,
@@ -32042,7 +32425,7 @@
32042
32425
  "type": "option"
32043
32426
  },
32044
32427
  "watch": {
32045
- "description": "Watched source (repeatable). One of: tasks, goal, space, conversations, agent_initiatives, messages, files, docs, documents, slack, github, calendar, email, daemon, memory, metrics, product_metrics, business_metrics, local, browser, state_monitor, agent_run, monitor. Some sources need companion flags: --watch-space, --watch-monitor, --metric-key.",
32428
+ "description": "Watched source (repeatable). One of: tasks, goal, space, conversations, agent_initiatives, messages, files, docs, documents, slack, github, calendar, email, daemon, memory, metrics, product_metrics, business_metrics, local, browser, state_monitor, agent_run, monitor. Some sources need companion flags: --watch-space, --watch-monitor, --metric-key. conversations and messages need an id (config.conversationId, config.groupChatId) that only --from-json can set.",
32046
32429
  "name": "watch",
32047
32430
  "hasDynamicHelp": false,
32048
32431
  "multiple": true,
@@ -32074,16 +32457,19 @@
32074
32457
  "type": "option"
32075
32458
  },
32076
32459
  "github-event": {
32077
- "description": "GitHub event to watch (repeatable; implies --watch github). Use check_run_failed for CI remediation.",
32460
+ "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
32461
  "name": "github-event",
32079
32462
  "hasDynamicHelp": false,
32080
32463
  "multiple": true,
32081
32464
  "options": [
32082
32465
  "pull_request_opened",
32083
32466
  "pull_request_merged",
32467
+ "pull_request_synchronized",
32084
32468
  "review_requested",
32085
32469
  "check_run_failed",
32086
32470
  "check_run_succeeded",
32471
+ "workflow_run_failed",
32472
+ "workflow_run_succeeded",
32087
32473
  "issue_opened",
32088
32474
  "comment_created"
32089
32475
  ],
@@ -32111,14 +32497,14 @@
32111
32497
  "type": "option"
32112
32498
  },
32113
32499
  "cadence": {
32114
- "description": "Check interval, e.g. \"15m\", \"6h\", \"30d\" (1m..365d). Defaults to interval mode; with --event-driven, this is the timed backstop.",
32500
+ "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
32501
  "name": "cadence",
32116
32502
  "hasDynamicHelp": false,
32117
32503
  "multiple": false,
32118
32504
  "type": "option"
32119
32505
  },
32120
32506
  "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.",
32507
+ "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
32508
  "name": "event-driven",
32123
32509
  "allowNo": false,
32124
32510
  "type": "boolean"
@@ -36533,7 +36919,7 @@
36533
36919
  "type": "option"
36534
36920
  },
36535
36921
  "event-fixture": {
36536
- "description": "Optional event fixture JSON file, or - for stdin",
36922
+ "description": "Event context JSON file, or - for stdin; previews context, not event matching",
36537
36923
  "name": "event-fixture",
36538
36924
  "hasDynamicHelp": false,
36539
36925
  "multiple": false,
@@ -38466,7 +38852,7 @@
38466
38852
  "type": "option"
38467
38853
  },
38468
38854
  "watch": {
38469
- "description": "Watched source (repeatable). Replaces the selected set and retains config for matching bindings. Some sources need companion flags: --watch-space, --watch-monitor.",
38855
+ "description": "Watched source (repeatable). Replaces the selected set and retains config for matching bindings. Some sources need companion flags: --watch-space, --watch-monitor. conversations and messages need an id (config.conversationId, config.groupChatId) that only --from-json can set.",
38470
38856
  "name": "watch",
38471
38857
  "hasDynamicHelp": false,
38472
38858
  "multiple": true,
@@ -56016,6 +56402,100 @@
56016
56402
  "list.js"
56017
56403
  ]
56018
56404
  },
56405
+ "initiatives:worker:deactivate": {
56406
+ "aliases": [],
56407
+ "args": {
56408
+ "agent": {
56409
+ "description": "Agent ID",
56410
+ "name": "agent",
56411
+ "required": true
56412
+ }
56413
+ },
56414
+ "description": "Stop an agent's worker: disable all its worker watchers and turn its initiative policy off (the agent is kept)",
56415
+ "examples": [
56416
+ "<%= config.bin %> initiatives worker deactivate <agent-id>",
56417
+ "<%= config.bin %> initiatives worker deactivate <agent-id> --keep-initiatives --yes"
56418
+ ],
56419
+ "flags": {
56420
+ "bare": {
56421
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
56422
+ "name": "bare",
56423
+ "allowNo": false,
56424
+ "type": "boolean"
56425
+ },
56426
+ "token": {
56427
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
56428
+ "name": "token",
56429
+ "hasDynamicHelp": false,
56430
+ "multiple": false,
56431
+ "type": "option"
56432
+ },
56433
+ "workspace": {
56434
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
56435
+ "name": "workspace",
56436
+ "hasDynamicHelp": false,
56437
+ "multiple": false,
56438
+ "type": "option"
56439
+ },
56440
+ "profile": {
56441
+ "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`.",
56442
+ "name": "profile",
56443
+ "hasDynamicHelp": false,
56444
+ "multiple": false,
56445
+ "type": "option"
56446
+ },
56447
+ "raw": {
56448
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
56449
+ "name": "raw",
56450
+ "allowNo": false,
56451
+ "type": "boolean"
56452
+ },
56453
+ "json": {
56454
+ "description": "Output as JSON",
56455
+ "name": "json",
56456
+ "allowNo": false,
56457
+ "type": "boolean"
56458
+ },
56459
+ "yes": {
56460
+ "char": "y",
56461
+ "description": "Skip the confirmation prompt",
56462
+ "name": "yes",
56463
+ "allowNo": false,
56464
+ "type": "boolean"
56465
+ },
56466
+ "keep-initiatives": {
56467
+ "description": "Leave the agent's open initiatives as they are (by default they are closed)",
56468
+ "name": "keep-initiatives",
56469
+ "allowNo": false,
56470
+ "type": "boolean"
56471
+ },
56472
+ "reason": {
56473
+ "description": "Why (recorded on the change)",
56474
+ "name": "reason",
56475
+ "hasDynamicHelp": false,
56476
+ "multiple": false,
56477
+ "type": "option"
56478
+ }
56479
+ },
56480
+ "hasDynamicHelp": false,
56481
+ "hiddenAliases": [],
56482
+ "id": "initiatives:worker:deactivate",
56483
+ "pluginAlias": "@skrr-ai/cli",
56484
+ "pluginName": "@skrr-ai/cli",
56485
+ "pluginType": "core",
56486
+ "strict": true,
56487
+ "enableJsonFlag": false,
56488
+ "autonomousCredentialPolicy": "delegated",
56489
+ "resolveSpaceFlag": true,
56490
+ "isESM": false,
56491
+ "relativePath": [
56492
+ "dist",
56493
+ "commands",
56494
+ "initiatives",
56495
+ "worker",
56496
+ "deactivate.js"
56497
+ ]
56498
+ },
56019
56499
  "instruction-blocks:create": {
56020
56500
  "aliases": [],
56021
56501
  "args": {},
@@ -61287,6 +61767,15 @@
61287
61767
  "name": "yes",
61288
61768
  "allowNo": false,
61289
61769
  "type": "boolean"
61770
+ },
61771
+ "json": {
61772
+ "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.",
61773
+ "exclusive": [
61774
+ "all-devices"
61775
+ ],
61776
+ "name": "json",
61777
+ "allowNo": false,
61778
+ "type": "boolean"
61290
61779
  }
61291
61780
  },
61292
61781
  "hasDynamicHelp": false,
@@ -105867,7 +106356,7 @@
105867
106356
  "type": "option"
105868
106357
  },
105869
106358
  "config": {
105870
- "description": "Trigger config as JSON",
106359
+ "description": "Trigger config as JSON. schedule: {\"intervalMs\":60000} (milliseconds, 60000 to 2678400000) plus an optional \"input\" object; webhook takes none.",
105871
106360
  "name": "config",
105872
106361
  "hasDynamicHelp": false,
105873
106362
  "multiple": false,
@@ -136400,7 +136889,7 @@
136400
136889
  "type": "boolean"
136401
136890
  },
136402
136891
  "mode": {
136403
- "description": "Execution mode",
136892
+ "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).",
136404
136893
  "name": "mode",
136405
136894
  "hasDynamicHelp": false,
136406
136895
  "multiple": false,
@@ -136550,14 +137039,14 @@
136550
137039
  "type": "option"
136551
137040
  },
136552
137041
  "working-hours": {
136553
- "description": "Execution workingHours JSON object",
137042
+ "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.",
136554
137043
  "name": "working-hours",
136555
137044
  "hasDynamicHelp": false,
136556
137045
  "multiple": false,
136557
137046
  "type": "option"
136558
137047
  },
136559
137048
  "quiet-hours": {
136560
- "description": "Execution quietHours JSON object",
137049
+ "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.",
136561
137050
  "name": "quiet-hours",
136562
137051
  "hasDynamicHelp": false,
136563
137052
  "multiple": false,
@@ -136592,7 +137081,7 @@
136592
137081
  "type": "option"
136593
137082
  },
136594
137083
  "timezone": {
136595
- "description": "IANA timezone for schedule triggers",
137084
+ "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.",
136596
137085
  "name": "timezone",
136597
137086
  "hasDynamicHelp": false,
136598
137087
  "multiple": false,
@@ -137393,6 +137882,7 @@
137393
137882
  "examples": [
137394
137883
  "<%= config.bin %> triggers list",
137395
137884
  "<%= config.bin %> triggers list --scope agent --kind schedule --enabled",
137885
+ "<%= config.bin %> triggers list --ref agentId=<agent-id> --json",
137396
137886
  "<%= config.bin %> triggers list --ref-entity agent:<agent-id> --json"
137397
137887
  ],
137398
137888
  "flags": {
@@ -137477,6 +137967,13 @@
137477
137967
  "allowNo": true,
137478
137968
  "type": "boolean"
137479
137969
  },
137970
+ "ref": {
137971
+ "description": "Filter by a scope ref as key=value (repeatable), the same spelling `triggers create` takes, for example --ref agentId=abc",
137972
+ "name": "ref",
137973
+ "hasDynamicHelp": false,
137974
+ "multiple": true,
137975
+ "type": "option"
137976
+ },
137480
137977
  "ref-entity": {
137481
137978
  "description": "Filter by ref entity as kind:id (repeatable), e.g. --ref-entity agent:abc",
137482
137979
  "name": "ref-entity",
@@ -138255,7 +138752,7 @@
138255
138752
  "type": "boolean"
138256
138753
  },
138257
138754
  "mode": {
138258
- "description": "Execution mode",
138755
+ "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).",
138259
138756
  "name": "mode",
138260
138757
  "hasDynamicHelp": false,
138261
138758
  "multiple": false,
@@ -138345,14 +138842,14 @@
138345
138842
  "type": "option"
138346
138843
  },
138347
138844
  "working-hours": {
138348
- "description": "Execution workingHours JSON object",
138845
+ "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.",
138349
138846
  "name": "working-hours",
138350
138847
  "hasDynamicHelp": false,
138351
138848
  "multiple": false,
138352
138849
  "type": "option"
138353
138850
  },
138354
138851
  "quiet-hours": {
138355
- "description": "Execution quietHours JSON object",
138852
+ "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.",
138356
138853
  "name": "quiet-hours",
138357
138854
  "hasDynamicHelp": false,
138358
138855
  "multiple": false,
@@ -138387,7 +138884,7 @@
138387
138884
  "type": "option"
138388
138885
  },
138389
138886
  "timezone": {
138390
- "description": "IANA timezone for schedule triggers",
138887
+ "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.",
138391
138888
  "name": "timezone",
138392
138889
  "hasDynamicHelp": false,
138393
138890
  "multiple": false,
@@ -143862,5 +144359,5 @@
143862
144359
  ]
143863
144360
  }
143864
144361
  },
143865
- "version": "0.1.143"
144362
+ "version": "0.1.145"
143866
144363
  }