Skip to content

fix: recover chat source replies#612

Merged
rogerchappel merged 1 commit into
mainfrom
codex/fix-chat-source-reply-done
Jun 1, 2026
Merged

fix: recover chat source replies#612
rogerchappel merged 1 commit into
mainfrom
codex/fix-chat-source-reply-done

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • treat tool-backed Done. / completion-status chat finals as placeholders instead of visible answers
  • recover the visible message from OpenClaw chat history, matching Dashboard's projected message-tool reply path
  • read nested sourceReply payloads from tool result/details/metadata shapes

Verification

  • pnpm vitest run src/app/api/chat/route.test.ts
  • pnpm typecheck
  • pnpm lint (passes with existing warnings)
  • git diff --check
  • pre-push hook: pnpm typecheck && pnpm build (build passes with existing Turbopack NFT warnings)

Risk

Medium: changes normal chat final-answer selection for tool-backed placeholder replies; no auth, data, config, or migration changes.

@rogerchappel rogerchappel merged commit 3923b5e into main Jun 1, 2026
1 check passed
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