@37chengshan/ompweb 4.0.8 → 4.0.9

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 (437) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +12 -11
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/react-loadable-manifest.json +4 -4
  5. package/.next/required-server-files.js +2 -2
  6. package/.next/required-server-files.json +2 -2
  7. package/.next/routes-manifest.json +6 -0
  8. package/.next/server/app/_global-error/page.js +2 -2
  9. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/_global-error.html +1 -1
  11. package/.next/server/app/_global-error.rsc +2 -2
  12. package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  13. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
  14. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/server/app/_not-found/page.js +1 -1
  16. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/_not-found.html +1 -1
  18. package/.next/server/app/_not-found.rsc +2 -2
  19. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  20. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  21. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  22. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  23. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  24. package/.next/server/app/api/agent/[id]/route.js +1 -1
  25. package/.next/server/app/api/agent/new/route.js +1 -1
  26. package/.next/server/app/api/agent/running/events/route.js +1 -1
  27. package/.next/server/app/api/agents/route.js +1 -1
  28. package/.next/server/app/api/app-update/releases/route.js +1 -1
  29. package/.next/server/app/api/app-update/route.js +2 -2
  30. package/.next/server/app/api/auth/all-providers/route.js +1 -1
  31. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  32. package/.next/server/app/api/auth/login/[provider]/route.js +1 -1
  33. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  34. package/.next/server/app/api/auth/providers/route.js +1 -1
  35. package/.next/server/app/api/cwd/browse/route.js +1 -1
  36. package/.next/server/app/api/cwd/validate/route.js +1 -1
  37. package/.next/server/app/api/default-cwd/route.js +1 -1
  38. package/.next/server/app/api/diagnostics/route.js +1 -1
  39. package/.next/server/app/api/file-index/route.js +1 -1
  40. package/.next/server/app/api/files/[...path]/route.js +2 -2
  41. package/.next/server/app/api/git/diff/route.js +2 -2
  42. package/.next/server/app/api/git/status/route.js +1 -1
  43. package/.next/server/app/api/github/status/route.js +1 -1
  44. package/.next/server/app/api/home/route.js +1 -1
  45. package/.next/server/app/api/mcp/route.js +2 -2
  46. package/.next/server/app/api/model-roles/route.js +1 -1
  47. package/.next/server/app/api/models/fetch/route.js +1 -1
  48. package/.next/server/app/api/models/route.js +1 -1
  49. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  50. package/.next/server/app/api/models-config/route.js +1 -1
  51. package/.next/server/app/api/models-config/test/route.js +1 -1
  52. package/.next/server/app/api/omp-settings/route.js +1 -1
  53. package/.next/server/app/api/omp-update/route.js +1 -1
  54. package/.next/server/app/api/omp-version/route.js +1 -1
  55. package/.next/server/app/api/pair/accept/route.js +1 -1
  56. package/.next/server/app/api/pair/config/route.js +1 -1
  57. package/.next/server/app/api/pair/devices/[id]/route.js +1 -1
  58. package/.next/server/app/api/pair/devices/route.js +1 -1
  59. package/.next/server/app/api/pair/diagnostics/route.js +1 -0
  60. package/.next/server/app/api/pair/diagnostics/route.js.nft.json +1 -0
  61. package/.next/server/app/api/pair/diagnostics/route_client-reference-manifest.js +1 -0
  62. package/.next/server/app/api/pair/heartbeat/route.js +1 -1
  63. package/.next/server/app/api/pair/revoke-all/route.js +1 -1
  64. package/.next/server/app/api/pair/token/route.js +1 -1
  65. package/.next/server/app/api/pair/tunnel/route.js +1 -1
  66. package/.next/server/app/api/plugins/route.js +1 -1
  67. package/.next/server/app/api/projects/route.js +1 -1
  68. package/.next/server/app/api/provider-usage/route.js +1 -1
  69. package/.next/server/app/api/providers/enable/route.js +1 -1
  70. package/.next/server/app/api/proxy/route.js +1 -1
  71. package/.next/server/app/api/reveal/route.js +1 -1
  72. package/.next/server/app/api/scripts/route.js +1 -1
  73. package/.next/server/app/api/scripts/run/route.js +1 -1
  74. package/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
  75. package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
  76. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  77. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  78. package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
  79. package/.next/server/app/api/sessions/[id]/plan/route.js +1 -1
  80. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  81. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  82. package/.next/server/app/api/sessions/[id]/subagents/[subagentId]/route.js +1 -1
  83. package/.next/server/app/api/sessions/[id]/subagents/route.js +1 -1
  84. package/.next/server/app/api/sessions/archive/route.js +1 -1
  85. package/.next/server/app/api/sessions/import/route.js +1 -1
  86. package/.next/server/app/api/sessions/route.js +1 -1
  87. package/.next/server/app/api/skills/check/route.js +1 -1
  88. package/.next/server/app/api/skills/install/route.js +1 -1
  89. package/.next/server/app/api/skills/route.js +1 -1
  90. package/.next/server/app/api/skills/search/route.js +1 -1
  91. package/.next/server/app/api/skills/update/route.js +1 -1
  92. package/.next/server/app/api/terminal/input/route.js +1 -1
  93. package/.next/server/app/api/terminal/open/route.js +1 -1
  94. package/.next/server/app/api/terminal/resize/route.js +1 -1
  95. package/.next/server/app/api/terminal/session/route.js +1 -1
  96. package/.next/server/app/api/terminal/stream/route.js +2 -2
  97. package/.next/server/app/api/usage-summary/route.js +1 -1
  98. package/.next/server/app/api/web-auth/session/route.js +1 -1
  99. package/.next/server/app/api/worktrees/route.js +1 -1
  100. package/.next/server/app/favicon.ico/route.js +1 -1
  101. package/.next/server/app/index.html +1 -1
  102. package/.next/server/app/index.rsc +2 -2
  103. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  104. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  105. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  106. package/.next/server/app/login/page.js +1 -1
  107. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  108. package/.next/server/app/login.html +1 -1
  109. package/.next/server/app/login.rsc +2 -2
  110. package/.next/server/app/login.segments/_full.segment.rsc +2 -2
  111. package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  112. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  113. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  114. package/.next/server/app/page.js +1 -1
  115. package/.next/server/app/page_client-reference-manifest.js +1 -1
  116. package/.next/server/app/remote/page.js +1 -1
  117. package/.next/server/app/remote/page_client-reference-manifest.js +1 -1
  118. package/.next/server/app/remote.html +1 -1
  119. package/.next/server/app/remote.rsc +3 -3
  120. package/.next/server/app/remote.segments/_full.segment.rsc +3 -3
  121. package/.next/server/app/remote.segments/_tree.segment.rsc +1 -1
  122. package/.next/server/app/remote.segments/remote/__PAGE__.segment.rsc +3 -3
  123. package/.next/server/app-paths-manifest.json +12 -11
  124. package/.next/server/chunks/5105.js +1 -1
  125. package/.next/server/chunks/5309.js +1 -1
  126. package/.next/server/middleware-build-manifest.js +1 -1
  127. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  128. package/.next/server/middleware.js +2 -2
  129. package/.next/server/next-font-manifest.js +1 -1
  130. package/.next/server/next-font-manifest.json +1 -1
  131. package/.next/server/pages/404.html +1 -1
  132. package/.next/server/pages/500.html +1 -1
  133. package/.next/standalone/.next/BUILD_ID +1 -1
  134. package/.next/standalone/.next/app-path-routes-manifest.json +12 -11
  135. package/.next/standalone/.next/build-manifest.json +3 -3
  136. package/.next/standalone/.next/react-loadable-manifest.json +4 -4
  137. package/.next/standalone/.next/required-server-files.json +2 -2
  138. package/.next/standalone/.next/routes-manifest.json +6 -0
  139. package/.next/standalone/.next/server/app/_global-error/page.js +2 -2
  140. package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  141. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  142. package/.next/standalone/.next/server/app/_global-error.rsc +2 -2
  143. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  144. package/.next/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
  145. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  146. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  147. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  148. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  149. package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
  150. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  151. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  152. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  153. package/.next/standalone/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  154. package/.next/standalone/.next/server/app/api/agent/[id]/events/route.js +2 -2
  155. package/.next/standalone/.next/server/app/api/agent/[id]/route.js +1 -1
  156. package/.next/standalone/.next/server/app/api/agent/new/route.js +1 -1
  157. package/.next/standalone/.next/server/app/api/agent/running/events/route.js +1 -1
  158. package/.next/standalone/.next/server/app/api/agents/route.js +1 -1
  159. package/.next/standalone/.next/server/app/api/app-update/releases/route.js +1 -1
  160. package/.next/standalone/.next/server/app/api/app-update/route.js +2 -2
  161. package/.next/standalone/.next/server/app/api/auth/all-providers/route.js +1 -1
  162. package/.next/standalone/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  163. package/.next/standalone/.next/server/app/api/auth/login/[provider]/route.js +1 -1
  164. package/.next/standalone/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  165. package/.next/standalone/.next/server/app/api/auth/providers/route.js +1 -1
  166. package/.next/standalone/.next/server/app/api/cwd/browse/route.js +1 -1
  167. package/.next/standalone/.next/server/app/api/cwd/validate/route.js +1 -1
  168. package/.next/standalone/.next/server/app/api/default-cwd/route.js +1 -1
  169. package/.next/standalone/.next/server/app/api/diagnostics/route.js +1 -1
  170. package/.next/standalone/.next/server/app/api/file-index/route.js +1 -1
  171. package/.next/standalone/.next/server/app/api/files/[...path]/route.js +2 -2
  172. package/.next/standalone/.next/server/app/api/git/diff/route.js +2 -2
  173. package/.next/standalone/.next/server/app/api/git/status/route.js +1 -1
  174. package/.next/standalone/.next/server/app/api/github/status/route.js +1 -1
  175. package/.next/standalone/.next/server/app/api/home/route.js +1 -1
  176. package/.next/standalone/.next/server/app/api/mcp/route.js +2 -2
  177. package/.next/standalone/.next/server/app/api/model-roles/route.js +1 -1
  178. package/.next/standalone/.next/server/app/api/models/fetch/route.js +1 -1
  179. package/.next/standalone/.next/server/app/api/models/route.js +1 -1
  180. package/.next/standalone/.next/server/app/api/models-config/catalog/route.js +1 -1
  181. package/.next/standalone/.next/server/app/api/models-config/route.js +1 -1
  182. package/.next/standalone/.next/server/app/api/models-config/test/route.js +1 -1
  183. package/.next/standalone/.next/server/app/api/omp-settings/route.js +1 -1
  184. package/.next/standalone/.next/server/app/api/omp-update/route.js +1 -1
  185. package/.next/standalone/.next/server/app/api/omp-version/route.js +1 -1
  186. package/.next/standalone/.next/server/app/api/pair/accept/route.js +1 -1
  187. package/.next/standalone/.next/server/app/api/pair/config/route.js +1 -1
  188. package/.next/standalone/.next/server/app/api/pair/devices/[id]/route.js +1 -1
  189. package/.next/standalone/.next/server/app/api/pair/devices/route.js +1 -1
  190. package/.next/standalone/.next/server/app/api/pair/diagnostics/route.js +1 -0
  191. package/.next/standalone/.next/server/app/api/pair/diagnostics/route.js.nft.json +1 -0
  192. package/.next/standalone/.next/server/app/api/pair/diagnostics/route_client-reference-manifest.js +1 -0
  193. package/.next/standalone/.next/server/app/api/pair/heartbeat/route.js +1 -1
  194. package/.next/standalone/.next/server/app/api/pair/revoke-all/route.js +1 -1
  195. package/.next/standalone/.next/server/app/api/pair/token/route.js +1 -1
  196. package/.next/standalone/.next/server/app/api/pair/tunnel/route.js +1 -1
  197. package/.next/standalone/.next/server/app/api/plugins/route.js +1 -1
  198. package/.next/standalone/.next/server/app/api/projects/route.js +1 -1
  199. package/.next/standalone/.next/server/app/api/provider-usage/route.js +1 -1
  200. package/.next/standalone/.next/server/app/api/providers/enable/route.js +1 -1
  201. package/.next/standalone/.next/server/app/api/proxy/route.js +1 -1
  202. package/.next/standalone/.next/server/app/api/reveal/route.js +1 -1
  203. package/.next/standalone/.next/server/app/api/scripts/route.js +1 -1
  204. package/.next/standalone/.next/server/app/api/scripts/run/route.js +1 -1
  205. package/.next/standalone/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
  206. package/.next/standalone/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
  207. package/.next/standalone/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  208. package/.next/standalone/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  209. package/.next/standalone/.next/server/app/api/sessions/[id]/export/route.js +1 -1
  210. package/.next/standalone/.next/server/app/api/sessions/[id]/plan/route.js +1 -1
  211. package/.next/standalone/.next/server/app/api/sessions/[id]/route.js +1 -1
  212. package/.next/standalone/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  213. package/.next/standalone/.next/server/app/api/sessions/[id]/subagents/[subagentId]/route.js +1 -1
  214. package/.next/standalone/.next/server/app/api/sessions/[id]/subagents/route.js +1 -1
  215. package/.next/standalone/.next/server/app/api/sessions/archive/route.js +1 -1
  216. package/.next/standalone/.next/server/app/api/sessions/import/route.js +1 -1
  217. package/.next/standalone/.next/server/app/api/sessions/route.js +1 -1
  218. package/.next/standalone/.next/server/app/api/skills/check/route.js +1 -1
  219. package/.next/standalone/.next/server/app/api/skills/install/route.js +1 -1
  220. package/.next/standalone/.next/server/app/api/skills/route.js +1 -1
  221. package/.next/standalone/.next/server/app/api/skills/search/route.js +1 -1
  222. package/.next/standalone/.next/server/app/api/skills/update/route.js +1 -1
  223. package/.next/standalone/.next/server/app/api/terminal/input/route.js +1 -1
  224. package/.next/standalone/.next/server/app/api/terminal/open/route.js +1 -1
  225. package/.next/standalone/.next/server/app/api/terminal/resize/route.js +1 -1
  226. package/.next/standalone/.next/server/app/api/terminal/session/route.js +1 -1
  227. package/.next/standalone/.next/server/app/api/terminal/stream/route.js +2 -2
  228. package/.next/standalone/.next/server/app/api/usage-summary/route.js +1 -1
  229. package/.next/standalone/.next/server/app/api/web-auth/session/route.js +1 -1
  230. package/.next/standalone/.next/server/app/api/worktrees/route.js +1 -1
  231. package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
  232. package/.next/standalone/.next/server/app/index.html +1 -1
  233. package/.next/standalone/.next/server/app/index.rsc +2 -2
  234. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  235. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +2 -2
  236. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  237. package/.next/standalone/.next/server/app/login/page.js +1 -1
  238. package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  239. package/.next/standalone/.next/server/app/login.html +1 -1
  240. package/.next/standalone/.next/server/app/login.rsc +2 -2
  241. package/.next/standalone/.next/server/app/login.segments/_full.segment.rsc +2 -2
  242. package/.next/standalone/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  243. package/.next/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  244. package/.next/standalone/.next/server/app/manifest.webmanifest/route.js +2 -2
  245. package/.next/standalone/.next/server/app/page.js +1 -1
  246. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  247. package/.next/standalone/.next/server/app/remote/page.js +1 -1
  248. package/.next/standalone/.next/server/app/remote/page_client-reference-manifest.js +1 -1
  249. package/.next/standalone/.next/server/app/remote.html +1 -1
  250. package/.next/standalone/.next/server/app/remote.rsc +3 -3
  251. package/.next/standalone/.next/server/app/remote.segments/_full.segment.rsc +3 -3
  252. package/.next/standalone/.next/server/app/remote.segments/_tree.segment.rsc +1 -1
  253. package/.next/standalone/.next/server/app/remote.segments/remote/__PAGE__.segment.rsc +3 -3
  254. package/.next/standalone/.next/server/app-paths-manifest.json +12 -11
  255. package/.next/standalone/.next/server/chunks/5105.js +1 -1
  256. package/.next/standalone/.next/server/chunks/5309.js +1 -1
  257. package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
  258. package/.next/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  259. package/.next/standalone/.next/server/middleware.js +2 -2
  260. package/.next/standalone/.next/server/next-font-manifest.js +1 -1
  261. package/.next/standalone/.next/server/next-font-manifest.json +1 -1
  262. package/.next/standalone/.next/server/pages/404.html +1 -1
  263. package/.next/standalone/.next/server/pages/500.html +1 -1
  264. package/.next/standalone/package.json +1 -1
  265. package/.next/standalone/server.js +1 -1
  266. package/.next/static/Q2mgfI2LwRPF7Zp0NCBoh/_buildManifest.js +1 -0
  267. package/.next/static/chunks/1133.84dfba8099917553.js +1 -0
  268. package/.next/static/chunks/2584-d3ce1b6b3f137f21.js +1 -0
  269. package/.next/static/chunks/3651.4eeee1645e4e81ff.js +1 -0
  270. package/.next/static/chunks/{6792.3a89b1ae59253479.js → 6792.c2eaf8558399422d.js} +9 -9
  271. package/.next/static/chunks/app/_global-error/{page-f94b31373715403d.js → page-a8d6675abc8c4ebf.js} +1 -1
  272. package/.next/static/chunks/app/api/agent/[id]/bash-output/{route-f94b31373715403d.js → route-a8d6675abc8c4ebf.js} +1 -1
  273. package/.next/static/chunks/app/api/agent/[id]/events/{route-f94b31373715403d.js → route-a8d6675abc8c4ebf.js} +1 -1
  274. package/.next/static/chunks/app/api/agent/[id]/{route-f94b31373715403d.js → route-a8d6675abc8c4ebf.js} +1 -1
  275. package/.next/static/chunks/app/api/agent/new/route-a8d6675abc8c4ebf.js +1 -0
  276. package/.next/static/chunks/app/api/agent/running/events/route-a8d6675abc8c4ebf.js +1 -0
  277. package/.next/static/chunks/app/api/agents/route-a8d6675abc8c4ebf.js +1 -0
  278. package/.next/static/chunks/app/api/app-update/releases/route-a8d6675abc8c4ebf.js +1 -0
  279. package/.next/static/chunks/app/api/app-update/route-a8d6675abc8c4ebf.js +1 -0
  280. package/.next/static/chunks/app/api/auth/all-providers/route-a8d6675abc8c4ebf.js +1 -0
  281. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-a8d6675abc8c4ebf.js +1 -0
  282. package/.next/static/chunks/app/api/auth/login/[provider]/route-a8d6675abc8c4ebf.js +1 -0
  283. package/.next/static/chunks/app/api/auth/logout/[provider]/route-a8d6675abc8c4ebf.js +1 -0
  284. package/.next/static/chunks/app/api/auth/providers/route-a8d6675abc8c4ebf.js +1 -0
  285. package/.next/static/chunks/app/api/cwd/browse/route-a8d6675abc8c4ebf.js +1 -0
  286. package/.next/static/chunks/app/api/cwd/validate/route-a8d6675abc8c4ebf.js +1 -0
  287. package/.next/static/chunks/app/api/default-cwd/route-a8d6675abc8c4ebf.js +1 -0
  288. package/.next/static/chunks/app/api/diagnostics/route-a8d6675abc8c4ebf.js +1 -0
  289. package/.next/static/chunks/app/api/file-index/route-a8d6675abc8c4ebf.js +1 -0
  290. package/.next/static/chunks/app/api/files/[...path]/route-a8d6675abc8c4ebf.js +1 -0
  291. package/.next/static/chunks/app/api/git/diff/route-a8d6675abc8c4ebf.js +1 -0
  292. package/.next/static/chunks/app/api/git/status/route-a8d6675abc8c4ebf.js +1 -0
  293. package/.next/static/chunks/app/api/github/status/route-a8d6675abc8c4ebf.js +1 -0
  294. package/.next/static/chunks/app/api/home/route-a8d6675abc8c4ebf.js +1 -0
  295. package/.next/static/chunks/app/api/mcp/route-a8d6675abc8c4ebf.js +1 -0
  296. package/.next/static/chunks/app/api/model-roles/route-a8d6675abc8c4ebf.js +1 -0
  297. package/.next/static/chunks/app/api/models/fetch/route-a8d6675abc8c4ebf.js +1 -0
  298. package/.next/static/chunks/app/api/models/route-a8d6675abc8c4ebf.js +1 -0
  299. package/.next/static/chunks/app/api/models-config/catalog/route-a8d6675abc8c4ebf.js +1 -0
  300. package/.next/static/chunks/app/api/models-config/route-a8d6675abc8c4ebf.js +1 -0
  301. package/.next/static/chunks/app/api/models-config/test/route-a8d6675abc8c4ebf.js +1 -0
  302. package/.next/static/chunks/app/api/omp-settings/route-a8d6675abc8c4ebf.js +1 -0
  303. package/.next/static/chunks/app/api/omp-update/route-a8d6675abc8c4ebf.js +1 -0
  304. package/.next/static/chunks/app/api/omp-version/route-a8d6675abc8c4ebf.js +1 -0
  305. package/.next/static/chunks/app/api/pair/accept/route-a8d6675abc8c4ebf.js +1 -0
  306. package/.next/static/chunks/app/api/pair/config/route-a8d6675abc8c4ebf.js +1 -0
  307. package/.next/static/chunks/app/api/pair/devices/[id]/route-a8d6675abc8c4ebf.js +1 -0
  308. package/.next/static/chunks/app/api/pair/devices/route-a8d6675abc8c4ebf.js +1 -0
  309. package/.next/static/chunks/app/api/pair/diagnostics/route-a8d6675abc8c4ebf.js +1 -0
  310. package/.next/static/chunks/app/api/pair/heartbeat/route-a8d6675abc8c4ebf.js +1 -0
  311. package/.next/static/chunks/app/api/pair/revoke-all/route-a8d6675abc8c4ebf.js +1 -0
  312. package/.next/static/chunks/app/api/pair/token/route-a8d6675abc8c4ebf.js +1 -0
  313. package/.next/static/chunks/app/api/pair/tunnel/route-a8d6675abc8c4ebf.js +1 -0
  314. package/.next/static/chunks/app/api/plugins/route-a8d6675abc8c4ebf.js +1 -0
  315. package/.next/static/chunks/app/api/projects/route-a8d6675abc8c4ebf.js +1 -0
  316. package/.next/static/chunks/app/api/provider-usage/route-a8d6675abc8c4ebf.js +1 -0
  317. package/.next/static/chunks/app/api/providers/enable/route-a8d6675abc8c4ebf.js +1 -0
  318. package/.next/static/chunks/app/api/proxy/route-a8d6675abc8c4ebf.js +1 -0
  319. package/.next/static/chunks/app/api/reveal/route-a8d6675abc8c4ebf.js +1 -0
  320. package/.next/static/chunks/app/api/scripts/route-a8d6675abc8c4ebf.js +1 -0
  321. package/.next/static/chunks/app/api/scripts/run/route-a8d6675abc8c4ebf.js +1 -0
  322. package/.next/static/chunks/app/api/sessions/[id]/archive/route-a8d6675abc8c4ebf.js +1 -0
  323. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-a8d6675abc8c4ebf.js +1 -0
  324. package/.next/static/chunks/app/api/sessions/[id]/context/route-a8d6675abc8c4ebf.js +1 -0
  325. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-a8d6675abc8c4ebf.js +1 -0
  326. package/.next/static/chunks/app/api/sessions/[id]/export/route-a8d6675abc8c4ebf.js +1 -0
  327. package/.next/static/chunks/app/api/sessions/[id]/plan/route-a8d6675abc8c4ebf.js +1 -0
  328. package/.next/static/chunks/app/api/sessions/[id]/route-a8d6675abc8c4ebf.js +1 -0
  329. package/.next/static/chunks/app/api/sessions/[id]/state/route-a8d6675abc8c4ebf.js +1 -0
  330. package/.next/static/chunks/app/api/sessions/[id]/subagents/[subagentId]/route-a8d6675abc8c4ebf.js +1 -0
  331. package/.next/static/chunks/app/api/sessions/[id]/subagents/route-a8d6675abc8c4ebf.js +1 -0
  332. package/.next/static/chunks/app/api/sessions/archive/route-a8d6675abc8c4ebf.js +1 -0
  333. package/.next/static/chunks/app/api/sessions/import/route-a8d6675abc8c4ebf.js +1 -0
  334. package/.next/static/chunks/app/api/sessions/route-a8d6675abc8c4ebf.js +1 -0
  335. package/.next/static/chunks/app/api/skills/check/route-a8d6675abc8c4ebf.js +1 -0
  336. package/.next/static/chunks/app/api/skills/install/route-a8d6675abc8c4ebf.js +1 -0
  337. package/.next/static/chunks/app/api/skills/route-a8d6675abc8c4ebf.js +1 -0
  338. package/.next/static/chunks/app/api/skills/search/route-a8d6675abc8c4ebf.js +1 -0
  339. package/.next/static/chunks/app/api/skills/update/route-a8d6675abc8c4ebf.js +1 -0
  340. package/.next/static/chunks/app/api/terminal/input/route-a8d6675abc8c4ebf.js +1 -0
  341. package/.next/static/chunks/app/api/terminal/open/route-a8d6675abc8c4ebf.js +1 -0
  342. package/.next/static/chunks/app/api/terminal/resize/route-a8d6675abc8c4ebf.js +1 -0
  343. package/.next/static/chunks/app/api/terminal/session/route-a8d6675abc8c4ebf.js +1 -0
  344. package/.next/static/chunks/app/api/terminal/stream/route-a8d6675abc8c4ebf.js +1 -0
  345. package/.next/static/chunks/app/api/usage-summary/route-a8d6675abc8c4ebf.js +1 -0
  346. package/.next/static/chunks/app/api/web-auth/session/route-a8d6675abc8c4ebf.js +1 -0
  347. package/.next/static/chunks/app/api/worktrees/route-a8d6675abc8c4ebf.js +1 -0
  348. package/.next/static/chunks/app/manifest.webmanifest/route-a8d6675abc8c4ebf.js +1 -0
  349. package/.next/static/chunks/next/dist/client/components/builtin/app-error-a8d6675abc8c4ebf.js +1 -0
  350. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a8d6675abc8c4ebf.js +1 -0
  351. package/.next/static/chunks/next/dist/client/components/builtin/not-found-a8d6675abc8c4ebf.js +1 -0
  352. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a8d6675abc8c4ebf.js +1 -0
  353. package/.next/static/chunks/{webpack-e7dc39b3ef71fd7e.js → webpack-65a8e2b2a2f9a3fc.js} +1 -1
  354. package/desktop/main.js +6 -0
  355. package/package.json +1 -1
  356. package/.next/static/CYQrJAlj4LGpZLx6R09J5/_buildManifest.js +0 -1
  357. package/.next/static/chunks/1133.0f37525b2b215f36.js +0 -1
  358. package/.next/static/chunks/2584-da00c2837d93cf36.js +0 -1
  359. package/.next/static/chunks/3651.83bd686c6f78c347.js +0 -1
  360. package/.next/static/chunks/app/api/agent/new/route-f94b31373715403d.js +0 -1
  361. package/.next/static/chunks/app/api/agent/running/events/route-f94b31373715403d.js +0 -1
  362. package/.next/static/chunks/app/api/agents/route-f94b31373715403d.js +0 -1
  363. package/.next/static/chunks/app/api/app-update/releases/route-f94b31373715403d.js +0 -1
  364. package/.next/static/chunks/app/api/app-update/route-f94b31373715403d.js +0 -1
  365. package/.next/static/chunks/app/api/auth/all-providers/route-f94b31373715403d.js +0 -1
  366. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-f94b31373715403d.js +0 -1
  367. package/.next/static/chunks/app/api/auth/login/[provider]/route-f94b31373715403d.js +0 -1
  368. package/.next/static/chunks/app/api/auth/logout/[provider]/route-f94b31373715403d.js +0 -1
  369. package/.next/static/chunks/app/api/auth/providers/route-f94b31373715403d.js +0 -1
  370. package/.next/static/chunks/app/api/cwd/browse/route-f94b31373715403d.js +0 -1
  371. package/.next/static/chunks/app/api/cwd/validate/route-f94b31373715403d.js +0 -1
  372. package/.next/static/chunks/app/api/default-cwd/route-f94b31373715403d.js +0 -1
  373. package/.next/static/chunks/app/api/diagnostics/route-f94b31373715403d.js +0 -1
  374. package/.next/static/chunks/app/api/file-index/route-f94b31373715403d.js +0 -1
  375. package/.next/static/chunks/app/api/files/[...path]/route-f94b31373715403d.js +0 -1
  376. package/.next/static/chunks/app/api/git/diff/route-f94b31373715403d.js +0 -1
  377. package/.next/static/chunks/app/api/git/status/route-f94b31373715403d.js +0 -1
  378. package/.next/static/chunks/app/api/github/status/route-f94b31373715403d.js +0 -1
  379. package/.next/static/chunks/app/api/home/route-f94b31373715403d.js +0 -1
  380. package/.next/static/chunks/app/api/mcp/route-f94b31373715403d.js +0 -1
  381. package/.next/static/chunks/app/api/model-roles/route-f94b31373715403d.js +0 -1
  382. package/.next/static/chunks/app/api/models/fetch/route-f94b31373715403d.js +0 -1
  383. package/.next/static/chunks/app/api/models/route-f94b31373715403d.js +0 -1
  384. package/.next/static/chunks/app/api/models-config/catalog/route-f94b31373715403d.js +0 -1
  385. package/.next/static/chunks/app/api/models-config/route-f94b31373715403d.js +0 -1
  386. package/.next/static/chunks/app/api/models-config/test/route-f94b31373715403d.js +0 -1
  387. package/.next/static/chunks/app/api/omp-settings/route-f94b31373715403d.js +0 -1
  388. package/.next/static/chunks/app/api/omp-update/route-f94b31373715403d.js +0 -1
  389. package/.next/static/chunks/app/api/omp-version/route-f94b31373715403d.js +0 -1
  390. package/.next/static/chunks/app/api/pair/accept/route-f94b31373715403d.js +0 -1
  391. package/.next/static/chunks/app/api/pair/config/route-f94b31373715403d.js +0 -1
  392. package/.next/static/chunks/app/api/pair/devices/[id]/route-f94b31373715403d.js +0 -1
  393. package/.next/static/chunks/app/api/pair/devices/route-f94b31373715403d.js +0 -1
  394. package/.next/static/chunks/app/api/pair/heartbeat/route-f94b31373715403d.js +0 -1
  395. package/.next/static/chunks/app/api/pair/revoke-all/route-f94b31373715403d.js +0 -1
  396. package/.next/static/chunks/app/api/pair/token/route-f94b31373715403d.js +0 -1
  397. package/.next/static/chunks/app/api/pair/tunnel/route-f94b31373715403d.js +0 -1
  398. package/.next/static/chunks/app/api/plugins/route-f94b31373715403d.js +0 -1
  399. package/.next/static/chunks/app/api/projects/route-f94b31373715403d.js +0 -1
  400. package/.next/static/chunks/app/api/provider-usage/route-f94b31373715403d.js +0 -1
  401. package/.next/static/chunks/app/api/providers/enable/route-f94b31373715403d.js +0 -1
  402. package/.next/static/chunks/app/api/proxy/route-f94b31373715403d.js +0 -1
  403. package/.next/static/chunks/app/api/reveal/route-f94b31373715403d.js +0 -1
  404. package/.next/static/chunks/app/api/scripts/route-f94b31373715403d.js +0 -1
  405. package/.next/static/chunks/app/api/scripts/run/route-f94b31373715403d.js +0 -1
  406. package/.next/static/chunks/app/api/sessions/[id]/archive/route-f94b31373715403d.js +0 -1
  407. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-f94b31373715403d.js +0 -1
  408. package/.next/static/chunks/app/api/sessions/[id]/context/route-f94b31373715403d.js +0 -1
  409. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-f94b31373715403d.js +0 -1
  410. package/.next/static/chunks/app/api/sessions/[id]/export/route-f94b31373715403d.js +0 -1
  411. package/.next/static/chunks/app/api/sessions/[id]/plan/route-f94b31373715403d.js +0 -1
  412. package/.next/static/chunks/app/api/sessions/[id]/route-f94b31373715403d.js +0 -1
  413. package/.next/static/chunks/app/api/sessions/[id]/state/route-f94b31373715403d.js +0 -1
  414. package/.next/static/chunks/app/api/sessions/[id]/subagents/[subagentId]/route-f94b31373715403d.js +0 -1
  415. package/.next/static/chunks/app/api/sessions/[id]/subagents/route-f94b31373715403d.js +0 -1
  416. package/.next/static/chunks/app/api/sessions/archive/route-f94b31373715403d.js +0 -1
  417. package/.next/static/chunks/app/api/sessions/import/route-f94b31373715403d.js +0 -1
  418. package/.next/static/chunks/app/api/sessions/route-f94b31373715403d.js +0 -1
  419. package/.next/static/chunks/app/api/skills/check/route-f94b31373715403d.js +0 -1
  420. package/.next/static/chunks/app/api/skills/install/route-f94b31373715403d.js +0 -1
  421. package/.next/static/chunks/app/api/skills/route-f94b31373715403d.js +0 -1
  422. package/.next/static/chunks/app/api/skills/search/route-f94b31373715403d.js +0 -1
  423. package/.next/static/chunks/app/api/skills/update/route-f94b31373715403d.js +0 -1
  424. package/.next/static/chunks/app/api/terminal/input/route-f94b31373715403d.js +0 -1
  425. package/.next/static/chunks/app/api/terminal/open/route-f94b31373715403d.js +0 -1
  426. package/.next/static/chunks/app/api/terminal/resize/route-f94b31373715403d.js +0 -1
  427. package/.next/static/chunks/app/api/terminal/session/route-f94b31373715403d.js +0 -1
  428. package/.next/static/chunks/app/api/terminal/stream/route-f94b31373715403d.js +0 -1
  429. package/.next/static/chunks/app/api/usage-summary/route-f94b31373715403d.js +0 -1
  430. package/.next/static/chunks/app/api/web-auth/session/route-f94b31373715403d.js +0 -1
  431. package/.next/static/chunks/app/api/worktrees/route-f94b31373715403d.js +0 -1
  432. package/.next/static/chunks/app/manifest.webmanifest/route-f94b31373715403d.js +0 -1
  433. package/.next/static/chunks/next/dist/client/components/builtin/app-error-f94b31373715403d.js +0 -1
  434. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-f94b31373715403d.js +0 -1
  435. package/.next/static/chunks/next/dist/client/components/builtin/not-found-f94b31373715403d.js +0 -1
  436. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-f94b31373715403d.js +0 -1
  437. /package/.next/static/{CYQrJAlj4LGpZLx6R09J5 → Q2mgfI2LwRPF7Zp0NCBoh}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[61304,[],"ClientPageRoot"]
