@datarails-ai/dr-cli 1.6.150 → 1.6.152
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/README.md +12 -3
- package/dist/cli.js +11611 -8471
- package/dist/scopes-map.json +242 -1
- package/dist/skills/dr-cli/reference/safety.md +9 -2
- package/package.json +1 -1
package/dist/scopes-map.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"cliVersion": "1.6.
|
|
3
|
+
"cliVersion": "1.6.152",
|
|
4
4
|
"_contract": "Resolve a command path through `aliases` (canonical prefix + alias segment -> canonical path) before any lookup. A path listed in `pendingCommands`, or whose first segment is a key of `pending`, is UNDECIDED, not unrestricted: fail closed or skip it, and never read a path's absence from `commands` as 'no requirement'. An entry carrying `denied` is UNAVAILABLE to any AGENT-SCOPED credential — one whose `scopes` claim carries at least one `resource:action` entry; a claim that is absent, empty, capability-only or wholly unparseable is UNRESTRICTED, and this mark does not apply to it — whatever else that entry says: it is not a ceiling and it is not always-available, its `denied.reason` says why and `denied.until` names the ticket that lifts it, and the absence of `requires` on it must NEVER be read as 'no requirement'. Only an entry in `commands` with an empty `requires` means always-available.",
|
|
5
5
|
"commands": {
|
|
6
6
|
"login": {
|
|
@@ -2177,6 +2177,36 @@
|
|
|
2177
2177
|
"until": "DR-56164"
|
|
2178
2178
|
}
|
|
2179
2179
|
},
|
|
2180
|
+
"connectors aws create": {
|
|
2181
|
+
"denied": {
|
|
2182
|
+
"reason": "The connectors control plane runs no dr-auth-sdk guard and checks no scope, so the `integrations` ceiling this command declares would be enforced by nobody. Closed to scoped credentials until that control plane adopts the SDK.",
|
|
2183
|
+
"until": "DR-56164"
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
2186
|
+
"connectors aws list": {
|
|
2187
|
+
"denied": {
|
|
2188
|
+
"reason": "The connectors control plane runs no dr-auth-sdk guard and checks no scope, so the `integrations` ceiling this command declares would be enforced by nobody. Closed to scoped credentials until that control plane adopts the SDK.",
|
|
2189
|
+
"until": "DR-56164"
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
"connectors aws get": {
|
|
2193
|
+
"denied": {
|
|
2194
|
+
"reason": "The connectors control plane runs no dr-auth-sdk guard and checks no scope, so the `integrations` ceiling this command declares would be enforced by nobody. Closed to scoped credentials until that control plane adopts the SDK.",
|
|
2195
|
+
"until": "DR-56164"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
"connectors aws enable": {
|
|
2199
|
+
"denied": {
|
|
2200
|
+
"reason": "The connectors control plane runs no dr-auth-sdk guard and checks no scope, so the `integrations` ceiling this command declares would be enforced by nobody. Closed to scoped credentials until that control plane adopts the SDK.",
|
|
2201
|
+
"until": "DR-56164"
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
"connectors aws disable": {
|
|
2205
|
+
"denied": {
|
|
2206
|
+
"reason": "The connectors control plane runs no dr-auth-sdk guard and checks no scope, so the `integrations` ceiling this command declares would be enforced by nobody. Closed to scoped credentials until that control plane adopts the SDK.",
|
|
2207
|
+
"until": "DR-56164"
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2180
2210
|
"filebox list": {
|
|
2181
2211
|
"requires": [
|
|
2182
2212
|
{
|
|
@@ -4611,6 +4641,14 @@
|
|
|
4611
4641
|
}
|
|
4612
4642
|
]
|
|
4613
4643
|
},
|
|
4644
|
+
"calendars audit list": {
|
|
4645
|
+
"requires": [
|
|
4646
|
+
{
|
|
4647
|
+
"resource": "workflow",
|
|
4648
|
+
"action": "read"
|
|
4649
|
+
}
|
|
4650
|
+
]
|
|
4651
|
+
},
|
|
4614
4652
|
"app-space whoami": {
|
|
4615
4653
|
"requires": [
|
|
4616
4654
|
{
|
|
@@ -4723,6 +4761,209 @@
|
|
|
4723
4761
|
"action": "write"
|
|
4724
4762
|
}
|
|
4725
4763
|
]
|
|
4764
|
+
},
|
|
4765
|
+
"agents list": {
|
|
4766
|
+
"requires": [
|
|
4767
|
+
{
|
|
4768
|
+
"resource": "managed-agents",
|
|
4769
|
+
"action": "read"
|
|
4770
|
+
}
|
|
4771
|
+
]
|
|
4772
|
+
},
|
|
4773
|
+
"agents get": {
|
|
4774
|
+
"requires": [
|
|
4775
|
+
{
|
|
4776
|
+
"resource": "managed-agents",
|
|
4777
|
+
"action": "read"
|
|
4778
|
+
}
|
|
4779
|
+
]
|
|
4780
|
+
},
|
|
4781
|
+
"agents versions": {
|
|
4782
|
+
"requires": [
|
|
4783
|
+
{
|
|
4784
|
+
"resource": "managed-agents",
|
|
4785
|
+
"action": "read"
|
|
4786
|
+
}
|
|
4787
|
+
]
|
|
4788
|
+
},
|
|
4789
|
+
"agents test-link": {
|
|
4790
|
+
"requires": []
|
|
4791
|
+
},
|
|
4792
|
+
"agents refresh": {
|
|
4793
|
+
"requires": [
|
|
4794
|
+
{
|
|
4795
|
+
"resource": "managed-agents",
|
|
4796
|
+
"action": "write"
|
|
4797
|
+
}
|
|
4798
|
+
]
|
|
4799
|
+
},
|
|
4800
|
+
"agents pull": {
|
|
4801
|
+
"requires": [
|
|
4802
|
+
{
|
|
4803
|
+
"resource": "managed-agents",
|
|
4804
|
+
"action": "read"
|
|
4805
|
+
}
|
|
4806
|
+
]
|
|
4807
|
+
},
|
|
4808
|
+
"agents update": {
|
|
4809
|
+
"requires": [
|
|
4810
|
+
{
|
|
4811
|
+
"resource": "managed-agents",
|
|
4812
|
+
"action": "write"
|
|
4813
|
+
}
|
|
4814
|
+
]
|
|
4815
|
+
},
|
|
4816
|
+
"agents create": {
|
|
4817
|
+
"requires": [
|
|
4818
|
+
{
|
|
4819
|
+
"resource": "managed-agents",
|
|
4820
|
+
"action": "write"
|
|
4821
|
+
}
|
|
4822
|
+
]
|
|
4823
|
+
},
|
|
4824
|
+
"agents mcp-servers": {
|
|
4825
|
+
"requires": [
|
|
4826
|
+
{
|
|
4827
|
+
"resource": "managed-agents",
|
|
4828
|
+
"action": "read"
|
|
4829
|
+
}
|
|
4830
|
+
]
|
|
4831
|
+
},
|
|
4832
|
+
"agents cli-scopes": {
|
|
4833
|
+
"requires": [
|
|
4834
|
+
{
|
|
4835
|
+
"resource": "managed-agents",
|
|
4836
|
+
"action": "read"
|
|
4837
|
+
}
|
|
4838
|
+
]
|
|
4839
|
+
},
|
|
4840
|
+
"agents scope-registry": {
|
|
4841
|
+
"requires": [
|
|
4842
|
+
{
|
|
4843
|
+
"resource": "managed-agents",
|
|
4844
|
+
"action": "read"
|
|
4845
|
+
}
|
|
4846
|
+
]
|
|
4847
|
+
},
|
|
4848
|
+
"agents set-listed": {
|
|
4849
|
+
"requires": [
|
|
4850
|
+
{
|
|
4851
|
+
"resource": "managed-agents",
|
|
4852
|
+
"action": "destructive"
|
|
4853
|
+
}
|
|
4854
|
+
]
|
|
4855
|
+
},
|
|
4856
|
+
"agents set-global": {
|
|
4857
|
+
"requires": [
|
|
4858
|
+
{
|
|
4859
|
+
"resource": "managed-agents",
|
|
4860
|
+
"action": "destructive"
|
|
4861
|
+
}
|
|
4862
|
+
]
|
|
4863
|
+
},
|
|
4864
|
+
"agents set-visibility": {
|
|
4865
|
+
"requires": [
|
|
4866
|
+
{
|
|
4867
|
+
"resource": "managed-agents",
|
|
4868
|
+
"action": "destructive"
|
|
4869
|
+
}
|
|
4870
|
+
]
|
|
4871
|
+
},
|
|
4872
|
+
"agents archive": {
|
|
4873
|
+
"requires": [
|
|
4874
|
+
{
|
|
4875
|
+
"resource": "managed-agents",
|
|
4876
|
+
"action": "destructive"
|
|
4877
|
+
}
|
|
4878
|
+
]
|
|
4879
|
+
},
|
|
4880
|
+
"agents catalog": {
|
|
4881
|
+
"requires": [
|
|
4882
|
+
{
|
|
4883
|
+
"resource": "managed-agents",
|
|
4884
|
+
"action": "read"
|
|
4885
|
+
}
|
|
4886
|
+
]
|
|
4887
|
+
},
|
|
4888
|
+
"agents models": {
|
|
4889
|
+
"requires": [
|
|
4890
|
+
{
|
|
4891
|
+
"resource": "managed-agents",
|
|
4892
|
+
"action": "read"
|
|
4893
|
+
}
|
|
4894
|
+
]
|
|
4895
|
+
},
|
|
4896
|
+
"agents system-entities": {
|
|
4897
|
+
"requires": [
|
|
4898
|
+
{
|
|
4899
|
+
"resource": "managed-agents",
|
|
4900
|
+
"action": "read"
|
|
4901
|
+
}
|
|
4902
|
+
]
|
|
4903
|
+
},
|
|
4904
|
+
"agents skills list": {
|
|
4905
|
+
"requires": [
|
|
4906
|
+
{
|
|
4907
|
+
"resource": "managed-agents",
|
|
4908
|
+
"action": "read"
|
|
4909
|
+
}
|
|
4910
|
+
]
|
|
4911
|
+
},
|
|
4912
|
+
"agents skills get": {
|
|
4913
|
+
"requires": [
|
|
4914
|
+
{
|
|
4915
|
+
"resource": "managed-agents",
|
|
4916
|
+
"action": "read"
|
|
4917
|
+
}
|
|
4918
|
+
]
|
|
4919
|
+
},
|
|
4920
|
+
"agents skills versions": {
|
|
4921
|
+
"requires": [
|
|
4922
|
+
{
|
|
4923
|
+
"resource": "managed-agents",
|
|
4924
|
+
"action": "read"
|
|
4925
|
+
}
|
|
4926
|
+
]
|
|
4927
|
+
},
|
|
4928
|
+
"agents skills bundle": {
|
|
4929
|
+
"requires": [
|
|
4930
|
+
{
|
|
4931
|
+
"resource": "managed-agents",
|
|
4932
|
+
"action": "read"
|
|
4933
|
+
}
|
|
4934
|
+
]
|
|
4935
|
+
},
|
|
4936
|
+
"agents skills pull": {
|
|
4937
|
+
"requires": [
|
|
4938
|
+
{
|
|
4939
|
+
"resource": "managed-agents",
|
|
4940
|
+
"action": "read"
|
|
4941
|
+
}
|
|
4942
|
+
]
|
|
4943
|
+
},
|
|
4944
|
+
"agents skills create": {
|
|
4945
|
+
"requires": [
|
|
4946
|
+
{
|
|
4947
|
+
"resource": "managed-agents",
|
|
4948
|
+
"action": "write"
|
|
4949
|
+
}
|
|
4950
|
+
]
|
|
4951
|
+
},
|
|
4952
|
+
"agents skills publish": {
|
|
4953
|
+
"requires": [
|
|
4954
|
+
{
|
|
4955
|
+
"resource": "managed-agents",
|
|
4956
|
+
"action": "write"
|
|
4957
|
+
}
|
|
4958
|
+
]
|
|
4959
|
+
},
|
|
4960
|
+
"agents skills delete": {
|
|
4961
|
+
"requires": [
|
|
4962
|
+
{
|
|
4963
|
+
"resource": "managed-agents",
|
|
4964
|
+
"action": "destructive"
|
|
4965
|
+
}
|
|
4966
|
+
]
|
|
4726
4967
|
}
|
|
4727
4968
|
},
|
|
4728
4969
|
"aliases": {
|
|
@@ -51,13 +51,19 @@ Reads never need confirmation. Gated **writes** fall into two tiers (full table:
|
|
|
51
51
|
Still relay the plan and get the user's in-chat "yes" before the execute step,
|
|
52
52
|
but it will not pop a dialog.
|
|
53
53
|
- **Non-prod (`DEV`, `DEV-1`, `TEST`, `TEST-1`…`TEST-7`):** a plain `yes` is fine
|
|
54
|
-
for either tier — token only.
|
|
54
|
+
for either tier — token only. Exception: `agents set-listed` / `set-global` /
|
|
55
|
+
`set-visibility` / `archive` and `agents skills delete` take the word gate on
|
|
56
|
+
every server, because the agent and skill registry is shared by every
|
|
57
|
+
environment (a write on DEV-1 changes production agents too).
|
|
55
58
|
|
|
56
59
|
**Tier A is the smaller set:** every `delete` (across all resources), plus
|
|
57
60
|
`workflow`/`mec workflow` `archive` (and its `delete` alias), `process delete`,
|
|
58
61
|
`step delete`, `task delete`; `forecast scenarios bulk-edit`; `cash rules
|
|
59
62
|
delete-all`; `filebox archive` and `filebox data-query clear`;
|
|
60
63
|
`multi-product org-products set`;
|
|
64
|
+
`agents archive` and the three agent-reach flips `agents set-listed` /
|
|
65
|
+
`set-global` / `set-visibility` (each changes who can reach the agent for every
|
|
66
|
+
organization at once);
|
|
61
67
|
`error-enrichments import` (replaces every rule on the server, zeroes all
|
|
62
68
|
hits/feedback counters, and reassigns every rule id); and
|
|
63
69
|
`dashboards push --override` / `filebox push --override`. `import` is **not** an
|
|
@@ -81,7 +87,8 @@ with the same alias and tags, the push adds a version to *that* filebox and it
|
|
|
81
87
|
becomes the one served. The CLI cannot tell in advance and no word gate will
|
|
82
88
|
stop it, so check the destination afterwards.
|
|
83
89
|
Everything else gated is Tier B (all `create`/`update`/`reorder`/`set-*`/`lock`/
|
|
84
|
-
`unlock` verbs
|
|
90
|
+
`unlock` verbs other than the agent-reach flips above,
|
|
91
|
+
`templates set-field-type`, `rescan table` (a full historical
|
|
85
92
|
rescan — expensive/high-blast but reversible, so token-only; the plan step shows
|
|
86
93
|
the document + version counts), `filebox rescan-version` (the same, for one
|
|
87
94
|
version: re-extracts it in place and replaces its rows, never deletes; the plan
|