Mohamed Boudra
d1bda25a0b
fix(app): source composer cwd from agent state, not draft hook
...
The GitHub picker showed "No results found." for any running agent after
the first message was sent. useAgentInputDraft owned a local cwd state
that clear("sent") wiped to "", so the composer read cwd: "" even though
the agent's real cwd was correct on the wire.
Drop cwd ownership from the hook. Composer takes cwd as a prop sourced
by the parent — agentState.cwd for running agents, composerState.workingDir
for drafts, sourceDirectory for setup flows. The hook now persists only
{text, attachments}. Legacy persisted drafts with a cwd field still
hydrate; tagged COMPAT(draft-cwd) for removal after 2026-11-09.
Also moves attachment pills back inside the composer's bordered surface
via a new attachmentSlot prop on MessageInput, and shrinks pill height
from 48 to 32 — the subagents-track tuck previously had attachments
floating between it and the input.
Adds one Playwright spec asserting the draft-create-agent path submits
the workspace cwd.
2026-05-09 18:32:43 +07:00
..
2026-04-24 12:26:10 +08:00
2026-05-02 18:04:18 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-05-09 19:31:19 +08:00
2026-05-02 12:12:44 +07:00
2026-04-18 14:21:40 +07:00
2026-05-07 13:08:10 +08:00
2026-05-06 20:00:40 +08:00
2026-04-18 12:08:30 +07:00
2026-04-18 12:08:30 +07:00
2026-05-09 15:39:13 +08:00
2026-04-01 13:37:51 +07:00
2026-04-01 13:37:51 +07:00
2026-04-04 16:35:31 +07:00
2026-05-05 19:56:26 +07:00
2026-05-05 19:58:56 +07:00
2026-04-24 12:26:10 +08:00
2026-03-10 12:56:18 +07:00
2026-04-24 12:26:10 +08:00
2026-03-21 20:22:15 +07:00
2026-04-06 18:15:30 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 21:55:57 +07:00
2026-04-24 11:55:43 +07:00
2026-04-24 11:55:43 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-05-06 15:15:15 +07:00
2026-05-02 19:28:40 +08:00
2026-05-02 19:28:40 +08:00
2026-04-28 13:28:02 +07:00
2026-05-07 15:23:16 +07:00
2026-05-05 19:58:56 +07:00
2026-05-07 15:23:16 +07:00
2026-04-24 12:26:10 +08:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-04-19 14:26:50 +07:00
2026-04-19 14:26:50 +07:00
2026-04-24 12:26:10 +08:00
2026-03-29 23:20:18 +07:00
2026-03-29 23:20:18 +07:00
2026-05-09 18:32:43 +07:00
2026-05-02 18:04:18 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-18 09:56:14 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-01-26 18:03:51 +07:00
2026-03-04 11:57:22 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-05-09 15:39:26 +08:00
2026-04-24 12:26:10 +08:00
2026-05-05 19:56:26 +07:00
2026-04-16 10:33:49 +08:00
2026-04-16 10:33:49 +08:00
2026-05-02 14:02:27 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-05-05 19:58:56 +07:00
2026-04-12 09:56:05 +08:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-05-09 18:32:43 +07:00
2026-05-09 12:44:07 +07:00
2026-05-06 17:25:16 +08:00
2026-05-01 11:42:30 +07:00
2026-05-09 16:46:49 +08:00
2026-05-05 19:56:26 +07:00
2026-04-15 10:52:28 +07:00
2026-04-24 12:26:10 +08:00
2026-04-27 15:22:16 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-04-23 15:19:40 +07:00
2026-04-23 15:19:40 +07:00
2026-04-23 15:19:40 +07:00
2026-04-23 15:19:40 +07:00
2026-04-26 13:16:24 +07:00
2026-04-26 13:16:24 +07:00
2026-05-06 13:22:31 +08:00
2026-05-09 15:39:26 +08:00
2026-03-18 01:36:54 +07:00
2026-03-21 20:22:15 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-03-21 20:22:15 +07:00
2026-03-18 20:39:16 +07:00
2026-03-21 20:22:15 +07:00
2026-03-21 20:22:15 +07:00
2026-05-05 19:58:55 +07:00
2026-04-24 12:26:10 +08:00
2026-05-02 19:53:50 +08:00
2026-04-06 18:15:30 +07:00
2026-05-02 19:53:50 +08:00
2026-05-02 19:53:50 +08:00
2026-05-02 19:53:50 +08:00
2026-04-24 12:26:10 +08:00
2026-05-05 19:58:55 +07:00
2026-05-03 20:38:12 +07:00
2026-05-03 17:17:02 +07:00
2026-05-02 17:20:22 +07:00
2026-05-02 12:12:44 +07:00
2026-03-21 20:22:15 +07:00
2026-04-24 12:26:10 +08:00
2026-05-05 19:56:26 +07:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-02-18 15:10:20 +07:00
2026-04-24 12:26:10 +08:00
2026-05-03 15:05:59 +07:00
2026-05-09 15:39:26 +08:00
2026-05-09 18:32:43 +07:00
2026-04-30 21:36:41 +08:00
2026-04-20 18:06:09 +07:00
2026-05-06 13:22:31 +08:00
2026-05-06 13:22:31 +08:00