fix: restore canvas ci checks · openclaw/openclaw@2c0f8a0
shakkernerd
·
2026-05-07
·
via Recent Commits to openclaw:main
File tree
extensions/canvas/scripts
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,15 +7,6 @@ import { copyA2uiAssets } from "./copy-a2ui.mjs";
|
7 | 7 | const ORIGINAL_SKIP_MISSING = process.env.OPENCLAW_A2UI_SKIP_MISSING; |
8 | 8 | const ORIGINAL_SPARSE_PROFILE = process.env.OPENCLAW_SPARSE_PROFILE; |
9 | 9 | |
10 | | -async function withTempDir(prefix: string, run: (dir: string) => Promise<void>): Promise<void> { |
11 | | -const dir = await fs.mkdtemp(path.join(os.tmpdir(), prefix)); |
12 | | -try { |
13 | | -await run(dir); |
14 | | -} finally { |
15 | | -await fs.rm(dir, { recursive: true, force: true }); |
16 | | -} |
17 | | -} |
18 | | - |
19 | 10 | describe("canvas a2ui copy", () => { |
20 | 11 | beforeEach(() => { |
21 | 12 | delete process.env.OPENCLAW_A2UI_SKIP_MISSING; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,8 +2,14 @@
|
2 | 2 | // generated/build inputs, manifest-discovered plugin surfaces, live-test |
3 | 3 | // helpers, or package bridge files that static production scanning cannot see. |
4 | 4 | export const KNIP_UNUSED_FILE_ALLOWLIST = [ |
| 5 | +"extensions/acpx/src/runtime-internals/error-format.mjs", |
| 6 | +"extensions/acpx/src/runtime-internals/mcp-command-line.mjs", |
| 7 | +"extensions/acpx/src/runtime-internals/mcp-proxy.mjs", |
| 8 | +"extensions/canvas/src/host/a2ui-app/bootstrap.js", |
| 9 | +"extensions/canvas/src/host/a2ui-app/rolldown.config.mjs", |
5 | 10 | "extensions/diffs/src/viewer-client.ts", |
6 | 11 | "extensions/diffs/src/viewer-payload.ts", |
| 12 | +"extensions/matrix/src/plugin-entry.runtime.js", |
7 | 13 | "extensions/memory-core/src/memory-tool-manager-mock.ts", |
8 | 14 | "src/agents/subagent-registry.runtime.ts", |
9 | 15 | "src/auto-reply/inbound.group-require-mention-test-plugins.ts", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。