@voidwire/llm-summarize 3.10.0 → 3.10.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/index.ts +15 -13
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -110,27 +110,29 @@ function buildInsightsPrompt(_userName?: string): string {
|
|
|
110
110
|
<rules>
|
|
111
111
|
- If nothing meaningful changed since previous_state, return {"summary": "continuation", "current_focus": "unchanged"}
|
|
112
112
|
- NEVER repeat information from previous_state — this is a delta, not a snapshot
|
|
113
|
+
- NEVER copy text from the examples below into your output — examples show structure only, your content must come exclusively from the transcript
|
|
113
114
|
- "User clarified X" is NOT a correction — only record corrections when the user explicitly redirects, rejects, or changes direction
|
|
114
115
|
- Every field value must be specific enough to be useful 6 months from now without context
|
|
116
|
+
- If no approaches were validated this turn, omit the validated field entirely
|
|
115
117
|
</rules>
|
|
116
118
|
|
|
117
119
|
<example>
|
|
118
120
|
<input>
|
|
119
121
|
<previous_state>
|
|
120
122
|
## Context
|
|
121
|
-
- **Focus:**
|
|
122
|
-
- Chose
|
|
123
|
+
- **Focus:** Spaceship navigation module
|
|
124
|
+
- Chose warp drive over hyperspace — fewer dimensional side effects
|
|
123
125
|
## Next
|
|
124
|
-
- Test
|
|
126
|
+
- Test warp field calculations
|
|
125
127
|
</previous_state>
|
|
126
128
|
<transcript>
|
|
127
|
-
User: Actually let's use
|
|
128
|
-
Assistant: Switched back to
|
|
129
|
-
User: Good. And
|
|
129
|
+
User: Actually let's use hyperspace after all — the crew is more familiar with it and we already have the motivator installed
|
|
130
|
+
Assistant: Switched back to hyperspace engine with the existing motivator. Removed the warp field generator.
|
|
131
|
+
User: Good. And set the jump cooldown to 8 parsecs not the default 24.
|
|
130
132
|
</transcript>
|
|
131
133
|
</input>
|
|
132
134
|
<output>
|
|
133
|
-
{"summary":"Reversed
|
|
135
|
+
{"summary":"Reversed warp drive decision back to hyperspace — crew familiarity and existing motivator hardware","current_focus":"Hyperspace navigation","decisions":["Reverted to hyperspace engine — crew familiarity outweighs warp drive benefits, motivator already installed"],"corrections":["User reversed the warp drive decision after initial implementation — crew constraints weren't considered"],"next_steps":["Configure 8-parsec jump cooldown","Remove warp field generator dependencies"]}
|
|
134
136
|
</output>
|
|
135
137
|
</example>
|
|
136
138
|
|
|
@@ -138,19 +140,19 @@ User: Good. And make the session timeout 8 hours not the default 24.
|
|
|
138
140
|
<input>
|
|
139
141
|
<previous_state>
|
|
140
142
|
## Context
|
|
141
|
-
- **Focus:** Debugging
|
|
142
|
-
- Fixed
|
|
143
|
+
- **Focus:** Debugging potion brewing test failures
|
|
144
|
+
- Fixed expired ingredient timestamp in tests
|
|
143
145
|
## Next
|
|
144
|
-
- Verify CI passes
|
|
146
|
+
- Verify cauldron CI passes
|
|
145
147
|
</previous_state>
|
|
146
148
|
<transcript>
|
|
147
|
-
User: CI is green now. Let's move on to the
|
|
148
|
-
Assistant: Starting on the
|
|
149
|
+
User: CI is green now. Let's move on to the invisibility cloak renderer.
|
|
150
|
+
Assistant: Starting on the cloak renderer. I'll use a phase-shift approach with mithril threading.
|
|
149
151
|
User: Sounds good.
|
|
150
152
|
</transcript>
|
|
151
153
|
</input>
|
|
152
154
|
<output>
|
|
153
|
-
{"summary":"CI fixed, pivoted to
|
|
155
|
+
{"summary":"Potion CI fixed, pivoted to invisibility cloak renderer","current_focus":"Invisibility cloak renderer implementation","validated":["Phase-shift rendering with mithril threading — user approved the approach"],"next_steps":["Implement phase-shift cloak renderer with mithril threading"]}
|
|
154
156
|
</output>
|
|
155
157
|
</example>
|
|
156
158
|
|