@oh-my-pi/snapcompact 18.2.8 → 18.2.9

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.2.9] - 2026-09-22
6
+
7
+ ### Fixed
8
+
9
+ - Fixed summaries incorrectly advertising a `¶think:` scope when thinking content is excluded from the archive.
10
+
5
11
  ## [18.2.1] - 2026-09-15
6
12
 
7
13
  ### Changed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/snapcompact",
4
- "version": "18.2.8",
4
+ "version": "18.2.9",
5
5
  "description": "Bitmap-frame context compression for vision-capable LLMs",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Stencil Labs, Inc.",
@@ -31,11 +31,11 @@
31
31
  "fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
32
32
  },
33
33
  "dependencies": {
34
- "@oh-my-pi/pi-ai": "18.2.8",
35
- "@oh-my-pi/pi-catalog": "18.2.8",
36
- "@oh-my-pi/pi-natives": "18.2.8",
37
- "@oh-my-pi/pi-utils": "18.2.8",
38
- "@oh-my-pi/pi-wire": "18.2.8"
34
+ "@oh-my-pi/pi-ai": "18.2.9",
35
+ "@oh-my-pi/pi-catalog": "18.2.9",
36
+ "@oh-my-pi/pi-natives": "18.2.9",
37
+ "@oh-my-pi/pi-utils": "18.2.9",
38
+ "@oh-my-pi/pi-wire": "18.2.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/bun": "^1.3.14"
@@ -1,7 +1,9 @@
1
1
  Resume prior conversation. Earlier turns archived under HISTORY below, oldest→newest. Read HISTORY fully; continue the live conversation following it.
2
2
 
3
3
  Archived transcript scopes:
4
- - `¶user:`, `¶think:`, `¶ai:`, `¶call:`: user, assistant reasoning, assistant reply, tool call.
4
+ {{#if includeThinking}}- `¶user:`, `¶think:`, `¶ai:`, `¶call:`: user, assistant reasoning, assistant reply, tool call.
5
+ {{else}}- `¶user:`, `¶ai:`, `¶call:`: user, assistant reply, tool call.
6
+ {{/if}}
5
7
  - Unprefixed following lines: current scope. Consecutive same-kind blocks omit repeated prefix.
6
8
  - Tool call: `¶call:name(args)//intent`; trailing `//intent` optional. `<out>…</out>`: tool output.
7
9
 
@@ -2221,6 +2221,7 @@ export async function compact<TMessage = Message>(
2221
2221
  truncatedChars,
2222
2222
  includedPreviousSummary,
2223
2223
  files: files.length > 0 ? files : undefined,
2224
+ includeThinking: options?.includeThinking !== false,
2224
2225
  });
2225
2226
  }
2226
2227