@pi-chamber/web 0.8.0 → 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-YPSKccgo.js → DiagramEditor-DerMrS6m.js} +1 -1
- package/dist/assets/{DiagramView-C-PbBHce.js → DiagramView-DdipXAq8.js} +1 -1
- package/dist/assets/{DiffView-DfltyfN2.js → DiffView-Gh9wjthp.js} +1 -1
- package/dist/assets/FilesView-BXp0yc0j.js +6 -0
- package/dist/assets/{GitView-B_zTaXX4.js → GitView-BmNCkkoC.js} +3 -3
- package/dist/assets/{JsonTreeView-9p4txyB_.js → JsonTreeView-CxXRXXzk.js} +1 -1
- package/dist/assets/{MarkdownRendererImpl-CbRPLK2x.js → MarkdownRendererImpl-DNZQgQua.js} +1 -1
- package/dist/assets/{PatchDiff-rKjeUBRl.js → PatchDiff-B_NFEIX7.js} +1 -1
- package/dist/assets/{SessionSwitcherContent-C_VxKFJy.js → SessionSwitcherContent-Q4P2TGBr.js} +1 -1
- package/dist/assets/{SessionSwitcherDropdown-_k4P32o9.js → SessionSwitcherDropdown-Cgw2mQIO.js} +2 -2
- package/dist/assets/{SessionUnreadDot-bT_0MixU.js → SessionUnreadDot-BxtTkvHB.js} +1 -1
- package/dist/assets/SettingsView-CFzxRzUq.js +2 -0
- package/dist/assets/{SettingsWindow-C7vVE35-.js → SettingsWindow-BEjHL1ET.js} +1 -1
- package/dist/assets/{ToolOutputDialog-GBbzATa6.js → ToolOutputDialog-C_7vJLEq.js} +1 -1
- package/dist/assets/{ToolPartDiffPreview-Bdb9p5uS.js → ToolPartDiffPreview-ClV785zX.js} +1 -1
- package/dist/assets/{VirtualizedFileDiff-CA8hQyz9.js → VirtualizedFileDiff-DrxkW2WQ.js} +1 -1
- package/dist/assets/{collapsible-uwSKBy-K.js → collapsible-CR3-hRMy.js} +1 -1
- package/dist/assets/{computeVirtualFileMetrics-9LNCLvAG.js → computeVirtualFileMetrics-D0mQcleY.js} +1 -1
- package/dist/assets/{contextFileOpenGuard-CZSqdEHk.js → contextFileOpenGuard-BRc5Z0g-.js} +1 -1
- package/dist/assets/{gitStatusPredicates-CRmbLl-x.js → gitStatusPredicates-DBGDfr1K.js} +1 -1
- package/dist/assets/{index-BeJEipxi.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-YYyZNTdb.js → isDiffPlainText-MmBA1REG.js} +1 -1
- package/dist/assets/{isFilePlainText-C70Z71bG.js → isFilePlainText-bQAPxqO9.js} +1 -1
- package/dist/assets/{main-CsdVAKy_.js → main-BoVfUG73.js} +8 -8
- package/dist/assets/{main-GMQIZjuQ.js → main-zZrKd3hZ.js} +2 -2
- package/dist/assets/{markdownCore-BgVcDt0q.js → markdownCore-B9jXCPry.js} +1 -1
- package/dist/assets/{miniChat-W6YsdiWR.js → miniChat-Di2oVS5o.js} +2 -2
- package/dist/assets/{mobile-BFR9CR5w.js → mobile-VU_G_SgX.js} +2 -2
- package/dist/assets/{renderElectronMiniChatApp-B8ZiW-3E.js → renderElectronMiniChatApp-Bi1927c8.js} +2 -2
- package/dist/assets/{renderMobileApp-C5CdsYP6.js → renderMobileApp-D9mxhuaM.js} +3 -3
- package/dist/assets/runtimeEndpointReset-DImT35Ug.js +54 -0
- package/dist/assets/{runtimeSurface-B818u-_c.js → runtimeSurface-CBaS2Ank.js} +1 -1
- package/dist/assets/{useAppFontEffects-CYzYRbLp.js → useAppFontEffects-8ZU-TTIW.js} +111 -111
- package/dist/assets/{useFilesViewSearch-C--GWtn-.js → useFilesViewSearch-COow9O9x.js} +1 -1
- package/dist/assets/{usePushVisibilityBeacon-D9lajdAc.js → usePushVisibilityBeacon-zYd3ppNh.js} +1 -1
- package/dist/assets/{useSwitcherItems-DOoi3x_8.js → useSwitcherItems-DOQqhi-e.js} +1 -1
- package/dist/assets/{vendor-codemirror-language-data-DS_4W5G4.js → vendor-codemirror-language-data-B_0wrsbo.js} +2 -2
- package/dist/assets/vendor-framer-motion-CfplGuM0.js +1 -0
- package/dist/assets/{vendor-motion-dom-DJLgZh4Q.js → vendor-motion-dom-DhJ-sYS5.js} +1 -1
- package/dist/assets/{vendor-motion-utils-BGh8QBgx.js → vendor-motion-utils-CKEGc_YG.js} +1 -1
- package/dist/assets/{web-components-C2cMNPqE.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/server/cors.js +2 -0
- package/server/lib/server/cors.test.js +5 -3
- 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-BEjbLiK2.js +0 -6
- package/dist/assets/SettingsView-CqZ1ZAWG.js +0 -2
- package/dist/assets/index-CaP8oFLB.js +0 -8
- package/dist/assets/index-Dq8CnRYM.css +0 -1
- package/dist/assets/runtimeEndpointReset-D3AZYuoF.js +0 -54
- package/dist/assets/vendor-framer-motion-BUygY0oN.js +0 -1
|
@@ -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};
|