Commit 5c99886
Give the custom agent somewhere to type when running in the current workspace
The agent list ends in "custom...", whose whole point is an arbitrary
command -- but on a local new workspace that command box lives under the
Advanced fold, and both the fold and the inline fallback were gated on
"creating". Running in the current workspace therefore rendered no
command box at all: picking "custom..." left the form claiming an agent
the user had no way to name, and since the preset hands focus to a `cmd`
field that wasn't in the focus cycle, focus fell back to the top of the
form, where the next arrow key silently flipped "Launch in" over to "New
workspace".
The box is now inline wherever there is no fold to hold it -- remote
backends, and the current-workspace shape -- and `cmd` joins that
shape's focus cycle. `submitForm` already read `form.cmd.value` on this
path, so nothing downstream changes.
Also adds a multi-agent interactive tmux script. Three claude panes go
into one workspace holding 2 / 3 / 5 turns, one left running, one quit
cleanly, one crashed; after an editor restart each has to come back with
its own transcript, its own tab name, and its own session id. The turn
counts are the assertion that matters -- they are per-session state on
disk, so a resume reporting the wrong number proves the panes were
cross-wired even when the screen looks perfectly restored.1 parent d87d02e commit 5c99886
4 files changed
Lines changed: 408 additions & 4 deletions
File tree
- crates/fresh-editor
- plugins
- tests/e2e/plugins
- scripts/interactive
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6003 | 6003 | | |
6004 | 6004 | | |
6005 | 6005 | | |
6006 | | - | |
| 6006 | + | |
| 6007 | + | |
| 6008 | + | |
| 6009 | + | |
| 6010 | + | |
| 6011 | + | |
6007 | 6012 | | |
6008 | 6013 | | |
6009 | 6014 | | |
| |||
7461 | 7466 | | |
7462 | 7467 | | |
7463 | 7468 | | |
7464 | | - | |
7465 | | - | |
7466 | | - | |
| 7469 | + | |
| 7470 | + | |
| 7471 | + | |
| 7472 | + | |
| 7473 | + | |
| 7474 | + | |
| 7475 | + | |
| 7476 | + | |
| 7477 | + | |
7467 | 7478 | | |
7468 | 7479 | | |
7469 | 7480 | | |
| |||
Lines changed: 74 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
0 commit comments