chore: remove root assets
@@ -59,11 +59,6 @@ apps/ios/build
|
||||
|
||||
# large app trees not needed for CLI build
|
||||
apps/
|
||||
assets/
|
||||
Peekaboo/
|
||||
apps/swabble/
|
||||
Core/
|
||||
Users/
|
||||
vendor/
|
||||
|
||||
# Needed for building the Canvas A2UI bundle during Docker image builds.
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"useTabs": false,
|
||||
"ignorePatterns": [
|
||||
"apps/",
|
||||
"assets/",
|
||||
"CLAUDE.md",
|
||||
"docker-compose.yml",
|
||||
"dist/",
|
||||
@@ -23,7 +22,6 @@
|
||||
"src/canvas-host/a2ui/a2ui.bundle.js",
|
||||
"test/fixtures/agents/prompt-snapshots/codex-model-catalog/*.instructions.md",
|
||||
"test/fixtures/agents/prompt-snapshots/happy-path/*.md",
|
||||
"apps/swabble/",
|
||||
"vendor/",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
"vitest/prefer-expect-type-of": "error"
|
||||
},
|
||||
"ignorePatterns": [
|
||||
"assets/",
|
||||
"dist/",
|
||||
"dist-runtime/",
|
||||
"docs/_layouts/",
|
||||
@@ -123,7 +122,6 @@
|
||||
"skills/",
|
||||
"src/auto-reply/reply/export-html/template.js",
|
||||
"src/canvas-host/a2ui/a2ui.bundle.js",
|
||||
"apps/swabble/",
|
||||
"vendor/",
|
||||
"**/.cache/**",
|
||||
"**/build/**",
|
||||
|
||||
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
|
Before Width: | Height: | Size: 990 KiB After Width: | Height: | Size: 990 KiB |
@@ -1,19 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" role="img" aria-label="Anonymous">
|
||||
<rect width="48" height="48" rx="6" fill="#1f2937"/>
|
||||
<g fill="#f97316">
|
||||
<circle cx="24" cy="26" r="9"/>
|
||||
<circle cx="24" cy="15" r="6"/>
|
||||
<circle cx="14" cy="18" r="3"/>
|
||||
<circle cx="34" cy="18" r="3"/>
|
||||
</g>
|
||||
<g stroke="#f97316" stroke-width="2" stroke-linecap="round">
|
||||
<path d="M10 10c4 1 7 3 9 6"/>
|
||||
<path d="M38 10c-4 1-7 3-9 6"/>
|
||||
<path d="M13 34c2 2 5 4 11 4"/>
|
||||
<path d="M35 34c-2 2-5 4-11 4"/>
|
||||
</g>
|
||||
<g fill="#111827">
|
||||
<circle cx="22" cy="14" r="1"/>
|
||||
<circle cx="26" cy="14" r="1"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 666 B |
|
Before Width: | Height: | Size: 614 B |
|
Before Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 318 B |
|
Before Width: | Height: | Size: 370 B |
@@ -25,7 +25,6 @@
|
||||
"LICENSE",
|
||||
"openclaw.mjs",
|
||||
"README.md",
|
||||
"assets/",
|
||||
"dist/",
|
||||
"!dist/.buildstamp",
|
||||
"!dist/.runtime-postbuildstamp",
|
||||
|
||||
@@ -12,6 +12,7 @@ const TOOLING_PATH_RE =
|
||||
/^(?:scripts\/|test\/vitest\/|\.github\/|\.vscode\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.dockerignore$|\.gitignore$|\.pre-commit-config\.yaml$|\.swiftformat$|\.oxlint.*|\.oxfmt.*)/u;
|
||||
const ROOT_GLOBAL_PATH_RE =
|
||||
/^(?:package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsdown\.config\.ts$|vitest\.config\.ts$)/u;
|
||||
const LEGACY_ROOT_ASSET_PATH_RE = /^assets\//u;
|
||||
const LIVE_DOCKER_TOOLING_PATH_RE =
|
||||
/^(?:scripts\/test-docker-all\.mjs|scripts\/test-docker-all\.sh|scripts\/lib\/live-docker-auth\.sh|scripts\/test-live-(?:acp-bind|cli-backend|codex-harness|gateway-models|models)-docker\.sh|src\/gateway\/gateway-acp-bind\.live\.test\.ts|src\/gateway\/live-agent-probes\.test\.ts)$/u;
|
||||
const LIVE_DOCKER_PACKAGE_SCRIPT_RE = /^test:docker:live-[\w:-]+$/u;
|
||||
@@ -189,6 +190,12 @@ export function detectChangedLanes(changedPaths, options = {}) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (LEGACY_ROOT_ASSET_PATH_RE.test(changedPath)) {
|
||||
lanes.tooling = true;
|
||||
reasons.push(`${changedPath}: legacy root asset cleanup`);
|
||||
continue;
|
||||
}
|
||||
|
||||
lanes.all = true;
|
||||
extensionImpactFromCore = true;
|
||||
reasons.push(`${changedPath}: unknown surface; fail-safe all lanes`);
|
||||
|
||||
@@ -8,8 +8,8 @@ set -euo pipefail
|
||||
#
|
||||
# Env:
|
||||
# DMG_VOLUME_NAME default: CFBundleName (or "OpenClaw")
|
||||
# DMG_BACKGROUND_PATH default: assets/dmg-background.png
|
||||
# DMG_BACKGROUND_SMALL default: assets/dmg-background-small.png (recommended)
|
||||
# DMG_BACKGROUND_PATH default: apps/macos/Packaging/dmg-background.png
|
||||
# DMG_BACKGROUND_SMALL default: apps/macos/Packaging/dmg-background-small.png (recommended)
|
||||
# DMG_WINDOW_BOUNDS default: "400 100 900 420" (500x320)
|
||||
# DMG_ICON_SIZE default: 128
|
||||
# DMG_APP_POS default: "125 160"
|
||||
@@ -38,8 +38,8 @@ VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$APP_PA
|
||||
|
||||
DMG_NAME="${APP_NAME}-${VERSION}.dmg"
|
||||
DMG_VOLUME_NAME="${DMG_VOLUME_NAME:-$APP_NAME}"
|
||||
DMG_BACKGROUND_SMALL="${DMG_BACKGROUND_SMALL:-$ROOT_DIR/assets/dmg-background-small.png}"
|
||||
DMG_BACKGROUND_PATH="${DMG_BACKGROUND_PATH:-$ROOT_DIR/assets/dmg-background.png}"
|
||||
DMG_BACKGROUND_SMALL="${DMG_BACKGROUND_SMALL:-$ROOT_DIR/apps/macos/Packaging/dmg-background-small.png}"
|
||||
DMG_BACKGROUND_PATH="${DMG_BACKGROUND_PATH:-$ROOT_DIR/apps/macos/Packaging/dmg-background.png}"
|
||||
|
||||
DMG_WINDOW_BOUNDS="${DMG_WINDOW_BOUNDS:-400 100 900 420}"
|
||||
DMG_ICON_SIZE="${DMG_ICON_SIZE:-128}"
|
||||
|
||||
@@ -169,7 +169,7 @@ describe("detectChangedScope", () => {
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
|
||||
expect(detectChangedScope(["assets/icon.png"])).toEqual({
|
||||
expect(detectChangedScope([".crabbox.yaml"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
|
||||
@@ -781,6 +781,21 @@ describe("scripts/changed-lanes", () => {
|
||||
expect(plan.commands.map((command) => command.args[0])).not.toContain("tsgo:all");
|
||||
});
|
||||
|
||||
it("routes legacy root asset deletions as tooling during root cleanup", () => {
|
||||
const result = detectChangedLanes([
|
||||
"assets/avatar-placeholder.svg",
|
||||
"assets/chrome-extension/icons/icon128.png",
|
||||
]);
|
||||
const plan = createChangedCheckPlan(result);
|
||||
|
||||
expect(result.lanes).toMatchObject({
|
||||
tooling: true,
|
||||
all: false,
|
||||
});
|
||||
expect(plan.commands.map((command) => command.args[0])).toContain("lint:scripts");
|
||||
expect(plan.commands.map((command) => command.args[0])).not.toContain("tsgo:all");
|
||||
});
|
||||
|
||||
it("keeps shared Vitest wiring changes out of check test execution", () => {
|
||||
const result = detectChangedLanes(["test/vitest/vitest.shared.config.ts"]);
|
||||
const plan = createChangedCheckPlan(result);
|
||||
|
||||