@deepdockai/cli 1.0.13 → 1.0.14
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,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.14
|
|
4
|
+
|
|
5
|
+
- A system's `access` can be `password_missing`: the database account exists, but its stored password is not on the PC. Like `missing`, every action of the system is refused with `access_missing` (its message names the password) and the customer repeats "Erneut einrichten" in the Deepdock client. The agent skill's TypeScript client types it, and its concepts reference explains it.
|
|
6
|
+
|
|
3
7
|
## 1.0.13
|
|
4
8
|
|
|
5
9
|
- A device carries `lastKnownAt`: the time of its last report while it is not connected, `null` while it is connected. Every system of a device carries `lockedActions`: the actions the device reports locked because its database account lacks a right they need, under the spec set it runs now, or `null` when there is no verdict or the verdict is for an older spec set. Both are in the device list and, for `lockedActions`, in `GET /v1/devices/{deviceId}/systems`. The agent skill's TypeScript client types them, and its concepts reference explains them.
|
package/dist/deepdock.js
CHANGED
|
@@ -11428,7 +11428,7 @@ import { spawn } from "node:child_process";
|
|
|
11428
11428
|
import { homedir, hostname } from "node:os";
|
|
11429
11429
|
|
|
11430
11430
|
// src/version.ts
|
|
11431
|
-
var VERSION = "1.0.
|
|
11431
|
+
var VERSION = "1.0.14";
|
|
11432
11432
|
|
|
11433
11433
|
// src/runtime.ts
|
|
11434
11434
|
var DEFAULT_BASE_URL = "https://api.deepdock.ai";
|
package/package.json
CHANGED
|
@@ -51,7 +51,7 @@ export type WriteMethod = 'POST' | 'PATCH'
|
|
|
51
51
|
|
|
52
52
|
export type SystemStatus = 'running' | 'stopped' | 'missing' | 'unknown'
|
|
53
53
|
/** The database access the device last reported; `null` while none is known. */
|
|
54
|
-
export type SystemAccess = 'ok' | 'outdated' | 'missing' | 'not_set_up' | null
|
|
54
|
+
export type SystemAccess = 'ok' | 'outdated' | 'missing' | 'password_missing' | 'not_set_up' | null
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Whether writes on the system run. `unverified` makes writes answer system_version_unverified:
|
|
@@ -53,7 +53,7 @@ has a display `label` (may be `null`), a `version` the device reported (may be a
|
|
|
53
53
|
| system `status` | `stopped` | the program is installed but not running | calls answer `system_unavailable`; the site starts the program |
|
|
54
54
|
| system `status` | `missing` | the program was not found where the device expects it | calls answer `system_unavailable`; contact the site and Deepdock |
|
|
55
55
|
| system `status` | `unknown` | the device could not tell whether the program runs (its probe failed or is unavailable on that PC) | do not read it as stopped; the device decides when a call arrives |
|
|
56
|
-
| system `access` | `ok`, `outdated`, `missing`, `not_set_up`, or `null` | the database access the device last reported (`null`: none known yet) | `outdated` refuses the actions that need the missing right with `access_outdated`, `missing`
|
|
56
|
+
| system `access` | `ok`, `outdated`, `missing`, `password_missing`, `not_set_up`, or `null` | the database access the device last reported (`null`: none known yet) | `outdated` refuses the actions that need the missing right with `access_outdated`, `missing` (the account cannot log in) and `password_missing` (the account exists but its stored password is not on the PC) refuse every action with `access_missing`; the customer repeats "Erneut einrichten" in the Deepdock client, the incident closes by itself once `access` is `ok`, nothing to resume |
|
|
57
57
|
| system `accessLastCheckedAt` | ISO time or `null` | set when `access` is the last known value because the device could not read it (its database stopped or unreachable): when it last read it. `null` when the latest report read it | show the access as last known, with this time; nothing to do until the device reads it again |
|
|
58
58
|
| system `lockedActions` | list of action names or `null` | the actions the device reports locked because its database account lacks a right they need, under the spec set it runs now. `null`: no verdict yet, or the verdict is for an older spec set | do not offer a locked action as available; it answers `access_outdated` until the customer repeats "Erneut einrichten" |
|
|
59
59
|
| action state | `active` | the action can be called | normal |
|