Skip to content

Add Codex + ChatGPT backends, Pi Docker fix, and docs/changelog updates#26

Draft
madiver wants to merge 14 commits intotheNetworkChuck:mainfrom
madiver:main
Draft

Add Codex + ChatGPT backends, Pi Docker fix, and docs/changelog updates#26
madiver wants to merge 14 commits intotheNetworkChuck:mainfrom
madiver:main

Conversation

@madiver
Copy link
Copy Markdown

@madiver madiver commented Feb 17, 2026

Summary

  • Add Codex backend support in API server + CLI backend selection flow
  • Add ChatGPT backend (chatgpt) via OpenAI Responses API
  • Add backend-aware setup/start/doctor behavior for claude, codex, chatgpt
  • Fix Debian/Raspberry Pi Docker auto-install path (repo selection + privileged apt source write)
  • Add CHANGELOG.md and update docs for multi-backend operation
  • Add Debian/Pi 3CX SBC installation guide: docs/3CX-SBC-DEBIAN.md

Validation

  • End-to-end verified in split mode (Pi voice server -> API server backend)
  • API health verified for chatgpt backend
  • CLI + voice tests run directly:
    • node --test cli/test/*.test.js
    • node --test voice-app/test/*.test.js
  • Lint runs clean (warnings only, no errors)

Notes

  • Root npm test currently has a pre-existing shell glob issue for cli/test/**/*.test.js in this environment; direct test commands above pass.

@madiver madiver marked this pull request as draft February 17, 2026 11:12
huetruong referenced this pull request in huetruong/claude-phone-openclaw Feb 26, 2026
Replaces hardcoded greeting with a live initial bridge query so the
agent controls its own opening — personalising by name, referencing
prior conversation, or starting enrollment for first-time callers.

Key changes:
- conversation-loop.js: greeting block queries the bridge with hold
  music, AbortController for hangup, and FALLBACK_GREETING on error
- buildInitialQuery() helper with [INITIAL GREETING REQUEST] marker;
  identity context prepended automatically by plugin (Story 5.2)
- FALLBACK_GREETING env var (default "Hello! How can I help you?")
- 15 new tests in dynamic-greeting.test.js (AC coverage + peerId
  forwarding; 126 voice-app tests total, all passing)
- skipGreeting: true added to abort-on-hangup and hold-music tests
  to prevent vacuous passes against the new greeting code path

Code-review fixes applied in same commit:
- uuid_break now called on ERR_CANCELED greeting hangup path
  (consistent with main loop abort pattern)
- null-guard on bridge result before property access
- FALLBACK_GREETING moved above URL constants into its own block
- Story tasks 1.1/1.3/1.4 corrected to reflect actual implementation
- abort-on-hangup.test.js documented in story File List and Debug Log

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant