Skip to content

[codex] add chat companion provider support#1

Open
bruceeewong wants to merge 2 commits into
zebangeth:mainfrom
bruceeewong:codex/chat-companion-pr
Open

[codex] add chat companion provider support#1
bruceeewong wants to merge 2 commits into
zebangeth:mainfrom
bruceeewong:codex/chat-companion-pr

Conversation

@bruceeewong
Copy link
Copy Markdown

Summary

  • add an optional Chat Companion module that connects PawPal to OpenAI-compatible chat completion providers
  • add chat sessions, state locking, provider-driven pet state switching, model discovery, settings, diagnostics, and chat bubble UI
  • add design documentation and update the README feature list/project structure

Impact

Users can enable chat, configure a provider profile, talk to PawPal from the speech bubble, and have PawPal react with matching companion states while preserving existing reminders and focus-mode behavior. Chat remains opt-in and keeps the latest session in local storage.

Validation

  • pnpm build
  • git diff --check origin/main...HEAD

@bruceeewong
Copy link
Copy Markdown
Author

给小狗子加了陪聊的功能,还能随回复变换心情状态。添加了主流的OpenAI兼容的模型接口配置,自测了一遍没什么问题。
Check out docs/chat-companion-design.md for more design details.

@bruceeewong bruceeewong force-pushed the codex/chat-companion-pr branch 2 times, most recently from 7bd2f6b to da4e123 Compare May 2, 2026 20:12
@bruceeewong
Copy link
Copy Markdown
Author

效果图:
image
image
image
image

配置项:
image

Debug信息:
image

@bruceeewong bruceeewong force-pushed the codex/chat-companion-pr branch from da4e123 to f71abc5 Compare May 2, 2026 22:28
@bruceeewong bruceeewong marked this pull request as ready for review May 2, 2026 22:33
@bruceeewong bruceeewong force-pushed the codex/chat-companion-pr branch from f71abc5 to 829f4b8 Compare May 3, 2026 14:20
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