@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.
Files changed (2) hide show
  1. package/index.ts +15 -13
  2. 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:** JWT authentication implementation
122
- - Chose JWT over sessionseliminates Redis dependency
123
+ - **Focus:** Spaceship navigation module
124
+ - Chose warp drive over hyperspacefewer dimensional side effects
123
125
  ## Next
124
- - Test refresh token flow
126
+ - Test warp field calculations
125
127
  </previous_state>
126
128
  <transcript>
127
- User: Actually let's use sessions after all — the team is more familiar with them and we already have Redis in prod
128
- Assistant: Switched back to express-session with Redis store. Removed the JWT middleware.
129
- User: Good. And make the session timeout 8 hours not the default 24.
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 JWT decision back to sessionsteam familiarity and existing Redis infra","current_focus":"Session-based authentication","decisions":["Reverted to express-session with Redis team familiarity with sessions outweighs JWT's statelessness benefit, Redis already in production"],"corrections":["User reversed the JWT decision after initial implementation — team constraints weren't considered"],"next_steps":["Configure 8-hour session timeout","Remove JWT dependencies"]}
135
+ {"summary":"Reversed warp drive decision back to hyperspacecrew familiarity and existing motivator hardware","current_focus":"Hyperspace navigation","decisions":["Reverted to hyperspace enginecrew 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 webhook test failures
142
- - Fixed hardcoded timestamp in tests
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 API rate limiter.
148
- Assistant: Starting on the rate limiter. I'll use a sliding window approach with Redis.
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 API rate limiter","current_focus":"API rate limiter implementation","validated":["Sliding window rate limiting with Redis — user approved without pushback"],"next_steps":["Implement sliding window rate limiter with Redis"]}
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidwire/llm-summarize",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Structured session insight extraction for knowledge systems",
5
5
  "type": "module",
6
6
  "main": "./index.ts",