merge(app): bring main into chat attach send UI

This commit is contained in:
2026-10-22 12:14:29 +01:00
4 changed files with 26 additions and 8 deletions
+4 -4
View File
@@ -22,7 +22,7 @@ or scratch servers only, never real operator sessions/runs/workflows.
| Area | Current state | Remaining acceptance |
| --- | --- | --- |
| Shared transport/settings connection | Preview | foreground recovery, persisted endpoint boot, protocol warning, complete refresh semantics |
| Native shell/run URLs | Preview: full route vocabulary including pipeline/version/stage, template detail, run visit/stage and decide, runs pipeline filter; pipeline and template links open their detail | run visit/stage and decide destinations still open the run only; no native OS deep-link registration |
| Native shell/run URLs | Preview: full route vocabulary; pipeline/version/stage, template detail and run visit/stage links open their detail/pane | `?action=decide` opening the prompt, runs pipeline filter, native OS deep-link registration |
| Pipeline list/filter/sort/detail/source/versions | Preview: recorded row metadata and miniature, pinned detail URLs, filter/sort | none outstanding on the list/detail read path |
| Definition graph | Preview: measured native canvas, pipeline Graph tab, pan/zoom, expanded view, stage definition pane, pipeline stage deep link | live activity pulse on the run graph (tracked below) |
| Start a pipeline | Preview: native Run action, prompt/workspace/notify dialog, pinned run request, response-loss check/retry | Report format, recent-directory suggestions, pending intent across a reload |
@@ -45,12 +45,12 @@ or scratch servers only, never real operator sessions/runs/workflows.
| Chat message surfaces | Preview: formatted assistant markdown (safe links/headings/lists/tables/fences), user text exact, disclosures plain | exact attachments, unknown-part rendering beyond retained placeholders |
| Chat activity/reasoning/tools | Preview: one activity line, expanded native overlay with lifecycle/input/output/error/duration/edit diff | compaction wording variants |
| Chat composer | Preview: field, Send/Stop, persisted draft, queued/refusal lines; one verified send in the real app flow | attachments, paste and slash palette remain |
| Chat attachments | Preview: host picker, bounded 1 MiB draft, composer chips with removal, base64 wire payload | paste, send wiring in the composer, history reconciliation |
| Chat attachments | Preview: host picker, bounded 1 MiB draft, composer chips, base64 wire payload | send wiring in the composer, paste, history reconciliation |
| Chat permissions/questions | Source: native approval/risk and question cards in the conversation view | authenticated smoke with a real pending approval/question; live multi-client resolution; no production decision sent |
| Chat model/Info/background tasks | Source: numeric Info sheet (unknown != 0) landed | current-model selection, bounded background-task pages |
| Chat commands/notices/scroll | Source: dismissible local notices landed | slash palette/actions, unknown-command send-as-message, saved scroll/follow intent |
| Chat commands/notices/scroll | Preview: dismissible local notices with reconnect clearing | slash palette/actions, unknown-command send-as-message, saved scroll/follow intent |
| Saved schedule list | Preview: Settings row, /schedules route, read-only list; a row opens the owning pipeline detail (Summary by default) | authenticated smoke |
| Schedule editor | Preview: pipeline Summary section creates/edits/pauses/deletes with the lossless draft and revision guard; conflict keeps the draft and shows the server words | Schedule-this-run seeding, schedules list entry/route |
| Schedule editor | Preview: pipeline Summary creates/edits/pauses/deletes with the lossless draft and revision guard; conflict keeps the draft and shows the server words | Schedule-this-run seeding |
| Search | Preview: exact target model and navigation to pipeline, pinned version, run and recorded stage; unresolvable hits stay read-only | field/artifact hits open the run (their pane selection is a later slice) |
| Needs you | Preview: runs-list bell/count, native sheet, dismiss/clear persistence, live fold, transition notifications, Settings permission tile | authenticated preview smoke |
| Notifications | Preview: Settings permission tile over live platform state, transition-only dedupe, tap opens the run | background question notices; permission/browser smoke only in fixtures |
+5
View File
@@ -71,6 +71,11 @@ All work under app/. Existing applications remain running and unchanged.
| Chat sessions | Create/rename/star/close/hide | run98 retained + canceled | oversized run cancelled after 3h; manager verified 155 chat tests, rebased, merged; 1259 suite | merged main | directory groups/search |
| Turn documents | Gallery document slots | run102 retained + canceled | oversized run cancelled; 148 artifact tests, rebased; manager fixed visit drill-down to keep session.html out of stage files | merged main | 1284 suite |
| Attach picker | Host file input seam | run112 micro | single behaviour; 193 chat tests | merged main | chips/send next |
| Chat notices | Dismissible local notices | run121 / merged | micro; 1387 suite; reconnect clears | merged main | preview published 8098 |
| Stage deep link | Pipeline stage from the route | run122 / merged | 1h27m for one behaviour (3 Code visits); tree green | merged main | - |
| Attach send | Composer send with attachments | run123 running | - | - | - |
| Decide route | Decision prompt from the URL | run124 running | - | - | - |
| Model picker | Recorded model chooser | run125 running | - | - | - |
| Routes | Full URL vocabulary | run113 micro | parse/serialise every web route form; 1327 suite | merged main | stage panes next |
| Session export | Recorded state surface | run110 micro | state wording + reasons read-only | merged main | repair request next |
| Activity overlay | Expanded recorded activity | run111 micro | expand/collapse with recorded fields | merged main | - |
@@ -1,4 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The client reaches the Pipelines server over the shared socket. -->
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="Pipelines Next"
android:name="${applicationName}"
+15 -4
View File
@@ -532,12 +532,23 @@ try {
await clickText('Chat');
await clickText('Probe conversation', { contains: true });
await assertBody('User message');
// The empty composer exposes a hint, not an accessible label, so focus it by
// clicking its visible strip above the navigation bar; JS focus alone is not
// Flutter's editing connection and would swallow the text.
// The empty composer exposes a hint, not an accessible label. Locate the
// semantics text field and click its centre: a fixed point misses once an
// attachment strip grows the composer, and JS focus alone is not Flutter's
// editing connection.
const composerPoint = await evaluate(`(() => {
const fields = [...document.querySelectorAll('flt-semantics[role="textbox"], input, textarea')];
const rects = fields
.map((el) => el.getBoundingClientRect())
.filter((r) => r.width > 40 && r.height > 10);
if (!rects.length) return null;
const lowest = rects.sort((a, b) => b.bottom - a.bottom)[0];
return { x: lowest.left + lowest.width / 2, y: lowest.top + lowest.height / 2 };
})()`);
if (!composerPoint) throw new Error('The composer text field is not exposed');
for (const type of ['mousePressed', 'mouseReleased']) {
await send('Input.dispatchMouseEvent', {
type, x: 150, y: 700, button: 'left', clickCount: 1,
type, x: composerPoint.x, y: composerPoint.y, button: 'left', clickCount: 1,
}, session);
}
await delay(400);