Skip to content

fix(web): preserve PicoClaw tool feedback rendering#126

Merged
RussellLuo merged 1 commit into
OpenCSGs:mainfrom
GatewayJ:codex/fix-picoclaw-tool-feedback
May 27, 2026
Merged

fix(web): preserve PicoClaw tool feedback rendering#126
RussellLuo merged 1 commit into
OpenCSGs:mainfrom
GatewayJ:codex/fix-picoclaw-tool-feedback

Conversation

@GatewayJ
Copy link
Copy Markdown
Collaborator

@GatewayJ GatewayJ commented May 27, 2026

  • Keep legacy PicoClaw tool feedback messages in Markdown rendering when they start with the wrench prefix.
  • Limit extracted JSON promotion to explicit CSGClaw envelope payloads such as csgclaw.action_card and csgclaw.notify_card.
  • Add regression coverage for action-card extraction and PicoClaw tool feedback rendering.
  • Root cause: generic JSON extraction promoted PicoClaw tool feedback JSON into structured cards and hid the wrench-style rendering.
  • Validation: pnpm --dir web/app test -- tests/components/MessageContent.test.tsx tests/components/MessageContent/structuredMessages.test.ts.
  • Validation: pnpm --dir web/app typecheck.
  • Note: local validation emitted the existing Node engine warning because this environment ran Node v26 while the package declares >=22.13.0 <25.

@GatewayJ GatewayJ changed the title [codex] preserve PicoClaw tool feedback rendering fix(web): preserve PicoClaw tool feedback rendering May 27, 2026
@GatewayJ GatewayJ marked this pull request as ready for review May 27, 2026 06:54
@RussellLuo RussellLuo merged commit c230e09 into OpenCSGs:main May 27, 2026
1 of 3 checks 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.

2 participants