Add Codex + ChatGPT backends, Pi Docker fix, and docs/changelog updates#26
Draft
madiver wants to merge 14 commits intotheNetworkChuck:mainfrom
Draft
Add Codex + ChatGPT backends, Pi Docker fix, and docs/changelog updates#26madiver wants to merge 14 commits intotheNetworkChuck:mainfrom
madiver wants to merge 14 commits intotheNetworkChuck:mainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chatgpt) via OpenAI Responses APIclaude,codex,chatgptCHANGELOG.mdand update docs for multi-backend operationdocs/3CX-SBC-DEBIAN.mdValidation
chatgptbackendnode --test cli/test/*.test.jsnode --test voice-app/test/*.test.jsNotes
npm testcurrently has a pre-existing shell glob issue forcli/test/**/*.test.jsin this environment; direct test commands above pass.