@openscout/protocol 0.2.98 → 0.2.102
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/dist/broker-routes.d.ts +7 -0
- package/dist/broker-routes.d.ts.map +1 -1
- package/dist/broker-routes.js +14 -0
- package/dist/conversation-projection.d.ts +1 -1
- package/dist/conversation-projection.js +1 -1
- package/dist/herdr-workspace-digest.d.ts +151 -0
- package/dist/herdr-workspace-digest.d.ts.map +1 -0
- package/dist/herdr-workspace-digest.js +343 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/machines.d.ts +231 -0
- package/dist/machines.d.ts.map +1 -0
- package/dist/machines.js +550 -0
- package/dist/runtime-catalog.generated.d.ts +6 -15
- package/dist/runtime-catalog.generated.d.ts.map +1 -1
- package/dist/runtime-catalog.generated.js +13 -19
- package/dist/scout-delivery.d.ts +1 -0
- package/dist/scout-delivery.d.ts.map +1 -1
- package/dist/terminal-host-topology.d.ts +20 -1
- package/dist/terminal-host-topology.d.ts.map +1 -1
- package/dist/terminal-host-topology.js +8 -2
- package/package.json +2 -2
- package/src/broker-routes.ts +16 -0
- package/src/conversation-projection.ts +1 -1
- package/src/herdr-workspace-digest.ts +458 -0
- package/src/index.ts +2 -0
- package/src/machines.ts +741 -0
- package/src/runtime-catalog.generated.ts +13 -19
- package/src/runtime-catalog.v1.json +6 -7
- package/src/scout-delivery.ts +1 -0
- package/src/terminal-host-topology.ts +32 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export const SCOUT_RUNTIME_CATALOG_DATA = {
|
|
4
4
|
"schemaVersion": "openscout.runtime-catalog.v1",
|
|
5
|
-
"revision": "2026-09-
|
|
5
|
+
"revision": "2026-09-10.1",
|
|
6
6
|
"harnesses": [
|
|
7
7
|
{
|
|
8
8
|
"id": "claude",
|
|
@@ -161,7 +161,7 @@ export const SCOUT_RUNTIME_CATALOG_DATA = {
|
|
|
161
161
|
"high",
|
|
162
162
|
"xhigh"
|
|
163
163
|
],
|
|
164
|
-
"defaultReasoningEffort": "
|
|
164
|
+
"defaultReasoningEffort": "high",
|
|
165
165
|
"models": [
|
|
166
166
|
{
|
|
167
167
|
"id": "grok-4.6",
|
|
@@ -177,14 +177,8 @@ export const SCOUT_RUNTIME_CATALOG_DATA = {
|
|
|
177
177
|
"label": "Grok 4.5",
|
|
178
178
|
"enabled": true,
|
|
179
179
|
"family": "Grok",
|
|
180
|
-
"version": "4.5"
|
|
181
|
-
|
|
182
|
-
{
|
|
183
|
-
"id": "grok-4.3",
|
|
184
|
-
"label": "Grok 4.3",
|
|
185
|
-
"enabled": true,
|
|
186
|
-
"family": "Grok",
|
|
187
|
-
"version": "4.3"
|
|
180
|
+
"version": "4.5",
|
|
181
|
+
"contextWindowTokens": 500000
|
|
188
182
|
}
|
|
189
183
|
]
|
|
190
184
|
},
|
|
@@ -192,7 +186,13 @@ export const SCOUT_RUNTIME_CATALOG_DATA = {
|
|
|
192
186
|
"id": "grok-acp",
|
|
193
187
|
"label": "Grok",
|
|
194
188
|
"enabled": true,
|
|
195
|
-
"reasoningEfforts":
|
|
189
|
+
"reasoningEfforts": [
|
|
190
|
+
"low",
|
|
191
|
+
"medium",
|
|
192
|
+
"high",
|
|
193
|
+
"xhigh"
|
|
194
|
+
],
|
|
195
|
+
"defaultReasoningEffort": "high",
|
|
196
196
|
"models": [
|
|
197
197
|
{
|
|
198
198
|
"id": "grok-4.6",
|
|
@@ -208,14 +208,8 @@ export const SCOUT_RUNTIME_CATALOG_DATA = {
|
|
|
208
208
|
"label": "Grok 4.5",
|
|
209
209
|
"enabled": true,
|
|
210
210
|
"family": "Grok",
|
|
211
|
-
"version": "4.5"
|
|
212
|
-
|
|
213
|
-
{
|
|
214
|
-
"id": "grok-4.3",
|
|
215
|
-
"label": "Grok 4.3",
|
|
216
|
-
"enabled": true,
|
|
217
|
-
"family": "Grok",
|
|
218
|
-
"version": "4.3"
|
|
211
|
+
"version": "4.5",
|
|
212
|
+
"contextWindowTokens": 500000
|
|
219
213
|
}
|
|
220
214
|
]
|
|
221
215
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "openscout.runtime-catalog.v1",
|
|
3
|
-
"revision": "2026-09-
|
|
3
|
+
"revision": "2026-09-10.1",
|
|
4
4
|
"harnesses": [
|
|
5
5
|
{
|
|
6
6
|
"id": "claude",
|
|
@@ -40,22 +40,21 @@
|
|
|
40
40
|
"enabled": true,
|
|
41
41
|
"listed": false,
|
|
42
42
|
"reasoningEfforts": ["low", "medium", "high", "xhigh"],
|
|
43
|
-
"defaultReasoningEffort": "
|
|
43
|
+
"defaultReasoningEffort": "high",
|
|
44
44
|
"models": [
|
|
45
45
|
{ "id": "grok-4.6", "label": "Grok 4.6", "enabled": true, "default": true, "family": "Grok", "version": "4.6", "contextWindowTokens": 500000 },
|
|
46
|
-
{ "id": "grok-4.5", "label": "Grok 4.5", "enabled": true, "family": "Grok", "version": "4.5" }
|
|
47
|
-
{ "id": "grok-4.3", "label": "Grok 4.3", "enabled": true, "family": "Grok", "version": "4.3" }
|
|
46
|
+
{ "id": "grok-4.5", "label": "Grok 4.5", "enabled": true, "family": "Grok", "version": "4.5", "contextWindowTokens": 500000 }
|
|
48
47
|
]
|
|
49
48
|
},
|
|
50
49
|
{
|
|
51
50
|
"id": "grok-acp",
|
|
52
51
|
"label": "Grok",
|
|
53
52
|
"enabled": true,
|
|
54
|
-
"reasoningEfforts":
|
|
53
|
+
"reasoningEfforts": ["low", "medium", "high", "xhigh"],
|
|
54
|
+
"defaultReasoningEffort": "high",
|
|
55
55
|
"models": [
|
|
56
56
|
{ "id": "grok-4.6", "label": "Grok 4.6", "enabled": true, "default": true, "family": "Grok", "version": "4.6", "contextWindowTokens": 500000 },
|
|
57
|
-
{ "id": "grok-4.5", "label": "Grok 4.5", "enabled": true, "family": "Grok", "version": "4.5" }
|
|
58
|
-
{ "id": "grok-4.3", "label": "Grok 4.3", "enabled": true, "family": "Grok", "version": "4.3" }
|
|
57
|
+
{ "id": "grok-4.5", "label": "Grok 4.5", "enabled": true, "family": "Grok", "version": "4.5", "contextWindowTokens": 500000 }
|
|
59
58
|
]
|
|
60
59
|
},
|
|
61
60
|
{ "id": "kimi", "label": "Kimi Code", "enabled": true, "reasoningEfforts": null, "models": [] },
|
package/src/scout-delivery.ts
CHANGED
|
@@ -63,6 +63,7 @@ export type ScoutOperatorSignal =
|
|
|
63
63
|
replyExpectation: "required";
|
|
64
64
|
/** What the agent is asking for. Never empty — that is the whole point. */
|
|
65
65
|
question: string;
|
|
66
|
+
requestKind?: "permission";
|
|
66
67
|
/** Optional discrete choices, when the answer is a selection. */
|
|
67
68
|
options?: string[];
|
|
68
69
|
/** Why the agent cannot continue without it. */
|
|
@@ -120,6 +120,21 @@ export type HerdrWorkspaceProjection = {
|
|
|
120
120
|
tabs: HerdrTabProjection[];
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Why a projection is not live.
|
|
125
|
+
*
|
|
126
|
+
* `not_running` is the ordinary case: no herdr server answers for this session,
|
|
127
|
+
* so its persisted layout is the honest thing to show.
|
|
128
|
+
*
|
|
129
|
+
* `unreadable` is the case worth naming. A herdr server for this session IS
|
|
130
|
+
* running, but it did not answer the topology commands — a protocol skew
|
|
131
|
+
* between the installed client and a long-lived server is the common cause,
|
|
132
|
+
* and a busy server or a timeout look the same from here. Collapsing that into
|
|
133
|
+
* `not_running` would state, of live work, that it is not running. The
|
|
134
|
+
* projection says which it is so a reader never has to guess.
|
|
135
|
+
*/
|
|
136
|
+
export type HerdrTopologyUnavailableReason = "not_running" | "unreadable";
|
|
137
|
+
|
|
123
138
|
export type HerdrSessionTopology = {
|
|
124
139
|
/** Herdr session name, e.g. "openscout". */
|
|
125
140
|
session: string;
|
|
@@ -134,8 +149,23 @@ export type HerdrSessionTopology = {
|
|
|
134
149
|
* projection is live.
|
|
135
150
|
*/
|
|
136
151
|
savedAt?: number | null;
|
|
152
|
+
/**
|
|
153
|
+
* Why this projection is not live. Set only when `running` is false; absent
|
|
154
|
+
* on a live read. See {@link HerdrTopologyUnavailableReason}.
|
|
155
|
+
*/
|
|
156
|
+
unavailable?: HerdrTopologyUnavailableReason | null;
|
|
137
157
|
};
|
|
138
158
|
|
|
139
|
-
export function emptyHerdrSessionTopology(
|
|
140
|
-
|
|
159
|
+
export function emptyHerdrSessionTopology(
|
|
160
|
+
session: string,
|
|
161
|
+
running: boolean,
|
|
162
|
+
unavailable?: HerdrTopologyUnavailableReason | null,
|
|
163
|
+
): HerdrSessionTopology {
|
|
164
|
+
return {
|
|
165
|
+
session,
|
|
166
|
+
running,
|
|
167
|
+
workspaces: [],
|
|
168
|
+
observedAt: Date.now(),
|
|
169
|
+
...(running ? {} : { unavailable: unavailable ?? "not_running" }),
|
|
170
|
+
};
|
|
141
171
|
}
|