omnius 1.0.217 → 1.0.218
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/index.js +10 -0
- package/npm-shrinkwrap.json +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -565463,6 +565463,11 @@ If you're stuck, try a completely different approach. Do NOT repeat what failed
|
|
|
565463
565463
|
entry.compacted = true;
|
|
565464
565464
|
}
|
|
565465
565465
|
}
|
|
565466
|
+
if (compacted !== messages2) {
|
|
565467
|
+
messages2.length = 0;
|
|
565468
|
+
messages2.push(...compacted);
|
|
565469
|
+
compacted = messages2;
|
|
565470
|
+
}
|
|
565466
565471
|
if (turn > 0 && turn % 3 === 0 && this._temporalGraph && this._episodeStore) {
|
|
565467
565472
|
let shouldRetrieve = true;
|
|
565468
565473
|
try {
|
|
@@ -568399,6 +568404,11 @@ ${this.options.maxTurns && this.options.maxTurns > 0 ? `You have ${this.options.
|
|
|
568399
568404
|
} else {
|
|
568400
568405
|
compactedMsgs = await this.compactMessages(messages2, this._skillCompactionStrategy ?? "default");
|
|
568401
568406
|
}
|
|
568407
|
+
if (compactedMsgs !== messages2) {
|
|
568408
|
+
messages2.length = 0;
|
|
568409
|
+
messages2.push(...compactedMsgs);
|
|
568410
|
+
compactedMsgs = messages2;
|
|
568411
|
+
}
|
|
568402
568412
|
this.proactivePrune(compactedMsgs, this._taskState.toolCallCount);
|
|
568403
568413
|
this.microcompact(compactedMsgs);
|
|
568404
568414
|
let bfEnvironmentBlock = null;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.218",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.218",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
|
@@ -2260,9 +2260,9 @@
|
|
|
2260
2260
|
}
|
|
2261
2261
|
},
|
|
2262
2262
|
"node_modules/bare-events": {
|
|
2263
|
-
"version": "2.
|
|
2264
|
-
"resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.
|
|
2265
|
-
"integrity": "sha512-
|
|
2263
|
+
"version": "2.9.1",
|
|
2264
|
+
"resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.9.1.tgz",
|
|
2265
|
+
"integrity": "sha512-Z0oHEHAFDZkffN8Qc39zNZjQlMDkPJRyyyZieU1VH7u8c5S+qHZ2S8ixdKIAxEjfHO7FJxXmJWgteOghVanIsg==",
|
|
2266
2266
|
"license": "Apache-2.0",
|
|
2267
2267
|
"optional": true,
|
|
2268
2268
|
"peerDependencies": {
|
|
@@ -2275,9 +2275,9 @@
|
|
|
2275
2275
|
}
|
|
2276
2276
|
},
|
|
2277
2277
|
"node_modules/bare-fs": {
|
|
2278
|
-
"version": "4.7.
|
|
2279
|
-
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.
|
|
2280
|
-
"integrity": "sha512-
|
|
2278
|
+
"version": "4.7.2",
|
|
2279
|
+
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.2.tgz",
|
|
2280
|
+
"integrity": "sha512-aTvMFUWkBmjzKtEQMDGGDNF8bkfpD5N1b/FCwt7A3wrU4t1o/e/85Wzkluh6JlODCjqVESYCkQCdTXqZ9G7VFg==",
|
|
2281
2281
|
"license": "Apache-2.0",
|
|
2282
2282
|
"optional": true,
|
|
2283
2283
|
"dependencies": {
|
package/package.json
CHANGED