@skrr-ai/cli 0.1.130 → 0.1.132
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.
- package/dist/commands/agent/message/send.d.ts +2 -0
- package/dist/commands/agent/message/send.js +48 -24
- package/dist/commands/agents/plan-day.d.ts +4 -4
- package/dist/commands/agents/plan-day.js +36 -10
- package/dist/commands/agents/schedule-overview.d.ts +14 -0
- package/dist/commands/agents/schedule-overview.js +11 -1
- package/dist/commands/agents/schedule-trace.js +14 -5
- package/dist/commands/agents/todos/list.d.ts +1 -0
- package/dist/commands/agents/todos/list.js +4 -2
- package/dist/commands/commitments/create.js +13 -0
- package/dist/commands/daemon/install.js +9 -0
- package/dist/commands/harnesses/prune.d.ts +1 -0
- package/dist/commands/harnesses/prune.js +24 -4
- package/dist/generated/agent-guides.json +19 -19
- package/dist/lib/exec-runtime-binary.js +3 -2
- package/dist/lib/harnesses.d.ts +4 -1
- package/dist/lib/harnesses.js +3 -0
- package/dist/lib/schedule.d.ts +16 -1
- package/dist/lib/schedule.js +18 -3
- package/dist/node_modules/@skrr-ai/data-provider/index.js +823 -813
- package/oclif.manifest.json +42 -18
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -12225,6 +12225,15 @@
|
|
|
12225
12225
|
"multiple": false,
|
|
12226
12226
|
"type": "option"
|
|
12227
12227
|
},
|
|
12228
|
+
"approve-next-run": {
|
|
12229
|
+
"dependsOn": [
|
|
12230
|
+
"approve"
|
|
12231
|
+
],
|
|
12232
|
+
"description": "With --approve, schedule the suggested next planning run",
|
|
12233
|
+
"name": "approve-next-run",
|
|
12234
|
+
"allowNo": false,
|
|
12235
|
+
"type": "boolean"
|
|
12236
|
+
},
|
|
12228
12237
|
"save-hours": {
|
|
12229
12238
|
"description": "On --approve, persist the working-hours window as the agent default",
|
|
12230
12239
|
"name": "save-hours",
|
|
@@ -15105,7 +15114,7 @@
|
|
|
15105
15114
|
"type": "boolean"
|
|
15106
15115
|
},
|
|
15107
15116
|
"date": {
|
|
15108
|
-
"description": "Plan date (YYYY-MM-DD). Defaults to today.",
|
|
15117
|
+
"description": "Plan date (YYYY-MM-DD). Defaults to today in the plan timezone.",
|
|
15109
15118
|
"name": "date",
|
|
15110
15119
|
"hasDynamicHelp": false,
|
|
15111
15120
|
"multiple": false,
|
|
@@ -16065,11 +16074,18 @@
|
|
|
16065
16074
|
"type": "boolean"
|
|
16066
16075
|
},
|
|
16067
16076
|
"date": {
|
|
16068
|
-
"description": "Day to list (YYYY-MM-DD
|
|
16077
|
+
"description": "Day to list (YYYY-MM-DD). Defaults to today in the selected timezone.",
|
|
16069
16078
|
"name": "date",
|
|
16070
16079
|
"hasDynamicHelp": false,
|
|
16071
16080
|
"multiple": false,
|
|
16072
16081
|
"type": "option"
|
|
16082
|
+
},
|
|
16083
|
+
"timezone": {
|
|
16084
|
+
"description": "IANA timezone for the day (defaults to UTC)",
|
|
16085
|
+
"name": "timezone",
|
|
16086
|
+
"hasDynamicHelp": false,
|
|
16087
|
+
"multiple": false,
|
|
16088
|
+
"type": "option"
|
|
16073
16089
|
}
|
|
16074
16090
|
},
|
|
16075
16091
|
"hasDynamicHelp": false,
|
|
@@ -41481,7 +41497,7 @@
|
|
|
41481
41497
|
"daemons:byok"
|
|
41482
41498
|
],
|
|
41483
41499
|
"args": {},
|
|
41484
|
-
"description": "Flags are forwarded to `skrrd byok` unchanged, so they are not listed here — run `skrrd byok --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
41500
|
+
"description": "Flags are forwarded to `skrrd byok` unchanged, so they are not listed here — run `skrrd byok --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).",
|
|
41485
41501
|
"examples": [
|
|
41486
41502
|
"<%= config.bin %> daemon byok status",
|
|
41487
41503
|
"<%= config.bin %> daemon byok status --json",
|
|
@@ -41511,7 +41527,7 @@
|
|
|
41511
41527
|
"daemons:config"
|
|
41512
41528
|
],
|
|
41513
41529
|
"args": {},
|
|
41514
|
-
"description": "Flags are forwarded to `skrrd config` unchanged, so they are not listed here — run `skrrd config --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
41530
|
+
"description": "Flags are forwarded to `skrrd config` unchanged, so they are not listed here — run `skrrd config --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).",
|
|
41515
41531
|
"examples": [
|
|
41516
41532
|
"<%= config.bin %> daemon config --mode bash=manual",
|
|
41517
41533
|
"<%= config.bin %> daemon config --mode bash=auto --mode browser=auto",
|
|
@@ -41540,7 +41556,7 @@
|
|
|
41540
41556
|
"daemons:diagnostics"
|
|
41541
41557
|
],
|
|
41542
41558
|
"args": {},
|
|
41543
|
-
"description": "Flags are forwarded to `skrrd diagnostics` unchanged, so they are not listed here — run `skrrd diagnostics --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
41559
|
+
"description": "Flags are forwarded to `skrrd diagnostics` unchanged, so they are not listed here — run `skrrd diagnostics --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).",
|
|
41544
41560
|
"examples": [
|
|
41545
41561
|
"<%= config.bin %> daemon diagnostics",
|
|
41546
41562
|
"<%= config.bin %> daemon diagnostics --lines 1000",
|
|
@@ -41570,7 +41586,7 @@
|
|
|
41570
41586
|
"daemons:install"
|
|
41571
41587
|
],
|
|
41572
41588
|
"args": {},
|
|
41573
|
-
"description": "If the background service is not on this computer yet, this command first fetches the signed release. After it is installed, flags are forwarded to `skrrd install` unchanged; run `skrrd install --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`. `--server` and `--profile` are filled in from your CLI session unless you pass them.",
|
|
41589
|
+
"description": "If the background service is not on this computer yet, this command first fetches the signed release. After it is installed, flags are forwarded to `skrrd install` unchanged; run `skrrd install --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). `--server` and `--profile` are filled in from your CLI session unless you pass them.",
|
|
41574
41590
|
"flags": {},
|
|
41575
41591
|
"hasDynamicHelp": false,
|
|
41576
41592
|
"hiddenAliases": [],
|
|
@@ -41594,7 +41610,7 @@
|
|
|
41594
41610
|
"daemons:login"
|
|
41595
41611
|
],
|
|
41596
41612
|
"args": {},
|
|
41597
|
-
"description": "Flags are forwarded to `skrrd login` unchanged, so they are not listed here — run `skrrd login --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`. `--server` and `--profile` are filled in from your CLI session unless you pass them.\nUse --computer-use to request explicit Computer Use permission in browser consent. This does not enable the runtime or grant machine access.",
|
|
41613
|
+
"description": "Flags are forwarded to `skrrd login` unchanged, so they are not listed here — run `skrrd login --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). `--server` and `--profile` are filled in from your CLI session unless you pass them.\nUse --computer-use to request explicit Computer Use permission in browser consent. This does not enable the runtime or grant machine access.",
|
|
41598
41614
|
"flags": {},
|
|
41599
41615
|
"hasDynamicHelp": false,
|
|
41600
41616
|
"hiddenAliases": [],
|
|
@@ -42078,7 +42094,7 @@
|
|
|
42078
42094
|
"daemons:recover-offline-queue"
|
|
42079
42095
|
],
|
|
42080
42096
|
"args": {},
|
|
42081
|
-
"description": "Flags are forwarded to `skrrd recover-offline-queue` unchanged, so they are not listed here — run `skrrd recover-offline-queue --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42097
|
+
"description": "Flags are forwarded to `skrrd recover-offline-queue` unchanged, so they are not listed here — run `skrrd recover-offline-queue --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).",
|
|
42082
42098
|
"flags": {},
|
|
42083
42099
|
"hasDynamicHelp": false,
|
|
42084
42100
|
"hiddenAliases": [],
|
|
@@ -42102,7 +42118,7 @@
|
|
|
42102
42118
|
"daemons:restart"
|
|
42103
42119
|
],
|
|
42104
42120
|
"args": {},
|
|
42105
|
-
"description": "Flags are forwarded to `skrrd restart` unchanged, so they are not listed here — run `skrrd restart --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42121
|
+
"description": "Flags are forwarded to `skrrd restart` unchanged, so they are not listed here — run `skrrd restart --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).",
|
|
42106
42122
|
"examples": [
|
|
42107
42123
|
"<%= config.bin %> daemon restart",
|
|
42108
42124
|
"<%= config.bin %> daemon restart --profile work"
|
|
@@ -42130,7 +42146,7 @@
|
|
|
42130
42146
|
"daemons:start"
|
|
42131
42147
|
],
|
|
42132
42148
|
"args": {},
|
|
42133
|
-
"description": "Flags are forwarded to `skrrd start` unchanged, so they are not listed here — run `skrrd start --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42149
|
+
"description": "Flags are forwarded to `skrrd start` unchanged, so they are not listed here — run `skrrd start --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).",
|
|
42134
42150
|
"flags": {},
|
|
42135
42151
|
"hasDynamicHelp": false,
|
|
42136
42152
|
"hiddenAliases": [],
|
|
@@ -42154,7 +42170,7 @@
|
|
|
42154
42170
|
"daemons:status"
|
|
42155
42171
|
],
|
|
42156
42172
|
"args": {},
|
|
42157
|
-
"description": "Flags are forwarded to `skrrd status` unchanged, so they are not listed here — run `skrrd status --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42173
|
+
"description": "Flags are forwarded to `skrrd status` unchanged, so they are not listed here — run `skrrd status --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).",
|
|
42158
42174
|
"flags": {},
|
|
42159
42175
|
"hasDynamicHelp": false,
|
|
42160
42176
|
"hiddenAliases": [],
|
|
@@ -42178,7 +42194,7 @@
|
|
|
42178
42194
|
"daemons:stop"
|
|
42179
42195
|
],
|
|
42180
42196
|
"args": {},
|
|
42181
|
-
"description": "Flags are forwarded to `skrrd stop` unchanged, so they are not listed here — run `skrrd stop --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42197
|
+
"description": "Flags are forwarded to `skrrd stop` unchanged, so they are not listed here — run `skrrd stop --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).",
|
|
42182
42198
|
"flags": {},
|
|
42183
42199
|
"hasDynamicHelp": false,
|
|
42184
42200
|
"hiddenAliases": [],
|
|
@@ -42202,7 +42218,7 @@
|
|
|
42202
42218
|
"daemons:uninstall"
|
|
42203
42219
|
],
|
|
42204
42220
|
"args": {},
|
|
42205
|
-
"description": "Flags are forwarded to `skrrd uninstall` unchanged, so they are not listed here — run `skrrd uninstall --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42221
|
+
"description": "Flags are forwarded to `skrrd uninstall` unchanged, so they are not listed here — run `skrrd uninstall --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).",
|
|
42206
42222
|
"flags": {},
|
|
42207
42223
|
"hasDynamicHelp": false,
|
|
42208
42224
|
"hiddenAliases": [],
|
|
@@ -42226,7 +42242,7 @@
|
|
|
42226
42242
|
"daemons:unlock"
|
|
42227
42243
|
],
|
|
42228
42244
|
"args": {},
|
|
42229
|
-
"description": "Flags are forwarded to `skrrd unlock` unchanged, so they are not listed here — run `skrrd unlock --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42245
|
+
"description": "Flags are forwarded to `skrrd unlock` unchanged, so they are not listed here — run `skrrd unlock --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).",
|
|
42230
42246
|
"examples": [
|
|
42231
42247
|
"<%= config.bin %> daemon unlock"
|
|
42232
42248
|
],
|
|
@@ -42253,7 +42269,7 @@
|
|
|
42253
42269
|
"daemons:update"
|
|
42254
42270
|
],
|
|
42255
42271
|
"args": {},
|
|
42256
|
-
"description": "Flags are forwarded to `skrrd update` unchanged, so they are not listed here — run `skrrd update --help` for this verb's own flags, or `skrrd --help` for global ones such as `--profile`.",
|
|
42272
|
+
"description": "Flags are forwarded to `skrrd update` unchanged, so they are not listed here — run `skrrd update --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).",
|
|
42257
42273
|
"examples": [
|
|
42258
42274
|
"<%= config.bin %> daemon update",
|
|
42259
42275
|
"<%= config.bin %> daemon update --check",
|
|
@@ -54487,12 +54503,14 @@
|
|
|
54487
54503
|
"harnesses:prune": {
|
|
54488
54504
|
"aliases": [],
|
|
54489
54505
|
"args": {},
|
|
54490
|
-
"description": "A machine registers a fresh row per provider each time its daemon identity changes (a profile, a working directory, a service versus a terminal), and the old rows stay. This removes the ones that are provably stale and shows every one it keeps, with the reason.\n\nIt is a DRY RUN until you pass --yes. A row is removed only if ALL of these hold: it is yours; it is a daemon you run yourself (never a hosted, dedicated or cloud machine); it is not online and has not been seen within --older-than; a later row of the same provider on the same machine replaced it AND that replacement is online now; and nothing depends on it - no agent (yours or anyone's) is pinned to it, no workspace has it lent, it is not your default, and you did not give it a name.\n\nAn agent pinned to a replaced row keeps running only because the platform adopts the live row beside it, and that adoption starts from the old row; remove the row and the pin is gone. So a pinned row is KEPT, with the agents named. Move the pin (`agents attach-harness`) and run this again.\n\nAt most --limit rows are removed per run, oldest first; the rest are counted and the next run takes them. Running it again when nothing qualifies removes nothing. A daemon that is still running re-registers on its next connection, so removing a row never stops a machine.",
|
|
54506
|
+
"description": "A machine registers a fresh row per provider each time its daemon identity changes (a profile, a working directory, a service versus a terminal), and the old rows stay. This removes the ones that are provably stale and shows every one it keeps, with the reason.\n\nIt is a DRY RUN until you pass --yes. A row is removed only if ALL of these hold: it is yours; it is a daemon you run yourself (never a hosted, dedicated or cloud machine); it is not online and has not been seen within --older-than; a later row of the same provider on the same machine replaced it AND that replacement is online now; and nothing depends on it - no agent (yours or anyone's) is pinned to it, no workspace has it lent, it is not your default, and you did not give it a name.\n\nAn agent pinned to a replaced row keeps running only because the platform adopts the live row beside it, and that adoption starts from the old row; remove the row and the pin is gone. So a pinned row is KEPT, with the agents named. Move the pin (`agents attach-harness`) and run this again.\n\nAt most --limit rows are removed per run, oldest first; the rest are counted and the next run takes them. Running it again when nothing qualifies removes nothing. A daemon that is still running re-registers on its next connection, so removing a row never stops a machine.\n\nA hosted, dedicated or cloud machine belongs to its lease, so by default it is never touched. --include-gone-leases also considers the rows of such a machine whose lease is GONE (archived, terminating, terminated, failed or lost): no compute runs on it again, so the row can never come back online. A row with no lease, a lease that can come back (stopped, ready, active) and a row with usage recorded against it are kept, and so is everything the rules above keep. Use --older-than to leave recent ones, for example 30d.",
|
|
54491
54507
|
"examples": [
|
|
54492
54508
|
"<%= config.bin %> harnesses prune",
|
|
54493
54509
|
"<%= config.bin %> harnesses prune --yes",
|
|
54494
54510
|
"<%= config.bin %> harnesses prune --yes --limit 20",
|
|
54495
|
-
"<%= config.bin %> harnesses prune --older-than 7d --json"
|
|
54511
|
+
"<%= config.bin %> harnesses prune --older-than 7d --json",
|
|
54512
|
+
"<%= config.bin %> harnesses prune --include-gone-leases --older-than 30d",
|
|
54513
|
+
"<%= config.bin %> harnesses prune --include-gone-leases --older-than 30d --yes --limit 200"
|
|
54496
54514
|
],
|
|
54497
54515
|
"flags": {
|
|
54498
54516
|
"bare": {
|
|
@@ -54548,6 +54566,12 @@
|
|
|
54548
54566
|
"multiple": false,
|
|
54549
54567
|
"type": "option"
|
|
54550
54568
|
},
|
|
54569
|
+
"include-gone-leases": {
|
|
54570
|
+
"description": "Also consider the rows of hosted, dedicated or cloud machines whose lease is gone. Off by default.",
|
|
54571
|
+
"name": "include-gone-leases",
|
|
54572
|
+
"allowNo": false,
|
|
54573
|
+
"type": "boolean"
|
|
54574
|
+
},
|
|
54551
54575
|
"json": {
|
|
54552
54576
|
"description": "Output as JSON",
|
|
54553
54577
|
"name": "json",
|
|
@@ -143162,5 +143186,5 @@
|
|
|
143162
143186
|
]
|
|
143163
143187
|
}
|
|
143164
143188
|
},
|
|
143165
|
-
"version": "0.1.
|
|
143189
|
+
"version": "0.1.132"
|
|
143166
143190
|
}
|