@pi-chamber/web 1.0.4-rc.2 → 1.0.4

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 (149) hide show
  1. package/dist/assets/DiagramView-BpG1c3Hi.js +1 -0
  2. package/dist/assets/{DiffView-Cay8VAqL.js → DiffView-BxwoRCYx.js} +5 -5
  3. package/dist/assets/FileSaveConflictDialog-DP7k9a-i.js +3 -0
  4. package/dist/assets/{FilesView-CEeQzjc6.js → FilesView-D_2QcdUt.js} +4 -4
  5. package/dist/assets/{GitHubDetailScaffold-q4YP8iyJ.js → GitHubDetailScaffold-UxLAMAOl.js} +2 -2
  6. package/dist/assets/GitHubLinkPicker-Bh9RO1yK.js +1 -0
  7. package/dist/assets/{GitHubListPrimitives-XkALat1v.js → GitHubListPrimitives-DQyhT5wG.js} +1 -1
  8. package/dist/assets/{GitView-DV3d0oSJ.js → GitView-XBBheKRM.js} +4 -4
  9. package/dist/assets/{IssuesSurface-OTyt9f3A.js → IssuesSurface-BA1kpvAJ.js} +3 -3
  10. package/dist/assets/{JsonTreeView-X2Auiy_q.js → JsonTreeView-BAaEPL4O.js} +1 -1
  11. package/dist/assets/MarkdownRendererImpl-DzgDmUsL.js +12 -0
  12. package/dist/assets/{PatchDiff-GMQAv4en.js → PatchDiff-BMEUsgXH.js} +1 -1
  13. package/dist/assets/{PierreDiffViewer-0X__nypk.js → PierreDiffViewer-BW8MO-O6.js} +2 -2
  14. package/dist/assets/PullRequestsSurface-B3ictm4I.js +2 -0
  15. package/dist/assets/SessionSwitcherContent-rLoyVqgs.js +1 -0
  16. package/dist/assets/SessionSwitcherDropdown-CfySKnUu.js +2 -0
  17. package/dist/assets/{SessionUnreadDot-CJFawQpo.js → SessionUnreadDot-CmEF9sxM.js} +1 -1
  18. package/dist/assets/SettingsView-BiwlwnTK.js +6 -0
  19. package/dist/assets/SettingsWindow-j0e99YI0.js +1 -0
  20. package/dist/assets/ToolOutputDialog-VlS12Xyq.js +8 -0
  21. package/dist/assets/ToolPartDiffPreview-DdSneZws.js +1 -0
  22. package/dist/assets/{VirtualizedFileDiff-CUWx7JVZ.js → VirtualizedFileDiff-BqiXjvP6.js} +1 -1
  23. package/dist/assets/{Virtualizer-wpC51ZBQ.js → Virtualizer-Cp_cJWbI.js} +1 -1
  24. package/dist/assets/{collapsible-Ce85nuXX.js → collapsible-C7oyikVm.js} +1 -1
  25. package/dist/assets/{computeVirtualFileMetrics-3PpRLd5B.js → computeVirtualFileMetrics-BJjC-tXV.js} +1 -1
  26. package/dist/assets/{contextFileOpenGuard-PoBklHMz.js → contextFileOpenGuard-BBzqKGei.js} +1 -1
  27. package/dist/assets/{gitStatusPredicates-BvzxqidP.js → gitStatusPredicates-Dq-E5DaH.js} +1 -1
  28. package/dist/assets/{githubLink-iQ51wqRa.js → githubLink-Cryd7GkG.js} +5 -5
  29. package/dist/assets/index-BbhXFTId.js +1 -0
  30. package/dist/assets/index-BnZVqcki.js +11 -0
  31. package/dist/assets/index-BnieExes.css +1 -0
  32. package/dist/assets/{main-PSCt716b.js → main-9O5IAtT_.js} +4 -4
  33. package/dist/assets/{main-FasHq7Ck.js → main-DWGwALIw.js} +2 -2
  34. package/dist/assets/{markdownCore-BH56o6Wu.js → markdownCore-B9AuEyYi.js} +1 -1
  35. package/dist/assets/miniChat-CgOaJfD8.js +2 -0
  36. package/dist/assets/mobile-BbJcYVym.js +2 -0
  37. package/dist/assets/nativeFileSave-BzhtrDoD.js +1 -0
  38. package/dist/assets/{pi-session-focus-preference-D2-1HWmY.js → pi-session-focus-preference-Bmk1iOvn.js} +4 -4
  39. package/dist/assets/{renderDiffWithHighlighter-l8hZWWBO.js → renderDiffWithHighlighter-CVLsdtQ5.js} +1 -1
  40. package/dist/assets/renderElectronMiniChatApp-R5o9NwFC.js +2 -0
  41. package/dist/assets/{renderFileWithHighlighter-BvDoP7ob.js → renderFileWithHighlighter-DJ9mk2bZ.js} +1 -1
  42. package/dist/assets/renderMobileApp-CQ9tWYIj.js +11 -0
  43. package/dist/assets/runtimeEndpointReset-CtK4C_5h.js +62 -0
  44. package/dist/assets/{runtimeSurface-B1GRkkKC.js → runtimeSurface-DBiUWYK2.js} +1 -1
  45. package/dist/assets/useAppFontEffects-DviRbaCJ.js +212 -0
  46. package/dist/assets/{useFilesViewSearch-D1jsGQrN.js → useFilesViewSearch-D2Au5Xgt.js} +1 -1
  47. package/dist/assets/{useGitHubRemoteSearch-zNgy2bSt.js → useGitHubRemoteSearch-D-K7aolk.js} +1 -1
  48. package/dist/assets/{useSwitcherItems-OCRYcHeu.js → useSwitcherItems-Dej8BzXI.js} +1 -1
  49. package/dist/assets/vendor-aparajita-capacitor-secure-storage-BYohCVY0.js +1 -0
  50. package/dist/assets/{vendor-base-ui-DIkTOIJS.js → vendor-base-ui-BscvGUFt.js} +1 -1
  51. package/dist/assets/vendor-boot-Dgb9NVFe.js +69 -0
  52. package/dist/assets/vendor-capacitor-app-BjdQVib9.js +1 -0
  53. package/dist/assets/vendor-capacitor-keyboard-eTtI5go3.js +1 -0
  54. package/dist/assets/vendor-capacitor-push-notifications-CBKq2Arn.js +1 -0
  55. package/dist/assets/vendor-capacitor-status-bar-9rNIGxlO.js +1 -0
  56. package/dist/assets/{vendor-codemirror-autocomplete-DsFn4GLp.js → vendor-codemirror-autocomplete-DxS3jwvE.js} +1 -1
  57. package/dist/assets/{vendor-codemirror-lang-angular-B_NMmBbS.js → vendor-codemirror-lang-angular-DdjXl9e2.js} +1 -1
  58. package/dist/assets/vendor-codemirror-lang-cpp--aMr7NVt.js +1 -0
  59. package/dist/assets/vendor-codemirror-lang-css-CZ_qxZY9.js +1 -0
  60. package/dist/assets/{vendor-codemirror-lang-go-C2KHbcll.js → vendor-codemirror-lang-go-Ca-y2Alu.js} +2 -2
  61. package/dist/assets/vendor-codemirror-lang-html-COZ0L5wT.js +1 -0
  62. package/dist/assets/vendor-codemirror-lang-java-D3Rf3QNJ.js +1 -0
  63. package/dist/assets/{vendor-codemirror-lang-javascript-DpTUrvx8.js → vendor-codemirror-lang-javascript-DwJ-IvCs.js} +2 -2
  64. package/dist/assets/vendor-codemirror-lang-jinja-D_5lod6k.js +1 -0
  65. package/dist/assets/vendor-codemirror-lang-json-BG8C7OpC.js +1 -0
  66. package/dist/assets/vendor-codemirror-lang-less-CVEkoaTw.js +1 -0
  67. package/dist/assets/vendor-codemirror-lang-liquid-U9vj0m8w.js +1 -0
  68. package/dist/assets/vendor-codemirror-lang-markdown-DqlYH9gY.js +1 -0
  69. package/dist/assets/vendor-codemirror-lang-php-BFEiEVA1.js +1 -0
  70. package/dist/assets/vendor-codemirror-lang-python-Cz1dQXQd.js +3 -0
  71. package/dist/assets/vendor-codemirror-lang-rust-C_CoD9mj.js +1 -0
  72. package/dist/assets/vendor-codemirror-lang-sass-BuR0aKh5.js +1 -0
  73. package/dist/assets/{vendor-codemirror-lang-sql-C_RazIaB.js → vendor-codemirror-lang-sql-DggNUjdM.js} +2 -2
  74. package/dist/assets/{vendor-codemirror-lang-vue-BYL0r7KR.js → vendor-codemirror-lang-vue-DFZHi2J3.js} +1 -1
  75. package/dist/assets/vendor-codemirror-lang-wast-zuTN3SHT.js +1 -0
  76. package/dist/assets/vendor-codemirror-lang-xml-CrcvhI-k.js +1 -0
  77. package/dist/assets/vendor-codemirror-lang-yaml-DcVWsakb.js +1 -0
  78. package/dist/assets/{vendor-codemirror-language-data-DglcKYWT.js → vendor-codemirror-language-data-CCLITgCF.js} +2 -2
  79. package/dist/assets/{vendor-codemirror-search-DaE6R5gH.js → vendor-codemirror-search-H7NOEdbX.js} +2 -2
  80. package/dist/assets/{vendor-lezer-cpp-Dt99h3WT.js → vendor-lezer-cpp-C8aD2KAr.js} +1 -1
  81. package/dist/assets/{vendor-lezer-css-DNU_fzPI.js → vendor-lezer-css-2lbTJF-Y.js} +1 -1
  82. package/dist/assets/{vendor-lezer-go-BEFtcNyS.js → vendor-lezer-go-Bw6LFTrZ.js} +1 -1
  83. package/dist/assets/{vendor-lezer-html-DDGRhRUz.js → vendor-lezer-html-D7ym2z7S.js} +1 -1
  84. package/dist/assets/{vendor-lezer-java-DmfZtW09.js → vendor-lezer-java-CZhK7w21.js} +1 -1
  85. package/dist/assets/{vendor-lezer-javascript-oje4tdp_.js → vendor-lezer-javascript-rpKeTHZp.js} +1 -1
  86. package/dist/assets/{vendor-lezer-json-BRXb_bDX.js → vendor-lezer-json-C7jwsd2G.js} +1 -1
  87. package/dist/assets/{vendor-lezer-lr-BU2qmu_5.js → vendor-lezer-lr-DR-ylqNN.js} +1 -1
  88. package/dist/assets/{vendor-lezer-markdown-CicYv7V9.js → vendor-lezer-markdown-Bir0m5nB.js} +1 -1
  89. package/dist/assets/{vendor-lezer-php-COORrTpE.js → vendor-lezer-php-y0hIEfo1.js} +1 -1
  90. package/dist/assets/{vendor-lezer-python-Cuvm9X9Y.js → vendor-lezer-python-D64A9lNV.js} +1 -1
  91. package/dist/assets/{vendor-lezer-rust-C_zOfHbX.js → vendor-lezer-rust-E3ZA9T2L.js} +1 -1
  92. package/dist/assets/{vendor-lezer-sass-DWP4w7O1.js → vendor-lezer-sass-C5UFI9SP.js} +1 -1
  93. package/dist/assets/{vendor-lezer-xml-Br6nOYeG.js → vendor-lezer-xml-DOy7FzCR.js} +1 -1
  94. package/dist/assets/{vendor-lezer-yaml-CYQmm6Sb.js → vendor-lezer-yaml-kEjaSCvZ.js} +1 -1
  95. package/dist/assets/{vendor-replit-codemirror-vim-CZy3BUVv.js → vendor-replit-codemirror-vim-BLfh0LPy.js} +1 -1
  96. package/dist/assets/{web-components-v9fuidaX.js → web-components-C7CmoFxi.js} +1 -1
  97. package/dist/index.html +4 -4
  98. package/dist/mini-chat.html +3 -3
  99. package/dist/mobile.html +3 -3
  100. package/package.json +1 -1
  101. package/server/lib/pi/routes.js +1 -0
  102. package/server/lib/pi/session-daemon/DOCUMENTATION.md +1 -1
  103. package/server/lib/pi/session-daemon/supervisor.js +13 -1
  104. package/server/lib/pi/session-daemon/supervisor.test.js +92 -0
  105. package/server/lib/relay/DOCUMENTATION.md +4 -0
  106. package/server/lib/terminal/DOCUMENTATION.md +1 -0
  107. package/dist/assets/DiagramView-GKGxPczP.js +0 -1
  108. package/dist/assets/FileSaveConflictDialog-BRM9TJo0.js +0 -3
  109. package/dist/assets/GitHubLinkPicker-B9xgIW8y.js +0 -1
  110. package/dist/assets/MarkdownRendererImpl-1HameF6j.js +0 -12
  111. package/dist/assets/PullRequestsSurface-Dec20SIg.js +0 -2
  112. package/dist/assets/SessionSwitcherContent-DEw4nz7K.js +0 -1
  113. package/dist/assets/SessionSwitcherDropdown-DmLhbRzE.js +0 -2
  114. package/dist/assets/SettingsView-CwSspvq-.js +0 -6
  115. package/dist/assets/SettingsWindow-DkPv9MaU.js +0 -1
  116. package/dist/assets/ToolOutputDialog-DDwbOpTO.js +0 -8
  117. package/dist/assets/ToolPartDiffPreview-DZRP7p-Q.js +0 -1
  118. package/dist/assets/index-CkMnC_GK.js +0 -1
  119. package/dist/assets/index-Dd2OcIUY.js +0 -10
  120. package/dist/assets/index-DvN8zlLT.css +0 -1
  121. package/dist/assets/miniChat-BzfobBDq.js +0 -2
  122. package/dist/assets/mobile-DAzZE2EL.js +0 -2
  123. package/dist/assets/renderElectronMiniChatApp-DGYSIihR.js +0 -2
  124. package/dist/assets/renderMobileApp-CwgWG0lU.js +0 -11
  125. package/dist/assets/runtimeEndpointReset-CmI6dBKM.js +0 -62
  126. package/dist/assets/useAppFontEffects--lKKtKVo.js +0 -212
  127. package/dist/assets/vendor-aparajita-capacitor-secure-storage-5IShChL0.js +0 -1
  128. package/dist/assets/vendor-boot-DyL2td56.js +0 -69
  129. package/dist/assets/vendor-capacitor-app-BrDJj9I_.js +0 -1
  130. package/dist/assets/vendor-capacitor-core-B4EWRrHz.js +0 -1
  131. package/dist/assets/vendor-capacitor-keyboard-CYccoJjr.js +0 -1
  132. package/dist/assets/vendor-capacitor-push-notifications-KNe1zSBF.js +0 -1
  133. package/dist/assets/vendor-capacitor-status-bar-B-N0EOVk.js +0 -1
  134. package/dist/assets/vendor-codemirror-lang-cpp-GOE7Gjd0.js +0 -1
  135. package/dist/assets/vendor-codemirror-lang-css-Dwf2XpnZ.js +0 -1
  136. package/dist/assets/vendor-codemirror-lang-html-DcKqyeGk.js +0 -1
  137. package/dist/assets/vendor-codemirror-lang-java-6eGbyB2k.js +0 -1
  138. package/dist/assets/vendor-codemirror-lang-jinja-xSUJjXhr.js +0 -1
  139. package/dist/assets/vendor-codemirror-lang-json-CLGxdOCz.js +0 -1
  140. package/dist/assets/vendor-codemirror-lang-less-6nXi1rS9.js +0 -1
  141. package/dist/assets/vendor-codemirror-lang-liquid-B9hmb9P8.js +0 -1
  142. package/dist/assets/vendor-codemirror-lang-markdown-DmFP9s6x.js +0 -1
  143. package/dist/assets/vendor-codemirror-lang-php-DC6To8iX.js +0 -1
  144. package/dist/assets/vendor-codemirror-lang-python-yuxIkjit.js +0 -3
  145. package/dist/assets/vendor-codemirror-lang-rust-di1Sjz-0.js +0 -1
  146. package/dist/assets/vendor-codemirror-lang-sass-BWpV9NPV.js +0 -1
  147. package/dist/assets/vendor-codemirror-lang-wast-BiVarhcz.js +0 -1
  148. package/dist/assets/vendor-codemirror-lang-xml-Cn1lY1ts.js +0 -1
  149. package/dist/assets/vendor-codemirror-lang-yaml-BZ6mZw9L.js +0 -1
