@datarails-ai/dr-cli 1.6.180 → 1.6.182
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 +10 -8
- package/dist/cli.js +812 -119
- package/dist/scopes-map.json +33 -1
- package/dist/skills/dr-cli/SKILL.md +1 -0
- package/dist/skills/dr-cli/reference/calcmodels.md +54 -0
- package/dist/skills/dr-cli/reference/safety.md +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -70,26 +70,27 @@ capabilities via the shell route: `dr kb search "<query>"`,
|
|
|
70
70
|
> just terser.
|
|
71
71
|
|
|
72
72
|
Requires **Node.js 18+** (npm ships with Node — no extra tools needed).
|
|
73
|
-
The package is published to the
|
|
73
|
+
The package is published to the public npm registry; no auth setup
|
|
74
74
|
required.
|
|
75
75
|
|
|
76
76
|
```
|
|
77
|
-
npm install -g @datarails-ai/dr-cli
|
|
77
|
+
npm install -g @datarails-ai/dr-cli
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
That puts `dr` on PATH globally. To update later, re-run the same
|
|
81
81
|
command — it will pick up the latest version.
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
To update later:
|
|
84
84
|
|
|
85
85
|
```
|
|
86
|
-
npm
|
|
87
|
-
npm install -g @datarails-ai/dr-cli
|
|
88
|
-
npm update -g @datarails-ai/dr-cli # later, to update
|
|
86
|
+
npm update -g @datarails-ai/dr-cli
|
|
89
87
|
```
|
|
90
88
|
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
No registry configuration is needed: `@datarails-ai/dr-cli` is published
|
|
90
|
+
to the public npm registry, which npm already uses by default. Releases
|
|
91
|
+
also go to the Datarails JFrog repo, but installing from there is no
|
|
92
|
+
longer the documented path. See
|
|
93
|
+
`plugins/dr-cli/hooks/auto-update.js` for why.
|
|
93
94
|
|
|
94
95
|
### One-shot installer scripts
|
|
95
96
|
|
|
@@ -435,6 +436,7 @@ dr skill print <name> # print an embedded skill's SKILL.md
|
|
|
435
436
|
| Folders | `folders list/create`, `folders reorder --container <root\|id> (--items folder:12,entity:87 \| --move <kind:id> --to-index <n>)`, `folders move <id> --parent <root\|id>` (dashboard / story picker tree, flag-gated; reorder and move are two-step confirm; a dashboard moves with `dashboards set-folder`) |
|
|
436
437
|
| Functions | `functions list/get/create/delete` |
|
|
437
438
|
| Dynamic ranges | `dynamic-ranges list/get/data/create/delete` |
|
|
439
|
+
| Calc models | `calcmodels list/get/create/update/set-flow/recalculate/delete`; AGENT builder: `calcmodels agent ask/preview/save/approve` (`save` makes a draft; `approve` is two-step, Tier A) |
|
|
438
440
|
| Lookups (LUTs) | `lut list/create/update/delete/reorder/unmapped` (alias `lookups`) |
|
|
439
441
|
| Documents | `documents support-api set <id> --on/--off`, `documents calculate <id> --year/--quarter/--month/--day/--week ... [--backward] [--no-roll]` |
|
|
440
442
|
| Semantic tables | `semantic-tables list/get` |
|