@pi-chamber/web 0.8.0 → 0.8.1
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-D_3eJVSw.js} +1 -1
- package/dist/assets/{DiagramView-C-PbBHce.js → DiagramView-pGYm0-DR.js} +1 -1
- package/dist/assets/{DiffView-DfltyfN2.js → DiffView-BApPTLGp.js} +1 -1
- package/dist/assets/{FilesView-BEjbLiK2.js → FilesView-CiPpuGiF.js} +1 -1
- package/dist/assets/{GitView-B_zTaXX4.js → GitView-uW3w_LlQ.js} +3 -3
- package/dist/assets/{JsonTreeView-9p4txyB_.js → JsonTreeView-CpgqCk9_.js} +1 -1
- package/dist/assets/{MarkdownRendererImpl-CbRPLK2x.js → MarkdownRendererImpl-fI6n3kqT.js} +1 -1
- package/dist/assets/{PatchDiff-rKjeUBRl.js → PatchDiff-BRloGXPs.js} +1 -1
- package/dist/assets/{SessionSwitcherContent-C_VxKFJy.js → SessionSwitcherContent-BQc-vW4s.js} +1 -1
- package/dist/assets/{SessionSwitcherDropdown-_k4P32o9.js → SessionSwitcherDropdown-v_8TaIZm.js} +2 -2
- package/dist/assets/{SessionUnreadDot-bT_0MixU.js → SessionUnreadDot-A7vSfll2.js} +1 -1
- package/dist/assets/{SettingsView-CqZ1ZAWG.js → SettingsView-CphlZvfd.js} +2 -2
- package/dist/assets/{SettingsWindow-C7vVE35-.js → SettingsWindow-D7UDhYd4.js} +1 -1
- package/dist/assets/{ToolOutputDialog-GBbzATa6.js → ToolOutputDialog-wpU0ylYS.js} +1 -1
- package/dist/assets/{ToolPartDiffPreview-Bdb9p5uS.js → ToolPartDiffPreview-BvoQK5Gm.js} +1 -1
- package/dist/assets/{VirtualizedFileDiff-CA8hQyz9.js → VirtualizedFileDiff-DdPbLdh7.js} +1 -1
- package/dist/assets/{collapsible-uwSKBy-K.js → collapsible-BO6FIjvn.js} +1 -1
- package/dist/assets/{computeVirtualFileMetrics-9LNCLvAG.js → computeVirtualFileMetrics-DMvXzUJh.js} +1 -1
- package/dist/assets/{contextFileOpenGuard-CZSqdEHk.js → contextFileOpenGuard-BwXQVjtS.js} +1 -1
- package/dist/assets/{gitStatusPredicates-CRmbLl-x.js → gitStatusPredicates-CgNk6M2_.js} +1 -1
- package/dist/assets/index-BebQicw3.css +1 -0
- package/dist/assets/{index-CaP8oFLB.js → index-Bkz23mZq.js} +1 -1
- package/dist/assets/{index-BeJEipxi.js → index-C3SyF-cA.js} +1 -1
- package/dist/assets/{isDiffPlainText-YYyZNTdb.js → isDiffPlainText-BboRbmcm.js} +1 -1
- package/dist/assets/{isFilePlainText-C70Z71bG.js → isFilePlainText-BpTnLRyI.js} +1 -1
- package/dist/assets/{main-CsdVAKy_.js → main-CMOAwZnJ.js} +3 -3
- package/dist/assets/{main-GMQIZjuQ.js → main-xLwCWLu-.js} +2 -2
- package/dist/assets/{markdownCore-BgVcDt0q.js → markdownCore-CmFv4H-w.js} +1 -1
- package/dist/assets/{miniChat-W6YsdiWR.js → miniChat-Vwo4K1IK.js} +2 -2
- package/dist/assets/{mobile-BFR9CR5w.js → mobile-BRaxtEoC.js} +2 -2
- package/dist/assets/{renderElectronMiniChatApp-B8ZiW-3E.js → renderElectronMiniChatApp-DM4rRUUz.js} +2 -2
- package/dist/assets/{renderMobileApp-C5CdsYP6.js → renderMobileApp-DWWewNhc.js} +3 -3
- package/dist/assets/{runtimeEndpointReset-D3AZYuoF.js → runtimeEndpointReset-BF60eHSx.js} +3 -3
- package/dist/assets/{runtimeSurface-B818u-_c.js → runtimeSurface-SmPSdfop.js} +1 -1
- package/dist/assets/{useAppFontEffects-CYzYRbLp.js → useAppFontEffects-Bg-8jtrQ.js} +99 -99
- package/dist/assets/{useFilesViewSearch-C--GWtn-.js → useFilesViewSearch-GLcYNIUV.js} +1 -1
- package/dist/assets/{usePushVisibilityBeacon-D9lajdAc.js → usePushVisibilityBeacon-VSYBfNoY.js} +1 -1
- package/dist/assets/{useSwitcherItems-DOoi3x_8.js → useSwitcherItems-BkEt9K-N.js} +1 -1
- package/dist/assets/{vendor-codemirror-language-data-DS_4W5G4.js → vendor-codemirror-language-data-B5cJDWBR.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-0H9kvZwn.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/server/cors.js +2 -0
- package/server/lib/server/cors.test.js +5 -3
- package/dist/assets/index-Dq8CnRYM.css +0 -1
- 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-Bkz23mZq.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};
|