bloby-bot 0.33.1 → 0.33.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bloby-bot",
3
- "version": "0.33.1",
3
+ "version": "0.33.2",
4
4
  "releaseNotes": [
5
5
  "1. # voice note (PTT bubble)",
6
6
  "2. # audio file + caption",
@@ -1305,8 +1305,11 @@ ${!connected ? `<script>
1305
1305
 
1306
1306
  log.info(`[bloby] provider=${freshConfig.ai.provider}, model=${freshConfig.ai.model}`);
1307
1307
 
1308
- // Route Anthropic through Agent SDK (uses OAuth token, not API key)
1309
- if (freshConfig.ai.provider === 'anthropic') {
1308
+ // Route through the agent harness for any provider that has one
1309
+ // (Anthropic Claude SDK, OpenAI → Codex app-server). The dispatcher
1310
+ // in bloby-agent.ts picks the right harness; both use OAuth tokens
1311
+ // from their own credentials files, not config.ai.apiKey.
1312
+ if (freshConfig.ai.provider === 'anthropic' || freshConfig.ai.provider === 'openai') {
1310
1313
  // Server-side persistence: create or reuse DB conversation, save user message
1311
1314
  (async () => {
1312
1315
  // Save attachments to disk (before try so it's accessible in startBlobyAgentQuery below)