@skrr-ai/cli 0.1.143 → 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 (88) hide show
  1. package/README.md +8 -0
  2. package/dist/commands/agenda/trigger/create.js +4 -2
  3. package/dist/commands/agenda/trigger/list.js +7 -7
  4. package/dist/commands/agent/message/approve.d.ts +17 -0
  5. package/dist/commands/agent/message/approve.js +72 -0
  6. package/dist/commands/agent/message/decline.d.ts +17 -0
  7. package/dist/commands/agent/message/decline.js +72 -0
  8. package/dist/commands/agent/message/pending.d.ts +18 -0
  9. package/dist/commands/agent/message/pending.js +79 -0
  10. package/dist/commands/agents/delete.d.ts +45 -0
  11. package/dist/commands/agents/delete.js +139 -2
  12. package/dist/commands/agents/plan-day.d.ts +39 -7
  13. package/dist/commands/agents/plan-day.js +254 -65
  14. package/dist/commands/agents/proactive-audit.d.ts +22 -0
  15. package/dist/commands/agents/proactive-audit.js +86 -0
  16. package/dist/commands/agents/schedule-overview.d.ts +7 -0
  17. package/dist/commands/agents/schedule-overview.js +43 -5
  18. package/dist/commands/agents/schedule-trace.js +30 -19
  19. package/dist/commands/agents/spawn.d.ts +42 -0
  20. package/dist/commands/agents/spawn.js +91 -4
  21. package/dist/commands/agents/todos/list.d.ts +5 -0
  22. package/dist/commands/agents/todos/list.js +19 -5
  23. package/dist/commands/agents/triggers/create.js +1 -1
  24. package/dist/commands/agents/triggers/update.js +1 -1
  25. package/dist/commands/commitments/create.js +13 -3
  26. package/dist/commands/commitments/preflight.js +14 -3
  27. package/dist/commands/initiatives/worker/deactivate.d.ts +23 -0
  28. package/dist/commands/initiatives/worker/deactivate.js +78 -0
  29. package/dist/commands/login.js +8 -2
  30. package/dist/commands/logout.d.ts +20 -0
  31. package/dist/commands/logout.js +110 -5
  32. package/dist/commands/memory/maintain.js +16 -2
  33. package/dist/commands/spaces/delete.js +6 -1
  34. package/dist/commands/spaces/workflows/archive.js +6 -1
  35. package/dist/commands/spaces/workflows/publish.js +3 -1
  36. package/dist/commands/spaces/workflows/run.d.ts +1 -0
  37. package/dist/commands/spaces/workflows/run.js +17 -1
  38. package/dist/commands/spaces/workflows/triggers/create.js +3 -1
  39. package/dist/commands/tasks/workflow-context.js +3 -1
  40. package/dist/commands/triggers/capabilities.js +17 -1
  41. package/dist/commands/triggers/create.d.ts +2 -0
  42. package/dist/commands/triggers/create.js +23 -7
  43. package/dist/commands/triggers/fire-detail.js +12 -3
  44. package/dist/commands/triggers/list.d.ts +1 -0
  45. package/dist/commands/triggers/list.js +13 -1
  46. package/dist/commands/triggers/preflight.js +18 -0
  47. package/dist/commands/triggers/prune.js +9 -5
  48. package/dist/commands/triggers/update.js +13 -4
  49. package/dist/generated/agent-guides.json +35 -35
  50. package/dist/lib/agent-proactive-baseline.js +7 -1
  51. package/dist/lib/commitments.d.ts +16 -9
  52. package/dist/lib/commitments.js +65 -4
  53. package/dist/lib/daemon-setup.js +9 -3
  54. package/dist/lib/daemonBroker.d.ts +7 -0
  55. package/dist/lib/daemonBroker.js +5 -0
  56. package/dist/lib/daemonHandoff.d.ts +2 -0
  57. package/dist/lib/daemonHandoff.js +10 -1
  58. package/dist/lib/daemonIslandProfile.d.ts +19 -0
  59. package/dist/lib/daemonIslandProfile.js +41 -0
  60. package/dist/lib/format.d.ts +32 -0
  61. package/dist/lib/format.js +105 -1
  62. package/dist/lib/initiatives-worker.d.ts +25 -0
  63. package/dist/lib/initiatives-worker.js +13 -0
  64. package/dist/lib/login.d.ts +7 -0
  65. package/dist/lib/login.js +5 -0
  66. package/dist/lib/proactive-audit.d.ts +52 -0
  67. package/dist/lib/proactive-audit.js +67 -0
  68. package/dist/lib/proactiveApi.d.ts +9 -0
  69. package/dist/lib/refresh.d.ts +20 -6
  70. package/dist/lib/refresh.js +27 -9
  71. package/dist/lib/roles.d.ts +1 -1
  72. package/dist/lib/schedule.d.ts +189 -9
  73. package/dist/lib/schedule.js +283 -22
  74. package/dist/lib/triggers.d.ts +134 -3
  75. package/dist/lib/triggers.js +370 -17
  76. package/dist/lib/workflow-node-control.js +8 -0
  77. package/dist/lib/workflow-run-view.js +9 -0
  78. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +1 -1
  79. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +2 -0
  80. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.d.ts +22 -0
  81. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +15 -4
  82. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +1 -1
  83. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +1 -1
  84. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.d.ts +22 -0
  85. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.js +22 -4
  86. package/dist/node_modules/@skrr-ai/data-provider/index.js +4779 -4741
  87. package/oclif.manifest.json +494 -26
  88. 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,6 +12687,99 @@
