mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4437] [CLOSED] [GUI] Open a helper's conversation, answer it, and keep the draft when a send fails #5048
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5048
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/4437
Author: @xvcezrqpbxtpzblrt
Created: 10/28/2026
Status: ❌ Closed
Base:
main← Head:gui/helper-panel-027📝 Commits (5)
1f950fd[GUI] Open a helper's conversation, write to it, and keep what was typed when a send fails75d1624gui: the send outcome, the row types and the popover that must not close the panel7b655daci: re-run the checksd943756gui: the helper-panel tests over the real hostfda39c6gui: the row store the helper panel's bridge imports📊 Changes
17 files changed (+2226 additions, -58 deletions)
View changed files
📝
apps/host/server/agent/agent-bridge.mjs(+310 -9)➕
apps/host/server/agent/agent-rows.mjs(+332 -0)📝
apps/host/server/agent/children.mjs(+265 -6)📝
apps/host/src/components/Markdown.tsx(+11 -3)📝
apps/host/src/components/Popover.tsx(+5 -1)📝
apps/host/src/components/SubagentRow.tsx(+157 -6)📝
apps/host/src/lib/store.ts(+115 -12)📝
apps/host/src/lib/types.ts(+5 -1)📝
apps/host/src/screens/Chat.tsx(+359 -15)📝
apps/host/src/styles/annotation-fixes.css(+13 -0)📝
apps/host/tests/agent-children.test.mjs(+70 -0)📝
apps/host/tests/agent-host.test.mjs(+60 -0)➕
apps/host/tests/agent-subagent-chat.test.mjs(+89 -0)➕
apps/host/tests/agent-subagent-transcript.test.mjs(+119 -0)📝
apps/host/tests/agent-tools-settings.test.mjs(+3 -3)➕
apps/host/tests/chat-send-draft.test.mjs(+309 -0)📝
apps/host/tests/no-model-chat.test.mjs(+4 -2)📄 Description
Depends on #4435 for its two routes (
GET /api/chat/subagents/:childId,POST /api/chat/subagent/prompt) and for the send outcome instore.ts: those live in files that PR also changes. Without it this branch's panel has nothing to call. Review #4435 first.Problem
Result
interruptedrows also getContinue, in the person's language.Validation
node --test tests/agent-subagent-transcript.test.mjs tests/agent-subagent-chat.test.mjs tests/chat-send-draft.test.mjs tests/agent-children.test.mjs→ 39 pass, 0 fail (the last one needsSTRATA_HARNESS_DIRfor the real-Harness cases).Limits
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.