mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 07:57:40 +00:00
refactor(webchat): SwiftUI-only WebChat UI
# Conflicts: # apps/macos/Package.swift
This commit is contained in:
@@ -125,11 +125,6 @@ fi
|
||||
echo "🖼 Copying app icon"
|
||||
cp "$ROOT_DIR/apps/macos/Sources/Clawdis/Resources/Clawdis.icns" "$APP_ROOT/Contents/Resources/Clawdis.icns"
|
||||
|
||||
echo "📦 Copying WebChat resources"
|
||||
rsync -a "$ROOT_DIR/apps/macos/Sources/Clawdis/Resources/WebChat" "$APP_ROOT/Contents/Resources/"
|
||||
echo "🧹 Removing unused pdfjs legacy bundle"
|
||||
rm -rf "$APP_ROOT/Contents/Resources/WebChat/vendor/pdfjs-dist/legacy"
|
||||
|
||||
RELAY_DIR="$APP_ROOT/Contents/Resources/Relay"
|
||||
|
||||
if [[ "${SKIP_GATEWAY_PACKAGE:-0}" != "1" ]]; then
|
||||
|
||||
@@ -52,8 +52,6 @@ log "==> Killing existing Clawdis instances"
|
||||
kill_all_clawdis
|
||||
stop_launch_agent
|
||||
|
||||
# 1.5) Bundle web chat assets (single-file JS to avoid import-map issues).
|
||||
run_step "bundle webchat" bash -lc "cd '${ROOT_DIR}' && pnpm webchat:bundle"
|
||||
# Bundle built-in Canvas A2UI shell (single-file JS, shipped in the app bundle).
|
||||
run_step "bundle canvas a2ui" bash -lc "cd '${ROOT_DIR}' && pnpm canvas:a2ui:bundle"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user