@deepdockai/cli 1.0.22 → 1.0.23

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.23
4
+
5
+ - An incident's program version is named `programVersion` instead of `version`, in `GET /v1/incidents`, in `incidents list --json` and in the skill's concepts. Read the new name where you read the old one; the value is unchanged.
6
+
3
7
  ## 1.0.22
4
8
 
5
9
  - `keys create --write-env` writes `DEEPDOCK_BASE_URL=<url>` beside the key when `DEEPDOCK_BASE_URL` points the CLI at another API than production, since a key works only on the API it was created on and the bundled clients default to production. A production key points such a line, left by an earlier key, at production. `meta.written.baseUrl` names the URL when the line was written. Revoking a key removes only the key line.
package/dist/deepdock.js CHANGED
@@ -11429,7 +11429,7 @@ import { spawn } from "node:child_process";
11429
11429
  import { homedir, hostname } from "node:os";
11430
11430
 
11431
11431
  // src/version.ts
11432
- var VERSION = "1.0.22";
11432
+ var VERSION = "1.0.23";
11433
11433
 
11434
11434
  // src/runtime.ts
11435
11435
  var DEFAULT_BASE_URL = "https://api.deepdock.ai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepdockai/cli",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Deepdock partner CLI: pair devices, see systems and actions, create the API key your code runs them with.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -95,7 +95,8 @@ Each pause opens an **incident** (`GET /v1/incidents`). Only Deepdock lifts a pa
95
95
  customer's site see that an action is paused but cannot resume it; there is no partner call to
96
96
  resume. A stopped or missing system needs no resume: its incident closes once the system is back.
97
97
 
98
- An incident has `id`, `system`, `version`, `action` (`null` for a system-level incident), `reason`,
98
+ An incident has `id`, `system`, `programVersion` (the version of the vendor's program its devices
99
+ run, `null` when they reported none), `action` (`null` for a system-level incident), `reason`,
99
100
  `openedAt`, `closedAt`, and `devices` with `deviceId`, `pausedAt`, `resumedAt` and `inactiveAt`. It
100
101
  closes once none of its devices is still paused. `GET /v1/incidents` lists incidents that are open
101
102
  or closed within the last 30 days, newest first, at most 100.