@deepstrike/core 0.2.11 → 0.2.12

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.d.ts +8 -1
  2. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -130,8 +130,15 @@ export interface RenderedContext {
130
130
  systemStable: string
131
131
  /** Knowledge (memory retrievals, skill definitions, artifacts). Anthropic system[1] with cache_control. */
132
132
  systemKnowledge: string
133
- /** Turns: [0] = State (task_state + signals), [1..N] = History. */
133
+ /** History turns only the stable, cacheable message prefix. */
134
134
  turns: Array<Message>
135
+ /** Volatile State turn (task_state + signals), rendered after the cacheable history. */
136
+ stateTurn?: Message
137
+ /**
138
+ * P1-E: count of leading `turns` forming the frozen prefix (byte-stable until the next
139
+ * compaction). Providers pin a deep cache breakpoint here; absent ⇒ rolling-pair fallback.
140
+ */
141
+ frozenPrefixLen?: number
135
142
  }
136
143
  /**
137
144
  * Format a VerificationContract as a markdown string suitable for injection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepstrike/core",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "DeepStrike kernel — pre-built native addon",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -23,12 +23,12 @@
23
23
  ]
24
24
  },
25
25
  "optionalDependencies": {
26
- "@deepstrike/core-darwin-arm64": "0.2.11",
27
- "@deepstrike/core-darwin-x64": "0.2.11",
28
- "@deepstrike/core-linux-arm64-gnu": "0.2.11",
29
- "@deepstrike/core-linux-arm64-musl": "0.2.11",
30
- "@deepstrike/core-linux-x64-gnu": "0.2.11",
31
- "@deepstrike/core-linux-x64-musl": "0.2.11",
32
- "@deepstrike/core-win32-x64-msvc": "0.2.11"
26
+ "@deepstrike/core-darwin-arm64": "0.2.12",
27
+ "@deepstrike/core-darwin-x64": "0.2.12",
28
+ "@deepstrike/core-linux-arm64-gnu": "0.2.12",
29
+ "@deepstrike/core-linux-arm64-musl": "0.2.12",
30
+ "@deepstrike/core-linux-x64-gnu": "0.2.12",
31
+ "@deepstrike/core-linux-x64-musl": "0.2.12",
32
+ "@deepstrike/core-win32-x64-msvc": "0.2.12"
33
33
  }
34
34
  }