@pi-chamber/web 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{DiagramEditor-D_3eJVSw.js → DiagramEditor-DerMrS6m.js} +1 -1
- package/dist/assets/{DiagramView-pGYm0-DR.js → DiagramView-DdipXAq8.js} +1 -1
- package/dist/assets/{DiffView-BApPTLGp.js → DiffView-Gh9wjthp.js} +1 -1
- package/dist/assets/FilesView-BXp0yc0j.js +6 -0
- package/dist/assets/{GitView-uW3w_LlQ.js → GitView-BmNCkkoC.js} +3 -3
- package/dist/assets/{JsonTreeView-CpgqCk9_.js → JsonTreeView-CxXRXXzk.js} +1 -1
- package/dist/assets/{MarkdownRendererImpl-fI6n3kqT.js → MarkdownRendererImpl-DNZQgQua.js} +1 -1
- package/dist/assets/{PatchDiff-BRloGXPs.js → PatchDiff-B_NFEIX7.js} +1 -1
- package/dist/assets/{SessionSwitcherContent-BQc-vW4s.js → SessionSwitcherContent-Q4P2TGBr.js} +1 -1
- package/dist/assets/{SessionSwitcherDropdown-v_8TaIZm.js → SessionSwitcherDropdown-Cgw2mQIO.js} +2 -2
- package/dist/assets/{SessionUnreadDot-A7vSfll2.js → SessionUnreadDot-BxtTkvHB.js} +1 -1
- package/dist/assets/SettingsView-CFzxRzUq.js +2 -0
- package/dist/assets/{SettingsWindow-D7UDhYd4.js → SettingsWindow-BEjHL1ET.js} +1 -1
- package/dist/assets/{ToolOutputDialog-wpU0ylYS.js → ToolOutputDialog-C_7vJLEq.js} +1 -1
- package/dist/assets/{ToolPartDiffPreview-BvoQK5Gm.js → ToolPartDiffPreview-ClV785zX.js} +1 -1
- package/dist/assets/{VirtualizedFileDiff-DdPbLdh7.js → VirtualizedFileDiff-DrxkW2WQ.js} +1 -1
- package/dist/assets/{collapsible-BO6FIjvn.js → collapsible-CR3-hRMy.js} +1 -1
- package/dist/assets/{computeVirtualFileMetrics-DMvXzUJh.js → computeVirtualFileMetrics-D0mQcleY.js} +1 -1
- package/dist/assets/{contextFileOpenGuard-BwXQVjtS.js → contextFileOpenGuard-BRc5Z0g-.js} +1 -1
- package/dist/assets/{gitStatusPredicates-CgNk6M2_.js → gitStatusPredicates-DBGDfr1K.js} +1 -1
- package/dist/assets/{index-C3SyF-cA.js → index-CMfiVUIr.js} +1 -1
- package/dist/assets/index-CzO3ooje.css +1 -0
- package/dist/assets/index-ivrh3jfy.js +8 -0
- package/dist/assets/{isDiffPlainText-BboRbmcm.js → isDiffPlainText-MmBA1REG.js} +1 -1
- package/dist/assets/{isFilePlainText-BpTnLRyI.js → isFilePlainText-bQAPxqO9.js} +1 -1
- package/dist/assets/{main-CMOAwZnJ.js → main-BoVfUG73.js} +8 -8
- package/dist/assets/{main-xLwCWLu-.js → main-zZrKd3hZ.js} +2 -2
- package/dist/assets/{markdownCore-CmFv4H-w.js → markdownCore-B9jXCPry.js} +1 -1
- package/dist/assets/{miniChat-Vwo4K1IK.js → miniChat-Di2oVS5o.js} +2 -2
- package/dist/assets/{mobile-BRaxtEoC.js → mobile-VU_G_SgX.js} +2 -2
- package/dist/assets/{renderElectronMiniChatApp-DM4rRUUz.js → renderElectronMiniChatApp-Bi1927c8.js} +2 -2
- package/dist/assets/{renderMobileApp-DWWewNhc.js → renderMobileApp-D9mxhuaM.js} +3 -3
- package/dist/assets/runtimeEndpointReset-DImT35Ug.js +54 -0
- package/dist/assets/{runtimeSurface-SmPSdfop.js → runtimeSurface-CBaS2Ank.js} +1 -1
- package/dist/assets/{useAppFontEffects-Bg-8jtrQ.js → useAppFontEffects-8ZU-TTIW.js} +105 -105
- package/dist/assets/{useFilesViewSearch-GLcYNIUV.js → useFilesViewSearch-COow9O9x.js} +1 -1
- package/dist/assets/{usePushVisibilityBeacon-VSYBfNoY.js → usePushVisibilityBeacon-zYd3ppNh.js} +1 -1
- package/dist/assets/{useSwitcherItems-BkEt9K-N.js → useSwitcherItems-DOQqhi-e.js} +1 -1
- package/dist/assets/{vendor-codemirror-language-data-B5cJDWBR.js → vendor-codemirror-language-data-B_0wrsbo.js} +2 -2
- package/dist/assets/{web-components-0H9kvZwn.js → web-components-C9ENH49P.js} +1 -1
- package/dist/index.html +4 -4
- package/dist/mini-chat.html +3 -3
- package/dist/mobile.html +3 -3
- package/package.json +1 -1
- package/server/lib/pi/routes.test.js +39 -0
- package/server/lib/pi/session-daemon/DOCUMENTATION.md +1 -1
- package/server/lib/pi/session-daemon/extension-bridge.js +14 -11
- package/server/lib/pi/session-daemon/prompt-operations.test.js +73 -6
- package/server/lib/pi/session-daemon/session-daemon.js +163 -21
- package/server/lib/relay/host-client.test.js +3 -1
- package/server/lib/ui-auth/DOCUMENTATION.md +1 -1
- package/server/lib/ui-auth/ui-auth.js +23 -26
- package/server/lib/ui-auth/ui-auth.test.js +27 -0
- package/dist/assets/FilesView-CiPpuGiF.js +0 -6
- package/dist/assets/SettingsView-CphlZvfd.js +0 -2
- package/dist/assets/index-BebQicw3.css +0 -1
- package/dist/assets/index-Bkz23mZq.js +0 -8
- package/dist/assets/runtimeEndpointReset-BF60eHSx.js +0 -54
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i,b as s}from"./index-
|
|
1
|
+
import{i,b as s}from"./index-ivrh3jfy.js";const n="pichamber-mobile-layout",a=e=>e==="default"?"default":"new",c=()=>{if(typeof window>"u")return"new";try{return a(window.localStorage.getItem(n))}catch{return"new"}},l=e=>{if(typeof window>"u")return!1;try{return window.localStorage.setItem(n,e),!0}catch{return!1}},d=768,u=()=>{if(typeof window>"u")return!1;const e=typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)").matches||window.matchMedia("(hover: none)").matches:!1,t=typeof navigator<"u"?navigator.maxTouchPoints??0:0;return e||t>0},r=()=>{if(typeof window>"u")return"desktop";const e=window.__PICHAMBER_SURFACE__;if(e==="mobile"||e==="desktop")return e;const t=new URLSearchParams(window.location.search).get("surface");if(t==="mobile"||t==="desktop")return t;if(i())return"mobile";if(s())return"desktop";const o=Math.min(window.innerWidth||Number.POSITIVE_INFINITY,window.screen?.width||Number.POSITIVE_INFINITY);return Number.isFinite(o)&&o<=d&&u()&&c()==="new"?"mobile":"desktop"},m=()=>{const e=r();return typeof window<"u"&&(window.__PICHAMBER_SURFACE__=e),e},h=()=>r()==="mobile";export{c as g,h as i,m as r,l as s};
|