cuelo 0.8.3 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +9 -6
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/required-server-files.js +5 -3
  6. package/.next/required-server-files.json +5 -3
  7. package/.next/routes-manifest.json +20 -0
  8. package/.next/server/app/_global-error/page.js +3 -3
  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 +1 -1
  12. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  17. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  18. package/.next/server/app/_not-found/page.js +2 -2
  19. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/_not-found.html +1 -1
  21. package/.next/server/app/_not-found.rsc +3 -3
  22. package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  23. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  24. package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
  25. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  26. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  27. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  28. package/.next/server/app/api/agent/[id]/account/route.js +1 -1
  29. package/.next/server/app/api/agent/[id]/account/route.js.nft.json +1 -1
  30. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  31. package/.next/server/app/api/agent/[id]/bash-output/route.js.nft.json +1 -1
  32. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  33. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -1
  34. package/.next/server/app/api/agent/[id]/route.js +1 -1
  35. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -1
  36. package/.next/server/app/api/agent/new/route.js +1 -1
  37. package/.next/server/app/api/agent/new/route.js.nft.json +1 -1
  38. package/.next/server/app/api/agent/running/route.js +1 -1
  39. package/.next/server/app/api/agent/running/route.js.nft.json +1 -1
  40. package/.next/server/app/api/attachment-settings/route.js +1 -0
  41. package/.next/server/app/api/attachment-settings/route.js.nft.json +1 -0
  42. package/.next/server/app/api/attachment-settings/route_client-reference-manifest.js +1 -0
  43. package/.next/server/app/api/attachments/[id]/transcription/route.js +2 -0
  44. package/.next/server/app/api/attachments/[id]/transcription/route.js.nft.json +1 -0
  45. package/.next/server/app/api/attachments/[id]/transcription/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/attachments/draft/route.js +1 -0
  47. package/.next/server/app/api/attachments/draft/route.js.nft.json +1 -0
  48. package/.next/server/app/api/attachments/draft/route_client-reference-manifest.js +1 -0
  49. package/.next/server/app/api/attachments/route.js +28 -5
  50. package/.next/server/app/api/attachments/route.js.nft.json +1 -1
  51. package/.next/server/app/api/auth/all-providers/route.js +1 -1
  52. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  53. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  54. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  55. package/.next/server/app/api/auth/providers/route.js +1 -1
  56. package/.next/server/app/api/cwd/browse/route.js +1 -1
  57. package/.next/server/app/api/cwd/validate/route.js +1 -1
  58. package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -1
  59. package/.next/server/app/api/default-cwd/route.js +1 -1
  60. package/.next/server/app/api/default-cwd/route.js.nft.json +1 -1
  61. package/.next/server/app/api/display-settings/route.js +1 -1
  62. package/.next/server/app/api/display-settings/route.js.nft.json +1 -1
  63. package/.next/server/app/api/document-text/route.js +4 -4
  64. package/.next/server/app/api/experiments/route.js +1 -1
  65. package/.next/server/app/api/file-index/route.js +1 -1
  66. package/.next/server/app/api/file-index/route.js.nft.json +1 -1
  67. package/.next/server/app/api/files/[...path]/route.js +2 -2
  68. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -1
  69. package/.next/server/app/api/git/diff/route.js +2 -2
  70. package/.next/server/app/api/git/diff/route.js.nft.json +1 -1
  71. package/.next/server/app/api/git/status/route.js +2 -2
  72. package/.next/server/app/api/git/status/route.js.nft.json +1 -1
  73. package/.next/server/app/api/gpt6/handles/route.js +1 -1
  74. package/.next/server/app/api/gpt6/handles/route.js.nft.json +1 -1
  75. package/.next/server/app/api/gpt6/reply/route.js +1 -1
  76. package/.next/server/app/api/gpt6/reply/route.js.nft.json +1 -1
  77. package/.next/server/app/api/gpt6/token/route.js +1 -1
  78. package/.next/server/app/api/gpt6/token/route.js.nft.json +1 -1
  79. package/.next/server/app/api/gpt6/web6-session/route.js +1 -1
  80. package/.next/server/app/api/gpt6/web6-session/route.js.nft.json +1 -1
  81. package/.next/server/app/api/home/route.js +1 -1
  82. package/.next/server/app/api/live/call/[callId]/route.js +1 -1
  83. package/.next/server/app/api/live/call/[callId]/route.js.nft.json +1 -1
  84. package/.next/server/app/api/live/character-voice/route.js +1 -1
  85. package/.next/server/app/api/live/character-voice/route.js.nft.json +1 -1
  86. package/.next/server/app/api/live/events/route.js +2 -2
  87. package/.next/server/app/api/live/events/route.js.nft.json +1 -1
  88. package/.next/server/app/api/live/offer/route.js +1 -1
  89. package/.next/server/app/api/live/offer/route.js.nft.json +1 -1
  90. package/.next/server/app/api/live/voices/route.js +1 -1
  91. package/.next/server/app/api/live/voices/route.js.nft.json +1 -1
  92. package/.next/server/app/api/lounge/events/route.js +2 -2
  93. package/.next/server/app/api/lounge/events/route.js.nft.json +1 -1
  94. package/.next/server/app/api/lounge/route.js +1 -1
  95. package/.next/server/app/api/lounge/route.js.nft.json +1 -1
  96. package/.next/server/app/api/mcp/route.js +2 -2
  97. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  98. package/.next/server/app/api/model-roles/route.js +1 -1
  99. package/.next/server/app/api/model-roles/route.js.nft.json +1 -1
  100. package/.next/server/app/api/models/route.js +1 -1
  101. package/.next/server/app/api/models/route.js.nft.json +1 -1
  102. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  103. package/.next/server/app/api/models-config/discover/route.js +1 -1
  104. package/.next/server/app/api/models-config/route.js +4 -4
  105. package/.next/server/app/api/models-config/test/route.js +1 -1
  106. package/.next/server/app/api/office-avatars/[id]/route.js +1 -1
  107. package/.next/server/app/api/office-avatars/route.js +1 -1
  108. package/.next/server/app/api/plugins/route.js +1 -1
  109. package/.next/server/app/api/plugins/route.js.nft.json +1 -1
  110. package/.next/server/app/api/project-trust/route.js +1 -1
  111. package/.next/server/app/api/project-trust/route.js.nft.json +1 -1
  112. package/.next/server/app/api/projects/route.js +1 -1
  113. package/.next/server/app/api/projects/route.js.nft.json +1 -1
  114. package/.next/server/app/api/runs/[runId]/route.js +1 -1
  115. package/.next/server/app/api/runs/route.js +1 -1
  116. package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
  117. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
  118. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  119. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -1
  120. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  121. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js.nft.json +1 -1
  122. package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
  123. package/.next/server/app/api/sessions/[id]/export/route.js.nft.json +1 -1
  124. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  125. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
  126. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  127. package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -1
  128. package/.next/server/app/api/sessions/route.js +1 -1
  129. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  130. package/.next/server/app/api/sessions/search/route.js +1 -1
  131. package/.next/server/app/api/sessions/search/route.js.nft.json +1 -1
  132. package/.next/server/app/api/settings/route.js +1 -1
  133. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  134. package/.next/server/app/api/sidecars/[service]/[...path]/route.js +1 -1
  135. package/.next/server/app/api/skills/check/route.js +1 -1
  136. package/.next/server/app/api/skills/check/route.js.nft.json +1 -1
  137. package/.next/server/app/api/skills/install/route.js +2 -2
  138. package/.next/server/app/api/skills/install/route.js.nft.json +1 -1
  139. package/.next/server/app/api/skills/route.js +2 -2
  140. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  141. package/.next/server/app/api/skills/search/route.js +1 -1
  142. package/.next/server/app/api/skills/update/route.js +1 -1
  143. package/.next/server/app/api/skills/update/route.js.nft.json +1 -1
  144. package/.next/server/app/api/theme/route.js +1 -1
  145. package/.next/server/app/api/theme/route.js.nft.json +1 -1
  146. package/.next/server/app/api/tool-image/route.js +1 -1
  147. package/.next/server/app/api/tool-image/route.js.nft.json +1 -1
  148. package/.next/server/app/api/update-maintenance/route.js +3 -3
  149. package/.next/server/app/api/update-maintenance/route.js.nft.json +1 -1
  150. package/.next/server/app/api/updates/route.js +1 -1
  151. package/.next/server/app/api/web-access/recovery/route.js +1 -1
  152. package/.next/server/app/api/web-access/route.js +1 -1
  153. package/.next/server/app/api/web6/consults/route.js +1 -1
  154. package/.next/server/app/api/worktrees/route.js +1 -1
  155. package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
  156. package/.next/server/app/favicon.ico/route.js +1 -1
  157. package/.next/server/app/index.html +1 -1
  158. package/.next/server/app/index.rsc +5 -5
  159. package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  160. package/.next/server/app/index.segments/_full.segment.rsc +5 -5
  161. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  162. package/.next/server/app/index.segments/_index.segment.rsc +3 -3
  163. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  164. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  165. package/.next/server/app/office/page.js +2 -2
  166. package/.next/server/app/office/page_client-reference-manifest.js +1 -1
  167. package/.next/server/app/office-preview/page.js +2 -2
  168. package/.next/server/app/office-preview/page_client-reference-manifest.js +1 -1
  169. package/.next/server/app/office-preview.html +1 -1
  170. package/.next/server/app/office-preview.rsc +3 -3
  171. package/.next/server/app/office-preview.segments/_full.segment.rsc +3 -3
  172. package/.next/server/app/office-preview.segments/_head.segment.rsc +1 -1
  173. package/.next/server/app/office-preview.segments/_index.segment.rsc +3 -3
  174. package/.next/server/app/office-preview.segments/_tree.segment.rsc +2 -2
  175. package/.next/server/app/office-preview.segments/office-preview/__PAGE__.segment.rsc +1 -1
  176. package/.next/server/app/office-preview.segments/office-preview.segment.rsc +1 -1
  177. package/.next/server/app/office.html +1 -1
  178. package/.next/server/app/office.rsc +5 -5
  179. package/.next/server/app/office.segments/_full.segment.rsc +5 -5
  180. package/.next/server/app/office.segments/_head.segment.rsc +1 -1
  181. package/.next/server/app/office.segments/_index.segment.rsc +3 -3
  182. package/.next/server/app/office.segments/_tree.segment.rsc +2 -2
  183. package/.next/server/app/office.segments/office/__PAGE__.segment.rsc +3 -3
  184. package/.next/server/app/office.segments/office.segment.rsc +1 -1
  185. package/.next/server/app/page.js +2 -2
  186. package/.next/server/app/page_client-reference-manifest.js +1 -1
  187. package/.next/server/app/recover/page.js +2 -2
  188. package/.next/server/app/recover/page_client-reference-manifest.js +1 -1
  189. package/.next/server/app/recover.html +1 -1
  190. package/.next/server/app/recover.rsc +3 -3
  191. package/.next/server/app/recover.segments/_full.segment.rsc +3 -3
  192. package/.next/server/app/recover.segments/_head.segment.rsc +1 -1
  193. package/.next/server/app/recover.segments/_index.segment.rsc +3 -3
  194. package/.next/server/app/recover.segments/_tree.segment.rsc +2 -2
  195. package/.next/server/app/recover.segments/recover/__PAGE__.segment.rsc +1 -1
  196. package/.next/server/app/recover.segments/recover.segment.rsc +1 -1
  197. package/.next/server/app-paths-manifest.json +9 -6
  198. package/.next/server/chunks/1517.js +1 -1
  199. package/.next/server/chunks/2651.js +1 -1
  200. package/.next/server/chunks/4649.js +1 -1
  201. package/.next/server/chunks/5270.js +8 -0
  202. package/.next/server/chunks/5489.js +14 -14
  203. package/.next/server/chunks/5582.js +6 -6
  204. package/.next/server/chunks/7121.js +4 -0
  205. package/.next/server/chunks/7362.js +1 -1
  206. package/.next/server/chunks/8741.js +1 -0
  207. package/.next/server/chunks/877.js +1 -1
  208. package/.next/server/functions-config-manifest.json +9 -2
  209. package/.next/server/instrumentation.js +1 -0
  210. package/.next/server/instrumentation.js.nft.json +1 -0
  211. package/.next/server/middleware-build-manifest.js +1 -1
  212. package/.next/server/middleware.js +4 -4
  213. package/.next/server/pages/404.html +1 -1
  214. package/.next/server/pages/500.html +1 -1
  215. package/.next/server/server-reference-manifest.json +1 -1
  216. package/.next/static/A-KXZPM3YkTqPPzKrND64/_buildManifest.js +1 -0
  217. package/.next/static/chunks/6110-691c0f77641fc07e.js +1 -0
  218. package/.next/static/chunks/9575-916cd5a97ceda30f.js +22 -0
  219. package/.next/static/chunks/app/_global-error/page-6b1496af498bb4fd.js +1 -0
  220. package/.next/static/chunks/app/api/agent/[id]/account/route-6b1496af498bb4fd.js +1 -0
  221. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-6b1496af498bb4fd.js +1 -0
  222. package/.next/static/chunks/app/api/agent/[id]/events/route-6b1496af498bb4fd.js +1 -0
  223. package/.next/static/chunks/app/api/agent/[id]/route-6b1496af498bb4fd.js +1 -0
  224. package/.next/static/chunks/app/api/agent/new/route-6b1496af498bb4fd.js +1 -0
  225. package/.next/static/chunks/app/api/agent/running/route-6b1496af498bb4fd.js +1 -0
  226. package/.next/static/chunks/app/api/attachment-settings/route-6b1496af498bb4fd.js +1 -0
  227. package/.next/static/chunks/app/api/attachments/[id]/transcription/route-6b1496af498bb4fd.js +1 -0
  228. package/.next/static/chunks/app/api/attachments/draft/route-6b1496af498bb4fd.js +1 -0
  229. package/.next/static/chunks/app/api/attachments/route-6b1496af498bb4fd.js +1 -0
  230. package/.next/static/chunks/app/api/auth/all-providers/route-6b1496af498bb4fd.js +1 -0
  231. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-6b1496af498bb4fd.js +1 -0
  232. package/.next/static/chunks/app/api/auth/login/[provider]/route-6b1496af498bb4fd.js +1 -0
  233. package/.next/static/chunks/app/api/auth/logout/[provider]/route-6b1496af498bb4fd.js +1 -0
  234. package/.next/static/chunks/app/api/auth/providers/route-6b1496af498bb4fd.js +1 -0
  235. package/.next/static/chunks/app/api/cwd/browse/route-6b1496af498bb4fd.js +1 -0
  236. package/.next/static/chunks/app/api/cwd/validate/route-6b1496af498bb4fd.js +1 -0
  237. package/.next/static/chunks/app/api/default-cwd/route-6b1496af498bb4fd.js +1 -0
  238. package/.next/static/chunks/app/api/display-settings/route-6b1496af498bb4fd.js +1 -0
  239. package/.next/static/chunks/app/api/document-text/route-6b1496af498bb4fd.js +1 -0
  240. package/.next/static/chunks/app/api/experiments/route-6b1496af498bb4fd.js +1 -0
  241. package/.next/static/chunks/app/api/file-index/route-6b1496af498bb4fd.js +1 -0
  242. package/.next/static/chunks/app/api/files/[...path]/route-6b1496af498bb4fd.js +1 -0
  243. package/.next/static/chunks/app/api/git/diff/route-6b1496af498bb4fd.js +1 -0
  244. package/.next/static/chunks/app/api/git/status/route-6b1496af498bb4fd.js +1 -0
  245. package/.next/static/chunks/app/api/gpt6/handles/route-6b1496af498bb4fd.js +1 -0
  246. package/.next/static/chunks/app/api/gpt6/reply/route-6b1496af498bb4fd.js +1 -0
  247. package/.next/static/chunks/app/api/gpt6/token/route-6b1496af498bb4fd.js +1 -0
  248. package/.next/static/chunks/app/api/gpt6/web6-session/route-6b1496af498bb4fd.js +1 -0
  249. package/.next/static/chunks/app/api/home/route-6b1496af498bb4fd.js +1 -0
  250. package/.next/static/chunks/app/api/live/call/[callId]/route-6b1496af498bb4fd.js +1 -0
  251. package/.next/static/chunks/app/api/live/character-voice/route-6b1496af498bb4fd.js +1 -0
  252. package/.next/static/chunks/app/api/live/events/route-6b1496af498bb4fd.js +1 -0
  253. package/.next/static/chunks/app/api/live/offer/route-6b1496af498bb4fd.js +1 -0
  254. package/.next/static/chunks/app/api/live/voices/route-6b1496af498bb4fd.js +1 -0
  255. package/.next/static/chunks/app/api/lounge/events/route-6b1496af498bb4fd.js +1 -0
  256. package/.next/static/chunks/app/api/lounge/route-6b1496af498bb4fd.js +1 -0
  257. package/.next/static/chunks/app/api/mcp/route-6b1496af498bb4fd.js +1 -0
  258. package/.next/static/chunks/app/api/model-roles/route-6b1496af498bb4fd.js +1 -0
  259. package/.next/static/chunks/app/api/models/route-6b1496af498bb4fd.js +1 -0
  260. package/.next/static/chunks/app/api/models-config/catalog/route-6b1496af498bb4fd.js +1 -0
  261. package/.next/static/chunks/app/api/models-config/discover/route-6b1496af498bb4fd.js +1 -0
  262. package/.next/static/chunks/app/api/models-config/route-6b1496af498bb4fd.js +1 -0
  263. package/.next/static/chunks/app/api/models-config/test/route-6b1496af498bb4fd.js +1 -0
  264. package/.next/static/chunks/app/api/office-avatars/[id]/route-6b1496af498bb4fd.js +1 -0
  265. package/.next/static/chunks/app/api/office-avatars/route-6b1496af498bb4fd.js +1 -0
  266. package/.next/static/chunks/app/api/plugins/route-6b1496af498bb4fd.js +1 -0
  267. package/.next/static/chunks/app/api/project-trust/route-6b1496af498bb4fd.js +1 -0
  268. package/.next/static/chunks/app/api/projects/route-6b1496af498bb4fd.js +1 -0
  269. package/.next/static/chunks/app/api/runs/[runId]/route-6b1496af498bb4fd.js +1 -0
  270. package/.next/static/chunks/app/api/runs/route-6b1496af498bb4fd.js +1 -0
  271. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-6b1496af498bb4fd.js +1 -0
  272. package/.next/static/chunks/app/api/sessions/[id]/context/route-6b1496af498bb4fd.js +1 -0
  273. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-6b1496af498bb4fd.js +1 -0
  274. package/.next/static/chunks/app/api/sessions/[id]/export/route-6b1496af498bb4fd.js +1 -0
  275. package/.next/static/chunks/app/api/sessions/[id]/route-6b1496af498bb4fd.js +1 -0
  276. package/.next/static/chunks/app/api/sessions/[id]/state/route-6b1496af498bb4fd.js +1 -0
  277. package/.next/static/chunks/app/api/sessions/route-6b1496af498bb4fd.js +1 -0
  278. package/.next/static/chunks/app/api/sessions/search/route-6b1496af498bb4fd.js +1 -0
  279. package/.next/static/chunks/app/api/settings/route-6b1496af498bb4fd.js +1 -0
  280. package/.next/static/chunks/app/api/sidecars/[service]/[...path]/route-6b1496af498bb4fd.js +1 -0
  281. package/.next/static/chunks/app/api/skills/check/route-6b1496af498bb4fd.js +1 -0
  282. package/.next/static/chunks/app/api/skills/install/route-6b1496af498bb4fd.js +1 -0
  283. package/.next/static/chunks/app/api/skills/route-6b1496af498bb4fd.js +1 -0
  284. package/.next/static/chunks/app/api/skills/search/route-6b1496af498bb4fd.js +1 -0
  285. package/.next/static/chunks/app/api/skills/update/route-6b1496af498bb4fd.js +1 -0
  286. package/.next/static/chunks/app/api/theme/route-6b1496af498bb4fd.js +1 -0
  287. package/.next/static/chunks/app/api/tool-image/route-6b1496af498bb4fd.js +1 -0
  288. package/.next/static/chunks/app/api/update-maintenance/route-6b1496af498bb4fd.js +1 -0
  289. package/.next/static/chunks/app/api/updates/route-6b1496af498bb4fd.js +1 -0
  290. package/.next/static/chunks/app/api/web-access/recovery/route-6b1496af498bb4fd.js +1 -0
  291. package/.next/static/chunks/app/api/web-access/route-6b1496af498bb4fd.js +1 -0
  292. package/.next/static/chunks/app/api/web6/consults/route-6b1496af498bb4fd.js +1 -0
  293. package/.next/static/chunks/app/api/worktrees/route-6b1496af498bb4fd.js +1 -0
  294. package/.next/static/chunks/app/{layout-427af3ea4f595064.js → layout-eb09a412f4f55812.js} +1 -1
  295. package/.next/static/chunks/app/manifest.webmanifest/route-6b1496af498bb4fd.js +1 -0
  296. package/.next/static/chunks/{main-2603b128da53b28c.js → main-26b32c580fb6231f.js} +3 -3
  297. package/.next/static/chunks/next/dist/client/components/builtin/app-error-6b1496af498bb4fd.js +1 -0
  298. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-6b1496af498bb4fd.js +1 -0
  299. package/.next/static/chunks/next/dist/client/components/builtin/not-found-6b1496af498bb4fd.js +1 -0
  300. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6b1496af498bb4fd.js +1 -0
  301. package/.next/static/css/81a05eb6255ef12e.css +1 -0
  302. package/.next/trace +107 -107
  303. package/.next/trace-build +1 -1
  304. package/.next/types/app/api/attachment-settings/route.ts +351 -0
  305. package/.next/types/app/api/attachments/[id]/transcription/route.ts +351 -0
  306. package/.next/types/app/api/attachments/draft/route.ts +351 -0
  307. package/.next/types/routes.d.ts +4 -1
  308. package/.next/types/validator.ts +27 -0
  309. package/README.md +5 -2
  310. package/Tools/CUELO_Setup/files/native-runtime-patch.js +3 -3
  311. package/Tools/CUELO_Setup/files/usage-server.js +56 -3
  312. package/Tools/OMP_Global_Config/agent/AGENTS.md +2 -0
  313. package/Tools/OMP_Global_Config/agent/agents/maker.md +3 -1
  314. package/Tools/OMP_Global_Config/agent/prompt-copies/AGENTS.en.md +3 -1
  315. package/Tools/OMP_Global_Config/agent/rules/omp-harness.md +5 -0
  316. package/Tools/OMP_Global_Config/agent/rules/subagent.md +15 -0
  317. package/Tools/OMP_Global_Config/agent/sop/_writer.md +2 -0
  318. package/Tools/OMP_Global_Config/patches/apply-core-patch.mjs +296 -0
  319. package/next.config.ts +1 -0
  320. package/package.json +10 -7
  321. package/.next/static/A6e8vaM_XsMnaMJbdHUo9/_buildManifest.js +0 -1
  322. package/.next/static/chunks/6110-46b1b16915b39e5b.js +0 -1
  323. package/.next/static/chunks/9575-7c8d686e116aef58.js +0 -22
  324. package/.next/static/chunks/app/_global-error/page-b73c548944bb1320.js +0 -1
  325. package/.next/static/chunks/app/api/agent/[id]/account/route-b73c548944bb1320.js +0 -1
  326. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-b73c548944bb1320.js +0 -1
  327. package/.next/static/chunks/app/api/agent/[id]/events/route-b73c548944bb1320.js +0 -1
  328. package/.next/static/chunks/app/api/agent/[id]/route-b73c548944bb1320.js +0 -1
  329. package/.next/static/chunks/app/api/agent/new/route-b73c548944bb1320.js +0 -1
  330. package/.next/static/chunks/app/api/agent/running/route-b73c548944bb1320.js +0 -1
  331. package/.next/static/chunks/app/api/attachments/route-b73c548944bb1320.js +0 -1
  332. package/.next/static/chunks/app/api/auth/all-providers/route-b73c548944bb1320.js +0 -1
  333. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-b73c548944bb1320.js +0 -1
  334. package/.next/static/chunks/app/api/auth/login/[provider]/route-b73c548944bb1320.js +0 -1
  335. package/.next/static/chunks/app/api/auth/logout/[provider]/route-b73c548944bb1320.js +0 -1
  336. package/.next/static/chunks/app/api/auth/providers/route-b73c548944bb1320.js +0 -1
  337. package/.next/static/chunks/app/api/cwd/browse/route-b73c548944bb1320.js +0 -1
  338. package/.next/static/chunks/app/api/cwd/validate/route-b73c548944bb1320.js +0 -1
  339. package/.next/static/chunks/app/api/default-cwd/route-b73c548944bb1320.js +0 -1
  340. package/.next/static/chunks/app/api/display-settings/route-b73c548944bb1320.js +0 -1
  341. package/.next/static/chunks/app/api/document-text/route-b73c548944bb1320.js +0 -1
  342. package/.next/static/chunks/app/api/experiments/route-b73c548944bb1320.js +0 -1
  343. package/.next/static/chunks/app/api/file-index/route-b73c548944bb1320.js +0 -1
  344. package/.next/static/chunks/app/api/files/[...path]/route-b73c548944bb1320.js +0 -1
  345. package/.next/static/chunks/app/api/git/diff/route-b73c548944bb1320.js +0 -1
  346. package/.next/static/chunks/app/api/git/status/route-b73c548944bb1320.js +0 -1
  347. package/.next/static/chunks/app/api/gpt6/handles/route-b73c548944bb1320.js +0 -1
  348. package/.next/static/chunks/app/api/gpt6/reply/route-b73c548944bb1320.js +0 -1
  349. package/.next/static/chunks/app/api/gpt6/token/route-b73c548944bb1320.js +0 -1
  350. package/.next/static/chunks/app/api/gpt6/web6-session/route-b73c548944bb1320.js +0 -1
  351. package/.next/static/chunks/app/api/home/route-b73c548944bb1320.js +0 -1
  352. package/.next/static/chunks/app/api/live/call/[callId]/route-b73c548944bb1320.js +0 -1
  353. package/.next/static/chunks/app/api/live/character-voice/route-b73c548944bb1320.js +0 -1
  354. package/.next/static/chunks/app/api/live/events/route-b73c548944bb1320.js +0 -1
  355. package/.next/static/chunks/app/api/live/offer/route-b73c548944bb1320.js +0 -1
  356. package/.next/static/chunks/app/api/live/voices/route-b73c548944bb1320.js +0 -1
  357. package/.next/static/chunks/app/api/lounge/events/route-b73c548944bb1320.js +0 -1
  358. package/.next/static/chunks/app/api/lounge/route-b73c548944bb1320.js +0 -1
  359. package/.next/static/chunks/app/api/mcp/route-b73c548944bb1320.js +0 -1
  360. package/.next/static/chunks/app/api/model-roles/route-b73c548944bb1320.js +0 -1
  361. package/.next/static/chunks/app/api/models/route-b73c548944bb1320.js +0 -1
  362. package/.next/static/chunks/app/api/models-config/catalog/route-b73c548944bb1320.js +0 -1
  363. package/.next/static/chunks/app/api/models-config/discover/route-b73c548944bb1320.js +0 -1
  364. package/.next/static/chunks/app/api/models-config/route-b73c548944bb1320.js +0 -1
  365. package/.next/static/chunks/app/api/models-config/test/route-b73c548944bb1320.js +0 -1
  366. package/.next/static/chunks/app/api/office-avatars/[id]/route-b73c548944bb1320.js +0 -1
  367. package/.next/static/chunks/app/api/office-avatars/route-b73c548944bb1320.js +0 -1
  368. package/.next/static/chunks/app/api/plugins/route-b73c548944bb1320.js +0 -1
  369. package/.next/static/chunks/app/api/project-trust/route-b73c548944bb1320.js +0 -1
  370. package/.next/static/chunks/app/api/projects/route-b73c548944bb1320.js +0 -1
  371. package/.next/static/chunks/app/api/runs/[runId]/route-b73c548944bb1320.js +0 -1
  372. package/.next/static/chunks/app/api/runs/route-b73c548944bb1320.js +0 -1
  373. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-b73c548944bb1320.js +0 -1
  374. package/.next/static/chunks/app/api/sessions/[id]/context/route-b73c548944bb1320.js +0 -1
  375. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-b73c548944bb1320.js +0 -1
  376. package/.next/static/chunks/app/api/sessions/[id]/export/route-b73c548944bb1320.js +0 -1
  377. package/.next/static/chunks/app/api/sessions/[id]/route-b73c548944bb1320.js +0 -1
  378. package/.next/static/chunks/app/api/sessions/[id]/state/route-b73c548944bb1320.js +0 -1
  379. package/.next/static/chunks/app/api/sessions/route-b73c548944bb1320.js +0 -1
  380. package/.next/static/chunks/app/api/sessions/search/route-b73c548944bb1320.js +0 -1
  381. package/.next/static/chunks/app/api/settings/route-b73c548944bb1320.js +0 -1
  382. package/.next/static/chunks/app/api/sidecars/[service]/[...path]/route-b73c548944bb1320.js +0 -1
  383. package/.next/static/chunks/app/api/skills/check/route-b73c548944bb1320.js +0 -1
  384. package/.next/static/chunks/app/api/skills/install/route-b73c548944bb1320.js +0 -1
  385. package/.next/static/chunks/app/api/skills/route-b73c548944bb1320.js +0 -1
  386. package/.next/static/chunks/app/api/skills/search/route-b73c548944bb1320.js +0 -1
  387. package/.next/static/chunks/app/api/skills/update/route-b73c548944bb1320.js +0 -1
  388. package/.next/static/chunks/app/api/theme/route-b73c548944bb1320.js +0 -1
  389. package/.next/static/chunks/app/api/tool-image/route-b73c548944bb1320.js +0 -1
  390. package/.next/static/chunks/app/api/update-maintenance/route-b73c548944bb1320.js +0 -1
  391. package/.next/static/chunks/app/api/updates/route-b73c548944bb1320.js +0 -1
  392. package/.next/static/chunks/app/api/web-access/recovery/route-b73c548944bb1320.js +0 -1
  393. package/.next/static/chunks/app/api/web-access/route-b73c548944bb1320.js +0 -1
  394. package/.next/static/chunks/app/api/web6/consults/route-b73c548944bb1320.js +0 -1
  395. package/.next/static/chunks/app/api/worktrees/route-b73c548944bb1320.js +0 -1
  396. package/.next/static/chunks/app/manifest.webmanifest/route-b73c548944bb1320.js +0 -1
  397. package/.next/static/chunks/next/dist/client/components/builtin/app-error-b73c548944bb1320.js +0 -1
  398. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-b73c548944bb1320.js +0 -1
  399. package/.next/static/chunks/next/dist/client/components/builtin/not-found-b73c548944bb1320.js +0 -1
  400. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-b73c548944bb1320.js +0 -1
  401. package/.next/static/css/67b6e19482963224.css +0 -1
  402. /package/.next/static/{A6e8vaM_XsMnaMJbdHUo9 → A-KXZPM3YkTqPPzKrND64}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";exports.id=8741,exports.ids=[8741],exports.modules={5908:(a,b,c)=>{function d(a,b={}){let c=b.intervalMs??6e4,e=b.now??Date.now,f=new Map,g=new Map;return{recover:(b,d={})=>{let h=g.get(b);if(h)return h.then(a=>({...a,shared:!0}));let i=e(),j=f.get(b);if(!d.force&&void 0!==j&&i-j<c)return Promise.resolve({outcome:"throttled",shared:!1});f.set(b,i);let k=a.refreshProvider(b,"online").then(()=>({outcome:"refreshed",shared:!1})).catch(a=>({outcome:"failed",shared:!1,error:function(a){let b=[],c=a;for(let a=0;a<3&&void 0!==c;a+=1){if(c instanceof Error){b.push(c.message),c=c.cause;continue}if("object"==typeof c&&null!==c){let a=c;"string"==typeof a.message&&b.push(a.message),"string"==typeof a.code&&b.push(a.code),"number"==typeof a.status&&b.push(`HTTP ${a.status}`),c=a.cause;continue}b.push(String(c));break}let d=b.join(" "),e=d.match(/\b(?:HTTP\s*)?([45]\d{2})\b/i)?.[1];if("401"===e||"403"===e||/\b(?:api[- ]?key|credential|authentication|unauthorized|forbidden)\b/i.test(d))return e?`provider authentication failed (HTTP ${e})`:"provider authentication failed";let f=d.match(/\b(EAI_AGAIN|ECONNREFUSED|ECONNRESET|ENETUNREACH|ENOTFOUND|ETIMEDOUT|UND_ERR_CONNECT_TIMEOUT|UND_ERR_HEADERS_TIMEOUT|UND_ERR_BODY_TIMEOUT)\b/i)?.[1];return f?f.toUpperCase():/\b(?:timed?\s*out|timeout)\b/i.test(d)?"request timed out":e?`HTTP ${e}`:"discovery request failed"}(a)})).finally(()=>{g.get(b)===k&&g.delete(b)});return g.set(b,k),k}}}function e(a){return a.providerKnown?"failed"===a.recovery.outcome?`Model ${a.selector} is not in the model list and the discovery refresh for provider "${a.provider}" failed: ${a.recovery.error??"unknown error"}.`:"throttled"===a.recovery.outcome?`Model ${a.selector} is not in the model list. Discovery for provider "${a.provider}" was refreshed recently, so this lookup did not fetch again.`:`Model ${a.selector} is not in the model list after refreshing discovery for provider "${a.provider}".`:`Unknown model provider "${a.provider}" for ${a.selector}: the provider is not registered.`}c.d(b,{fw:()=>d,zX:()=>e})},38741:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{findModelWithRecovery:()=>m,getOmpRuntime:()=>i,getSettingsForCwd:()=>j,invalidateOmpRuntime:()=>k,missingModelRecoveryFor:()=>l,recoverMissingModelRefs:()=>n});var e=c(92582),f=c(5908),g=a([e]);async function h(){let a=(0,e.getAgentDir)(),b=await e.Settings.init({agentDir:a}),c=await (0,e.discoverAuthStorage)(a),d=new e.ModelRegistry(c);return await d.refresh("online-if-uncached"),{agentDir:a,settings:b,authStorage:c,modelRegistry:d}}function i(){return globalThis.__ompRuntimePromise??=h().catch(a=>{throw globalThis.__ompRuntimePromise=void 0,a}),globalThis.__ompRuntimePromise}async function j(a){let{settings:b}=await i();return a&&b.getCwd()!==a?b.cloneForCwd(a):b}function k(){globalThis.__ompRuntimePromise=void 0}function l(a){let b=globalThis.__ompMissingModelRecovery??=new WeakMap,c=b.get(a);return c||(c=(0,f.fw)(a),b.set(a,c)),c}async function m(a,b,c,d={}){let e=a.find(b,c);if(e)return{model:e};let f=await l(a).recover(b,{force:d.forceDiscovery}),g=a.find(b,c);return g?{model:g}:{miss:{selector:`${b}/${c}`,provider:b,providerKnown:a.hasProvider(b),recovery:f}}}async function n(a,b){let c=new Set;for(let d of b)d.provider&&d.modelId&&(a.find(d.provider,d.modelId)||c.add(d.provider));0!==c.size&&await Promise.all([...c].map(b=>l(a).recover(b)))}e=(g.then?(await g)():g)[0],d()}catch(a){d(a)}})}};
