Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .aoci/baseline.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"created_at": "2026-11-19T05:53:26Z",
"updated_at": "2026-11-20T10:44:13Z",
"updated_at": "2026-11-20T13:38:41Z",
"files": {
".agents/skills/changelog-card-publish/SKILL.md": {
"role": "index",
Expand Down Expand Up @@ -773,9 +773,9 @@
},
"aoci.code.txt": {
"role": "index",
"sha256": "a8c909897c9fd56baac348d81d13888fe6a67cface1601909d50041cacd43ff7",
"size": 638265,
"normalized_sha256": "a8c909897c9fd56baac348d81d13888fe6a67cface1601909d50041cacd43ff7"
"sha256": "26fbada301fdabaef4f9619b3207e6212d1a8d6a90cfb2953b8669e9b1efe3e7",
"size": 638332,
"normalized_sha256": "26fbada301fdabaef4f9619b3207e6212d1a8d6a90cfb2953b8669e9b1efe3e7"
},
"aoci.meta.txt": {
"role": "index",
Expand Down Expand Up @@ -28572,21 +28572,21 @@
},
"packages/webui/test/browser/native-design-tasks.spec.mjs": {
"role": "index",
"sha256": "c099778ab1c5e59204d729bf3e292cf7ab009af134b3c550b53be576e5701eab",
"size": 45314,
"normalized_sha256": "c099778ab1c5e59204d729bf3e292cf7ab009af134b3c550b53be576e5701eab"
"sha256": "33cea674d64f367ca42bc585def06b9d2cd3d61750fd87438adb0210eee5a44f",
"size": 45239,
"normalized_sha256": "33cea674d64f367ca42bc585def06b9d2cd3d61750fd87438adb0210eee5a44f"
},
"packages/webui/test/browser/native-design.spec.mjs": {
"role": "index",
"sha256": "239b0eb75c18a5fbb3704f73bf500fa8adc0b48d3b62c9a7929dc82abba81929",
"size": 30847,
"normalized_sha256": "239b0eb75c18a5fbb3704f73bf500fa8adc0b48d3b62c9a7929dc82abba81929"
"sha256": "4e919f583a0816d306e1682b3b98a23a32736d4ac151e51b019011310df9975d",
"size": 30726,
"normalized_sha256": "4e919f583a0816d306e1682b3b98a23a32736d4ac151e51b019011310df9975d"
},
"packages/webui/test/browser/native-runtime.spec.mjs": {
"role": "index",
"sha256": "42e93ba4c5dc0d0923b58ad61bf57499b3b50f5431fe5c67715a18d00ea0aa05",
"size": 14379,
"normalized_sha256": "42e93ba4c5dc0d0923b58ad61bf57499b3b50f5431fe5c67715a18d00ea0aa05"
"sha256": "e37947e6bf06fb5f2f1c4e6c564520d0db202600eb6f9c8d30406aa49990bb74",
"size": 14304,
"normalized_sha256": "e37947e6bf06fb5f2f1c4e6c564520d0db202600eb6f9c8d30406aa49990bb74"
},
"packages/webui/test/browser/overlay-coordination.spec.mjs": {
"role": "index",
Expand Down Expand Up @@ -29408,9 +29408,9 @@
},
"packages/webui/test/integration/design-loopback.test.ts": {
"role": "observe",
"sha256": "7b3edc01cc9e3919222f0b1be7bf1944216effd3be7957bdf25c3746d061e498",
"size": 15809,
"normalized_sha256": "7b3edc01cc9e3919222f0b1be7bf1944216effd3be7957bdf25c3746d061e498"
"sha256": "de5a85a35d1853ffa57e45399557ad62b287f75523a5b32ee673a969fceee957",
"size": 15689,
"normalized_sha256": "de5a85a35d1853ffa57e45399557ad62b287f75523a5b32ee673a969fceee957"
},
"packages/webui/test/integration/isolated-chromium-profile.test.ts": {
"role": "observe",
Expand Down
6 changes: 3 additions & 3 deletions aoci.code.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5687,9 +5687,9 @@ miniapp-panel.spec.mjs[SE4L]: F:Tests Mini App launcher refresh behavior. | R:-
miniapp-standalone-tab.spec.mjs[SE4S]: F:Tests promotion of inline Mini Apps to standalone tabs. | R:- | A:- | S:-
model-picker-interactions.spec.mjs[SE4M]: F:Tests model picker interactions and display of the selected model. | R:- | A:- | S:-
motion.spec.mjs[SE4S]: F:Tests shared WebUI motion contracts. | R:- | A:- | S:-
native-design-tasks.spec.mjs[TB6L]: F:Exercises native Design node runs, reference understanding, authenticated media and cancellation through the browser. | R:code:packages/webui/test/browser/support/native-design-browser-host.ts | A:- | S:Wait for the connected image reference to render after an out-of-band setup write before triggering the slow understanding run. Preserve provider and host evidence for uncompleted runs.
native-design.spec.mjs[SE4L]: F:Exercises native Design menus, graph gestures, real tool presentation, media operations and library controls. | R:code:packages/webui/test/browser/support/native-design-browser-host.ts | A:- | S:FFmpeg must be on PATH. Focus the conversation before the production tool turn so headed Chromium does not defer the panel in a background tab. Clipboard assertions normalize CRLF.
native-runtime.spec.mjs[SE4M]: F:Tests the native runtime path and persistence of terminal sessions. | R:- | A:- | S:-
native-design-tasks.spec.mjs[TB6L]: F:Exercises native Design node runs, reference understanding, authenticated media and cancellation through the browser. | R:code:packages/webui/test/browser/support/native-design-browser-host.ts | A:- | S:Wait for the connected image reference to render after out-of-band setup before starting the slow run. Preserve provider and host evidence. Resolve tsx through its package export.
native-design.spec.mjs[SE4L]: F:Exercises native Design menus, graph gestures, real tool presentation, media operations and library controls. | R:code:packages/webui/test/browser/support/native-design-browser-host.ts | A:- | S:Requires FFmpeg on PATH. Focus the conversation before a real tool turn in headed Chromium. Normalize clipboard CRLF and resolve tsx through its package export.
native-runtime.spec.mjs[SE4M]: F:Tests the native runtime path and persistence of terminal sessions. | R:- | A:- | S:Resolve tsx through its package export before starting the TypeScript host in a child process.
overlay-coordination.spec.mjs[SE4M]: F:Tests Escape dismissal order for stacked overlays. | R:- | A:- | S:-
plugin-catalogue-layout.spec.mjs[SE4L]: F:Tests category layout in plugin marketplace and management views. | R:- | A:- | S:-
plugin-mcp-status.spec.mjs[SE4M]: F:Tests failed MCP connection status and its displayed reason. | R:- | A:- | S:-
Expand Down
4 changes: 2 additions & 2 deletions packages/webui/test/browser/native-design-tasks.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { execFileSync, fork } from "node:child_process";
import { existsSync, readFileSync, renameSync, writeFileSync } from "node:fs";
import { once } from "node:events";
import path from "node:path";
import { fileURLToPath, pathToFileURL } from "node:url";
import { fileURLToPath } from "node:url";
import { expect } from "@playwright/test";
import { test, attachJsonEvidence } from "./harness.mjs";

Expand All @@ -11,7 +11,7 @@ let host, ready;
let logs = "";
test.beforeAll(async () => {
host = fork(path.join(root, "packages/webui/test/browser/support/native-design-browser-host.ts"), [], {
execArgv: ["--import", pathToFileURL(path.join(root, "packages/webui/node_modules/tsx/dist/loader.mjs")).href],
execArgv: ["--import", import.meta.resolve("tsx")],
env: { ...process.env, TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"), WEBUI_DESIGN_BROWSER_DATA_DIR: process.env.WEBUI_DESIGN_BROWSER_DATA_DIR ?? path.join(test.info().project.outputDir, "native-design-task-host") },
stdio: ["ignore", "pipe", "pipe", "ipc"],
});
Expand Down
9 changes: 2 additions & 7 deletions packages/webui/test/browser/native-design.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { execFileSync, fork } from "node:child_process";
import { once } from "node:events";
import { readFileSync } from "node:fs";
import path from "node:path";
import { fileURLToPath, pathToFileURL } from "node:url";
import { fileURLToPath } from "node:url";
import { expect } from "@playwright/test";
import { test, attachJsonEvidence } from "./harness.mjs";

Expand All @@ -18,12 +18,7 @@ test.beforeAll(async () => {
),
[],
{
execArgv: [
"--import",
pathToFileURL(
path.join(root, "packages/webui/node_modules/tsx/dist/loader.mjs"),
).href,
],
execArgv: ["--import", import.meta.resolve("tsx")],
env: {
...process.env,
TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"),
Expand Down
4 changes: 2 additions & 2 deletions packages/webui/test/browser/native-runtime.spec.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fork } from "node:child_process";
import { once } from "node:events";
import path from "node:path";
import { fileURLToPath, pathToFileURL } from "node:url";
import { fileURLToPath } from "node:url";
import { expect } from "@playwright/test";
import { test } from "./harness.mjs";

Expand Down Expand Up @@ -32,7 +32,7 @@ let ready;
let logs = "";
test.beforeAll(async () => {
child = fork(path.join(root, "packages/webui/test/browser/support/native-browser-host.ts"), [], {
execArgv: ["--import", pathToFileURL(path.join(root, "packages/webui/node_modules/tsx/dist/loader.mjs")).href],
execArgv: ["--import", import.meta.resolve("tsx")],
env: { ...process.env, TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"), SHELL: process.platform === "win32" ? "powershell.exe" : "/bin/sh" },
stdio: ["ignore", "pipe", "pipe", "ipc"],
});
Expand Down
4 changes: 2 additions & 2 deletions packages/webui/test/integration/design-loopback.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ import { acquireWebuiStorageLock } from ${JSON.stringify(pathToFileURL(path.join
const service = await createWebuiDesignService(process.env.DESIGN_WORKER_DIR); let release;
process.on('message', async ({id,operation,input}) => { try { const result = operation === 'lock' ? (release = await acquireWebuiStorageLock(input), true) : operation === 'unlock' ? (release(), true) : await service.apply(input); process.send({id,result}); } catch(error) {process.send({id,error:{code:error.code,message:error.message}});} });
process.send({ready:true});`);
const child = fork(script, [], { execArgv: ["--import", pathToFileURL(path.join(root, "packages/webui/node_modules/tsx/dist/loader.mjs")).href], env: { ...process.env, TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"), DESIGN_WORKER_DIR: dataDir }, stdio: ["ignore", "pipe", "pipe", "ipc"] });
const child = fork(script, [], { execArgv: ["--import", import.meta.resolve("tsx")], env: { ...process.env, TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"), DESIGN_WORKER_DIR: dataDir }, stdio: ["ignore", "pipe", "pipe", "ipc"] });
children.push(child);
const [ready] = await once(child, "message"); expect(ready).toEqual({ ready: true });
return { child, request(operation: string, input: unknown): Promise<{ result?: unknown; error?: { code: string } }> { const id = Math.random(); return new Promise((resolve) => { const listener = (message: { id: number; result?: unknown; error?: { code: string } }) => { if (message.id === id) { child.off("message", listener); resolve(message); } }; child.on("message", listener); child.send({ id, operation, input }); }); } };
}
describe("native Design real boundaries", () => {
it("executes the registered Design tool in a real production turn with only a local model endpoint substituted", async () => {
const dataDir = await directory();
const child = fork(path.join(root, "packages/webui/test/browser/support/native-design-browser-host.ts"), [], { execArgv: ["--import", pathToFileURL(path.join(root, "packages/webui/node_modules/tsx/dist/loader.mjs")).href], env: { ...process.env, TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"), WEBUI_DESIGN_BROWSER_DATA_DIR: dataDir }, stdio: ["ignore", "pipe", "pipe", "ipc"] });
const child = fork(path.join(root, "packages/webui/test/browser/support/native-design-browser-host.ts"), [], { execArgv: ["--import", import.meta.resolve("tsx")], env: { ...process.env, TSX_TSCONFIG_PATH: path.join(root, "tsconfig.standalone.json"), WEBUI_DESIGN_BROWSER_DATA_DIR: dataDir }, stdio: ["ignore", "pipe", "pipe", "ipc"] });
children.push(child); let logs = ""; child.stderr!.on("data", (bytes) => { logs += String(bytes); });
const ready = await Promise.race([once(child, "message").then(([value]) => value as { sessionId: string }), once(child, "exit").then(() => { throw new Error(logs); })]);
const response = once(child, "message"); child.send({ requestId: "registered-open", input: { action: "open" } });
Expand Down
Loading