@oh-my-pi/pi-agent-core 14.9.5 → 14.9.8
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/package.json +4 -4
- package/src/harmony-leak.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-agent-core",
|
|
4
|
-
"version": "14.9.
|
|
4
|
+
"version": "14.9.8",
|
|
5
5
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
6
6
|
"homepage": "https://github.com/can1357/oh-my-pi",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"fmt": "biome format --write ."
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@oh-my-pi/pi-ai": "14.9.
|
|
39
|
-
"@oh-my-pi/pi-natives": "14.9.
|
|
40
|
-
"@oh-my-pi/pi-utils": "14.9.
|
|
38
|
+
"@oh-my-pi/pi-ai": "14.9.8",
|
|
39
|
+
"@oh-my-pi/pi-natives": "14.9.8",
|
|
40
|
+
"@oh-my-pi/pi-utils": "14.9.8"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@sinclair/typebox": "^0.34.49",
|
package/src/harmony-leak.ts
CHANGED
|
@@ -397,7 +397,7 @@ function truncateAtLineAndAppendSentinel(
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
function sha8(text: string): string {
|
|
400
|
-
return
|
|
400
|
+
return Bun.sha(text, "hex").slice(0, 8);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
const PREVIEW_KEEP_RE = new RegExp(`[${SCRIPT_CLASS}\\s】【”“…」「、。]`, "u");
|