12433
12687
  "update.js"
12434
12688
  ]
12435
12689
  },
12690
+ "agents:proactive-audit": {
12691
+ "aliases": [],
12692
+ "args": {
12693
+ "agent": {
12694
+ "description": "Agent ID",
12695
+ "name": "agent",
12696
+ "required": true
12697
+ }
12698
+ },
12699
+ "description": "Who changed an agent's proactivity boundary (Compass, worker, Smart Schedule, goal planner), and the task/goal watcher's effective switches",
12700
+ "examples": [
12701
+ "<%= config.bin %> agents proactive-audit <agent-id>",
12702
+ "<%= config.bin %> agents proactive-audit <agent-id> --domain smart_schedule --limit 20 --json"
12703
+ ],
12704
+ "flags": {
12705
+ "bare": {
12706
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
12707
+ "name": "bare",
12708
+ "allowNo": false,
12709
+ "type": "boolean"
12710
+ },
12711
+ "token": {
12712
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
12713
+ "name": "token",
12714
+ "hasDynamicHelp": false,
12715
+ "multiple": false,
12716
+ "type": "option"
12717
+ },
12718
+ "workspace": {
12719
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
12720
+ "name": "workspace",
12721
+ "hasDynamicHelp": false,
12722
+ "multiple": false,
12723
+ "type": "option"
12724
+ },
12725
+ "profile": {
12726
+ "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`.",
12727
+ "name": "profile",
12728
+ "hasDynamicHelp": false,
12729
+ "multiple": false,
12730
+ "type": "option"
12731
+ },
12732
+ "raw": {
12733
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
12734
+ "name": "raw",
12735
+ "allowNo": false,
12736
+ "type": "boolean"
12737
+ },
12738
+ "json": {
12739
+ "description": "Output as JSON",
12740
+ "name": "json",
12741
+ "allowNo": false,
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"
12763
+ }
12764
+ },
12765
+ "hasDynamicHelp": false,
12766
+ "hiddenAliases": [],
12767
+ "id": "agents:proactive-audit",
12768
+ "pluginAlias": "@skrr-ai/cli",
12769
+ "pluginName": "@skrr-ai/cli",
12770
+ "pluginType": "core",
12771
+ "strict": true,
12772
+ "enableJsonFlag": false,
12773
+ "autonomousCredentialPolicy": "delegated",
12774
+ "resolveSpaceFlag": true,
12775
+ "isESM": false,
12776
+ "relativePath": [
12777
+ "dist",
12778
+ "commands",
12779
+ "agents",
12780
+ "proactive-audit.js"
12781
+ ]
12782
+ },
12436
12783
  "agents:pull": {
12437
12784
  "aliases": [],
12438
12785
  "args": {
@@ -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,
@@ -56016,6 +56373,100 @@
56016
56373
  "list.js"
56017
56374
  ]
56018
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
+ },
56019
56470
  "instruction-blocks:create": {
56020
56471
  "aliases": [],
56021
56472
  "args": {},
@@ -61287,6 +61738,15 @@
61287
61738
  "name": "yes",
61288
61739
  "allowNo": false,
61289
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"
61290
61750
  }
