@pi-chamber/web 0.9.1 → 0.9.3
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/README.md +2 -2
- package/bin/lib/cli-paths.js +22 -6
- package/dist/assets/{DiagramEditor-DoEOH0hY.js → DiagramEditor-DuGmiPZ5.js} +1 -1
- package/dist/assets/{DiagramView-y9Ystuhv.js → DiagramView-CV-iReyY.js} +1 -1
- package/dist/assets/{DiffView-ScM4XoqZ.js → DiffView-DVd1MLPB.js} +1 -1
- package/dist/assets/{FilesView-CjkhMFqJ.js → FilesView-CPnW4I90.js} +1 -1
- package/dist/assets/{GitView-Bqi6H8I-.js → GitView-Dj_7hgX_.js} +3 -3
- package/dist/assets/{JsonTreeView-DWhlH6NK.js → JsonTreeView-Cyy0lEZR.js} +1 -1
- package/dist/assets/{MarkdownRendererImpl-CEOKZ1qH.js → MarkdownRendererImpl-BXN78Wu_.js} +1 -1
- package/dist/assets/{PatchDiff-ClnfJJ2J.js → PatchDiff-C7dA3U29.js} +1 -1
- package/dist/assets/{SessionSwitcherContent-e6JzUXD_.js → SessionSwitcherContent-dr3g9DR7.js} +1 -1
- package/dist/assets/{SessionSwitcherDropdown-C4etG8dv.js → SessionSwitcherDropdown-C3zdd82V.js} +2 -2
- package/dist/assets/{SessionUnreadDot-BVTSwRiG.js → SessionUnreadDot-qeik5qtT.js} +1 -1
- package/dist/assets/{SettingsView-C0S0Sx-S.js → SettingsView-C57uV1YS.js} +2 -2
- package/dist/assets/{SettingsWindow-Cy9tmnMg.js → SettingsWindow-Bbay2W76.js} +1 -1
- package/dist/assets/{ToolOutputDialog-Csrc0Uk2.js → ToolOutputDialog-CRTiN1CH.js} +1 -1
- package/dist/assets/{ToolPartDiffPreview-6oH6KD44.js → ToolPartDiffPreview-CqnNcLPk.js} +1 -1
- package/dist/assets/{VirtualizedFileDiff-DJNcTQNp.js → VirtualizedFileDiff-iqwryMNU.js} +1 -1
- package/dist/assets/{collapsible-DxgVLhi9.js → collapsible-szfZ0Syc.js} +1 -1
- package/dist/assets/{computeVirtualFileMetrics-B-WoeBMW.js → computeVirtualFileMetrics-Bbugxxtp.js} +1 -1
- package/dist/assets/{contextFileOpenGuard-DQ4U9xRH.js → contextFileOpenGuard-BC3ie230.js} +1 -1
- package/dist/assets/{gitStatusPredicates-CIFSGjJs.js → gitStatusPredicates-DbThKVSf.js} +1 -1
- package/dist/assets/{index-D2C3q2xD.js → index-KIdiBFJs.js} +1 -1
- package/dist/assets/{index-DmNPBaSo.js → index-v6K3L94m.js} +1 -1
- package/dist/assets/{isDiffPlainText-CrvpUauF.js → isDiffPlainText-Dl0RBjPZ.js} +1 -1
- package/dist/assets/{isFilePlainText-CKvhS32g.js → isFilePlainText-CbrmvrM6.js} +1 -1
- package/dist/assets/{main-CjM7g4Gq.js → main-4PkIvzf4.js} +3 -3
- package/dist/assets/{main-BFv8slLp.js → main-DMyWi0qs.js} +2 -2
- package/dist/assets/{markdownCore-DKrraAqT.js → markdownCore-BD5WkOKU.js} +1 -1
- package/dist/assets/{miniChat-hQnLS5mt.js → miniChat-CLMNhna4.js} +2 -2
- package/dist/assets/{mobile-DuXOBGs_.js → mobile-rWMDwhtQ.js} +2 -2
- package/dist/assets/{renderElectronMiniChatApp-ClJBZVGy.js → renderElectronMiniChatApp-BRhGNRJ8.js} +2 -2
- package/dist/assets/{renderMobileApp-DofX2wjB.js → renderMobileApp-DLy2YoQg.js} +3 -3
- package/dist/assets/{runtimeEndpointReset-BZeYg6eN.js → runtimeEndpointReset-Z9YtcHxZ.js} +15 -15
- package/dist/assets/{runtimeSurface-C7CBxDbh.js → runtimeSurface-CySRuLbN.js} +1 -1
- package/dist/assets/{useAppFontEffects-Cs0f1dKn.js → useAppFontEffects-DfuJVB15.js} +85 -85
- package/dist/assets/{useFilesViewSearch-D1hcbBEc.js → useFilesViewSearch-BZBHrZ90.js} +1 -1
- package/dist/assets/{usePushVisibilityBeacon-DqHkuVS5.js → usePushVisibilityBeacon-BxTkEajM.js} +1 -1
- package/dist/assets/{useSwitcherItems-BEoW7LlC.js → useSwitcherItems-jITqE8PV.js} +1 -1
- package/dist/assets/{vendor-codemirror-language-data-B8Ac62S_.js → vendor-codemirror-language-data-CDdfwzlS.js} +2 -2
- package/dist/assets/{web-components-Dy-Tz_LJ.js → web-components-C9wXMuCp.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/mini-chat.html +2 -2
- package/dist/mobile.html +2 -2
- package/package.json +1 -1
- package/server/lib/pi/routes.js +35 -1
- package/server/lib/pi/routes.test.js +53 -0
- package/server/lib/pi/session-daemon/DOCUMENTATION.md +4 -4
- package/server/lib/pi/session-daemon/ipc-client.js +20 -9
- package/server/lib/pi/session-daemon/ipc-client.test.js +88 -0
- package/server/lib/pi/session-daemon/ipc-protocol.js +9 -0
- package/server/lib/pi/session-daemon/session-daemon.js +127 -26
- package/server/lib/pi/session-daemon/session-daemon.test.js +141 -0
- package/server/lib/pi/ui-settings-store.js +130 -25
- package/server/lib/pi/ui-settings-store.test.js +58 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i,b as s}from"./index-
|
|
1
|
+
import{i,b as s}from"./index-KIdiBFJs.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};
|