@pi-chamber/web 0.9.6 → 0.9.8-rc.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.
Files changed (95) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/{DiagramView-0Iq1ak1I.js → DiagramView-BMBrrFLy.js} +1 -1
  3. package/dist/assets/{DiffView-DD1AFRi3.js → DiffView-yVBxHkBI.js} +1 -1
  4. package/dist/assets/{FileSaveConflictDialog-CoKwDovb.js → FileSaveConflictDialog-D0siEm8l.js} +1 -1
  5. package/dist/assets/FilesView-CkcKBKkT.js +6 -0
  6. package/dist/assets/{GitView-LFEpCasf.js → GitView-CfuhQOfc.js} +3 -3
  7. package/dist/assets/{JsonTreeView-Cwjgvh4g.js → JsonTreeView-6kRdE1BO.js} +1 -1
  8. package/dist/assets/{MarkdownRendererImpl-_7kV1yNw.js → MarkdownRendererImpl-CRWbN_Jc.js} +2 -2
  9. package/dist/assets/{PatchDiff-DG43C1HW.js → PatchDiff-B0ssv8Aw.js} +1 -1
  10. package/dist/assets/{SessionSwitcherContent-DCFXPY3d.js → SessionSwitcherContent-NmfI4B0Z.js} +1 -1
  11. package/dist/assets/{SessionSwitcherDropdown-QY7FKuEQ.js → SessionSwitcherDropdown-DmE2hYTN.js} +2 -2
  12. package/dist/assets/SessionUnreadDot-LDTswryg.js +1 -0
  13. package/dist/assets/SettingsView-D0iw6y_H.js +2 -0
  14. package/dist/assets/SettingsWindow-BT2TzUBK.js +1 -0
  15. package/dist/assets/{ToolOutputDialog-IlCrS6BR.js → ToolOutputDialog-Bnl51bva.js} +4 -4
  16. package/dist/assets/{ToolPartDiffPreview-D68JV0rR.js → ToolPartDiffPreview-DgPtLS_h.js} +1 -1
  17. package/dist/assets/{VirtualizedFileDiff-Bl-rAYeh.js → VirtualizedFileDiff-D3zBpYIS.js} +4 -4
  18. package/dist/assets/collapsible-_urywMu5.js +1 -0
  19. package/dist/assets/{computeVirtualFileMetrics-FSOm2VrW.js → computeVirtualFileMetrics-y2AJzpKw.js} +2 -2
  20. package/dist/assets/{contextFileOpenGuard-Bxb6AIPa.js → contextFileOpenGuard-DYUFkrPT.js} +1 -1
  21. package/dist/assets/{gitStatusPredicates-DxolDpMd.js → gitStatusPredicates-CbFfOlbV.js} +1 -1
  22. package/dist/assets/index-BXgR2dKM.css +1 -0
  23. package/dist/assets/index-CrqlVJXp.js +8 -0
  24. package/dist/assets/{index-Dh58uD3I.js → index-DwJJarzh.js} +1 -1
  25. package/dist/assets/{isDiffPlainText-D3_04XCh.js → isDiffPlainText-kXPOivsq.js} +1 -1
  26. package/dist/assets/{isFilePlainText-CHouYQhH.js → isFilePlainText-BBIPqnLo.js} +1 -1
  27. package/dist/assets/{main-HzTrVvbB.js → main-BshSYpnV.js} +7 -7
  28. package/dist/assets/{main-CH3EqGJI.js → main-RrPyfmCA.js} +2 -2
  29. package/dist/assets/{markdownCore-DJU4KvHP.js → markdownCore-BxXmpZtB.js} +1 -1
  30. package/dist/assets/{miniChat-Ca3TpaaA.js → miniChat-DRNgmC-q.js} +2 -2
  31. package/dist/assets/{mobile-lj4gpGsO.js → mobile-CdmgVKW4.js} +2 -2
  32. package/dist/assets/renderElectronMiniChatApp-B80Jqq8b.js +2 -0
  33. package/dist/assets/renderMobileApp-CLcBvRiy.js +11 -0
  34. package/dist/assets/runtimeEndpointReset-DHHCemOu.js +53 -0
  35. package/dist/assets/{runtimeSurface-CE_VNjdH.js → runtimeSurface-C9kx2zfD.js} +1 -1
  36. package/dist/assets/{useAppFontEffects-BvFAP9zG.js → useAppFontEffects-Dp6vM-Zr.js} +104 -104
  37. package/dist/assets/{useFilesViewSearch-BD79p3A2.js → useFilesViewSearch-Bc8PTYrg.js} +2 -2
  38. package/dist/assets/{usePushVisibilityBeacon-CWg0j-Wg.js → usePushVisibilityBeacon-DMcKyNtE.js} +1 -1
  39. package/dist/assets/{useSwitcherItems-CazJ6Yox.js → useSwitcherItems-DEvsORZ_.js} +1 -1
  40. package/dist/assets/{vendor-base-ui-CdaWtC7e.js → vendor-base-ui-C60wdVnS.js} +1 -1
  41. package/dist/assets/{vendor-codemirror-language-data-CP3j3-xu.js → vendor-codemirror-language-data-DLimsiRH.js} +2 -2
  42. package/dist/assets/{vendor-floating-ui-dom-WyXykhNi.js → vendor-floating-ui-dom-Bkw82kL9.js} +1 -1
  43. package/dist/assets/{vendor-floating-ui-react-dom-BZOGXAGe.js → vendor-floating-ui-react-dom-KLmnYDaG.js} +1 -1
  44. package/dist/assets/{web-components-DWuadqra.js → web-components-05Oa3k7a.js} +3 -3
  45. package/dist/index.html +4 -4
  46. package/dist/mini-chat.html +3 -3
  47. package/dist/mobile.html +3 -3
  48. package/package.json +1 -1
  49. package/server/index.js +17 -3
  50. package/server/lib/client-auth/DOCUMENTATION.md +184 -0
  51. package/server/lib/client-auth/live-revocation.test.js +567 -0
  52. package/server/lib/client-auth/principal-tracker.js +383 -0
  53. package/server/lib/client-auth/principal-tracker.test.js +321 -0
  54. package/server/lib/client-auth/remote-clients.js +31 -0
  55. package/server/lib/client-auth/remote-clients.test.js +44 -0
  56. package/server/lib/pi/event-stream.js +269 -0
  57. package/server/lib/pi/event-stream.test.js +776 -0
  58. package/server/lib/pi/routes.js +88 -31
  59. package/server/lib/pi/routes.test.js +92 -20
  60. package/server/lib/pi/session-daemon/DOCUMENTATION.md +5 -4
  61. package/server/lib/pi/session-daemon/ipc-client.js +19 -15
  62. package/server/lib/pi/session-daemon/ipc-client.test.js +113 -1
  63. package/server/lib/pi/session-daemon/prompt-preflight.test.js +5 -1
  64. package/server/lib/pi/session-daemon/send-operation-dedup.test.js +15 -5
  65. package/server/lib/pi/session-daemon/send-operation-registry.js +26 -23
  66. package/server/lib/pi/session-daemon/send-operation-registry.test.js +26 -20
  67. package/server/lib/pi/session-daemon/session-daemon-epoch.test.js +349 -0
  68. package/server/lib/pi/session-daemon/session-daemon.js +79 -18
  69. package/server/lib/pi/session-daemon/session-daemon.test.js +10 -4
  70. package/server/lib/pi/session-daemon/session-replay.test.js +8 -3
  71. package/server/lib/pi/session-daemon/supervisor.js +30 -5
  72. package/server/lib/pi/session-daemon/supervisor.test.js +4 -3
  73. package/server/lib/pi/ui-settings-store.js +7 -1
  74. package/server/lib/pi/ui-settings-store.test.js +19 -1
  75. package/server/lib/server/core-routes.js +11 -1
  76. package/server/lib/stt/DOCUMENTATION.md +2 -0
  77. package/server/lib/stt/runtime.js +39 -2
  78. package/server/lib/stt/runtime.test.js +53 -0
  79. package/server/lib/terminal/DOCUMENTATION.md +2 -0
  80. package/server/lib/terminal/runtime.js +48 -2
  81. package/server/lib/terminal/runtime.test.js +35 -0
  82. package/server/lib/ui-auth/DOCUMENTATION.md +13 -4
  83. package/server/lib/ui-auth/ui-auth.js +98 -0
  84. package/server/lib/ui-auth/ui-auth.test.js +249 -0
  85. package/server/lib/workspace/host.js +3 -1
  86. package/dist/assets/FilesView-B_BF39ef.js +0 -6
  87. package/dist/assets/SessionUnreadDot-DGT31A3z.js +0 -1
  88. package/dist/assets/SettingsView-eG-wN-yY.js +0 -2
  89. package/dist/assets/SettingsWindow-Dvnp8YrA.js +0 -1
  90. package/dist/assets/collapsible-BjniCdZ5.js +0 -1
  91. package/dist/assets/index-BpmGBboM.css +0 -1
  92. package/dist/assets/index-DZnzXhTs.js +0 -8
  93. package/dist/assets/renderElectronMiniChatApp-rUFfaD-T.js +0 -2
  94. package/dist/assets/renderMobileApp-CcWQ1sCf.js +0 -11
  95. package/dist/assets/runtimeEndpointReset-D2MmSbDk.js +0 -53
@@ -1 +1 @@
1
- import{i,O as s}from"./index-DZnzXhTs.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};
1
+ import{i,R as s}from"./index-CrqlVJXp.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};