@adaptiqai/opencode 0.1.1 → 0.1.5
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 +15 -2
- package/lib/index.js +1113 -419
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -26,6 +26,12 @@ Choose a model from the **AdaptiqAI** provider (`adaptiqai/<model>`). The list
|
|
|
26
26
|
is the models in your workspace, each with its own output limit and
|
|
27
27
|
thinking levels (OpenCode's variants).
|
|
28
28
|
|
|
29
|
+
Set up from the AdaptiqAI console's **Connect to app** instead, the harness
|
|
30
|
+
gets this plugin by itself, from the configuration that sign-in gives it, and
|
|
31
|
+
the plugin takes that sign-in's key. The harness then runs on the console's
|
|
32
|
+
own AdaptiqAI provider (`adaptiq/<model>`), and the plugin adds its tools and
|
|
33
|
+
`/adaptiq` beside it, but no second provider.
|
|
34
|
+
|
|
29
35
|
## What it does
|
|
30
36
|
|
|
31
37
|
- **A conversation is one AdaptiqAI session.** Every turn carries the
|
|
@@ -56,14 +62,21 @@ thinking levels (OpenCode's variants).
|
|
|
56
62
|
(`X-Adaptiq-Parent-Session-Id`, role `helper`), so the console folds it
|
|
57
63
|
under that conversation.
|
|
58
64
|
- **Tools for the agent:**
|
|
59
|
-
- `adaptiq_knowledge`: what this conversation uses;
|
|
60
|
-
|
|
65
|
+
- `adaptiq_knowledge`: what this conversation uses; find words, ids or names
|
|
66
|
+
in the text of its collections, with the exact lines as document:line;
|
|
67
|
+
search the library by name, use or stop a collection.
|
|
61
68
|
- `adaptiq_memory`: how full the memory is; the saved collections; keep a
|
|
62
69
|
conversation private.
|
|
63
70
|
- `adaptiq_create_knowledge`: save material as a collection, only when you
|
|
64
71
|
ask.
|
|
65
72
|
|
|
66
73
|
In OpenCode 2 they are on the model's own tool list, not behind Code Mode.
|
|
74
|
+
- **A turn is told which ready collections its conversation reads**, so the
|
|
75
|
+
agent looks things up there with find. OpenCode 1.x and Kilo save the note
|
|
76
|
+
with your message, as a part you don't see, once and again when the
|
|
77
|
+
collections change; OpenCode 2 keeps nothing a plugin adds, so each request
|
|
78
|
+
carries it in its system prompt. Conversations on the console's own
|
|
79
|
+
provider (Connect to app) get it too.
|
|
67
80
|
- **`/adaptiq`** asks the agent where this conversation's memory and
|
|
68
81
|
knowledge stand. OpenCode and Kilo give a plugin's command no way to answer
|
|
69
82
|
by itself, so it is a turn of the model and costs like one. That turn reads
|