@deepdockai/cli 1.10.0 → 1.11.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.11.0
|
|
4
|
+
|
|
5
|
+
- The current device API, three changes in the pinned device API, the bundled TypeScript client and the references:
|
|
6
|
+
- A paused action's `reason` can be `http_signin_changed` (the program's sign-in answered in a way the device's recorded sign-in does not describe; only Deepdock lifts it). The bundled client's `ActionState` type and the concepts reference gain it.
|
|
7
|
+
- The documented UUID pattern of the `id` fields (`PartnerDevice.id`, `ReleasedDevice.id`) accepts upper-case hex digits as well. The values the API accepts and answers are unchanged.
|
|
8
|
+
- `error.fields` of an `invalid_input` can name one element of a list input (`list[index].field`, or `list[index]` when no element field is named, with a zero-based index) when a write refuses that element with a refusal the action declares, or with `not_found` or `too_many_rows`. The errors reference describes it.
|
|
9
|
+
|
|
3
10
|
## 1.10.0
|
|
4
11
|
|
|
5
12
|
- The current device API: pairing a device answers `409 device_update_required` (exit 2) when its Deepdock client is too old for a system of your organisation, or has not reported its client yet. `error.reason` is `lacks` (update the client on the device, then pair again) or `unreported` (retry in a minute). The pinned device API, the error code list and the errors reference describe it.
|
package/dist/deepdock.js
CHANGED
|
@@ -11446,7 +11446,7 @@ import { spawn } from "node:child_process";
|
|
|
11446
11446
|
import { homedir, hostname } from "node:os";
|
|
11447
11447
|
|
|
11448
11448
|
// src/version.ts
|
|
11449
|
-
var VERSION = "1.
|
|
11449
|
+
var VERSION = "1.11.0";
|
|
11450
11450
|
|
|
11451
11451
|
// src/runtime.ts
|
|
11452
11452
|
var DEFAULT_BASE_URL = "https://api.deepdock.ai";
|
package/package.json
CHANGED
|
@@ -137,7 +137,12 @@ export type ActionState =
|
|
|
137
137
|
| {
|
|
138
138
|
action: string
|
|
139
139
|
state: 'paused'
|
|
140
|
-
reason:
|
|
140
|
+
reason:
|
|
141
|
+
| 'structure_changed'
|
|
142
|
+
| 'readback_failed'
|
|
143
|
+
| 'credentials_rejected'
|
|
144
|
+
| 'certificate_changed'
|
|
145
|
+
| 'http_signin_changed'
|
|
141
146
|
pausedAt: string
|
|
142
147
|
}
|
|
143
148
|
| {
|
|
@@ -72,6 +72,7 @@ has a display `label` (may be `null`), a `version` the device reported (may be a
|
|
|
72
72
|
| pause `reason` | `readback_failed` | a write's result did not match, so nothing was saved | wait; tell the user the change was not saved |
|
|
73
73
|
| pause `reason` | `credentials_rejected` | the program no longer accepts the sign-in the device stored for it (for example a changed password) | tell the user to choose "Anmeldung erneuern" (Renew sign-in) in the Deepdock client; the action resumes by itself once the new sign-in works, nothing to resume |
|
|
74
74
|
| pause `reason` | `certificate_changed` | the program's server certificate is not the one the device accepted at sign-in | tell the user to choose "Anmeldung erneuern" (Renew sign-in) in the Deepdock client, compare the fingerprint it shows and sign in again; the action resumes by itself, nothing to resume |
|
|
75
|
+
| pause `reason` | `http_signin_changed` | the program's sign-in answered in a way the device's recorded sign-in does not describe, and it is not a refused credential; the device stops signing in | wait; nothing to do on your side or the customer's: Deepdock reviews and resumes, and renewing the sign-in does not lift it |
|
|
75
76
|
| pause `reason` | `system_stopped`, `system_missing` | as the system statuses above; these need no resume and clear when the system is back | as above |
|
|
76
77
|
|
|
77
78
|
Switch on these values; any value you do not know is shown as it is.
|
|
@@ -10,6 +10,11 @@ An `invalid_input` that refuses an action call's input also carries `fields`: ev
|
|
|
10
10
|
failed, as `{ "field", "message" }`, sorted by name, at most 32. It is absent when the body is not
|
|
11
11
|
an object at all. No message holds the value you sent.
|
|
12
12
|
|
|
13
|
+
A write that refuses one element of a list input (with a refusal the action declares, or
|
|
14
|
+
`not_found` or `too_many_rows`) names that element in `fields`: `list[index].field` when the
|
|
15
|
+
refusing step names a field of the element, else `list[index]`, with a zero-based `index`. It is
|
|
16
|
+
absent when the refusal cannot name an input or an element.
|
|
17
|
+
|
|
13
18
|
Reaction columns: **Retry** says whether the same request may be sent again (for a write, always
|
|
14
19
|
with the **same** `Idempotency-Key`); **Show** says what the end user should see.
|
|
15
20
|
|