@@ -1 +1 @@
1
- exports.id=877,exports.ids=[877],exports.modules={5908:(a,b,c)=>{"use strict";function d(a,b={}){let c=b.intervalMs??6e4,e=b.now??Date.now,f=new Map,g=new Map;return{recover:(b,d={})=>{let h=g.get(b);if(h)return h.then(a=>({...a,shared:!0}));let i=e(),j=f.get(b);if(!d.force&&void 0!==j&&i-j<c)return Promise.resolve({outcome:"throttled",shared:!1});f.set(b,i);let k=a.refreshProvider(b,"online").then(()=>({outcome:"refreshed",shared:!1})).catch(a=>({outcome:"failed",shared:!1,error:function(a){let b=[],c=a;for(let a=0;a<3&&void 0!==c;a+=1){if(c instanceof Error){b.push(c.message),c=c.cause;continue}if("object"==typeof c&&null!==c){let a=c;"string"==typeof a.message&&b.push(a.message),"string"==typeof a.code&&b.push(a.code),"number"==typeof a.status&&b.push(`HTTP ${a.status}`),c=a.cause;continue}b.push(String(c));break}let d=b.join(" "),e=d.match(/\b(?:HTTP\s*)?([45]\d{2})\b/i)?.[1];if("401"===e||"403"===e||/\b(?:api[- ]?key|credential|authentication|unauthorized|forbidden)\b/i.test(d))return e?`provider authentication failed (HTTP ${e})`:"provider authentication failed";let f=d.match(/\b(EAI_AGAIN|ECONNREFUSED|ECONNRESET|ENETUNREACH|ENOTFOUND|ETIMEDOUT|UND_ERR_CONNECT_TIMEOUT|UND_ERR_HEADERS_TIMEOUT|UND_ERR_BODY_TIMEOUT)\b/i)?.[1];return f?f.toUpperCase():/\b(?:timed?\s*out|timeout)\b/i.test(d)?"request timed out":e?`HTTP ${e}`:"discovery request failed"}(a)})).finally(()=>{g.get(b)===k&&g.delete(b)});return g.set(b,k),k}}}function e(a){return a.providerKnown?"failed"===a.recovery.outcome?`Model ${a.selector} is not in the model list and the discovery refresh for provider "${a.provider}" failed: ${a.recovery.error??"unknown error"}.`:"throttled"===a.recovery.outcome?`Model ${a.selector} is not in the model list. Discovery for provider "${a.provider}" was refreshed recently, so this lookup did not fetch again.`:`Model ${a.selector} is not in the model list after refreshing discovery for provider "${a.provider}".`:`Unknown model provider "${a.provider}" for ${a.selector}: the provider is not registered.`}c.d(b,{fw:()=>d,zX:()=>e})},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},28247:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{G:()=>j,z:()=>i});var e=c(87998),f=c(29843),g=c(38741),h=a([e,f,g]);async function i(){let{modelRegistry:a,authStorage:b}=await (0,g.getOmpRuntime)(),c=a.getAll(),d=new Map;for(let a of c)d.set(a.provider,(d.get(a.provider)??0)+1);let h=new Map;for(let a of(0,e.getOAuthProviders)())a.available&&h.set(a.storeCredentialsAs??a.id,{id:a.id,name:a.name});let i=new Map(f.PROVIDER_DESCRIPTORS.map(a=>[a.providerId,a])),j=new Set([...d.keys(),...h.keys(),...i.keys()]),k=new Map;for(let a of j){let c=b.credentials.list(a),d=c.some(a=>"oauth"===a.credential.type)?"oauth":c.length>0?"api_key":void 0;d&&k.set(a,d)}return[...j].sort().map(a=>{let c=h.get(a),e=b.keys.source(a);return{id:a,name:c?.name??a,hasApiKeyLogin:i.has(a)||d.has(a),hasOAuth:!!c,...c?.name?{oauthName:c.name}:{},status:{configured:void 0!==e,...e?.kind?{source:e.kind}:{}},...k.has(a)?{credentialType:k.get(a)}:{},modelCount:d.get(a)??0}})}function j(a){for(let b of(0,e.getOAuthProviders)())if(b.available&&(b.storeCredentialsAs??b.id)===a)return b.id}[e,f,g]=h.then?(await h)():h,d()}catch(a){d(a)}})},38741:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{findModelWithRecovery:()=>m,getOmpRuntime:()=>i,getSettingsForCwd:()=>j,invalidateOmpRuntime:()=>k,missingModelRecoveryFor:()=>l,recoverMissingModelRefs:()=>n});var e=c(92582),f=c(5908),g=a([e]);async function h(){let a=(0,e.getAgentDir)(),b=await e.Settings.init({agentDir:a}),c=await (0,e.discoverAuthStorage)(a),d=new e.ModelRegistry(c);return await d.refresh("online-if-uncached"),{agentDir:a,settings:b,authStorage:c,modelRegistry:d}}function i(){return globalThis.__ompRuntimePromise??=h().catch(a=>{throw globalThis.__ompRuntimePromise=void 0,a}),globalThis.__ompRuntimePromise}async function j(a){let{settings:b}=await i();return a&&b.getCwd()!==a?b.cloneForCwd(a):b}function k(){globalThis.__ompRuntimePromise=void 0}function l(a){let b=globalThis.__ompMissingModelRecovery??=new WeakMap,c=b.get(a);return c||(c=(0,f.fw)(a),b.set(a,c)),c}async function m(a,b,c,d={}){let e=a.find(b,c);if(e)return{model:e};let f=await l(a).recover(b,{force:d.forceDiscovery}),g=a.find(b,c);return g?{model:g}:{miss:{selector:`${b}/${c}`,provider:b,providerKnown:a.hasProvider(b),recovery:f}}}async function n(a,b){let c=new Set;for(let d of b)d.provider&&d.modelId&&(a.find(d.provider,d.modelId)||c.add(d.provider));0!==c.size&&await Promise.all([...c].map(b=>l(a).recover(b)))}e=(g.then?(await g)():g)[0],d()}catch(a){d(a)}})},78335:()=>{},89950:(a,b,c)=>{"use strict";c.d(b,{l:()=>h,z:()=>g});let d=new Set(["models_json_key","models_json_command"]),e={"openai-codex":"ChatGPT Plus/Pro","github-copilot":"GitHub Copilot"};function f(a){let b=new Set,c=[];for(let d of a)b.has(d.id)||(b.add(d.id),c.push(d));return c}function g(a){let b=[];for(let c of f(a)){if(!c.hasApiKeyLogin||c.status.source&&d.has(c.status.source))continue;let a=c.status.configured&&"oauth"!==c.credentialType;b.push({id:c.id,displayName:c.name,configured:a,...a&&c.status.source?{source:c.status.source}:{},modelCount:c.modelCount,supportsOAuth:c.hasOAuth})}return b}function h(a){let b=[];for(let c of f(a))c.hasOAuth&&b.push({id:c.id,name:e[c.id]??c.oauthName??c.name,usesCallbackServer:!1,loggedIn:"oauth"===c.credentialType,supportsApiKey:c.hasApiKeyLogin});return b}},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};
1
+ exports.id=877,exports.ids=[877,8741],exports.modules={5908:(a,b,c)=>{"use strict";function d(a,b={}){let c=b.intervalMs??6e4,e=b.now??Date.now,f=new Map,g=new Map;return{recover:(b,d={})=>{let h=g.get(b);if(h)return h.then(a=>({...a,shared:!0}));let i=e(),j=f.get(b);if(!d.force&&void 0!==j&&i-j<c)return Promise.resolve({outcome:"throttled",shared:!1});f.set(b,i);let k=a.refreshProvider(b,"online").then(()=>({outcome:"refreshed",shared:!1})).catch(a=>({outcome:"failed",shared:!1,error:function(a){let b=[],c=a;for(let a=0;a<3&&void 0!==c;a+=1){if(c instanceof Error){b.push(c.message),c=c.cause;continue}if("object"==typeof c&&null!==c){let a=c;"string"==typeof a.message&&b.push(a.message),"string"==typeof a.code&&b.push(a.code),"number"==typeof a.status&&b.push(`HTTP ${a.status}`),c=a.cause;continue}b.push(String(c));break}let d=b.join(" "),e=d.match(/\b(?:HTTP\s*)?([45]\d{2})\b/i)?.[1];if("401"===e||"403"===e||/\b(?:api[- ]?key|credential|authentication|unauthorized|forbidden)\b/i.test(d))return e?`provider authentication failed (HTTP ${e})`:"provider authentication failed";let f=d.match(/\b(EAI_AGAIN|ECONNREFUSED|ECONNRESET|ENETUNREACH|ENOTFOUND|ETIMEDOUT|UND_ERR_CONNECT_TIMEOUT|UND_ERR_HEADERS_TIMEOUT|UND_ERR_BODY_TIMEOUT)\b/i)?.[1];return f?f.toUpperCase():/\b(?:timed?\s*out|timeout)\b/i.test(d)?"request timed out":e?`HTTP ${e}`:"discovery request failed"}(a)})).finally(()=>{g.get(b)===k&&g.delete(b)});return g.set(b,k),k}}}function e(a){return a.providerKnown?"failed"===a.recovery.outcome?`Model ${a.selector} is not in the model list and the discovery refresh for provider "${a.provider}" failed: ${a.recovery.error??"unknown error"}.`:"throttled"===a.recovery.outcome?`Model ${a.selector} is not in the model list. Discovery for provider "${a.provider}" was refreshed recently, so this lookup did not fetch again.`:`Model ${a.selector} is not in the model list after refreshing discovery for provider "${a.provider}".`:`Unknown model provider "${a.provider}" for ${a.selector}: the provider is not registered.`}c.d(b,{fw:()=>d,zX:()=>e})},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},28247:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{G:()=>j,z:()=>i});var e=c(87998),f=c(29843),g=c(38741),h=a([e,f,g]);async function i(){let{modelRegistry:a,authStorage:b}=await (0,g.getOmpRuntime)(),c=a.getAll(),d=new Map;for(let a of c)d.set(a.provider,(d.get(a.provider)??0)+1);let h=new Map;for(let a of(0,e.getOAuthProviders)())a.available&&h.set(a.storeCredentialsAs??a.id,{id:a.id,name:a.name});let i=new Map(f.PROVIDER_DESCRIPTORS.map(a=>[a.providerId,a])),j=new Set([...d.keys(),...h.keys(),...i.keys()]),k=new Map;for(let a of j){let c=b.credentials.list(a),d=c.some(a=>"oauth"===a.credential.type)?"oauth":c.length>0?"api_key":void 0;d&&k.set(a,d)}return[...j].sort().map(a=>{let c=h.get(a),e=b.keys.source(a);return{id:a,name:c?.name??a,hasApiKeyLogin:i.has(a)||d.has(a),hasOAuth:!!c,...c?.name?{oauthName:c.name}:{},status:{configured:void 0!==e,...e?.kind?{source:e.kind}:{}},...k.has(a)?{credentialType:k.get(a)}:{},modelCount:d.get(a)??0}})}function j(a){for(let b of(0,e.getOAuthProviders)())if(b.available&&(b.storeCredentialsAs??b.id)===a)return b.id}[e,f,g]=h.then?(await h)():h,d()}catch(a){d(a)}})},38741:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{findModelWithRecovery:()=>m,getOmpRuntime:()=>i,getSettingsForCwd:()=>j,invalidateOmpRuntime:()=>k,missingModelRecoveryFor:()=>l,recoverMissingModelRefs:()=>n});var e=c(92582),f=c(5908),g=a([e]);async function h(){let a=(0,e.getAgentDir)(),b=await e.Settings.init({agentDir:a}),c=await (0,e.discoverAuthStorage)(a),d=new e.ModelRegistry(c);return await d.refresh("online-if-uncached"),{agentDir:a,settings:b,authStorage:c,modelRegistry:d}}function i(){return globalThis.__ompRuntimePromise??=h().catch(a=>{throw globalThis.__ompRuntimePromise=void 0,a}),globalThis.__ompRuntimePromise}async function j(a){let{settings:b}=await i();return a&&b.getCwd()!==a?b.cloneForCwd(a):b}function k(){globalThis.__ompRuntimePromise=void 0}function l(a){let b=globalThis.__ompMissingModelRecovery??=new WeakMap,c=b.get(a);return c||(c=(0,f.fw)(a),b.set(a,c)),c}async function m(a,b,c,d={}){let e=a.find(b,c);if(e)return{model:e};let f=await l(a).recover(b,{force:d.forceDiscovery}),g=a.find(b,c);return g?{model:g}:{miss:{selector:`${b}/${c}`,provider:b,providerKnown:a.hasProvider(b),recovery:f}}}async function n(a,b){let c=new Set;for(let d of b)d.provider&&d.modelId&&(a.find(d.provider,d.modelId)||c.add(d.provider));0!==c.size&&await Promise.all([...c].map(b=>l(a).recover(b)))}e=(g.then?(await g)():g)[0],d()}catch(a){d(a)}})},78335:()=>{},89950:(a,b,c)=>{"use strict";c.d(b,{l:()=>h,z:()=>g});let d=new Set(["models_json_key","models_json_command"]),e={"openai-codex":"ChatGPT Plus/Pro","github-copilot":"GitHub Copilot"};function f(a){let b=new Set,c=[];for(let d of a)b.has(d.id)||(b.add(d.id),c.push(d));return c}function g(a){let b=[];for(let c of f(a)){if(!c.hasApiKeyLogin||c.status.source&&d.has(c.status.source))continue;let a=c.status.configured&&"oauth"!==c.credentialType;b.push({id:c.id,displayName:c.name,configured:a,...a&&c.status.source?{source:c.status.source}:{},modelCount:c.modelCount,supportsOAuth:c.hasOAuth})}return b}function h(a){let b=[];for(let c of f(a))c.hasOAuth&&b.push({id:c.id,name:e[c.id]??c.oauthName??c.name,usesCallbackServer:!1,loggedIn:"oauth"===c.credentialType,supportsApiKey:c.hasApiKeyLogin});return b}},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};
@@ -17,12 +17,19 @@
17
17
  "originalSource": "/recover"
