@adaptiqai/deepseek-harness 0.2.12 → 0.2.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/README.md +8 -7
- package/lib/client.js +4 -4
- package/lib/host.js +372 -178
- package/lib/types/client/SettingsPage.d.ts +1 -1
- package/lib/types/client/pill.d.ts +1 -1
- package/lib/types/host/adapter.d.ts +15 -0
- package/lib/types/host/images.d.ts +91 -0
- package/lib/types/host/wire.d.ts +25 -7
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AdaptiqAI for DeepSeek Harness
|
|
2
2
|
|
|
3
|
-
Use your AdaptiqAI workspace in DeepSeek Harness: every model your workspace
|
|
3
|
+
Use your AdaptiqAI workspace in DeepSeek Harness: every model in your workspace, with native memory that keeps the whole conversation — up to 5 million tokens — and your Knowledge collections in any conversation. You sign in once, or create your account, in the browser; then pick a model and start, all from inside the harness. There are no keys to copy.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ Needs DeepSeek Harness 0.2.0-rc.2 or a later 0.2 release.
|
|
|
11
11
|
1. Open **Plugins** in the sidebar and choose **Add plugin**.
|
|
12
12
|
2. Enter the package — `@adaptiqai/deepseek-harness`, or the full path to a downloaded `adaptiqai-deepseek-harness-<version>.tgz` — and install it.
|
|
13
13
|
3. A welcome card asks you to **Connect AdaptiqAI**. Your browser opens; you sign in (or create an account with GitHub, Google or email) and approve, and the harness picks it up by itself.
|
|
14
|
-
4. A new account has no model yet: the same card shows the models on offer, with price, speed and memory. Choose one and how many
|
|
14
|
+
4. A new account has no model yet: the same card shows the models on offer, with price, speed and memory. Choose one and how many conversations can run at once, then **Get access** and confirm in the browser. The model appears in the picker as soon as it is active.
|
|
15
15
|
|
|
16
16
|
In the DeepSeek Harness desktop app, use the Plugins page; it keeps its own profile, which the `dsh` command can't change. If you run `dsh web` from a terminal, the same install is:
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ dsh plugin --profile web add @adaptiqai/deepseek-harness
|
|
|
21
21
|
|
|
22
22
|
## What you get
|
|
23
23
|
|
|
24
|
-
**Your models, set up correctly.** The model picker gets an **AdaptiqAI** group with exactly the models your workspace
|
|
24
|
+
**Your models, set up correctly.** The model picker gets an **AdaptiqAI** group with exactly the models in your workspace. Each one comes with its real context window, its output limit and its own thinking levels, all read from the server — nothing in the plugin names a model.
|
|
25
25
|
|
|
26
26
|
 
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ dsh plugin --profile web add @adaptiqai/deepseek-harness
|
|
|
29
29
|
|
|
30
30
|
 
|
|
31
31
|
|
|
32
|
-
**Settings → AdaptiqAI.** Your workspace, the models
|
|
32
|
+
**Settings → AdaptiqAI.** Your workspace, the models with live running/waiting counts, memory use split into conversations and knowledge, whether new conversations are saved, and links to the console.
|
|
33
33
|
|
|
34
34
|

|
|
35
35
|
|
|
@@ -41,7 +41,7 @@ dsh plugin --profile web add @adaptiqai/deepseek-harness
|
|
|
41
41
|
|
|
42
42
|
 
|
|
43
43
|
|
|
44
|
-
**Notices that say what to do.** If
|
|
44
|
+
**Notices that say what to do.** If a model is busy, the harness waits and retries by itself and tells you so. If a model isn't in the workspace yet, you get a **Get access** button. If the balance runs out, you get an **Add funds** button. If memory is nearly full, you are told before it fills, with a way to clean up or continue privately. Where AdaptiqAI puts idle conversations to sleep to make room, one quiet line says so instead: nothing is deleted, and they wake when you use them. Then you are only told when nothing idle could sleep or your library is full, with a button to the console. If your sign-in expires, you are asked to sign in again.
|
|
45
45
|
|
|
46
46
|

|
|
47
47
|
|
|
@@ -49,7 +49,7 @@ dsh plugin --profile web add @adaptiqai/deepseek-harness
|
|
|
49
49
|
|
|
50
50
|
**`/adaptiq`** in the composer: `status`, `signin`, `private`, `remember`, `knowledge`, `open`, `diagnostics`, `signout`.
|
|
51
51
|
|
|
52
|
-
**Get a model without leaving the harness.** Settings → AdaptiqAI → **Get a model** (or **Get access** on any
|
|
52
|
+
**Get a model without leaving the harness.** Settings → AdaptiqAI → **Get a model** (or **Get access** on any notice that offers it) lists what is on offer. You pay per token from your balance, and reads from memory are free. You confirm in the browser; the plugin follows the request and shows the model when it is ready.
|
|
53
53
|
|
|
54
54
|
 
|
|
55
55
|
|
|
@@ -65,6 +65,7 @@ dsh plugin --profile web add @adaptiqai/deepseek-harness
|
|
|
65
65
|
- **Subagents and teammates** also name the conversation that started them (`X-Adaptiq-Parent-Session-Id`), so the console shows them under it. A subagent is a `helper` of its parent; an Agent Teams teammate is a `track`, a line of work of its own (`X-Adaptiq-Session-Role`). A conversation you fork yourself names no parent.
|
|
66
66
|
- **No compaction.** AdaptiqAI keeps the full conversation, so the plugin reports the model's true context window and declines the harness's compaction requests — in Remember and in Private — with a plain explanation, said once rather than at every step. Nothing is ever summarised away, and nothing is sent to the server for it.
|
|
67
67
|
- **Thinking levels** come from each model's capability card (`adaptiq-model-capabilities-v1`): the levels, the value that turns thinking off, the default and the request field. Models without a card fall back to Low/High/Extra high/Max only when their id names a reasoning model.
|
|
68
|
+
- **Images** reach a model whose capability card lists `image` in `input`: each one goes inline (`image_url` with a `data:` URL) where you put it in the message, after a short note naming it. The bytes come from the harness's own stored copy (content-addressed when you attached it), never from the original file, so a later turn resends exactly the same image even if the file changed. Images larger than 16 MP are scaled down first; the format is checked from the bytes (PNG, JPEG, WebP, GIF), and an image over 20 MB is refused with a plain message. Above 8 images in one request, the harness turns the oldest into notes. A model that reads text only gets a note in place of each image, and a notice says the images were not sent. Images a tool returns follow its result in the next message.
|
|
68
69
|
- **Usage** is reported the harness's way: tokens read from memory count as cache reads, so the harness's own counters (cost, cache hit) are right.
|
|
69
70
|
- **Busy and preparing answers** are retried by the harness, honouring the server's `Retry-After`.
|
|
70
71
|
|
|
@@ -99,7 +100,7 @@ Everything has a production default. To change something, add a row to your prof
|
|
|
99
100
|
## Troubleshooting
|
|
100
101
|
|
|
101
102
|
- **"AdaptiqAI models are hidden — another provider already uses the route".** An older hand-made `adaptiqai` provider exists in your profile (usually an `llm-pi-ai` entry in `cordis.patch.yml`). Remove that entry and restart the harness.
|
|
102
|
-
- **Models missing.** Open Settings → AdaptiqAI and press refresh; the list shows exactly
|
|
103
|
+
- **Models missing.** Open Settings → AdaptiqAI and press refresh; the list shows exactly the models in the workspace.
|
|
103
104
|
- Anything else: run `/adaptiq diagnostics` and send the report to support.
|
|
104
105
|
|
|
105
106
|
## Development
|