@datarails-ai/dr-cli 1.6.151 → 1.6.153

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 CHANGED
@@ -149,7 +149,14 @@ dr whoami --server US # sanity-check identity
149
149
 
150
150
  Browser opens, you complete the OAuth device-code flow, and credentials
151
151
  are stored in the **OS keychain** — Windows Credential Manager on
152
- Windows, Keychain on macOS. Each session is keyed by
152
+ Windows, Keychain on macOS, the kernel keyring or Secret Service on Linux.
153
+ On a Linux host where that keyring cannot be reached — typically a process
154
+ whose session keyring was revoked because the SSH login that started its
155
+ IDE daemon or tmux server has ended — `dr` keeps the same entries as
156
+ owner-only files under `~/.dr/keyring/` instead, and says so once per
157
+ command. `DR_KEYRING_BACKEND=file` uses that directory without the notice;
158
+ `DR_KEYRING_BACKEND=native` requires the keyring. The two stores do not
159
+ share entries, so moving between them means logging in again. Each session is keyed by
153
160
  `(server, email)` so you can log in to multiple servers concurrently,
154
161
  and to multiple Datarails accounts on the same server.
155
162
 
@@ -449,6 +456,7 @@ dr skill print <name> # print an embedded skill's SKILL.md
449
456
  | MEC Workflows v2 | `mec workflow list/get/create/update/activate/deactivate/archive/restore/delete/clone`, `mec workflow process list/get/delete`, `mec workflow step get/create/update/delete/reorder`, `mec workflow task list/get/add-file/add-checklist/update/update-one/delete/notify/approve/reject/sign-off` (file + checklist + `reconciliation_tags`), `mec workflow member list/check/add/update/remove/grant-bulk`, `mec workflow group list/add/update/remove/grant-bulk`, `mec workflow periods`, `mec workflow accounts tasks --date-tag <ts> --account-name <s> --account-group <s>`, `mec workflow accounts task-statuses --date-tag <ts>` (tenant must have `month_end_close`; type `"Month End Close"` enforced) |
450
457
  | Desk | `desk teams list`, `desk support-email set <team> <email>`, `desk smtp set/rotate/get/test <team>`, `desk sendgrid register <domain>/status/verify`, `desk ticket create <team> --title --requester-email [--attach <path> ...] [--no-thread]` (`<team>` is an id, support email, or team name. `ticket create` **emails the requester**, so it is confirm-gated and keeps the word gate on prod — see `docs/how-to-create-a-desk-ticket.md`) |
451
458
  | Connectors | `connectors publish <dataqueryFile>`, `connectors query repoint <queryId>`, `connectors binding get <fileboxUuid>` (drives the connectors control-plane over VPN) |
459
+ | Agent Studio | `agents list/get/versions/test-link/refresh/pull/update/create/mcp-servers/cli-scopes/scope-registry`, `agents set-listed/set-global/set-visibility/archive` (two-step confirm), `agents models/catalog/system-entities`, `agents skills list/get/versions/bundle/pull/create/publish/delete` (`delete` two-step confirm). A CLI-exposed agent's `dr` sessions are capped by its CLI scopes (`resource:action`, default `*:read`): set with `update --cli-scopes <list>` / `--reset-cli-scopes [--cli-scopes-reason <text>]` or `create --expose-cli --cli-scopes <list>`, read with `cli-scopes`; the scope history and restore stay in the Backoffice (service-token only) |
452
460
  | Skill | `skill` — prints embedded `SKILL.md` |
453
461
 
454
462
  ### Connectors: TLS over VPN
@@ -526,7 +534,7 @@ endpoints against its ceiling in `scopes-map.snapshot.json` is what DR-53487 may
526
534
  placeholder takes an integer.
527
535
  - **`service`.** Which service serves the path: `monolith`, `finance-os`,
528
536
  `spend-control`, `multi-product`, `desk`, `connectors`, `onboarding-validation`,
529
- `business-calendar`. A consumer checking one service filters on it.
537
+ `business-calendar`, `ai-service`. A consumer checking one service filters on it.
530
538
  - **`command: "*"`.** A call any authenticated command may trigger (JWT mint/refresh,
531
539
  API-key and login-as re-exchange).
532
540
  - **Leaves with no record** are explained in `scripts/scopes-map.sources.json` under
@@ -604,6 +612,7 @@ The services `dr-cli` talks to:
604
612
  | Multi-Product | `dr multi-product …` (`/api/multi-product/v1`) — separate microservice, monolith host | [`dr-multi-product`](https://github.com/Datarails/dr-multi-product) |
605
613
  | Desk | `dr desk …` (`/api/desk/v1/…`) — separate microservice, monolith host. One exception: `desk support-email set` writes to the MONOLITH's `/bo/teams/<id>/`, because that is where `support_email` lives | [`dr-desk-ai`](https://github.com/Datarails/dr-desk-ai) |
606
614
  | Connectors control-plane | `dr connectors …` (reached over the corporate VPN) | [`dr-connectors-control-plane`](https://github.com/Datarails/dr-connectors-control-plane) |
615
+ | AI service | `dr agents …` (`/ai-service/external/v1/ManagedAgents/…`) — dr-ai-service's Agent Studio API on the monolith host. It refuses the `dr` login JWT, so each call carries a token the monolith mints (`POST /api/ai-service/v1/Authentication/authenticate`) | [`dr-ai-service`](https://github.com/Datarails/dr-ai-service) |
607
616
  | Onboarding-validation | `dr validate onboarding …` (its own host, `<env>-onboarding.datarails.com`) | [`dr-onboarding-validation-re`](https://github.com/Datarails/dr-onboarding-validation-re) |
608
617
 
609
618
  > Not sure which service a command hits? Run it with `--json` and check the