@oh-my-pi/pi-agent-core 18.18.7 → 18.18.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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.18.8] - 2026-11-11
6
+
7
+ - Fixed a cursor tool result transform failure being swallowed silently — it is now logged as a warning ([#18654](https://github.com/can1357/oh-my-pi/pull/18654) by [@yuzu-octopus](https://github.com/yuzu-octopus))
8
+
5
9
  ## [18.18.2] - 2026-11-08
6
10
 
7
11
  ### Added
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": "18.18.7",
4
+ "version": "18.18.8",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": {
@@ -38,16 +38,16 @@
38
38
  "fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
39
39
  },
40
40
  "dependencies": {
41
- "@oh-my-pi/pi-ai": "18.18.7",
42
- "@oh-my-pi/pi-catalog": "18.18.7",
43
- "@oh-my-pi/pi-natives": "18.18.7",
44
- "@oh-my-pi/pi-utils": "18.18.7",
45
- "@oh-my-pi/pi-wire": "18.18.7",
46
- "@oh-my-pi/snapcompact": "18.18.7",
41
+ "@oh-my-pi/pi-ai": "18.18.8",
42
+ "@oh-my-pi/pi-catalog": "18.18.8",
43
+ "@oh-my-pi/pi-natives": "18.18.8",
44
+ "@oh-my-pi/pi-utils": "18.18.8",
45
+ "@oh-my-pi/pi-wire": "18.18.8",
46
+ "@oh-my-pi/snapcompact": "18.18.8",
47
47
  "@opentelemetry/api": "^1.9.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@oh-my-pi/omptype": "18.18.7",
50
+ "@oh-my-pi/omptype": "18.18.8",
51
51
  "@opentelemetry/context-async-hooks": "2.9.0",
52
52
  "@opentelemetry/sdk-trace-base": "2.9.0",
53
53
  "@types/bun": "^1.3.14"
package/src/agent.ts CHANGED
@@ -1985,7 +1985,11 @@ export class Agent {
1985
1985
  try {
1986
1986
  const updated = await transform(message);
1987
1987
  if (updated) entry.toolResult = updated;
1988
- } catch {}
1988
+ } catch (error) {
1989
+ logger.warn("agent: cursor tool result transform failed", {
1990
+ error: error instanceof Error ? error.message : String(error),
1991
+ });
1992
+ }
1989
1993
  })();
1990
1994
  entry.pending = pending;
1991
1995
  await pending;