@myagentroam/node 0.9.109 → 0.9.110
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.
|
@@ -17,7 +17,12 @@ export class MarAgentRunner extends AbstractRunner {
|
|
|
17
17
|
this.homeDirectory = homeDirectory;
|
|
18
18
|
}
|
|
19
19
|
configureModels(value) {
|
|
20
|
-
this.#models = Array.isArray(value)
|
|
20
|
+
this.#models = Array.isArray(value)
|
|
21
|
+
? value.flatMap((model) => {
|
|
22
|
+
const parsed = marAgentNodeModelSummarySchema.safeParse(model);
|
|
23
|
+
return parsed.success ? [parsed.data] : [];
|
|
24
|
+
})
|
|
25
|
+
: [];
|
|
21
26
|
}
|
|
22
27
|
setSessionResourceReleaser(release) {
|
|
23
28
|
this.#releaseSessionResources = release;
|
|
@@ -439,6 +444,3 @@ export class MarAgentRunner extends AbstractRunner {
|
|
|
439
444
|
function firstSequenceForTurn(entries, turnId) {
|
|
440
445
|
return entries.find((entry) => entry.kind === 'user' ? entry.turnId === turnId : entry.event.turnId === turnId)?.sequence;
|
|
441
446
|
}
|
|
442
|
-
function isModelSummary(value) {
|
|
443
|
-
return marAgentNodeModelSummarySchema.safeParse(value).success;
|
|
444
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/node",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.110",
|
|
4
4
|
"description": "MyAgentRoam Node runtime CLI.",
|
|
5
5
|
"license": "Apache-2.0 AND GPL-2.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"npm": "11.12.1",
|
|
31
31
|
"ws": "^8.21.3",
|
|
32
32
|
"zod": "4.4.3",
|
|
33
|
-
"@myagentroam/agent": "0.9.
|
|
34
|
-
"@myagentroam/code-navigation": "0.9.
|
|
35
|
-
"@myagentroam/protocol": "0.9.
|
|
33
|
+
"@myagentroam/agent": "0.9.110",
|
|
34
|
+
"@myagentroam/code-navigation": "0.9.110",
|
|
35
|
+
"@myagentroam/protocol": "0.9.110"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/ws": "^8.18.1"
|