@skrr-ai/cli 0.1.215 → 0.1.217
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/no-reply.d.ts +4 -0
- package/dist/commands/agent/message/no-reply.js +5 -1
- package/dist/commands/agents/always-on/recovery-review.d.ts +12 -0
- package/dist/commands/agents/always-on/recovery-review.js +52 -2
- package/dist/commands/agents/permissions/list.d.ts +12 -0
- package/dist/commands/agents/permissions/list.js +42 -0
- package/dist/commands/agents/permissions/remove.d.ts +15 -0
- package/dist/commands/agents/permissions/remove.js +68 -0
- package/dist/commands/dm/work.js +2 -0
- package/dist/commands/duties/action-proposal.js +7 -1
- package/dist/commands/duties/action-proposals.d.ts +9 -0
- package/dist/commands/duties/action-proposals.js +30 -12
- package/dist/commands/duties/check-now.d.ts +7 -0
- package/dist/commands/duties/check-now.js +36 -1
- package/dist/commands/duties/create.d.ts +15 -0
- package/dist/commands/duties/create.js +93 -5
- package/dist/commands/duties/pause.js +20 -2
- package/dist/commands/duties/trigger-status.js +6 -1
- package/dist/commands/duties/update.js +22 -7
- package/dist/commands/spaces/auto-executor/preview.d.ts +7 -0
- package/dist/commands/spaces/auto-executor/preview.js +21 -2
- package/dist/commands/tasks/chat/index.d.ts +11 -0
- package/dist/commands/tasks/chat/index.js +27 -0
- package/dist/commands/tasks/input/answer.d.ts +12 -0
- package/dist/commands/tasks/input/answer.js +59 -5
- package/dist/commands/tasks/operations/show.js +5 -6
- package/dist/commands/tasks/result/show.js +2 -4
- package/dist/commands/tasks/retry-receipt.js +1 -3
- package/dist/commands/wiki/write.js +7 -2
- package/dist/generated/agent-guides.json +24 -24
- package/dist/lib/compasses.d.ts +5 -0
- package/dist/lib/compasses.js +6 -1
- package/dist/lib/duties.d.ts +29 -0
- package/dist/lib/duties.js +122 -16
- package/dist/lib/permission-rules.d.ts +21 -0
- package/dist/lib/permission-rules.js +75 -0
- package/dist/lib/space-proposals.js +8 -1
- package/dist/lib/space-write-policy.js +18 -2
- package/dist/lib/task-extras.d.ts +19 -0
- package/dist/lib/task-extras.js +13 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/ownerChatDutyHarnesses.d.ts +43 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/ownerChatDutyHarnesses.js +36 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/ownerChatDutyHarnesses.d.ts +43 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/ownerChatDutyHarnesses.js +48 -0
- package/dist/node_modules/@skrr-ai/auth-core/package.json +10 -0
- package/dist/node_modules/@skrr-ai/data-provider/index.js +12658 -12041
- package/oclif.manifest.json +201 -4
- package/package.json +5 -2
package/oclif.manifest.json
CHANGED
|
@@ -3873,7 +3873,7 @@
|
|
|
3873
3873
|
"agent:message:no-reply": {
|
|
3874
3874
|
"aliases": [],
|
|
3875
3875
|
"args": {},
|
|
3876
|
-
"description": "Declare that this
|
|
3876
|
+
"description": "Declare that this turn needs no message: in an interactive turn, none in Main Chat (recorded on the turn; Main Chat does not act on it yet); in a scheduled wake (heartbeat, check-in, watch), that the wake stays silent (recorded on its run, replacing the HEARTBEAT_SILENT word). Only inside a daemon session, for its own running turn",
|
|
3877
3877
|
"examples": [
|
|
3878
3878
|
"<%= config.bin %> agent message no-reply"
|
|
3879
3879
|
],
|
|
@@ -15914,6 +15914,173 @@
|
|
|
15914
15914
|
"overview.js"
|
|
15915
15915
|
]
|
|
15916
15916
|
},
|
|
15917
|
+
"agents:permissions:list": {
|
|
15918
|
+
"aliases": [],
|
|
15919
|
+
"args": {
|
|
15920
|
+
"agentId": {
|
|
15921
|
+
"name": "agentId",
|
|
15922
|
+
"required": true
|
|
15923
|
+
}
|
|
15924
|
+
},
|
|
15925
|
+
"description": "List the \"Always allow\" rules you granted this agent: what each covers, where it applies, where you granted it from, and how often it has run. Calls a rule covers run without asking you. Only your own rules are listed. Rules are granted on a permission card, never from the CLI.",
|
|
15926
|
+
"examples": [
|
|
15927
|
+
"<%= config.bin %> agents permissions list <agent-id>",
|
|
15928
|
+
"<%= config.bin %> agents permissions list <agent-id> --json"
|
|
15929
|
+
],
|
|
15930
|
+
"flags": {
|
|
15931
|
+
"bare": {
|
|
15932
|
+
"description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
|
|
15933
|
+
"name": "bare",
|
|
15934
|
+
"allowNo": false,
|
|
15935
|
+
"type": "boolean"
|
|
15936
|
+
},
|
|
15937
|
+
"token": {
|
|
15938
|
+
"description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
|
|
15939
|
+
"name": "token",
|
|
15940
|
+
"hasDynamicHelp": false,
|
|
15941
|
+
"multiple": false,
|
|
15942
|
+
"type": "option"
|
|
15943
|
+
},
|
|
15944
|
+
"workspace": {
|
|
15945
|
+
"description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
|
|
15946
|
+
"name": "workspace",
|
|
15947
|
+
"hasDynamicHelp": false,
|
|
15948
|
+
"multiple": false,
|
|
15949
|
+
"type": "option"
|
|
15950
|
+
},
|
|
15951
|
+
"profile": {
|
|
15952
|
+
"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`.",
|
|
15953
|
+
"name": "profile",
|
|
15954
|
+
"hasDynamicHelp": false,
|
|
15955
|
+
"multiple": false,
|
|
15956
|
+
"type": "option"
|
|
15957
|
+
},
|
|
15958
|
+
"raw": {
|
|
15959
|
+
"description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
|
|
15960
|
+
"name": "raw",
|
|
15961
|
+
"allowNo": false,
|
|
15962
|
+
"type": "boolean"
|
|
15963
|
+
},
|
|
15964
|
+
"json": {
|
|
15965
|
+
"description": "Output JSON",
|
|
15966
|
+
"name": "json",
|
|
15967
|
+
"allowNo": false,
|
|
15968
|
+
"type": "boolean"
|
|
15969
|
+
}
|
|
15970
|
+
},
|
|
15971
|
+
"hasDynamicHelp": false,
|
|
15972
|
+
"hiddenAliases": [],
|
|
15973
|
+
"id": "agents:permissions:list",
|
|
15974
|
+
"pluginAlias": "@skrr-ai/cli",
|
|
15975
|
+
"pluginName": "@skrr-ai/cli",
|
|
15976
|
+
"pluginType": "core",
|
|
15977
|
+
"strict": true,
|
|
15978
|
+
"enableJsonFlag": false,
|
|
15979
|
+
"autonomousCredentialPolicy": "delegated",
|
|
15980
|
+
"autonomousCredentialFallback": "none",
|
|
15981
|
+
"resolveSpaceFlag": true,
|
|
15982
|
+
"isESM": false,
|
|
15983
|
+
"relativePath": [
|
|
15984
|
+
"dist",
|
|
15985
|
+
"commands",
|
|
15986
|
+
"agents",
|
|
15987
|
+
"permissions",
|
|
15988
|
+
"list.js"
|
|
15989
|
+
]
|
|
15990
|
+
},
|
|
15991
|
+
"agents:permissions:remove": {
|
|
15992
|
+
"aliases": [],
|
|
15993
|
+
"args": {
|
|
15994
|
+
"agentId": {
|
|
15995
|
+
"name": "agentId",
|
|
15996
|
+
"required": true
|
|
15997
|
+
},
|
|
15998
|
+
"ruleId": {
|
|
15999
|
+
"description": "The rule to remove (from `agents permissions list`)",
|
|
16000
|
+
"name": "ruleId",
|
|
16001
|
+
"required": false
|
|
16002
|
+
}
|
|
16003
|
+
},
|
|
16004
|
+
"description": "Remove one of your \"Always allow\" rules for this agent, or all of them with --all. The next call a removed rule covered asks you again. This only takes permission away: rules are granted on a permission card, never from the CLI.",
|
|
16005
|
+
"examples": [
|
|
16006
|
+
"<%= config.bin %> agents permissions remove <agent-id> <rule-id>",
|
|
16007
|
+
"<%= config.bin %> agents permissions remove <agent-id> --all",
|
|
16008
|
+
"<%= config.bin %> agents permissions remove <agent-id> --all --yes"
|
|
16009
|
+
],
|
|
16010
|
+
"flags": {
|
|
16011
|
+
"bare": {
|
|
16012
|
+
"description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
|
|
16013
|
+
"name": "bare",
|
|
16014
|
+
"allowNo": false,
|
|
16015
|
+
"type": "boolean"
|
|
16016
|
+
},
|
|
16017
|
+
"token": {
|
|
16018
|
+
"description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
|
|
16019
|
+
"name": "token",
|
|
16020
|
+
"hasDynamicHelp": false,
|
|
16021
|
+
"multiple": false,
|
|
16022
|
+
"type": "option"
|
|
16023
|
+
},
|
|
16024
|
+
"workspace": {
|
|
16025
|
+
"description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
|
|
16026
|
+
"name": "workspace",
|
|
16027
|
+
"hasDynamicHelp": false,
|
|
16028
|
+
"multiple": false,
|
|
16029
|
+
"type": "option"
|
|
16030
|
+
},
|
|
16031
|
+
"profile": {
|
|
16032
|
+
"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`.",
|
|
16033
|
+
"name": "profile",
|
|
16034
|
+
"hasDynamicHelp": false,
|
|
16035
|
+
"multiple": false,
|
|
16036
|
+
"type": "option"
|
|
16037
|
+
},
|
|
16038
|
+
"raw": {
|
|
16039
|
+
"description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
|
|
16040
|
+
"name": "raw",
|
|
16041
|
+
"allowNo": false,
|
|
16042
|
+
"type": "boolean"
|
|
16043
|
+
},
|
|
16044
|
+
"all": {
|
|
16045
|
+
"description": "Remove every rule you granted this agent: always ask",
|
|
16046
|
+
"name": "all",
|
|
16047
|
+
"allowNo": false,
|
|
16048
|
+
"type": "boolean"
|
|
16049
|
+
},
|
|
16050
|
+
"yes": {
|
|
16051
|
+
"char": "y",
|
|
16052
|
+
"description": "Skip the confirmation for --all",
|
|
16053
|
+
"name": "yes",
|
|
16054
|
+
"allowNo": false,
|
|
16055
|
+
"type": "boolean"
|
|
16056
|
+
},
|
|
16057
|
+
"json": {
|
|
16058
|
+
"description": "Output JSON",
|
|
16059
|
+
"name": "json",
|
|
16060
|
+
"allowNo": false,
|
|
16061
|
+
"type": "boolean"
|
|
16062
|
+
}
|
|
16063
|
+
},
|
|
16064
|
+
"hasDynamicHelp": false,
|
|
16065
|
+
"hiddenAliases": [],
|
|
16066
|
+
"id": "agents:permissions:remove",
|
|
16067
|
+
"pluginAlias": "@skrr-ai/cli",
|
|
16068
|
+
"pluginName": "@skrr-ai/cli",
|
|
16069
|
+
"pluginType": "core",
|
|
16070
|
+
"strict": true,
|
|
16071
|
+
"enableJsonFlag": false,
|
|
16072
|
+
"autonomousCredentialPolicy": "delegated",
|
|
16073
|
+
"autonomousCredentialFallback": "none",
|
|
16074
|
+
"resolveSpaceFlag": true,
|
|
16075
|
+
"isESM": false,
|
|
16076
|
+
"relativePath": [
|
|
16077
|
+
"dist",
|
|
16078
|
+
"commands",
|
|
16079
|
+
"agents",
|
|
16080
|
+
"permissions",
|
|
16081
|
+
"remove.js"
|
|
16082
|
+
]
|
|
16083
|
+
},
|
|
15917
16084
|
"agents:pin": {
|
|
15918
16085
|
"aliases": [],
|
|
15919
16086
|
"args": {
|
|
@@ -127578,7 +127745,10 @@
|
|
|
127578
127745
|
"<%= config.bin %> tasks chat task_abc123 --exchanges",
|
|
127579
127746
|
"<%= config.bin %> tasks chat task_abc123 --sources",
|
|
127580
127747
|
"<%= config.bin %> tasks chat task_abc123 --runs",
|
|
127581
|
-
"<%= config.bin %> tasks chat task_abc123 --history"
|
|
127748
|
+
"<%= config.bin %> tasks chat task_abc123 --history",
|
|
127749
|
+
"<%= config.bin %> tasks chat task_abc123 --launch-input",
|
|
127750
|
+
"<%= config.bin %> tasks chat task_abc123 --run-input run_abc123",
|
|
127751
|
+
"<%= config.bin %> tasks chat task_abc123 --handled-output run_abc123"
|
|
127582
127752
|
],
|
|
127583
127753
|
"flags": {
|
|
127584
127754
|
"bare": {
|
|
@@ -127650,6 +127820,26 @@
|
|
|
127650
127820
|
"allowNo": false,
|
|
127651
127821
|
"type": "boolean"
|
|
127652
127822
|
},
|
|
127823
|
+
"launch-input": {
|
|
127824
|
+
"description": "The brief the launching Agent chat handed this task (null when none)",
|
|
127825
|
+
"name": "launch-input",
|
|
127826
|
+
"allowNo": false,
|
|
127827
|
+
"type": "boolean"
|
|
127828
|
+
},
|
|
127829
|
+
"run-input": {
|
|
127830
|
+
"description": "What the execution run with this id was given: specification, brief, messages, files and history",
|
|
127831
|
+
"name": "run-input",
|
|
127832
|
+
"hasDynamicHelp": false,
|
|
127833
|
+
"multiple": false,
|
|
127834
|
+
"type": "option"
|
|
127835
|
+
},
|
|
127836
|
+
"handled-output": {
|
|
127837
|
+
"description": "The reply and Result id the handled Agent round with this run id produced",
|
|
127838
|
+
"name": "handled-output",
|
|
127839
|
+
"hasDynamicHelp": false,
|
|
127840
|
+
"multiple": false,
|
|
127841
|
+
"type": "option"
|
|
127842
|
+
},
|
|
127653
127843
|
"limit": {
|
|
127654
127844
|
"description": "Max rows",
|
|
127655
127845
|
"name": "limit",
|
|
@@ -134007,6 +134197,13 @@
|
|
|
134007
134197
|
"multiple": true,
|
|
134008
134198
|
"type": "option"
|
|
134009
134199
|
},
|
|
134200
|
+
"select": {
|
|
134201
|
+
"description": "Choose an option by label: questionId=Label, or just Label for a one-question request (repeatable). An approval is answered this way, e.g. --select \"Allow once\" or --select Deny",
|
|
134202
|
+
"name": "select",
|
|
134203
|
+
"hasDynamicHelp": false,
|
|
134204
|
+
"multiple": true,
|
|
134205
|
+
"type": "option"
|
|
134206
|
+
},
|
|
134010
134207
|
"command-id": {
|
|
134011
134208
|
"description": "Stable idempotency key for retries",
|
|
134012
134209
|
"name": "command-id",
|
|
@@ -154171,7 +154368,7 @@
|
|
|
154171
154368
|
"type": "boolean"
|
|
154172
154369
|
},
|
|
154173
154370
|
"note": {
|
|
154174
|
-
"description": "Why you are making the change. When the Space holds the write for approval it becomes a suggestion on the page, and this is its first comment; otherwise it is not stored",
|
|
154371
|
+
"description": "Why you are making the change. When the Space holds the write for approval it becomes a suggestion (on the page, or a proposal to create it), and this is its first comment; otherwise it is not stored",
|
|
154175
154372
|
"name": "note",
|
|
154176
154373
|
"hasDynamicHelp": false,
|
|
154177
154374
|
"multiple": false,
|
|
@@ -155908,5 +156105,5 @@
|
|
|
155908
156105
|
]
|
|
155909
156106
|
}
|
|
155910
156107
|
},
|
|
155911
|
-
"version": "0.1.
|
|
156108
|
+
"version": "0.1.217"
|
|
155912
156109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skrr-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.217",
|
|
4
4
|
"description": "Command-line interface for skrr",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "skrr",
|
|
@@ -192,6 +192,9 @@
|
|
|
192
192
|
"agents:endpoint": {
|
|
193
193
|
"description": "Your agent as a hosted MCP endpoint: show its URL and payer, switch it on for a Store copy, and mint an agents:invoke key"
|
|
194
194
|
},
|
|
195
|
+
"agents:permissions": {
|
|
196
|
+
"description": "See and remove the \"Always allow\" rules you granted an agent"
|
|
197
|
+
},
|
|
195
198
|
"agents:tone": {
|
|
196
199
|
"description": "Read and set how an agent WRITES (its tone; audio timbre is `voiceId`)"
|
|
197
200
|
},
|
|
@@ -723,5 +726,5 @@
|
|
|
723
726
|
"engines": {
|
|
724
727
|
"node": ">=20.0.0"
|
|
725
728
|
},
|
|
726
|
-
"gitHead": "
|
|
729
|
+
"gitHead": "a0107be6f8e7022f5c5659e2f35aa9733d8a4c3e"
|
|
727
730
|
}
|