@deepdockai/cli 1.0.16 → 1.0.17
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 +4 -0
- package/dist/deepdock.js +2 -1
- package/package.json +1 -1
- package/skill/references/errors.md +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.17
|
|
4
|
+
|
|
5
|
+
- A device whose identity is held by two PCs (a copied PC or VM snapshot) answers every call with `409 device_connected_twice`; nothing runs and the `Idempotency-Key` is free. The skill's error reference lists it, and the CLI exits with 2 for it.
|
|
6
|
+
|
|
3
7
|
## 1.0.16
|
|
4
8
|
|
|
5
9
|
- A new organisation waits for Deepdock's approval before it can act as a partner: until then every call with its keys answers `403 partner_not_approved`. The skill's error reference lists it, and the CLI exits with 2 for it.
|
package/dist/deepdock.js
CHANGED
|
@@ -10861,6 +10861,7 @@ var EXIT_CODES = {
|
|
|
10861
10861
|
pairing_code_invalid: 2,
|
|
10862
10862
|
other_partner_build: 2,
|
|
10863
10863
|
device_learning_only: 2,
|
|
10864
|
+
device_connected_twice: 2,
|
|
10864
10865
|
rate_limited: 2,
|
|
10865
10866
|
target_rejected: 2,
|
|
10866
10867
|
check_failed: 2,
|
|
@@ -11429,7 +11430,7 @@ import { spawn } from "node:child_process";
|
|
|
11429
11430
|
import { homedir, hostname } from "node:os";
|
|
11430
11431
|
|
|
11431
11432
|
// src/version.ts
|
|
11432
|
-
var VERSION = "1.0.
|
|
11433
|
+
var VERSION = "1.0.17";
|
|
11433
11434
|
|
|
11434
11435
|
// src/runtime.ts
|
|
11435
11436
|
var DEFAULT_BASE_URL = "https://api.deepdock.ai";
|
package/package.json
CHANGED
|
@@ -37,6 +37,7 @@ dashboard-only.
|
|
|
37
37
|
| `pairing_code_invalid` | 404 | pairing: the code is unknown, expired, replaced, used, or its device is offline | with a fresh code | "read the code off the device screen again" |
|
|
38
38
|
| `other_partner_build` | 409 | pairing: the device runs another partner's client build | no | "this device is set up for another provider" |
|
|
39
39
|
| `device_learning_only` | 409 | the PC runs the Deepdock client for learning only, which runs no actions; nothing was sent to it. Reads, writes and the systems list on it all answer this | no; it changes only when the Deepdock service is installed on that PC | "this PC needs the Deepdock service to run actions" |
|
|
40
|
+
| `device_connected_twice` | 409 | two PCs are connected with this device's identity (a copied PC or VM snapshot); nothing ran, so the `Idempotency-Key` is free | no; a person shuts the copy down, and calls work again about five minutes after only one PC is connected | "two PCs use this device; shut the copy down" |
|
|
40
41
|
|
|
41
42
|
## Input
|
|
42
43
|
|
|
@@ -90,6 +91,7 @@ const REACTION: Record<string, Reaction> = {
|
|
|
90
91
|
pairing_code_invalid: 'fix-input',
|
|
91
92
|
other_partner_build: 'stop',
|
|
92
93
|
device_learning_only: 'stop',
|
|
94
|
+
device_connected_twice: 'stop',
|
|
93
95
|
invalid_input: 'fix-input',
|
|
94
96
|
target_rejected: 'fix-input',
|
|
95
97
|
unknown_author: 'fix-input',
|