3
- 3:I[5017,["2584","static/chunks/2584-da00c2837d93cf36.js","3633","static/chunks/app/remote/page-6929ee7ca38967a5.js"],"default"]
3
+ 3:I[5017,["2584","static/chunks/2584-d3ce1b6b3f137f21.js","3633","static/chunks/app/remote/page-6929ee7ca38967a5.js"],"default"]
4
4
  6:I[90484,[],"OutletBoundary"]
5
5
  7:"$Sreact.suspense"
6
6
  b:I[90484,[],"ViewportBoundary"]
@@ -14,8 +14,8 @@ f:I[57121,[],""]
14
14
  a:X
15
15
  12:X
16
16
  12:C
17
- 13:T6ce,(function(){try{var t=localStorage.getItem("omp-theme")||"system";var d=matchMedia("(prefers-color-scheme: dark)").matches;var darkThemes=["dark","oled","nord","dracula","pine","navy","aurora-flow","dawn-flow","cosmic-flow","ocean-flow","sakura-flow","bamboo-flow"];var isD=t==="system"?d:darkThemes.indexOf(t)!==-1;if(isD){document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark")}if(t&&t!=="system"){document.documentElement.setAttribute("data-theme",t)}else{document.documentElement.removeAttribute("data-theme")}if(t==="custom"){try{var c=JSON.parse(localStorage.getItem("omp-custom-theme"));if(c){var r=document.documentElement;r.style.setProperty("--accent",c.accent);r.style.setProperty("--bg",c.bg);r.style.setProperty("--omp-o",c.accent);r.style.setProperty("--omp-m","color-mix(in srgb, "+c.accent+" 65%, #F59E0B)");r.style.setProperty("--omp-p","color-mix(in srgb, "+c.accent+" 65%, #38BDF8)");r.setAttribute("data-custom-mode",c.mode||"static");if(c.isDark){r.classList.add("dark")}else{r.classList.remove("dark")}}}catch(e){}}else{document.documentElement.removeAttribute("data-custom-mode")}try{var mp=JSON.parse(localStorage.getItem("omp-motion-prefs")||"null");if(mp){var doc=document.documentElement;doc.setAttribute("data-animations",mp.enabled!==false?"true":"false");doc.setAttribute("data-animation-beam",(mp.enabled!==false&&mp.chatBorderBeam!==false)?"true":"false");doc.setAttribute("data-animation-omp",(mp.enabled!==false&&mp.ompBouncing!==false)?"true":"false");doc.setAttribute("data-animation-thinking",(mp.enabled!==false&&mp.thinkingPulse!==false)?"true":"false");if(mp.beamSpeed)doc.style.setProperty("--omp-beam-speed",mp.beamSpeed+"s");}}catch(e){}}catch(e){}})();0:{"buildId":"CYQrJAlj4LGpZLx6R09J5","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#FAF9F6","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#1B1916","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"omp web"}],["$","meta","1",{"name":"description","content":"Web UI for the oh-my-pi (omp) coding agent"}],["$","link","2",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"omp web"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","link","7",{"rel":"icon","href":"/favicon.ico?8aa486c701a3d218","type":"image/x-icon","sizes":"512x512"}],["$","$Ld","8",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[null,["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":"$12"},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5fe2a8af79a7efdf.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/921bec6c70de20d4.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/7bbf54d710e156ee.css","precedence":"next"}]],["$","html",null,{"lang":"en","translate":"no","className":"__variable_66b8ca __variable_25ee46 __variable_cd0b3d notranslate","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","meta",null,{"name":"google","content":"notranslate"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"]}],"$L15"]}]]}],"isPartial":"$@16","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@17","rootVaryParams":null,"needsRuntimeRequest":"$@18"}
18
- 19:I[87460,["2584","static/chunks/2584-da00c2837d93cf36.js","8039","static/chunks/app/error-9ba463bef8c2cf06.js"],"default"]
17
+ 13:T6ce,(function(){try{var t=localStorage.getItem("omp-theme")||"system";var d=matchMedia("(prefers-color-scheme: dark)").matches;var darkThemes=["dark","oled","nord","dracula","pine","navy","aurora-flow","dawn-flow","cosmic-flow","ocean-flow","sakura-flow","bamboo-flow"];var isD=t==="system"?d:darkThemes.indexOf(t)!==-1;if(isD){document.documentElement.classList.add("dark")}else{document.documentElement.classList.remove("dark")}if(t&&t!=="system"){document.documentElement.setAttribute("data-theme",t)}else{document.documentElement.removeAttribute("data-theme")}if(t==="custom"){try{var c=JSON.parse(localStorage.getItem("omp-custom-theme"));if(c){var r=document.documentElement;r.style.setProperty("--accent",c.accent);r.style.setProperty("--bg",c.bg);r.style.setProperty("--omp-o",c.accent);r.style.setProperty("--omp-m","color-mix(in srgb, "+c.accent+" 65%, #F59E0B)");r.style.setProperty("--omp-p","color-mix(in srgb, "+c.accent+" 65%, #38BDF8)");r.setAttribute("data-custom-mode",c.mode||"static");if(c.isDark){r.classList.add("dark")}else{r.classList.remove("dark")}}}catch(e){}}else{document.documentElement.removeAttribute("data-custom-mode")}try{var mp=JSON.parse(localStorage.getItem("omp-motion-prefs")||"null");if(mp){var doc=document.documentElement;doc.setAttribute("data-animations",mp.enabled!==false?"true":"false");doc.setAttribute("data-animation-beam",(mp.enabled!==false&&mp.chatBorderBeam!==false)?"true":"false");doc.setAttribute("data-animation-omp",(mp.enabled!==false&&mp.ompBouncing!==false)?"true":"false");doc.setAttribute("data-animation-thinking",(mp.enabled!==false&&mp.thinkingPulse!==false)?"true":"false");if(mp.beamSpeed)doc.style.setProperty("--omp-beam-speed",mp.beamSpeed+"s");}}catch(e){}}catch(e){}})();0:{"buildId":"Q2mgfI2LwRPF7Zp0NCBoh","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#FAF9F6","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#1B1916","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"omp web"}],["$","meta","1",{"name":"description","content":"Web UI for the oh-my-pi (omp) coding agent"}],["$","link","2",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"omp web"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","link","7",{"rel":"icon","href":"/favicon.ico?8aa486c701a3d218","type":"image/x-icon","sizes":"512x512"}],["$","$Ld","8",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[null,["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":"$12"},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5fe2a8af79a7efdf.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/921bec6c70de20d4.css","precedence":"next"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/7bbf54d710e156ee.css","precedence":"next"}]],["$","html",null,{"lang":"en","translate":"no","className":"__variable_66b8ca __variable_25ee46 __variable_cd0b3d notranslate","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","meta",null,{"name":"google","content":"notranslate"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"]}],"$L15"]}]]}],"isPartial":"$@16","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@17","rootVaryParams":null,"needsRuntimeRequest":"$@18"}
18
+ 19:I[87460,["2584","static/chunks/2584-d3ce1b6b3f137f21.js","8039","static/chunks/app/error-9ba463bef8c2cf06.js"],"default"]
19
19
  4:{}
20
20
  5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
21
21
  8:null
@@ -24,40 +24,39 @@
24
24
  "/api/worktrees/route": "app/api/worktrees/route.js",
25
25
  "/favicon.ico/route": "app/favicon.ico/route.js",
26
26
  "/manifest.webmanifest/route": "app/manifest.webmanifest/route.js",
27
- "/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
28
- "/api/agent/[id]/route": "app/api/agent/[id]/route.js",
29
- "/api/agent/new/route": "app/api/agent/new/route.js",
30
27
  "/api/agent/running/events/route": "app/api/agent/running/events/route.js",
31
28
  "/api/agents/route": "app/api/agents/route.js",
32
29
  "/api/app-update/releases/route": "app/api/app-update/releases/route.js",
33
30
  "/api/app-update/route": "app/api/app-update/route.js",
34
31
  "/api/auth/all-providers/route": "app/api/auth/all-providers/route.js",
35
32
  "/api/auth/api-key/[provider]/route": "app/api/auth/api-key/[provider]/route.js",
33
+ "/api/agent/[id]/route": "app/api/agent/[id]/route.js",
36
34
  "/api/auth/login/[provider]/route": "app/api/auth/login/[provider]/route.js",
37
- "/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
38
35
  "/api/auth/providers/route": "app/api/auth/providers/route.js",
39
36
  "/api/diagnostics/route": "app/api/diagnostics/route.js",
37
+ "/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
40
38
  "/api/github/status/route": "app/api/github/status/route.js",
41
- "/api/mcp/route": "app/api/mcp/route.js",
42
39
  "/api/model-roles/route": "app/api/model-roles/route.js",
43
40
  "/api/models-config/catalog/route": "app/api/models-config/catalog/route.js",
44
41
  "/api/models-config/route": "app/api/models-config/route.js",
45
42
  "/api/models-config/test/route": "app/api/models-config/test/route.js",
46
43
  "/api/models/fetch/route": "app/api/models/fetch/route.js",
44
+ "/api/mcp/route": "app/api/mcp/route.js",
47
45
  "/api/omp-settings/route": "app/api/omp-settings/route.js",
48
46
  "/api/omp-update/route": "app/api/omp-update/route.js",
49
- "/api/models/route": "app/api/models/route.js",
50
47
  "/api/omp-version/route": "app/api/omp-version/route.js",
51
48
  "/api/pair/accept/route": "app/api/pair/accept/route.js",
49
+ "/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
52
50
  "/api/pair/config/route": "app/api/pair/config/route.js",
53
- "/api/pair/devices/[id]/route": "app/api/pair/devices/[id]/route.js",
54
51
  "/api/pair/devices/route": "app/api/pair/devices/route.js",
55
- "/api/pair/heartbeat/route": "app/api/pair/heartbeat/route.js",
52
+ "/api/pair/devices/[id]/route": "app/api/pair/devices/[id]/route.js",
53
+ "/api/pair/diagnostics/route": "app/api/pair/diagnostics/route.js",
56
54
  "/api/pair/revoke-all/route": "app/api/pair/revoke-all/route.js",
57
55
  "/api/pair/token/route": "app/api/pair/token/route.js",
56
+ "/api/pair/heartbeat/route": "app/api/pair/heartbeat/route.js",
58
57
  "/api/pair/tunnel/route": "app/api/pair/tunnel/route.js",
59
- "/api/plugins/route": "app/api/plugins/route.js",
60
58
  "/api/provider-usage/route": "app/api/provider-usage/route.js",
59
+ "/api/agent/new/route": "app/api/agent/new/route.js",
61
60
  "/api/proxy/route": "app/api/proxy/route.js",
62
61
  "/api/reveal/route": "app/api/reveal/route.js",
63
62
  "/api/scripts/route": "app/api/scripts/route.js",
@@ -70,14 +69,16 @@
70
69
  "/api/skills/check/route": "app/api/skills/check/route.js",
71
70
  "/api/skills/install/route": "app/api/skills/install/route.js",
72
71
  "/api/skills/route": "app/api/skills/route.js",
72
+ "/api/models/route": "app/api/models/route.js",
73
73
  "/api/skills/update/route": "app/api/skills/update/route.js",
74
- "/api/skills/search/route": "app/api/skills/search/route.js",
75
- "/api/terminal/input/route": "app/api/terminal/input/route.js",
76
74
  "/api/terminal/open/route": "app/api/terminal/open/route.js",
77
75
  "/api/terminal/resize/route": "app/api/terminal/resize/route.js",
78
76
  "/api/terminal/session/route": "app/api/terminal/session/route.js",
79
77
  "/api/terminal/stream/route": "app/api/terminal/stream/route.js",
80
78
  "/api/usage-summary/route": "app/api/usage-summary/route.js",
79
+ "/api/terminal/input/route": "app/api/terminal/input/route.js",
80
+ "/api/plugins/route": "app/api/plugins/route.js",
81
+ "/api/skills/search/route": "app/api/skills/search/route.js",
81
82
  "/login/page": "app/login/page.js",
82
83
  "/page": "app/page.js",
83
84
  "/remote/page": "app/remote/page.js"
@@ -1 +1 @@
1
- exports.id=5105,exports.ids=[5105],exports.modules={20565:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function e(a){return"string"==typeof a?a:void 0}function f(a){return"number"==typeof a&&Number.isFinite(a)?a:void 0}c.d(b,{i:()=>f,oJ:()=>e,u4:()=>d})},78045:(a,b,c)=>{"use strict";c.d(b,{gN:()=>h});var d=c(33873),e=c(80221),f=c(85887);let g="__ompWebPairingService__";function h(){let a=globalThis;return a[g]||(a[g]=new e.cg({},void 0,(0,d.join)((0,f.$M)(),"remote-pairing.json"))),a[g]}},78335:()=>{},80221:(a,b,c)=>{"use strict";c.d(b,{cg:()=>j,m3:()=>n});var d=c(55511),e=c(29021),f=c(33873),g=c(20565);let h={tokenTtlMs:6e5,offlineAfterMs:25e3,maxDevices:4,idleExpireMs:6048e5,cookieName:"dsh_pair",requirePairingForLan:!0,autoTunnel:!1,mobileEnterToSend:!1},i={now:()=>Date.now(),randomToken:()=>(0,d.randomBytes)(16).toString("hex")};class j{constructor(a={},b=i,c=null){this.tokens=new Map,this.devices=new Map,this.persistPath=null,this.stopped=!1,this.tokenSerial=0,this.config={...h,...a},this.store=b,this.persistPath=c,c&&(0,e.existsSync)(c)&&this.load()}load(){try{var a;let b,c=JSON.parse((0,e.readFileSync)(this.persistPath,"utf8"));if(!(0,g.u4)(c))return;if((0,g.u4)(c.config)&&(this.config={...this.config,...(a=c.config,b={},"number"==typeof a.tokenTtlMs&&(b.tokenTtlMs=a.tokenTtlMs),"number"==typeof a.offlineAfterMs&&(b.offlineAfterMs=a.offlineAfterMs),"number"==typeof a.maxDevices&&(b.maxDevices=a.maxDevices),"number"==typeof a.idleExpireMs&&(b.idleExpireMs=a.idleExpireMs),"string"==typeof a.cookieName&&(b.cookieName=a.cookieName),"boolean"==typeof a.requirePairingForLan&&(b.requirePairingForLan=a.requirePairingForLan),"string"==typeof a.publicUrl&&(b.publicUrl=a.publicUrl),"boolean"==typeof a.autoTunnel&&(b.autoTunnel=a.autoTunnel),"boolean"==typeof a.mobileEnterToSend&&(b.mobileEnterToSend=a.mobileEnterToSend),b)}),(0,g.u4)(c.token)&&"string"==typeof c.token.value&&"number"==typeof c.token.expiresAt&&c.token.expiresAt>this.store.now()&&this.tokens.set(c.token.value,c.token.expiresAt),Array.isArray(c.devices))for(let a of c.devices){if(!(0,g.u4)(a)||"string"!=typeof a.id)continue;let b={id:a.id,name:"string"==typeof a.name?a.name:"Paired device",pairedAt:"number"==typeof a.pairedAt?a.pairedAt:this.store.now(),lastActiveAt:"number"==typeof a.lastActiveAt?a.lastActiveAt:this.store.now(),..."string"==typeof a.userAgent?{userAgent:a.userAgent}:{},mobile:!0===a.mobile};this.devices.set(b.id,b)}this.sweep()}catch{}}persist(){if(this.persistPath)try{(0,e.mkdirSync)((0,f.dirname)(this.persistPath),{recursive:!0});let a=`${this.persistPath}.tmp`;(0,e.writeFileSync)(a,JSON.stringify({config:this.config,token:this.activeToken(),devices:[...this.devices.values()]})),(0,e.renameSync)(a,this.persistPath)}catch{}}updateConfig(a){return this.config={...this.config,...a},this.persist(),this.config}getConfig(){return{...this.config}}issue(){let a=this.store.now(),b=`${this.store.randomToken()}${this.tokenSerial++}`,c=a+this.config.tokenTtlMs;return this.tokens.clear(),this.tokens.set(b,c),this.persist(),{token:b,expiresAt:c}}accept(a,b,c){let d,e=this.store.now(),f=this.tokens.get(a);if(void 0===f||f<e)return null;this.tokens.delete(a);let g={id:this.store.randomToken(),name:(d=(b??"").slice(0,180),c?"Phone":/Windows/i.test(d)?"Windows PC":/Macintosh|Mac OS/i.test(d)?"Mac":/Linux/i.test(d)?"Linux PC":/iPhone|iPad|Android/i.test(d)?"Phone":"Paired device"),pairedAt:e,lastActiveAt:e,...b?{userAgent:b.slice(0,180)}:{},mobile:c};return this.devices.set(g.id,g),this.sweepDevices(e),this.persist(),g}touch(a){let b=this.devices.get(a);return!!b&&(b.lastActiveAt=this.store.now(),this.sweepDevices(b.lastActiveAt),this.devices.has(a))}revoke(a){let b=this.devices.delete(a);return b&&this.persist(),b}stop(){this.tokens.clear(),this.devices.clear(),this.stopped=!0,this.persist()}isStopped(){return this.stopped}getDevice(a){let b=this.devices.get(a);return b?this.store.now()-b.lastActiveAt>this.config.idleExpireMs?(this.devices.delete(a),this.persist(),null):{...b}:null}listDevices(){return this.sweep(),[...this.devices.values()].map(a=>({...a}))}isOnline(a){return this.store.now()-a.lastActiveAt<=this.config.offlineAfterMs}activeToken(){let a=this.store.now();for(let[b,c]of this.tokens){if(c>=a)return{value:b,expiresAt:c};this.tokens.delete(b)}return null}sweep(){let a=this.store.now();for(let[b,c]of(this.sweepDevices(a),this.tokens))c<a&&this.tokens.delete(b)}sweepDevices(a){let b=[];for(let[c,d]of this.devices)a-d.lastActiveAt>this.config.idleExpireMs&&b.push(c);for(let a of b)this.devices.delete(a);if(this.devices.size>this.config.maxDevices){let a=[...this.devices.values()].sort((a,b)=>a.lastActiveAt-b.lastActiveAt);for(let b of a.slice(0,a.length-this.config.maxDevices))this.devices.delete(b.id)}}}let k=/^[A-Za-z0-9.:\-[\]]{1,255}$/,l=/^127\.|^::1$|^\[::1\]$/,m=/vEthernet|VirtualBox|VMware|vboxnet|tap\d|tun\d|docker|tailscale|zerotier|virbr/i;function n(a,b,d="30178"){let e=a.headers.get("host")??"",f=k.test(e)?e:"",g="https"===a.headers.get("x-forwarded-proto")?"https":"http",h=f.split(":")[0],i=f.split(":")[1]??d;if(f&&!l.test(h)&&"localhost"!==h)return`${g}://${f}`;if(b)return b.replace(/\/+$/,"");let j=function(a=c(21820).networkInterfaces()){let b=new Set;for(let[c,d]of Object.entries(a))if(!m.test(c))for(let a of d??[]){if("IPv4"!==a.family&&4!==a.family)continue;let c=a.address;if(!b.has(c)){if((b.add(c),!(a.internal||l.test(c)))&&!c.startsWith("169.254."))return c}}return null}();return j?`${g}://${j}:${i}`:`${g}://${f||"127.0.0.1"}`}},85887:(a,b,c)=>{"use strict";c.d(b,{$M:()=>l,OK:()=>r,Pp:()=>w,Ym:()=>x,_8:()=>u,fL:()=>v,ny:()=>o,pA:()=>q,tE:()=>n,yG:()=>p});var d=c(29021),e=c(21820),f=c(33873);let g=/^[a-z0-9][a-z0-9._-]{0,63}$/,h=/^(?:CON|PRN|AUX|NUL|COM[0-9]|LPT[0-9])(?:\..*)?$/i;function i(a){let b=a?.trim();if(b&&"default"!==b){if("."===b||".."===b||b.endsWith(".")||!g.test(b)||h.test(b))throw Error(`Invalid OMP profile "${a}". Profile names must match ${g.source}, cannot be "." or "..", cannot end with ".", and cannot be a Windows reserved device name (CON, PRN, AUX, NUL, COM0-9, LPT0-9, or any of those with an extension).`);return b}}function j(){return void 0!==process.env.OMP_PROFILE?i(process.env.OMP_PROFILE):i(process.env.PI_PROFILE)}function k(){let a=f.join((0,e.homedir)(),process.env.PI_CONFIG_DIR||".omp"),b=j();return b?f.join(a,"profiles",b):a}function l(){let a=j(),b=process.env.PI_CODING_AGENT_DIR;return b&&!a?f.resolve(b):f.join(k(),"agent")}function m(a){let b=function(){let a,b;if("linux"!==process.platform&&"darwin"!==process.platform||(a=j(),(b=process.env.PI_CODING_AGENT_DIR)&&!a&&f.resolve(b)!==f.join(k(),"agent")))return;let c=process.env.XDG_DATA_HOME;if(c)try{let a=f.join(c,"omp"),b=j();if(b){let c=f.join(a,"profiles",b);return(0,d.existsSync)(c)?c:void 0}return(0,d.existsSync)(a)?a:void 0}catch{return}}();return f.join(b??l(),a)}function n(){return m("sessions")}function o(){return f.join(f.dirname(n()),"archive","sessions")}function p(){return m("blobs")}function q(){let a=l(),b=f.join(a,"config.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"config.yaml");return(0,d.existsSync)(c)?c:b}function r(){let a=l(),b=f.join(a,"models.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"models.yaml");return(0,d.existsSync)(c)?c:b}function s(a){try{return d.realpathSync.native(a)}catch{return a}}function t(a,b){let c=b.replace(/[/\\:]/g,"-");return c?a.endsWith("-")?`${a}${c}`:`${a}-${c}`:a}function u(a){let b,c=s(f.resolve(a)),d=s((0,e.homedir)()),g=s((0,e.tmpdir)()),h=f.relative(d,c),i=f.relative(g,c);return""!==h&&(h.startsWith("..")||f.isAbsolute(h))?""!==i&&(i.startsWith("..")||f.isAbsolute(i))?(b=f.resolve(c),`--${b.replace(/^[/\\]/,"").replace(/[/\\:]/g,"-")}--`):t("-tmp",i):t("-",h)}function v(){return f.join(l(),"agents")}function w(a){let b=f.resolve(a),c=(0,e.homedir)();for(;;){let a=f.join(b,".omp","agents");try{if((0,d.statSync)(a).isDirectory())return a}catch{}if((0,d.existsSync)(f.join(b,".git")))return a;if(b===c)break;let e=f.dirname(b);if(e===b)break;b=e}return f.join(f.resolve(a),".omp","agents")}function x(){return f.join((0,e.tmpdir)(),"omp-web-bundled-agents")}},96487:()=>{}};
1
+ exports.id=5105,exports.ids=[5105],exports.modules={20565:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function e(a){return"string"==typeof a?a:void 0}function f(a){return"number"==typeof a&&Number.isFinite(a)?a:void 0}c.d(b,{i:()=>f,oJ:()=>e,u4:()=>d})},78045:(a,b,c)=>{"use strict";c.d(b,{gN:()=>h});var d=c(33873),e=c(80221),f=c(85887);let g="__ompWebPairingService__";function h(){let a=globalThis;return a[g]||(a[g]=new e.cg({},void 0,(0,d.join)((0,f.$M)(),"remote-pairing.json"))),a[g]}},78335:()=>{},80221:(a,b,c)=>{"use strict";c.d(b,{UX:()=>k,cg:()=>j,m3:()=>o});var d=c(55511),e=c(29021),f=c(33873),g=c(20565);let h={tokenTtlMs:6e5,offlineAfterMs:25e3,maxDevices:4,idleExpireMs:6048e5,cookieName:"dsh_pair",requirePairingForLan:!0,autoTunnel:!1,mobileEnterToSend:!1},i={now:()=>Date.now(),randomToken:()=>(0,d.randomBytes)(16).toString("hex")};class j{constructor(a={},b=i,c=null){this.tokens=new Map,this.devices=new Map,this.persistPath=null,this.stopped=!1,this.tokenSerial=0,this.config={...h,...a},this.store=b,this.persistPath=c,c&&(0,e.existsSync)(c)&&this.load()}load(){try{var a;let b,c=JSON.parse((0,e.readFileSync)(this.persistPath,"utf8"));if(!(0,g.u4)(c))return;if((0,g.u4)(c.config)&&(this.config={...this.config,...(a=c.config,b={},"number"==typeof a.tokenTtlMs&&(b.tokenTtlMs=a.tokenTtlMs),"number"==typeof a.offlineAfterMs&&(b.offlineAfterMs=a.offlineAfterMs),"number"==typeof a.maxDevices&&(b.maxDevices=a.maxDevices),"number"==typeof a.idleExpireMs&&(b.idleExpireMs=a.idleExpireMs),"string"==typeof a.cookieName&&(b.cookieName=a.cookieName),"boolean"==typeof a.requirePairingForLan&&(b.requirePairingForLan=a.requirePairingForLan),"string"==typeof a.publicUrl&&(b.publicUrl=a.publicUrl),"boolean"==typeof a.autoTunnel&&(b.autoTunnel=a.autoTunnel),"boolean"==typeof a.mobileEnterToSend&&(b.mobileEnterToSend=a.mobileEnterToSend),b)}),(0,g.u4)(c.token)&&"string"==typeof c.token.value&&"number"==typeof c.token.expiresAt&&c.token.expiresAt>this.store.now()&&this.tokens.set(c.token.value,c.token.expiresAt),Array.isArray(c.devices))for(let a of c.devices){if(!(0,g.u4)(a)||"string"!=typeof a.id)continue;let b={id:a.id,name:"string"==typeof a.name?a.name:"Paired device",pairedAt:"number"==typeof a.pairedAt?a.pairedAt:this.store.now(),lastActiveAt:"number"==typeof a.lastActiveAt?a.lastActiveAt:this.store.now(),..."string"==typeof a.userAgent?{userAgent:a.userAgent}:{},mobile:!0===a.mobile};this.devices.set(b.id,b)}this.sweep()}catch{}}persist(){if(this.persistPath)try{(0,e.mkdirSync)((0,f.dirname)(this.persistPath),{recursive:!0});let a=`${this.persistPath}.tmp`;(0,e.writeFileSync)(a,JSON.stringify({config:this.config,token:this.activeToken(),devices:[...this.devices.values()]})),(0,e.renameSync)(a,this.persistPath)}catch{}}updateConfig(a){return this.config={...this.config,...a},this.persist(),this.config}getConfig(){return{...this.config}}issue(){let a=this.store.now(),b=`${this.store.randomToken()}${this.tokenSerial++}`,c=a+this.config.tokenTtlMs;return this.tokens.clear(),this.tokens.set(b,c),this.persist(),{token:b,expiresAt:c}}accept(a,b,c){let d,e=this.store.now(),f=this.tokens.get(a);if(void 0===f||f<e)return null;this.tokens.delete(a);let g={id:this.store.randomToken(),name:(d=(b??"").slice(0,180),c?"Phone":/Windows/i.test(d)?"Windows PC":/Macintosh|Mac OS/i.test(d)?"Mac":/Linux/i.test(d)?"Linux PC":/iPhone|iPad|Android/i.test(d)?"Phone":"Paired device"),pairedAt:e,lastActiveAt:e,...b?{userAgent:b.slice(0,180)}:{},mobile:c};return this.devices.set(g.id,g),this.sweepDevices(e),this.persist(),g}touch(a){let b=this.devices.get(a);return!!b&&(b.lastActiveAt=this.store.now(),this.sweepDevices(b.lastActiveAt),this.devices.has(a))}revoke(a){let b=this.devices.delete(a);return b&&this.persist(),b}stop(){this.tokens.clear(),this.devices.clear(),this.stopped=!0,this.persist()}isStopped(){return this.stopped}getDevice(a){let b=this.devices.get(a);return b?this.store.now()-b.lastActiveAt>this.config.idleExpireMs?(this.devices.delete(a),this.persist(),null):{...b}:null}listDevices(){return this.sweep(),[...this.devices.values()].map(a=>({...a}))}isOnline(a){return this.store.now()-a.lastActiveAt<=this.config.offlineAfterMs}activeToken(){let a=this.store.now();for(let[b,c]of this.tokens){if(c>=a)return{value:b,expiresAt:c};this.tokens.delete(b)}return null}sweep(){let a=this.store.now();for(let[b,c]of(this.sweepDevices(a),this.tokens))c<a&&this.tokens.delete(b)}sweepDevices(a){let b=[];for(let[c,d]of this.devices)a-d.lastActiveAt>this.config.idleExpireMs&&b.push(c);for(let a of b)this.devices.delete(a);if(this.devices.size>this.config.maxDevices){let a=[...this.devices.values()].sort((a,b)=>a.lastActiveAt-b.lastActiveAt);for(let b of a.slice(0,a.length-this.config.maxDevices))this.devices.delete(b.id)}}}function k(a){if(!a)return!1;let b=a.toLowerCase();if("localhost"===b||b.startsWith("localhost:"))return!1;let c=b.split(":")[0];return"127.0.0.1"!==c&&"::1"!==c&&"[::1]"!==c}let l=/^[A-Za-z0-9.:\-[\]]{1,255}$/,m=/^127\.|^::1$|^\[::1\]$/,n=/vEthernet|VirtualBox|VMware|vboxnet|tap\d|tun\d|docker|tailscale|zerotier|virbr/i;function o(a,b,d="30178"){let e=a.headers.get("host")??"",f=l.test(e)?e:"",g="https"===a.headers.get("x-forwarded-proto")?"https":"http",h=f.split(":")[0],i=f.split(":")[1]??d;if(f&&!m.test(h)&&"localhost"!==h)return`${g}://${f}`;if(b)return b.replace(/\/+$/,"");let j=function(a=c(21820).networkInterfaces()){let b=new Set;for(let[c,d]of Object.entries(a))if(!n.test(c))for(let a of d??[]){if("IPv4"!==a.family&&4!==a.family)continue;let c=a.address;if(!b.has(c)){if((b.add(c),!(a.internal||m.test(c)))&&!c.startsWith("169.254."))return c}}return null}();return j?`${g}://${j}:${i}`:`${g}://${f||"127.0.0.1"}`}},85887:(a,b,c)=>{"use strict";c.d(b,{$M:()=>l,OK:()=>r,Pp:()=>w,Ym:()=>x,_8:()=>u,fL:()=>v,ny:()=>o,pA:()=>q,tE:()=>n,yG:()=>p});var d=c(29021),e=c(21820),f=c(33873);let g=/^[a-z0-9][a-z0-9._-]{0,63}$/,h=/^(?:CON|PRN|AUX|NUL|COM[0-9]|LPT[0-9])(?:\..*)?$/i;function i(a){let b=a?.trim();if(b&&"default"!==b){if("."===b||".."===b||b.endsWith(".")||!g.test(b)||h.test(b))throw Error(`Invalid OMP profile "${a}". Profile names must match ${g.source}, cannot be "." or "..", cannot end with ".", and cannot be a Windows reserved device name (CON, PRN, AUX, NUL, COM0-9, LPT0-9, or any of those with an extension).`);return b}}function j(){return void 0!==process.env.OMP_PROFILE?i(process.env.OMP_PROFILE):i(process.env.PI_PROFILE)}function k(){let a=f.join((0,e.homedir)(),process.env.PI_CONFIG_DIR||".omp"),b=j();return b?f.join(a,"profiles",b):a}function l(){let a=j(),b=process.env.PI_CODING_AGENT_DIR;return b&&!a?f.resolve(b):f.join(k(),"agent")}function m(a){let b=function(){let a,b;if("linux"!==process.platform&&"darwin"!==process.platform||(a=j(),(b=process.env.PI_CODING_AGENT_DIR)&&!a&&f.resolve(b)!==f.join(k(),"agent")))return;let c=process.env.XDG_DATA_HOME;if(c)try{let a=f.join(c,"omp"),b=j();if(b){let c=f.join(a,"profiles",b);return(0,d.existsSync)(c)?c:void 0}return(0,d.existsSync)(a)?a:void 0}catch{return}}();return f.join(b??l(),a)}function n(){return m("sessions")}function o(){return f.join(f.dirname(n()),"archive","sessions")}function p(){return m("blobs")}function q(){let a=l(),b=f.join(a,"config.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"config.yaml");return(0,d.existsSync)(c)?c:b}function r(){let a=l(),b=f.join(a,"models.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"models.yaml");return(0,d.existsSync)(c)?c:b}function s(a){try{return d.realpathSync.native(a)}catch{return a}}function t(a,b){let c=b.replace(/[/\\:]/g,"-");return c?a.endsWith("-")?`${a}${c}`:`${a}-${c}`:a}function u(a){let b,c=s(f.resolve(a)),d=s((0,e.homedir)()),g=s((0,e.tmpdir)()),h=f.relative(d,c),i=f.relative(g,c);return""!==h&&(h.startsWith("..")||f.isAbsolute(h))?""!==i&&(i.startsWith("..")||f.isAbsolute(i))?(b=f.resolve(c),`--${b.replace(/^[/\\]/,"").replace(/[/\\:]/g,"-")}--`):t("-tmp",i):t("-",h)}function v(){return f.join(l(),"agents")}function w(a){let b=f.resolve(a),c=(0,e.homedir)();for(;;){let a=f.join(b,".omp","agents");try{if((0,d.statSync)(a).isDirectory())return a}catch{}if((0,d.existsSync)(f.join(b,".git")))return a;if(b===c)break;let e=f.dirname(b);if(e===b)break;b=e}return f.join(f.resolve(a),".omp","agents")}function x(){return f.join((0,e.tmpdir)(),"omp-web-bundled-agents")}},96487:()=>{}};