@deepstrike/core 0.2.2 → 0.2.3

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 +6 -9
  2. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -124,16 +124,13 @@ export interface SkillMetadata {
124
124
  * can map each field to their own API contract without role-filtering.
125
125
  */
126
126
  export interface RenderedContext {
127
- /**
128
- * Combined system text: system partition + dashboard (when non-empty).
129
- * Anthropic → `system` param · OpenAI → `messages[0]` system role ·
130
- * Gemini → `systemInstruction`.
131
- */
127
+ /** Identity + Knowledge combined — for providers with a single system slot (OpenAI). */
132
128
  systemText: string
133
- /**
134
- * Strictly alternating user / assistant / tool turns.
135
- * Working-partition signals are already folded into the first user turn.
136
- */
129
+ /** Identity only (system partition). Anthropic system[0] with cache_control. */
130
+ systemStable: string
131
+ /** Knowledge (memory retrievals, skill definitions, artifacts). Anthropic system[1] with cache_control. */
132
+ systemKnowledge: string
133
+ /** Turns: [0] = State (task_state + signals), [1..N] = History. */
137
134
  turns: Array<Message>
138
135
  }
139
136
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepstrike/core",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
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.2",
27
- "@deepstrike/core-darwin-x64": "0.2.2",
28
- "@deepstrike/core-linux-arm64-gnu": "0.2.2",
29
- "@deepstrike/core-linux-arm64-musl": "0.2.2",
30
- "@deepstrike/core-linux-x64-gnu": "0.2.2",
31
- "@deepstrike/core-linux-x64-musl": "0.2.2",
32
- "@deepstrike/core-win32-x64-msvc": "0.2.2"
26
+ "@deepstrike/core-darwin-arm64": "0.2.3",
27
+ "@deepstrike/core-darwin-x64": "0.2.3",
28
+ "@deepstrike/core-linux-arm64-gnu": "0.2.3",
29
+ "@deepstrike/core-linux-arm64-musl": "0.2.3",
30
+ "@deepstrike/core-linux-x64-gnu": "0.2.3",
31
+ "@deepstrike/core-linux-x64-musl": "0.2.3",
32
+ "@deepstrike/core-win32-x64-msvc": "0.2.3"
33
33
  }
34
34
  }