bloby-bot 0.47.1 → 0.47.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.47.1",
3
+ "version": "0.47.2",
4
4
  "releaseNotes": [
5
5
  "1. # voice note (PTT bubble)",
6
6
  "2. # audio file + caption",
@@ -1348,10 +1348,11 @@ ${!connected ? `<script>
1348
1348
  log.info(`[bloby] provider=${freshConfig.ai.provider}, model=${freshConfig.ai.model}`);
1349
1349
 
1350
1350
  // Route through the agent harness for any provider that has one
1351
- // (Anthropic → Claude SDK, OpenAI → Codex app-server). The dispatcher
1352
- // in bloby-agent.ts picks the right harness; both use OAuth tokens
1353
- // from their own credentials files, not config.ai.apiKey.
1354
- if (freshConfig.ai.provider === 'anthropic' || freshConfig.ai.provider === 'openai') {
1351
+ // (Anthropic → Claude SDK, OpenAI → Codex app-server, Bloby/pi → pi
1352
+ // harness). The dispatcher in bloby-agent.ts picks the right harness;
1353
+ // credentials live next to each harness (claude.json, codex auth.json,
1354
+ // pi-auth.json) not in config.ai.apiKey.
1355
+ if (freshConfig.ai.provider === 'anthropic' || freshConfig.ai.provider === 'openai' || freshConfig.ai.provider === 'pi') {
1355
1356
  // Server-side persistence: create or reuse DB conversation, save user message
1356
1357
  (async () => {
1357
1358
  // Save attachments to disk (before try so it's accessible in startBlobyAgentQuery below)