mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
Fourth of nine workspaces splitting #2397. Mechanical swaps to window-namespaced globals for Obsidian popout window compatibility. No semantic behavior change beyond "works correctly in a popout." - setTimeout / clearTimeout / setInterval / clearInterval / requestAnimationFrame → window.* across all callsites - globalThis → window (BedrockChatModel fetch.bind, scattered sites) - atob / btoa → Buffer.from(..., 'base64') / Buffer.from(...).toString('base64') - src/encryptionService.ts (drops Node 'buffer' import; Buffer is global) - src/utils.ts safeFetch arrayBuffer() branch - src/LLMProviders/BedrockChatModel.ts decodeBase64ToUint8Array Builds on top of #2398 (W0 — deps bump). Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| stubs | ||
| printPromptDebug.js | ||
| printPromptDebugEntry.ts | ||