@oh-my-pi-zen/snapcompact 16.3.6-zen.1
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 +172 -0
- package/README.md +72 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/snapcompact.d.ts +586 -0
- package/package.json +65 -0
- package/src/index.ts +1 -0
- package/src/prompts/file-operations.md +5 -0
- package/src/prompts/snapcompact-summary.md +24 -0
- package/src/snapcompact.ts +1949 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
You are resuming a prior conversation. Its earlier turns were archived to reclaim context and are reproduced under HISTORY below, oldest to newest. Read HISTORY in full, then continue from the live conversation that follows it.
|
|
2
|
+
|
|
3
|
+
The archived transcript is compact: each turn opens with a heading — `# User ¶`, `# Assistant ¶`, or `# Tool call ¶` — assistant reasoning is wrapped in _italics_, and tool output sits inside `<out>…</out>`.
|
|
4
|
+
|
|
5
|
+
Reading HISTORY:
|
|
6
|
+
- Plain-text sections are the verbatim transcript — rely on them exactly.
|
|
7
|
+
{{#if frameCount}}- Some middle sections are attached as images instead of text. Each image is a page of that same transcript and belongs at its place in the reading order, between marked delimiters. Within an image, a solid black cell marks a newline and runs of spaces collapse to one.
|
|
8
|
+
{{#if docColumns}} - A frame holds two side-by-side columns, each {{cols}} characters wide and up to {{rows}} rows tall: read the left column top to bottom, then the right.
|
|
9
|
+
{{else}} - A frame is one grid {{cols}} characters wide and up to {{rows}} rows tall: read left to right, top to bottom — there is no word wrap, so a word may break across rows.
|
|
10
|
+
{{/if}}{{#if sentenceInk}} - Ink cycles through six colors, one per sentence.
|
|
11
|
+
{{/if}}{{#if stopwordDimmed}} - Function words are dim gray; content words keep full ink.
|
|
12
|
+
{{/if}}{{#if dimmedToolResults}} - Text inside `<out>` is dim gray — that gray is archived tool output, not conversation.
|
|
13
|
+
{{/if}}{{#if lineRepeated}} - Each line is printed twice (white, then a pale-yellow band); the two copies are identical.
|
|
14
|
+
{{/if}}{{#if mixedShapes}} - The compressed middle frames use a smaller, denser font than the edge frames; the reading order is unchanged.
|
|
15
|
+
{{/if}}{{/if}}{{#if includedPreviousSummary}}- HISTORY opens with a condensed digest of still-older context that predates the archived turns.
|
|
16
|
+
{{/if}}{{#if truncatedChars}}- About {{truncatedChars}} characters of older middle history were dropped to fit the archive budget.
|
|
17
|
+
{{/if}}- When an exact earlier detail matters and a section reads unclearly, re-derive it from the workspace (re-read files, re-run commands) rather than guessing.
|
|
18
|
+
|
|
19
|
+
{{#if files}}FILES
|
|
20
|
+
===================
|
|
21
|
+
{{files}}
|
|
22
|
+
|
|
23
|
+
{{/if}}HISTORY
|
|
24
|
+
===================
|