@openchamber/web 1.13.3 → 1.13.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 (125) hide show
  1. package/bin/cli-output.js +0 -7
  2. package/bin/cli.js +132 -5548
  3. package/bin/cli.test.js +674 -0
  4. package/bin/lib/DOCUMENTATION.md +121 -0
  5. package/bin/lib/cli-args.js +726 -0
  6. package/bin/lib/cli-errors.js +18 -0
  7. package/bin/lib/cli-executables.js +54 -0
  8. package/bin/lib/cli-http.js +215 -0
  9. package/bin/lib/cli-lifecycle.js +421 -0
  10. package/bin/lib/cli-log-files.js +93 -0
  11. package/bin/lib/cli-network.js +153 -0
  12. package/bin/lib/cli-paths.js +111 -0
  13. package/bin/lib/cli-ports.js +51 -0
  14. package/bin/lib/cli-process.js +292 -0
  15. package/bin/lib/cli-startup.js +370 -0
  16. package/bin/lib/cli-tunnel-capabilities.js +9 -0
  17. package/bin/lib/cli-tunnel-profiles.js +366 -0
  18. package/bin/lib/cli-tunnel-utils.js +300 -0
  19. package/bin/lib/commands-connect-url.js +173 -0
  20. package/bin/lib/commands-lifecycle.js +396 -0
  21. package/bin/lib/commands-logs.js +110 -0
  22. package/bin/lib/commands-serve.js +396 -0
  23. package/bin/lib/commands-startup.js +64 -0
  24. package/bin/lib/commands-status.js +114 -0
  25. package/bin/lib/commands-tunnel.js +1757 -0
  26. package/bin/lib/commands-update.js +141 -0
  27. package/dist/assets/{DiagramView-BmHROYsX.js → DiagramView-BAoYIAGR.js} +1 -1
  28. package/dist/assets/{MarkdownRendererImpl-DiJE-v5Q.js → MarkdownRendererImpl-B0NE4mIY.js} +3 -3
  29. package/dist/assets/MultiRunWindow-BT4kt6aB.js +1 -0
  30. package/dist/assets/NewWorktreeDialog-Bx-zQyBp.js +167 -0
  31. package/dist/assets/{OnboardingScreen-DpBF8dKJ.js → OnboardingScreen-CbJOPUxm.js} +1 -1
  32. package/dist/assets/{SessionSwitcherDropdown-1xaHUxPK.js → SessionSwitcherDropdown-BbUzUNEi.js} +1 -1
  33. package/dist/assets/{SettingsWindow-ChwLyQAe.js → SettingsWindow-CSb8eo8p.js} +1 -1
  34. package/dist/assets/{TerminalView-DGEBNuAp.js → TerminalView-ME5MOz7S.js} +1 -1
  35. package/dist/assets/es-Bk-yR0w-.js +15 -0
  36. package/dist/assets/fr-f1ibV7QU.js +13 -0
  37. package/dist/assets/index-B82A6jBD.css +1 -0
  38. package/dist/assets/index-BsXkdBYx.js +3 -0
  39. package/dist/assets/ja-D9mS3zWP.js +15 -0
  40. package/dist/assets/ko-Cpl1IA3D.js +15 -0
  41. package/dist/assets/{main-fm_8J7Lk.js → main-D6eC2bnV.js} +2 -2
  42. package/dist/assets/main-fsOGbLGZ.js +214 -0
  43. package/dist/assets/miniChat-DKGU29GZ.js +2 -0
  44. package/dist/assets/mobile-YHQHMYWC.js +2 -0
  45. package/dist/assets/pl-CYke_fxL.js +15 -0
  46. package/dist/assets/pt-BR-Clb6Z8up.js +15 -0
  47. package/dist/assets/renderElectronMiniChatApp-3vxeddJO.js +2 -0
  48. package/dist/assets/{renderMobileApp-6s0G1iIJ.js → renderMobileApp-BrvLHYCY.js} +5 -5
  49. package/dist/assets/uk-CXn8cxXa.js +15 -0
  50. package/dist/assets/{useAppFontEffects-CV5C5O0r.js → useAppFontEffects-b7bqtGFf.js} +124 -119
  51. package/dist/assets/{vendor-.bun-CC_Xso_s.js → vendor-.bun-By2L9XvG.js} +1 -1
  52. package/dist/assets/zh-CN-BRwwlEdG.js +15 -0
  53. package/dist/assets/zh-TW-D5pg5Z8l.js +15 -0
  54. package/dist/index.html +4 -4
  55. package/dist/mini-chat.html +4 -4
  56. package/dist/mobile.html +4 -4
  57. package/package.json +1 -1
  58. package/server/lib/cloudflare-tunnel.js +2 -2
  59. package/server/lib/event-stream/global-hub.js +1 -1
  60. package/server/lib/event-stream/index.js +0 -12
  61. package/server/lib/event-stream/runtime.js +1 -1
  62. package/server/lib/git/service.js +18 -0
  63. package/server/lib/git/service.test.js +48 -0
  64. package/server/lib/notifications/index.js +1 -4
  65. package/server/lib/opencode/agents.js +0 -6
  66. package/server/lib/opencode/commands.js +0 -5
  67. package/server/lib/opencode/config-entity-routes.js +39 -21
  68. package/server/lib/opencode/feature-routes-runtime.js +27 -62
  69. package/server/lib/opencode/lifecycle.js +13 -1
  70. package/server/lib/opencode/npm-registry.js +3 -3
  71. package/server/lib/opencode/proxy.js +3 -3
  72. package/server/lib/opencode/shared.js +0 -6
  73. package/server/lib/opencode/skills.js +0 -2
  74. package/server/lib/opencode/snippets.js +0 -2
  75. package/server/lib/package-manager.js +5 -5
  76. package/server/lib/projects/project-config.js +0 -8
  77. package/server/lib/quota/DOCUMENTATION.md +3 -1
  78. package/server/lib/quota/providers/claude.js +1 -1
  79. package/server/lib/quota/providers/codex.js +1 -1
  80. package/server/lib/quota/providers/copilot.js +1 -1
  81. package/server/lib/quota/providers/cursor.js +1 -1
  82. package/server/lib/quota/providers/google/auth.js +2 -2
  83. package/server/lib/quota/providers/google/index.js +0 -27
  84. package/server/lib/quota/providers/google/transforms.js +1 -1
  85. package/server/lib/quota/providers/index.js +1 -1
  86. package/server/lib/quota/providers/kimi.js +1 -1
  87. package/server/lib/quota/providers/minimax-cn-coding-plan.js +1 -1
  88. package/server/lib/quota/providers/minimax-coding-plan.js +1 -1
  89. package/server/lib/quota/providers/nanogpt.js +1 -1
  90. package/server/lib/quota/providers/ollama-cloud.js +1 -1
  91. package/server/lib/quota/providers/openai.js +4 -4
  92. package/server/lib/quota/providers/openrouter.js +1 -1
  93. package/server/lib/quota/providers/wafer.js +1 -1
  94. package/server/lib/quota/providers/zai.js +1 -1
  95. package/server/lib/quota/providers/zhipuai-coding-plan.js +1 -1
  96. package/server/lib/skills-catalog/cache.js +0 -4
  97. package/server/lib/skills-catalog/clawdhub/api.js +0 -32
  98. package/server/lib/skills-catalog/clawdhub/scan.js +0 -52
  99. package/server/lib/skills-catalog/curated-sources.js +1 -1
  100. package/server/lib/skills-catalog/source.js +5 -0
  101. package/server/lib/terminal/runtime.js +11 -9
  102. package/server/lib/text/summarization.js +1 -1
  103. package/server/lib/tunnels/providers/ngrok.js +1 -1
  104. package/server/lib/tunnels/types.js +2 -2
  105. package/dist/assets/MultiRunWindow-yZoCT7F7.js +0 -1
  106. package/dist/assets/NewWorktreeDialog-CTMiE7Xd.js +0 -167
  107. package/dist/assets/es-CTE-E8we.js +0 -15
  108. package/dist/assets/fr-TVkZpyEo.js +0 -13
  109. package/dist/assets/index-B4pCDMbq.css +0 -1
  110. package/dist/assets/index-D9uMvTQF.js +0 -3
  111. package/dist/assets/ko-D_UCJIIL.js +0 -15
  112. package/dist/assets/main-eAd3a6tx.js +0 -214
  113. package/dist/assets/miniChat-Bbjg31IC.js +0 -2
  114. package/dist/assets/mobile-B3_j_DsB.js +0 -2
  115. package/dist/assets/pl-nDEkk-GZ.js +0 -15
  116. package/dist/assets/pt-BR-B_g2RcgU.js +0 -15
  117. package/dist/assets/renderElectronMiniChatApp-CB13zs6N.js +0 -2
  118. package/dist/assets/uk-CWLhnPGW.js +0 -15
  119. package/dist/assets/zh-CN-BFxe1b5m.js +0 -15
  120. package/dist/assets/zh-TW-n-d-xbGV.js +0 -15
  121. package/server/lib/opencode/index.js +0 -95
  122. package/server/lib/quota/providers/interface.js +0 -55
  123. package/server/lib/skills-catalog/clawdhub/index.js +0 -30
  124. package/server/lib/skills-catalog/index.js +0 -42
  125. package/server/lib/terminal/index.js +0 -31
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-.bun-CC_Xso_s.js","assets/vendor--Dwc_TRgJ.css","assets/renderMobileApp-6s0G1iIJ.js","assets/index-D9uMvTQF.js","assets/index-B4pCDMbq.css","assets/useAppFontEffects-CV5C5O0r.js","assets/NewWorktreeDialog-CTMiE7Xd.js","assets/mobileLayoutPreference-Dio-WWkI.js","assets/main-eAd3a6tx.js","assets/SessionSwitcherDropdown-1xaHUxPK.js","assets/main-BV3KOtdA.css"])))=>i.map(i=>d[i]);
2
- import{c as w}from"./index-D9uMvTQF.js";import{_ as a}from"./vendor-.bun-CC_Xso_s.js";import{g as p}from"./mobileLayoutPreference-Dio-WWkI.js";function h(t={}){const{immediate:r=!1,onNeedRefresh:n,onOfflineReady:o,onRegistered:s,onRegisteredSW:c,onRegisterError:d}=t;let i,u;const f=async(e=!0)=>{await u};async function m(){if("serviceWorker"in navigator){if(i=await a(async()=>{const{Workbox:e}=await import("./vendor-.bun-CC_Xso_s.js").then(_=>_.cm);return{Workbox:e}},__vite__mapDeps([0,1])).then(({Workbox:e})=>new e("/sw.js",{scope:"/",type:"classic"})).catch(e=>{d?.(e)}),!i)return;i.addEventListener("activated",e=>{(e.isUpdate||e.isExternal)&&window.location.reload()}),i.addEventListener("installed",e=>{e.isUpdate||o?.()}),i.register({immediate:r}).then(e=>{c?c("/sw.js",e):s?.(e)}).catch(e=>{d?.(e)})}}return u=m(),f}window.__OPENCHAMBER_RUNTIME_APIS__=w();const v=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(pointer: coarse)").matches,g=()=>{const r=new URLSearchParams(window.location.search).get("surface");if(r==="mobile")return"mobile";if(r==="desktop")return"desktop";const n=Math.min(window.innerWidth||0,window.screen?.width||window.innerWidth||0),o=navigator.maxTouchPoints||0;return n>0&&n<=760&&(o>0||v())&&p()==="new"?"mobile":"desktop"},l=g();window.__OPENCHAMBER_SURFACE__=l;const S=()=>!(!("serviceWorker"in navigator)||!window.isSecureContext||window.location.protocol!=="http:"&&window.location.protocol!=="https:"||document.prerendering||String(document.visibilityState)==="prerender"),E=t=>{let r=!1;const n=()=>{r||S()&&(r=!0,t())},o=()=>{setTimeout(n,0)};document.readyState==="complete"?o():window.addEventListener("load",o,{once:!0}),(document.prerendering||String(document.visibilityState)==="prerender")&&document.addEventListener("visibilitychange",n,{once:!0})},P=()=>{E(()=>{try{h({onRegisterError(t){console.warn("[PWA] service worker registration skipped:",t)}})}catch(t){console.warn("[PWA] service worker registration skipped:",t)}})};l==="mobile"?a(async()=>{const{renderMobileApp:t}=await import("./renderMobileApp-6s0G1iIJ.js");return{renderMobileApp:t}},__vite__mapDeps([2,0,1,3,4,5,6,7])).then(({renderMobileApp:t})=>{t(window.__OPENCHAMBER_RUNTIME_APIS__??w())}):a(()=>import("./main-eAd3a6tx.js").then(t=>t.m),__vite__mapDeps([8,0,1,3,4,5,6,7,9,10]));P();
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-.bun-By2L9XvG.js","assets/vendor--Dwc_TRgJ.css","assets/renderMobileApp-BrvLHYCY.js","assets/index-BsXkdBYx.js","assets/index-B82A6jBD.css","assets/useAppFontEffects-b7bqtGFf.js","assets/NewWorktreeDialog-Bx-zQyBp.js","assets/mobileLayoutPreference-Dio-WWkI.js","assets/main-fsOGbLGZ.js","assets/SessionSwitcherDropdown-BbUzUNEi.js","assets/main-BV3KOtdA.css"])))=>i.map(i=>d[i]);
2
+ import{c as w}from"./index-BsXkdBYx.js";import{_ as a}from"./vendor-.bun-By2L9XvG.js";import{g as p}from"./mobileLayoutPreference-Dio-WWkI.js";function h(t={}){const{immediate:r=!1,onNeedRefresh:n,onOfflineReady:o,onRegistered:s,onRegisteredSW:c,onRegisterError:d}=t;let i,u;const f=async(e=!0)=>{await u};async function m(){if("serviceWorker"in navigator){if(i=await a(async()=>{const{Workbox:e}=await import("./vendor-.bun-By2L9XvG.js").then(_=>_.cm);return{Workbox:e}},__vite__mapDeps([0,1])).then(({Workbox:e})=>new e("/sw.js",{scope:"/",type:"classic"})).catch(e=>{d?.(e)}),!i)return;i.addEventListener("activated",e=>{(e.isUpdate||e.isExternal)&&window.location.reload()}),i.addEventListener("installed",e=>{e.isUpdate||o?.()}),i.register({immediate:r}).then(e=>{c?c("/sw.js",e):s?.(e)}).catch(e=>{d?.(e)})}}return u=m(),f}window.__OPENCHAMBER_RUNTIME_APIS__=w();const v=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(pointer: coarse)").matches,g=()=>{const r=new URLSearchParams(window.location.search).get("surface");if(r==="mobile")return"mobile";if(r==="desktop")return"desktop";const n=Math.min(window.innerWidth||0,window.screen?.width||window.innerWidth||0),o=navigator.maxTouchPoints||0;return n>0&&n<=760&&(o>0||v())&&p()==="new"?"mobile":"desktop"},l=g();window.__OPENCHAMBER_SURFACE__=l;const S=()=>!(!("serviceWorker"in navigator)||!window.isSecureContext||window.location.protocol!=="http:"&&window.location.protocol!=="https:"||document.prerendering||String(document.visibilityState)==="prerender"),E=t=>{let r=!1;const n=()=>{r||S()&&(r=!0,t())},o=()=>{setTimeout(n,0)};document.readyState==="complete"?o():window.addEventListener("load",o,{once:!0}),(document.prerendering||String(document.visibilityState)==="prerender")&&document.addEventListener("visibilitychange",n,{once:!0})},P=()=>{E(()=>{try{h({onRegisterError(t){console.warn("[PWA] service worker registration skipped:",t)}})}catch(t){console.warn("[PWA] service worker registration skipped:",t)}})};l==="mobile"?a(async()=>{const{renderMobileApp:t}=await import("./renderMobileApp-BrvLHYCY.js");return{renderMobileApp:t}},__vite__mapDeps([2,0,1,3,4,5,6,7])).then(({renderMobileApp:t})=>{t(window.__OPENCHAMBER_RUNTIME_APIS__??w())}):a(()=>import("./main-fsOGbLGZ.js").then(t=>t.m),__vite__mapDeps([8,0,1,3,4,5,6,7,9,10]));P();