18
18
  },
19
19
  {
20
- "regexp": "^(?:\\/(_next\\/data\\/[^/]{1,}))?\\/api(?:\\/((?:[^\\/#\\?]+?)(?:\\/(?:[^\\/#\\?]+?))*))?(\\.json|\\.rsc|\\.segments\\/.+\\.segment\\.rsc)?[\\/#\\?]?$",
21
- "originalSource": "/api/:path*"
20
+ "regexp": "^(?:\\/(_next\\/data\\/[^/]{1,}))?\\/api(\\.json|\\.rsc|\\.segments\\/.+\\.segment\\.rsc)?[\\/#\\?]?$",
21
+ "originalSource": "/api"
22
+ },
23
+ {
24
+ "regexp": "^(?:\\/(_next\\/data\\/[^/]{1,}))?\\/api(?:\\/((?!attachments$).*))(\\.json|\\.rsc|\\.segments\\/.+\\.segment\\.rsc)?[\\/#\\?]?$",
25
+ "originalSource": "/api/:path((?!attachments$).*)"
22
26
  }
23
27
  ]
24
28
  },
29
+ "/api/attachment-settings": {},
25
30
  "/api/attachments": {},
31
+ "/api/attachments/[id]/transcription": {},
32
+ "/api/attachments/draft": {},
26
33
  "/api/document-text": {},
