mindwire 0.1.6 → 0.1.8
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -129,6 +129,8 @@ export interface ResultInfo {
|
|
|
129
129
|
/** The unified stream item. Optional fields are populated per `type`. */
|
|
130
130
|
export interface Event {
|
|
131
131
|
type: EventType;
|
|
132
|
+
/** Text/thinking item identity. A non-delta snapshot replaces this item's earlier text. */
|
|
133
|
+
itemId?: string;
|
|
132
134
|
sessionId?: string;
|
|
133
135
|
/** Assistant/thinking text body. */
|
|
134
136
|
text?: string;
|
|
@@ -596,6 +598,8 @@ export interface ToolPart {
|
|
|
596
598
|
/** One ordered piece of an assistant turn. */
|
|
597
599
|
export interface Part {
|
|
598
600
|
type: "text" | "thinking" | "tool" | "interaction" | "compaction" | (string & {});
|
|
601
|
+
/** Streaming item identity, when the agent supplies it. */
|
|
602
|
+
id?: string;
|
|
599
603
|
text?: string;
|
|
600
604
|
durationMs?: number;
|
|
601
605
|
tokens?: number;
|