@oh-my-pi/pi-agent-core 18.1.1 → 18.1.3

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,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.1.2] - 2026-09-01
6
+
7
+ ### Fixed
8
+
9
+ - Fixed preservation of Claude thinking/reasoning context when conversations are compacted or tool results are pruned.
10
+
5
11
  ## [18.0.11] - 2026-08-29
6
12
 
7
13
  ### Fixed
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.1.1",
4
+ "version": "18.1.3",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Stencil Labs, Inc.",
@@ -35,16 +35,16 @@
35
35
  "fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
36
36
  },
37
37
  "dependencies": {
38
- "@oh-my-pi/pi-ai": "18.1.1",
39
- "@oh-my-pi/pi-catalog": "18.1.1",
40
- "@oh-my-pi/pi-natives": "18.1.1",
41
- "@oh-my-pi/pi-utils": "18.1.1",
42
- "@oh-my-pi/pi-wire": "18.1.1",
43
- "@oh-my-pi/snapcompact": "18.1.1",
38
+ "@oh-my-pi/pi-ai": "18.1.3",
39
+ "@oh-my-pi/pi-catalog": "18.1.3",
40
+ "@oh-my-pi/pi-natives": "18.1.3",
41
+ "@oh-my-pi/pi-utils": "18.1.3",
42
+ "@oh-my-pi/pi-wire": "18.1.3",
43
+ "@oh-my-pi/snapcompact": "18.1.3",
44
44
  "@opentelemetry/api": "^1.9.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@oh-my-pi/omptype": "18.1.1",
47
+ "@oh-my-pi/omptype": "18.1.3",
48
48
  "@opentelemetry/context-async-hooks": "^2.9.0",
49
49
  "@opentelemetry/sdk-trace-base": "^2.9.0",
50
50
  "@types/bun": "^1.3.14"
@@ -226,6 +226,7 @@ export function convertMessageToLlm(message: AgentMessage): Message | undefined
226
226
  },
227
227
  ],
228
228
  attribution: "agent",
229
+ historyRewriteAt: message.timestamp,
229
230
  timestamp: message.timestamp,
230
231
  };
231
232
  case "compactionSummary":
@@ -245,6 +246,7 @@ export function convertMessageToLlm(message: AgentMessage): Message | undefined
245
246
  ...(message.images ?? []),
246
247
  ],
247
248
  attribution: "agent",
249
+ historyRewriteAt: message.timestamp,
248
250
  providerPayload: message.providerPayload,
249
251
  timestamp: message.timestamp,
250
252
  };