@nylorun/agents 0.35.0-beta → 0.36.0-beta
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 +19 -0
- package/dist/session-client.d.ts +8 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @nylorun/agents
|
|
2
2
|
|
|
3
|
+
## 0.36.0-beta
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c649f33: A message can steer a running turn (D85). `delivery: "steer"` on a `message` command, behind the
|
|
8
|
+
optional Host feature `steer`: to a busy agent session it waits in the session queue marked
|
|
9
|
+
`steer`, and our engine takes it into the running turn before its next step, after the tool
|
|
10
|
+
results, through a new effect kind, `inputs`, which core answers in the transaction that journals
|
|
11
|
+
it (Harness API 5, `harness-api/v5.4.json`). Each taken message's `command.message` is written
|
|
12
|
+
under the running turn, then `queue.taken` with the `step`. The queued answer and
|
|
13
|
+
`message.queued` say which delivery applied; a workflow session queues. A steer the turn doesn't
|
|
14
|
+
take starts the next turn like any queued message, and D76's defaults never choose steer.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Pin core to the tested release.
|
|
19
|
+
- Updated dependencies [c649f33]
|
|
20
|
+
- @nylorun/core@0.37.0-beta
|
|
21
|
+
|
|
3
22
|
## 0.35.0-beta
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/dist/session-client.d.ts
CHANGED
|
@@ -102,7 +102,8 @@ export type CommandOptions = {
|
|
|
102
102
|
/**
|
|
103
103
|
* A message's options. `delivery` says what a message to a busy session does (protocol 17):
|
|
104
104
|
* `queue` (the default) waits for the running turn to end, `reject` is refused with
|
|
105
|
-
* `409 session_busy
|
|
105
|
+
* `409 session_busy`, and `steer` (Host feature `steer`, D85) joins the running turn before its next
|
|
106
|
+
* step; the queued answer's `delivery` says which applied. `removeTools` names the tools the message's turn may not use (Host feature
|
|
106
107
|
* `remove-tools`): a declared tool or an agent used as a tool by its name (in the agent and in
|
|
107
108
|
* the agents it uses as tools), an MCP server's tool as `<server>__<tool>`, a whole MCP server by
|
|
108
109
|
* its name. It applies to the version the turn runs, so the session still moves to its Agent's
|
|
@@ -131,6 +132,7 @@ export declare class SessionClient {
|
|
|
131
132
|
status: "queued";
|
|
132
133
|
queuedMessageId: string;
|
|
133
134
|
position: number;
|
|
135
|
+
delivery?: "queue" | "steer" | undefined;
|
|
134
136
|
cursor: string | null;
|
|
135
137
|
requestId: string;
|
|
136
138
|
}>;
|
|
@@ -147,6 +149,7 @@ export declare class SessionClient {
|
|
|
147
149
|
status: "queued";
|
|
148
150
|
queuedMessageId: string;
|
|
149
151
|
position: number;
|
|
152
|
+
delivery?: "queue" | "steer" | undefined;
|
|
150
153
|
cursor: string | null;
|
|
151
154
|
requestId: string;
|
|
152
155
|
}>;
|
|
@@ -164,6 +167,7 @@ export declare class SessionClient {
|
|
|
164
167
|
status: "queued";
|
|
165
168
|
queuedMessageId: string;
|
|
166
169
|
position: number;
|
|
170
|
+
delivery?: "queue" | "steer" | undefined;
|
|
167
171
|
cursor: string | null;
|
|
168
172
|
requestId: string;
|
|
169
173
|
}>;
|
|
@@ -179,6 +183,7 @@ export declare class SessionClient {
|
|
|
179
183
|
status: "queued";
|
|
180
184
|
queuedMessageId: string;
|
|
181
185
|
position: number;
|
|
186
|
+
delivery?: "queue" | "steer" | undefined;
|
|
182
187
|
cursor: string | null;
|
|
183
188
|
requestId: string;
|
|
184
189
|
}>;
|
|
@@ -192,6 +197,7 @@ export declare class SessionClient {
|
|
|
192
197
|
status: "queued";
|
|
193
198
|
queuedMessageId: string;
|
|
194
199
|
position: number;
|
|
200
|
+
delivery?: "queue" | "steer" | undefined;
|
|
195
201
|
cursor: string | null;
|
|
196
202
|
requestId: string;
|
|
197
203
|
}>;
|
|
@@ -206,6 +212,7 @@ export declare class SessionClient {
|
|
|
206
212
|
status: "queued";
|
|
207
213
|
queuedMessageId: string;
|
|
208
214
|
position: number;
|
|
215
|
+
delivery?: "queue" | "steer" | undefined;
|
|
209
216
|
cursor: string | null;
|
|
210
217
|
requestId: string;
|
|
211
218
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nylorun/agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0-beta",
|
|
4
4
|
"description": "Nylorun agent definitions and session client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"test": "vitest run --passWithNoTests"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@nylorun/core": "0.
|
|
46
|
+
"@nylorun/core": "0.37.0-beta",
|
|
47
47
|
"gray-matter": "^4.0.3"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|