@oh-my-pi/pi-agent-core 14.9.5 → 14.9.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-agent-core",
4
- "version": "14.9.5",
4
+ "version": "14.9.7",
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.5",
39
- "@oh-my-pi/pi-natives": "14.9.5",
40
- "@oh-my-pi/pi-utils": "14.9.5"
38
+ "@oh-my-pi/pi-ai": "14.9.7",
39
+ "@oh-my-pi/pi-natives": "14.9.7",
40
+ "@oh-my-pi/pi-utils": "14.9.7"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@sinclair/typebox": "^0.34.49",
@@ -397,7 +397,7 @@ function truncateAtLineAndAppendSentinel(
397
397
  }
398
398
 
399
399
  function sha8(text: string): string {
400
- return new Bun.CryptoHasher("sha256").update(text).digest("hex").slice(0, 8);
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");