@deepstrike/wasm-kernel 0.2.65 → 0.2.68

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.
@@ -56,8 +56,7 @@ export interface CanonicalRestoreCost {
56
56
  export interface ContentPartObj {
57
57
  type: string;
58
58
  text?: string;
59
- url?: string;
60
- data?: string;
59
+ source?: MediaSourceObj;
61
60
  mediaType?: string;
62
61
  detail?: string;
63
62
  callId?: string;
@@ -98,6 +97,16 @@ export interface LoopResult {
98
97
  totalTokensUsed: number;
99
98
  }
100
99
 
100
+ export interface MediaSourceObj {
101
+ kind: string;
102
+ url?: string;
103
+ data?: string;
104
+ id?: string;
105
+ handle?: string;
106
+ owner?: string;
107
+ payloadRef?: string;
108
+ }
109
+
101
110
  export interface MemoryProvenance {
102
111
  sessionId?: string;
103
112
  author: string;
@@ -132,7 +141,6 @@ export interface Message {
132
141
  role: string;
133
142
  content: string;
134
143
  contentParts?: ContentPartObj[];
135
- tokenCount?: number;
136
144
  toolCalls?: ToolCall[];
137
145
  }
138
146
 
@@ -221,7 +229,6 @@ export interface ToolResult {
221
229
  isError?: boolean;
222
230
  isFatal?: boolean;
223
231
  errorKind?: string;
224
- tokenCount?: number;
225
232
  }
226
233
 
227
234
  export interface ToolSchema {
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@deepstrike/wasm-kernel",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for DeepStrike runtime kernel",
5
- "version": "0.2.65",
5
+ "version": "0.2.68",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "files": [
8
8
  "deepstrike_wasm_bg.wasm",