Skip to content

feat(agent): plaintext Write synthesis and flow-chat UI polish#664

Merged
GCWing merged 1 commit into
GCWing:mainfrom
bobleer:feat/write-tool-plaintext-generation-flow-chat-ui
May 11, 2026
Merged

feat(agent): plaintext Write synthesis and flow-chat UI polish#664
GCWing merged 1 commit into
GCWing:mainfrom
bobleer:feat/write-tool-plaintext-generation-flow-chat-ui

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 11, 2026

Summary

  • Write tool reliability: When the model issues a Write call without embedding content in JSON arguments, core runs a follow-up completion with full session history and extracts file body from <bitfun_contents> tags, avoiding oversized / brittle JSON tool payloads.
  • Write tool schema: Requires only file_path; prompts steer models to omit inline file content from tool-call JSON.
  • Flow chat UI: Adds smooth height-collapse for expandable regions; updates virtual list / follow-output, event tooling, compact/base tool cards, and CodePreview for streamed tool UX.

Verification

  • pnpm run lint:web
  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run
  • cargo check --workspace

RoundExecutor synthesizes Write tool contents in a secondary completion
using `<bitfun_contents>` tags when the model omits `content` from JSON.

Update Write tool schema to require only file_path (no inlined content).
Polish flow chat UI: collapsible transitions, virtual list/follow-output,
tool cards, and event handling for streamed tool telemetry.
@GCWing GCWing merged commit ff066af into GCWing:main May 11, 2026
4 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