@@ -1 +0,0 @@
1
- import{_ as l}from"./vendor-vite-runtime-DD1OZmLC.js";import{registerPlugin as x,WebPlugin as g,Capacitor as v,CapacitorException as I}from"./vendor-capacitor-core-B4EWRrHz.js";var o;(function(r){r.missingKey="missingKey",r.invalidData="invalidData",r.osError="osError",r.unknownError="unknownError"})(o||(o={}));var h;(function(r){r[r.whenUnlocked=0]="whenUnlocked",r[r.whenUnlockedThisDeviceOnly=1]="whenUnlockedThisDeviceOnly",r[r.afterFirstUnlock=2]="afterFirstUnlock",r[r.afterFirstUnlockThisDeviceOnly=3]="afterFirstUnlockThisDeviceOnly",r[r.whenPasscodeSetThisDeviceOnly=4]="whenPasscodeSetThisDeviceOnly"})(h||(h={}));class y extends Error{constructor(e,t){super(e),this.name="StorageError",this.code=t}}const u=x("SecureStorage",{web:async()=>{const r=await l(()=>Promise.resolve().then(()=>P),void 0);return new r.SecureStorageWeb},ios:async()=>{const r=await l(()=>Promise.resolve().then(()=>d),void 0);return new r.SecureStorageNative(u)},android:async()=>{const r=await l(()=>Promise.resolve().then(()=>d),void 0);return new r.SecureStorageNative(u)}});function S(r){return r!==void 0&&Object.keys(o).includes(r)}class a extends g{constructor(){super(...arguments),this.prefix="capacitor-storage_",this.sync=!1,this.access=h.whenUnlocked}async setSynchronize(e){if(this.sync=e,v.getPlatform()==="ios")return this.setSynchronizeKeychain({sync:e})}async getSynchronize(){return this.sync}async setDefaultKeychainAccess(e){this.access=e}async tryOperation(e){try{return await e()}catch(t){throw t instanceof I&&S(t.code)?new y(t.message,t.code):t}}async get(e,t=!0,i){if(e){const{data:n}=await this.tryOperation(async()=>this.internalGetItem({prefixedKey:this.prefixedKey(e),sync:i??this.sync}));if(n===null)return null;if(t){const s=K(n);if(s)return s}try{return JSON.parse(n)}catch{throw new y("Invalid data",o.invalidData)}}return a.missingKey()}async getItem(e){if(e){const{data:t}=await this.tryOperation(async()=>this.internalGetItem({prefixedKey:this.prefixedKey(e),sync:this.sync}));return t}return null}async set(e,t,i=!0,n,s){if(e){let c=t;return i&&t instanceof Date&&(c=t.toISOString()),this.tryOperation(async()=>this.internalSetItem({prefixedKey:this.prefixedKey(e),data:JSON.stringify(c),sync:n??this.sync,access:s??this.access}))}return a.missingKey()}async setItem(e,t){return e?this.tryOperation(async()=>this.internalSetItem({prefixedKey:this.prefixedKey(e),data:t,sync:this.sync,access:this.access})):a.missingKey()}async remove(e,t){if(e){const{success:i}=await this.tryOperation(async()=>this.internalRemoveItem({prefixedKey:this.prefixedKey(e),sync:t??this.sync}));return i}return a.missingKey()}async removeItem(e){if(e){await this.tryOperation(async()=>this.internalRemoveItem({prefixedKey:this.prefixedKey(e),sync:this.sync}));return}a.missingKey()}async keys(e){const{keys:t}=await this.tryOperation(async()=>this.getPrefixedKeys({prefix:this.prefix,sync:e??this.sync})),i=this.prefix.length;return t.map(n=>n.slice(i))}async getKeyPrefix(){return this.prefix}async setKeyPrefix(e){this.prefix=e}prefixedKey(e){return this.prefix+e}static missingKey(){throw new y("No key provided",o.missingKey)}}const w=/^"(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).(\d{3})Z"$/u;function K(r){const e=w.exec(r);if(e){const t=Number.parseInt(e[1],10),i=Number.parseInt(e[2],10)-1,n=Number.parseInt(e[3],10),s=Number.parseInt(e[4],10),c=Number.parseInt(e[5],10),f=Number.parseInt(e[6],10),m=Number.parseInt(e[7],10),p=Date.UTC(t,i,n,s,c,f,m);return new Date(p)}return null}class _ extends a{async setSynchronizeKeychain(e){}async internalGetItem(e){return{data:localStorage.getItem(e.prefixedKey)}}async internalSetItem(e){localStorage.setItem(e.prefixedKey,e.data)}async internalRemoveItem(e){return localStorage.getItem(e.prefixedKey)!==null?(localStorage.removeItem(e.prefixedKey),{success:!0}):{success:!1}}async clear(){const{keys:e}=await this.getPrefixedKeys({prefix:this.prefix});for(const t of e)localStorage.removeItem(t)}async clearItemsWithPrefix(e){console.warn("clearItemsWithPrefix is native only")}async getPrefixedKeys(e){const t=[];for(let i=0;i<localStorage.length;i++){const n=localStorage.key(i);n?.startsWith(e.prefix)&&t.push(n)}return{keys:t}}}const P=Object.freeze(Object.defineProperty({__proto__:null,SecureStorageWeb:_},Symbol.toStringTag,{value:"Module"}));class O extends a{constructor(e){super();const t=e;this.setSynchronizeKeychain=t.setSynchronizeKeychain,this.internalGetItem=t.internalGetItem,this.internalSetItem=t.internalSetItem,this.internalRemoveItem=t.internalRemoveItem,this.clearItemsWithPrefix=t.clearItemsWithPrefix,this.getPrefixedKeys=t.getPrefixedKeys}async setSynchronizeKeychain(e){}async internalGetItem(e){return{data:""}}async internalSetItem(e){}async internalRemoveItem(e){return{success:!0}}async clear(e){return this.tryOperation(async()=>this.clearItemsWithPrefix({prefix:this.prefix,sync:e??this.sync}))}async clearItemsWithPrefix(e){}async getPrefixedKeys(e){return{keys:[]}}}const d=Object.freeze(Object.defineProperty({__proto__:null,SecureStorageNative:O},Symbol.toStringTag,{value:"Module"}));export{u as p};