@everworker/oneringai 0.2.0 → 0.2.2
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/README.md +165 -3
- package/dist/capabilities/agents/index.d.cts +1 -1
- package/dist/capabilities/agents/index.d.ts +1 -1
- package/dist/capabilities/images/index.cjs +44 -4
- package/dist/capabilities/images/index.cjs.map +1 -1
- package/dist/capabilities/images/index.js +44 -4
- package/dist/capabilities/images/index.js.map +1 -1
- package/dist/{index-MJ14lkui.d.cts → index-D62LXWdW.d.cts} +9 -0
- package/dist/{index-B5UaeEvK.d.ts → index-DVb6vfA3.d.ts} +9 -0
- package/dist/index.cjs +3199 -610
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +840 -9
- package/dist/index.d.ts +840 -9
- package/dist/index.js +3165 -611
- package/dist/index.js.map +1 -1
- package/dist/shared/index.cjs +17 -0
- package/dist/shared/index.cjs.map +1 -1
- package/dist/shared/index.js +17 -0
- package/dist/shared/index.js.map +1 -1
- package/package.json +14 -1
|
@@ -525,6 +525,15 @@ interface ToolResultContent extends BaseContent {
|
|
|
525
525
|
tool_use_id: string;
|
|
526
526
|
content: string | any;
|
|
527
527
|
error?: string;
|
|
528
|
+
/**
|
|
529
|
+
* Images extracted from tool results via the __images convention.
|
|
530
|
+
* Stored separately from `content` so they don't inflate text-based token counts.
|
|
531
|
+
* Provider converters read this field to inject native multimodal image blocks.
|
|
532
|
+
*/
|
|
533
|
+
__images?: Array<{
|
|
534
|
+
base64: string;
|
|
535
|
+
mediaType: string;
|
|
536
|
+
}>;
|
|
528
537
|
}
|
|
529
538
|
type Content = InputTextContent | InputImageContent | InputFileContent | OutputTextContent | ToolUseContent | ToolResultContent;
|
|
530
539
|
|
|
@@ -525,6 +525,15 @@ interface ToolResultContent extends BaseContent {
|
|
|
525
525
|
tool_use_id: string;
|
|
526
526
|
content: string | any;
|
|
527
527
|
error?: string;
|
|
528
|
+
/**
|
|
529
|
+
* Images extracted from tool results via the __images convention.
|
|
530
|
+
* Stored separately from `content` so they don't inflate text-based token counts.
|
|
531
|
+
* Provider converters read this field to inject native multimodal image blocks.
|
|
532
|
+
*/
|
|
533
|
+
__images?: Array<{
|
|
534
|
+
base64: string;
|
|
535
|
+
mediaType: string;
|
|
536
|
+
}>;
|
|
528
537
|
}
|
|
529
538
|
type Content = InputTextContent | InputImageContent | InputFileContent | OutputTextContent | ToolUseContent | ToolResultContent;
|
|
530
539
|
|