14 lines
880 B
Markdown
14 lines
880 B
Markdown
# qimingclaw embedded patches
|
|
|
|
This directory records qimingclaw-only adaptations around the sgRobot digital employee UI.
|
|
|
|
- `src/main.tsx` mounts the digital employee page directly at `#/digital`.
|
|
- `src/lib/basePath.ts` fixes static assets under `/sgrobot-digital`.
|
|
- `src/lib/tauri.ts` disables sgRobot/Tauri gateway detection inside the Electron webview.
|
|
- `src/lib/qimingclawAdapter.ts` provides the first qimingclaw-native digital employee API projection.
|
|
- `src/lib/api.ts` calls the qimingclaw adapter before falling back to normal HTTP fetch.
|
|
- `index.html` injects a local token so copied sgRobot pages do not show the pairing screen.
|
|
- `window.QimingClawBridge.digital.getSnapshot()` is read when the page runs inside qimingclaw's Electron webview.
|
|
|
|
Run `npm run sync:sgrobot-digital` from `crates/agent-electron-client` after changing the upstream sgRobot digital UI.
|