27
34
  "/api/lounge": {},
28
35
  "/api/lounge/events": {},
@@ -0,0 +1 @@
1
+ "use strict";(()=>{var a={};a.id=6183,a.ids=[6183],a.modules={29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},34069:a=>{a.exports=import("@oh-my-pi/pi-utils")},51455:a=>{a.exports=require("node:fs/promises")},53861:(a,b,c)=>{async function d(){if("phase-production-build"===process.env.NEXT_PHASE)return;let{ensureAttachmentCleanupScheduler:a}=await c.e(7121).then(c.bind(c,67121));a()}c.r(b),c.d(b,{register:()=>d})},55511:a=>{a.exports=require("crypto")},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")}};var b=require("./webpack-runtime.js");b.C(a);var c=b(b.s=53861);module.exports=c})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../node_modules/@oh-my-pi/pi-utils/package.json","../../node_modules/@oh-my-pi/pi-utils/src/index.ts","../package.json","chunks/7121.js","webpack-runtime.js"]}
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/A6e8vaM_XsMnaMJbdHUo9/_buildManifest.js","static/A6e8vaM_XsMnaMJbdHUo9/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-fe8f1f81562a2b61.js","static/chunks/4bd1b696-e356ca5ba0218e27.js","static/chunks/3794-1b03b52e3112452e.js","static/chunks/main-app-fbc4aa3c15d48613.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/A-KXZPM3YkTqPPzKrND64/_buildManifest.js","static/A-KXZPM3YkTqPPzKrND64/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-fe8f1f81562a2b61.js","static/chunks/4bd1b696-e356ca5ba0218e27.js","static/chunks/3794-1b03b52e3112452e.js","static/chunks/main-app-fbc4aa3c15d48613.js"],rootMainFilesTree:{},pages:{"/_app":[]}};