@skrr-ai/cli 0.1.192 → 0.1.194
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/base-command.js +18 -0
- package/dist/commands/agents/always-on/recovery-review.js +2 -1
- package/dist/commands/duties/action-proposals/decide.js +29 -5
- package/dist/commands/duties/endpoints/health.d.ts +1 -7
- package/dist/commands/duties/endpoints/health.js +13 -21
- package/dist/commands/duties/pack/bind.d.ts +2 -1
- package/dist/commands/duties/pack/bind.js +36 -12
- package/dist/commands/duties/pack/plan.d.ts +2 -1
- package/dist/commands/duties/pack/plan.js +35 -14
- package/dist/commands/duties/pack/preflight.js +4 -4
- package/dist/commands/duties/preflight.d.ts +1 -1
- package/dist/commands/duties/preflight.js +3 -0
- package/dist/commands/duties/reports.d.ts +1 -0
- package/dist/commands/duties/reports.js +52 -15
- package/dist/commands/harnesses/evaluations/fixed-tool.js +5 -2
- package/dist/commands/machines/hosted/list.js +13 -1
- package/dist/commands/machines/hosted/status.js +3 -0
- package/dist/commands/tasks/start.js +3 -2
- package/dist/lib/duties.d.ts +9 -0
- package/dist/lib/duties.js +19 -4
- package/dist/lib/duty-endpoints.d.ts +1 -1
- package/dist/lib/duty-endpoints.js +1 -1
- package/dist/lib/duty-event-wakes.js +3 -2
- package/dist/lib/duty-loop-status.js +2 -2
- package/dist/lib/hosted-machines.d.ts +21 -0
- package/dist/lib/hosted-machines.js +112 -1
- package/dist/lib/task-admission.d.ts +1 -0
- package/dist/lib/task-admission.js +16 -1
- package/dist/lib/task-preflight.js +3 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessPermissionControls.d.ts +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessPermissionControls.js +7 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/harnessPermissionControls.d.ts +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/harnessPermissionControls.js +9 -1
- package/dist/node_modules/@skrr-ai/data-provider/index.js +10029 -9990
- package/oclif.manifest.json +59 -20
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -43089,11 +43089,9 @@
|
|
|
43089
43089
|
"required": true
|
|
43090
43090
|
}
|
|
43091
43091
|
},
|
|
43092
|
-
"description": "
|
|
43092
|
+
"description": "Probe a Duty endpoint’s current readiness",
|
|
43093
43093
|
"examples": [
|
|
43094
|
-
"<%= config.bin %> duties endpoints health ep_abc123"
|
|
43095
|
-
"<%= config.bin %> duties endpoints health ep_abc123 --healthy",
|
|
43096
|
-
"<%= config.bin %> duties endpoints health ep_abc123 --unhealthy --detail \"webhook 410\""
|
|
43094
|
+
"<%= config.bin %> duties endpoints health ep_abc123"
|
|
43097
43095
|
],
|
|
43098
43096
|
"flags": {
|
|
43099
43097
|
"bare": {
|
|
@@ -43136,25 +43134,19 @@
|
|
|
43136
43134
|
"type": "boolean"
|
|
43137
43135
|
},
|
|
43138
43136
|
"healthy": {
|
|
43139
|
-
"
|
|
43140
|
-
"exclusive": [
|
|
43141
|
-
"unhealthy"
|
|
43142
|
-
],
|
|
43137
|
+
"hidden": true,
|
|
43143
43138
|
"name": "healthy",
|
|
43144
43139
|
"allowNo": false,
|
|
43145
43140
|
"type": "boolean"
|
|
43146
43141
|
},
|
|
43147
43142
|
"unhealthy": {
|
|
43148
|
-
"
|
|
43149
|
-
"exclusive": [
|
|
43150
|
-
"healthy"
|
|
43151
|
-
],
|
|
43143
|
+
"hidden": true,
|
|
43152
43144
|
"name": "unhealthy",
|
|
43153
43145
|
"allowNo": false,
|
|
43154
43146
|
"type": "boolean"
|
|
43155
43147
|
},
|
|
43156
43148
|
"detail": {
|
|
43157
|
-
"
|
|
43149
|
+
"hidden": true,
|
|
43158
43150
|
"name": "detail",
|
|
43159
43151
|
"hasDynamicHelp": false,
|
|
43160
43152
|
"multiple": false,
|
|
@@ -45712,6 +45704,7 @@
|
|
|
45712
45704
|
"args": {},
|
|
45713
45705
|
"description": "Create the Duty a Pack describes (idempotent)",
|
|
45714
45706
|
"examples": [
|
|
45707
|
+
"<%= config.bin %> duties pack bind --from-json ./pack.json --plan-digest <digest>",
|
|
45715
45708
|
"<%= config.bin %> duties pack bind --pack pr_ci_guardian --agent <agent-id> --repository owner/repo --required-check \"Pipeline Summary\" --installation-id 155117997",
|
|
45716
45709
|
"<%= config.bin %> duties pack bind --pack <pack-id> --space <space-id>",
|
|
45717
45710
|
"<%= config.bin %> duties pack bind --pack goal_advance --space <space-id> --goal <goal-id> --interval-minutes 1440"
|
|
@@ -45756,10 +45749,28 @@
|
|
|
45756
45749
|
"allowNo": false,
|
|
45757
45750
|
"type": "boolean"
|
|
45758
45751
|
},
|
|
45752
|
+
"from-json": {
|
|
45753
|
+
"description": "Pack request from a JSON file or - for stdin. Include packId, agentId or spaceId, and fields from pack list.",
|
|
45754
|
+
"exclusive": [
|
|
45755
|
+
"pack",
|
|
45756
|
+
"pack-version",
|
|
45757
|
+
"agent",
|
|
45758
|
+
"space",
|
|
45759
|
+
"goal",
|
|
45760
|
+
"interval-minutes",
|
|
45761
|
+
"repository",
|
|
45762
|
+
"required-check",
|
|
45763
|
+
"installation-id",
|
|
45764
|
+
"grant"
|
|
45765
|
+
],
|
|
45766
|
+
"name": "from-json",
|
|
45767
|
+
"hasDynamicHelp": false,
|
|
45768
|
+
"multiple": false,
|
|
45769
|
+
"type": "option"
|
|
45770
|
+
},
|
|
45759
45771
|
"pack": {
|
|
45760
45772
|
"description": "Pack id (see `skrr duties pack list`)",
|
|
45761
45773
|
"name": "pack",
|
|
45762
|
-
"required": true,
|
|
45763
45774
|
"hasDynamicHelp": false,
|
|
45764
45775
|
"multiple": false,
|
|
45765
45776
|
"type": "option"
|
|
@@ -45929,6 +45940,7 @@
|
|
|
45929
45940
|
"args": {},
|
|
45930
45941
|
"description": "Draft the Duty a Pack would create, without creating it (read-only)",
|
|
45931
45942
|
"examples": [
|
|
45943
|
+
"<%= config.bin %> duties pack plan --from-json ./pack.json",
|
|
45932
45944
|
"<%= config.bin %> duties pack plan --pack pr_ci_guardian --agent <agent-id> --repository owner/repo --required-check \"Pipeline Summary\"",
|
|
45933
45945
|
"<%= config.bin %> duties pack plan --pack <pack-id> --space <space-id>",
|
|
45934
45946
|
"<%= config.bin %> duties pack plan --pack goal_advance --space <space-id> --goal <goal-id>"
|
|
@@ -45973,10 +45985,27 @@
|
|
|
45973
45985
|
"allowNo": false,
|
|
45974
45986
|
"type": "boolean"
|
|
45975
45987
|
},
|
|
45988
|
+
"from-json": {
|
|
45989
|
+
"description": "Pack request from a JSON file or - for stdin. Include packId, agentId or spaceId, and fields from pack list.",
|
|
45990
|
+
"exclusive": [
|
|
45991
|
+
"pack",
|
|
45992
|
+
"pack-version",
|
|
45993
|
+
"agent",
|
|
45994
|
+
"space",
|
|
45995
|
+
"goal",
|
|
45996
|
+
"interval-minutes",
|
|
45997
|
+
"repository",
|
|
45998
|
+
"required-check",
|
|
45999
|
+
"installation-id"
|
|
46000
|
+
],
|
|
46001
|
+
"name": "from-json",
|
|
46002
|
+
"hasDynamicHelp": false,
|
|
46003
|
+
"multiple": false,
|
|
46004
|
+
"type": "option"
|
|
46005
|
+
},
|
|
45976
46006
|
"pack": {
|
|
45977
46007
|
"description": "Pack id (see `skrr duties pack list`)",
|
|
45978
46008
|
"name": "pack",
|
|
45979
|
-
"required": true,
|
|
45980
46009
|
"hasDynamicHelp": false,
|
|
45981
46010
|
"multiple": false,
|
|
45982
46011
|
"type": "option"
|
|
@@ -46067,7 +46096,7 @@
|
|
|
46067
46096
|
"required": true
|
|
46068
46097
|
}
|
|
46069
46098
|
},
|
|
46070
|
-
"description": "Re-run a bound Pack's adapter readiness probe and refresh its stored preflight verdict",
|
|
46099
|
+
"description": "Re-run a bound Pack's adapter readiness probe and refresh its stored preflight verdict. A blocked verdict exits 1 in both formats.",
|
|
46071
46100
|
"examples": [
|
|
46072
46101
|
"<%= config.bin %> duties pack preflight <duty-id>",
|
|
46073
46102
|
"<%= config.bin %> duties pack preflight <duty-id> --json"
|
|
@@ -47485,7 +47514,7 @@
|
|
|
47485
47514
|
"description": "Manage a duty's report targets",
|
|
47486
47515
|
"examples": [
|
|
47487
47516
|
"<%= config.bin %> duties reports <duty-id>",
|
|
47488
|
-
"<%= config.bin %> duties reports <duty-id> --add slack_channel --
|
|
47517
|
+
"<%= config.bin %> duties reports <duty-id> --add slack_channel --endpoint <endpoint-id> --on material_change",
|
|
47489
47518
|
"<%= config.bin %> duties reports <duty-id> --add main --on completion",
|
|
47490
47519
|
"<%= config.bin %> duties reports <duty-id> --add user_notify --target <user-id> --review owner",
|
|
47491
47520
|
"<%= config.bin %> duties reports <duty-id> --remove slack_channel:C0123456"
|
|
@@ -47531,7 +47560,7 @@
|
|
|
47531
47560
|
"type": "boolean"
|
|
47532
47561
|
},
|
|
47533
47562
|
"add": {
|
|
47534
|
-
"description": "Destination to add",
|
|
47563
|
+
"description": "Destination to add. In-app routine progress appears in Work Feed.",
|
|
47535
47564
|
"name": "add",
|
|
47536
47565
|
"hasDynamicHelp": false,
|
|
47537
47566
|
"multiple": false,
|
|
@@ -47548,12 +47577,22 @@
|
|
|
47548
47577
|
"type": "option"
|
|
47549
47578
|
},
|
|
47550
47579
|
"target": {
|
|
47551
|
-
"description": "
|
|
47580
|
+
"description": "User ID for user_notify. A registered channel supplies its own target.",
|
|
47552
47581
|
"name": "target",
|
|
47553
47582
|
"hasDynamicHelp": false,
|
|
47554
47583
|
"multiple": false,
|
|
47555
47584
|
"type": "option"
|
|
47556
47585
|
},
|
|
47586
|
+
"endpoint": {
|
|
47587
|
+
"dependsOn": [
|
|
47588
|
+
"add"
|
|
47589
|
+
],
|
|
47590
|
+
"description": "Registered delivery endpoint ID. Find it with duties endpoints list --agent <agent-id>.",
|
|
47591
|
+
"name": "endpoint",
|
|
47592
|
+
"hasDynamicHelp": false,
|
|
47593
|
+
"multiple": false,
|
|
47594
|
+
"type": "option"
|
|
47595
|
+
},
|
|
47557
47596
|
"review": {
|
|
47558
47597
|
"description": "Hold the exact text for approver approval before it is sent to this target (owner)",
|
|
47559
47598
|
"name": "review",
|
|
@@ -151494,5 +151533,5 @@
|
|
|
151494
151533
|
]
|
|
151495
151534
|
}
|
|
151496
151535
|
},
|
|
151497
|
-
"version": "0.1.
|
|
151536
|
+
"version": "0.1.194"
|
|
151498
151537
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skrr-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.194",
|
|
4
4
|
"description": "Command-line interface for skrr",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "skrr",
|
|
@@ -707,5 +707,5 @@
|
|
|
707
707
|
"engines": {
|
|
708
708
|
"node": ">=20.0.0"
|
|
709
709
|
},
|
|
710
|
-
"gitHead": "
|
|
710
|
+
"gitHead": "cd1410dd7fe1a306916bb23d04936a67acf96c4f"
|
|
711
711
|
}
|