explorbot 0.1.30 → 0.1.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "explorbot",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "CLI app built with React Ink, CodeceptJS, and Playwright",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
@@ -74,7 +74,7 @@
74
74
  "@faker-js/faker": "^10.4.0",
75
75
  "@inkjs/ui": "^2.0.0",
76
76
  "@langfuse/otel": "^4.5.1",
77
- "@openrouter/ai-sdk-provider": "^2.3.3",
77
+ "@openrouter/ai-sdk-provider": "^3.0.0",
78
78
  "@opentelemetry/api": "^1.9.0",
79
79
  "@opentelemetry/auto-instrumentations-node": "^0.67.3",
80
80
  "@opentelemetry/instrumentation": "^0.208.0",
@@ -34,7 +34,7 @@ export class Conversation {
34
34
  const imageData = image.startsWith('data:') ? image : `data:image/png;base64,${image}`;
35
35
  this.messages.push({
36
36
  role: 'user',
37
- content: [{ type: 'image', image: imageData }],
37
+ content: [{ type: 'file', mediaType: 'image/png', data: imageData }],
38
38
  });
39
39
  }
40
40
  addAssistantText(text) {
@@ -578,8 +578,9 @@ export class Provider {
578
578
  text: prompt,
579
579
  },
580
580
  {
581
- type: 'image',
582
- image: imageData,
581
+ type: 'file',
582
+ mediaType: 'image/png',
583
+ data: imageData,
583
584
  },
584
585
  ],
585
586
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "explorbot",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "CLI app built with React Ink, CodeceptJS, and Playwright",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
@@ -74,7 +74,7 @@
74
74
  "@faker-js/faker": "^10.4.0",
75
75
  "@inkjs/ui": "^2.0.0",
76
76
  "@langfuse/otel": "^4.5.1",
77
- "@openrouter/ai-sdk-provider": "^2.3.3",
77
+ "@openrouter/ai-sdk-provider": "^3.0.0",
78
78
  "@opentelemetry/api": "^1.9.0",
79
79
  "@opentelemetry/auto-instrumentations-node": "^0.67.3",
80
80
  "@opentelemetry/instrumentation": "^0.208.0",
@@ -51,7 +51,7 @@ export class Conversation {
51
51
 
52
52
  this.messages.push({
53
53
  role: 'user',
54
- content: [{ type: 'image', image: imageData }],
54
+ content: [{ type: 'file', mediaType: 'image/png', data: imageData }],
55
55
  });
56
56
  }
57
57
 
@@ -641,8 +641,9 @@ export class Provider {
641
641
  text: prompt,
642
642
  },
643
643
  {
644
- type: 'image',
645
- image: imageData,
644
+ type: 'file',
645
+ mediaType: 'image/png',
646
+ data: imageData,
646
647
  },
647
648
  ],
648
649
  },