61291
61751
  },
61292
61752
  "hasDynamicHelp": false,
@@ -105867,7 +106327,7 @@
105867
106327
  "type": "option"
105868
106328
  },
105869
106329
  "config": {
105870
- "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.",
105871
106331
  "name": "config",
105872
106332
  "hasDynamicHelp": false,
105873
106333
  "multiple": false,
@@ -136400,7 +136860,7 @@
136400
136860
  "type": "boolean"
136401
136861
  },
136402
136862
  "mode": {
136403
- "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).",
136404
136864
  "name": "mode",
136405
136865
  "hasDynamicHelp": false,
136406
136866
  "multiple": false,
@@ -136550,14 +137010,14 @@
136550
137010
  "type": "option"
136551
137011
  },
136552
137012
  "working-hours": {
136553
- "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.",
136554
137014
  "name": "working-hours",
136555
137015
  "hasDynamicHelp": false,
136556
137016
  "multiple": false,
136557
137017
  "type": "option"
136558
137018
  },
136559
137019
  "quiet-hours": {
136560
- "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.",
136561
137021
  "name": "quiet-hours",
136562
137022
  "hasDynamicHelp": false,
136563
137023
  "multiple": false,
@@ -136592,7 +137052,7 @@
136592
137052
  "type": "option"
136593
137053
  },
136594
137054
  "timezone": {
136595
- "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.",
136596
137056
  "name": "timezone",
136597
137057
  "hasDynamicHelp": false,
136598
137058
  "multiple": false,
@@ -137393,6 +137853,7 @@
137393
137853
  "examples": [
137394
137854
  "<%= config.bin %> triggers list",
137395
137855
  "<%= config.bin %> triggers list --scope agent --kind schedule --enabled",
137856
+ "<%= config.bin %> triggers list --ref agentId=<agent-id> --json",
137396
137857
  "<%= config.bin %> triggers list --ref-entity agent:<agent-id> --json"
137397
137858
  ],
137398
137859
  "flags": {
@@ -137477,6 +137938,13 @@
137477
137938
  "allowNo": true,
137478
137939
  "type": "boolean"
137479
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
+ },
137480
137948
  "ref-entity": {
137481
137949
  "description": "Filter by ref entity as kind:id (repeatable), e.g. --ref-entity agent:abc",
137482
137950
  "name": "ref-entity",
@@ -138255,7 +138723,7 @@
138255
138723
  "type": "boolean"
138256
138724
  },
138257
138725
  "mode": {
138258
- "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).",
138259
138727
  "name": "mode",
138260
138728
  "hasDynamicHelp": false,
138261
138729
  "multiple": false,
@@ -138345,14 +138813,14 @@
138345
138813
  "type": "option"
138346
138814
  },
138347
138815
  "working-hours": {
138348
- "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.",
138349
138817
  "name": "working-hours",
138350
138818
  "hasDynamicHelp": false,
138351
138819
  "multiple": false,
138352
138820
  "type": "option"
138353
138821
  },
138354
138822
  "quiet-hours": {
138355
- "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.",
138356
138824
  "name": "quiet-hours",
138357
138825
  "hasDynamicHelp": false,
138358
138826
  "multiple": false,
@@ -138387,7 +138855,7 @@
138387
138855
  "type": "option"
138388
138856
  },
138389
138857
  "timezone": {
138390
- "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.",
138391
138859
  "name": "timezone",
138392
138860
  "hasDynamicHelp": false,
138393
138861
  "multiple": false,
@@ -143862,5 +144330,5 @@
143862
144330
  ]
143863
144331
  }
143864
144332
  },
143865
- "version": "0.1.143"
144333
+ "version": "0.1.144"
143866
144334
  }