@agent-spaces/server 0.1.2 → 0.2.3

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 (217) hide show
  1. package/dist/adapters/claude-code-runtime/index.js +4 -1
  2. package/dist/adapters/git.js +2 -21
  3. package/dist/agents/issue-agent-runner.js +35 -21
  4. package/dist/agents/issue-task-controller.js +120 -73
  5. package/dist/agents/planner-agent.js +9 -12
  6. package/dist/app.js +12 -1
  7. package/dist/hooks/agent-hooks.js +5 -8
  8. package/dist/package.json +1 -1
  9. package/dist/routes/agent.js +40 -17
  10. package/dist/routes/channel.js +4 -1
  11. package/dist/routes/command.js +108 -0
  12. package/dist/routes/folder.js +44 -7
  13. package/dist/routes/issue.js +57 -23
  14. package/dist/routes/mcp.js +50 -0
  15. package/dist/routes/skill.js +57 -0
  16. package/dist/routes/subscription.js +49 -0
  17. package/dist/routes/task.js +16 -1
  18. package/dist/routes/workflow.js +63 -0
  19. package/dist/routes/workspace.js +2 -21
  20. package/dist/services/agent.js +140 -76
  21. package/dist/services/builtin-tools.js +72 -0
  22. package/dist/services/channel.js +5 -5
  23. package/dist/services/command-process-manager.js +136 -0
  24. package/dist/services/command.js +48 -0
  25. package/dist/services/issue.js +5 -6
  26. package/dist/services/mcp.js +120 -0
  27. package/dist/services/notification-hub/bot-commands.js +48 -16
  28. package/dist/services/notification-hub/helpers.js +12 -0
  29. package/dist/services/pty.js +10 -3
  30. package/dist/services/skill.js +171 -0
  31. package/dist/services/subscription/aicode.js +45 -0
  32. package/dist/services/subscription/base.js +3 -0
  33. package/dist/services/subscription/index.js +20 -0
  34. package/dist/services/subscription/minimax.js +60 -0
  35. package/dist/services/subscription/zhipu.js +39 -0
  36. package/dist/services/workflow.js +203 -0
  37. package/dist/services/workspace.js +0 -1
  38. package/dist/storage/command-store.js +17 -0
  39. package/dist/storage/subscription-store.js +44 -0
  40. package/dist/storage/workflow-store.js +40 -0
  41. package/dist/web/404.html +1 -1
  42. package/dist/web/__next.__PAGE__.txt +4 -4
  43. package/dist/web/__next._full.txt +22 -21
  44. package/dist/web/__next._head.txt +4 -4
  45. package/dist/web/__next._index.txt +9 -8
  46. package/dist/web/__next._tree.txt +2 -2
  47. package/dist/web/_next/static/7UtFGbIZvN_2yiatRc2g3/_buildManifest.js +11 -0
  48. package/dist/web/_next/static/chunks/0-245kun-watp.js +2 -0
  49. package/dist/web/_next/static/chunks/0-ca_fo-yp3~z.js +1 -0
  50. package/dist/web/_next/static/chunks/0-vgd3j-zh3m8.js +2 -0
  51. package/dist/web/_next/static/chunks/0.4.g.8yf4rs0.js +3 -0
  52. package/dist/web/_next/static/chunks/02m_-ngl9w8co.js +1 -0
  53. package/dist/web/_next/static/chunks/03jbh7ud0jw~g.js +1 -0
  54. package/dist/web/_next/static/chunks/07kqxmubf5dua.js +1 -0
  55. package/dist/web/_next/static/chunks/088q-5_51dsrw.js +1 -0
  56. package/dist/web/_next/static/chunks/08fqgb~~a~4ck.js +1 -0
  57. package/dist/web/_next/static/chunks/09_ki3dc5cfwv.css +1 -0
  58. package/dist/web/_next/static/chunks/09jryrjps0vl2.js +1 -0
  59. package/dist/web/_next/static/chunks/0amzlgoqe50tv.js +8 -0
  60. package/dist/web/_next/static/chunks/0b2tump5duj9j.js +1 -0
  61. package/dist/web/_next/static/chunks/0car_w834cbb6.js +1 -0
  62. package/dist/web/_next/static/chunks/0fwvdy-ml8wpk.js +1 -0
  63. package/dist/web/_next/static/chunks/0g4vm6.v0o_lt.js +1 -0
  64. package/dist/web/_next/static/chunks/0g_b4t~000.o~.js +179 -0
  65. package/dist/web/_next/static/chunks/0gyede80jpy3n.js +4 -0
  66. package/dist/web/_next/static/chunks/0h256h-tu4e0r.js +2 -0
  67. package/dist/web/_next/static/chunks/0ib18ul605e~a.js +1 -0
  68. package/dist/web/_next/static/chunks/0j1g_rd9t5ot1.js +1 -0
  69. package/dist/web/_next/static/chunks/0jn~llaqcxo4q.js +1 -0
  70. package/dist/web/_next/static/chunks/0jvmviuftg5e2.css +1 -0
  71. package/dist/web/_next/static/chunks/0lb8l2~6s_owo.js +1 -0
  72. package/dist/web/_next/static/chunks/0o4m39hw4fb_j.js +1 -0
  73. package/dist/web/_next/static/chunks/0pep4mkvt3.rh.js +31 -0
  74. package/dist/web/_next/static/chunks/0pq2670_ezbcj.js +1 -0
  75. package/dist/web/_next/static/chunks/0q_scqkk9.t53.js +2 -0
  76. package/dist/web/_next/static/chunks/0qyjxx0y7rzuu.js +1 -0
  77. package/dist/web/_next/static/chunks/0rrdur.v1a5r7.js +1 -0
  78. package/dist/web/_next/static/chunks/0spo.tmfeas-o.js +1 -0
  79. package/dist/web/_next/static/chunks/0u88ij9dqqh~-.js +1 -0
  80. package/dist/web/_next/static/chunks/0zl19l5tuoppw.js +1 -0
  81. package/dist/web/_next/static/chunks/11n16hogah-5..js +1 -0
  82. package/dist/web/_next/static/chunks/1250wo~-5dgyx.js +1 -0
  83. package/dist/web/_next/static/chunks/14n8i2xz4_y-e.js +1 -0
  84. package/dist/web/_next/static/chunks/160ji-.dfvm20.js +1 -0
  85. package/dist/web/_next/static/chunks/turbopack-0lxiiw.jhevml.js +1 -0
  86. package/dist/web/_next/static/media/favicon.0~ekuj.zhggpa.ico +0 -0
  87. package/dist/web/_not-found/__next._full.txt +26 -19
  88. package/dist/web/_not-found/__next._head.txt +4 -4
  89. package/dist/web/_not-found/__next._index.txt +9 -8
  90. package/dist/web/_not-found/__next._not-found.__PAGE__.txt +2 -2
  91. package/dist/web/_not-found/__next._not-found.txt +3 -3
  92. package/dist/web/_not-found/__next._tree.txt +2 -2
  93. package/dist/web/_not-found.html +1 -1
  94. package/dist/web/_not-found.txt +26 -19
  95. package/dist/web/apple-touch-icon.png +0 -0
  96. package/dist/web/favicon.ico +0 -0
  97. package/dist/web/icon-192.png +0 -0
  98. package/dist/web/icon-512.png +0 -0
  99. package/dist/web/index.html +1 -1
  100. package/dist/web/index.txt +22 -21
  101. package/dist/web/login/__next._full.txt +25 -23
  102. package/dist/web/login/__next._head.txt +4 -4
  103. package/dist/web/login/__next._index.txt +9 -8
  104. package/dist/web/login/__next._tree.txt +2 -2
  105. package/dist/web/login/__next.login.__PAGE__.txt +4 -4
  106. package/dist/web/login/__next.login.txt +3 -3
  107. package/dist/web/login.html +1 -1
  108. package/dist/web/login.txt +25 -23
  109. package/dist/web/settings/__next._full.txt +36 -0
  110. package/dist/web/settings/__next._head.txt +6 -0
  111. package/dist/web/settings/__next._index.txt +11 -0
  112. package/dist/web/settings/__next._tree.txt +8 -0
  113. package/dist/web/settings/__next.settings.__PAGE__.txt +9 -0
  114. package/dist/web/settings/__next.settings.txt +7 -0
  115. package/dist/web/settings/agents/__next._full.txt +39 -0
  116. package/dist/web/settings/agents/__next._head.txt +6 -0
  117. package/dist/web/settings/agents/__next._index.txt +11 -0
  118. package/dist/web/settings/agents/__next._tree.txt +8 -0
  119. package/dist/web/settings/agents/__next.settings.agents.__PAGE__.txt +9 -0
  120. package/dist/web/settings/agents/__next.settings.agents.txt +5 -0
  121. package/dist/web/settings/agents/__next.settings.txt +7 -0
  122. package/dist/web/settings/agents.html +1 -0
  123. package/dist/web/settings/agents.txt +39 -0
  124. package/dist/web/settings/mcps/__next._full.txt +39 -0
  125. package/dist/web/settings/mcps/__next._head.txt +6 -0
  126. package/dist/web/settings/mcps/__next._index.txt +11 -0
  127. package/dist/web/settings/mcps/__next._tree.txt +8 -0
  128. package/dist/web/settings/mcps/__next.settings.mcps.__PAGE__.txt +9 -0
  129. package/dist/web/settings/mcps/__next.settings.mcps.txt +5 -0
  130. package/dist/web/settings/mcps/__next.settings.txt +7 -0
  131. package/dist/web/settings/mcps.html +1 -0
  132. package/dist/web/settings/mcps.txt +39 -0
  133. package/dist/web/settings/models/__next._full.txt +39 -0
  134. package/dist/web/settings/models/__next._head.txt +6 -0
  135. package/dist/web/settings/models/__next._index.txt +11 -0
  136. package/dist/web/settings/models/__next._tree.txt +8 -0
  137. package/dist/web/settings/models/__next.settings.models.__PAGE__.txt +9 -0
  138. package/dist/web/settings/models/__next.settings.models.txt +5 -0
  139. package/dist/web/settings/models/__next.settings.txt +7 -0
  140. package/dist/web/settings/models.html +1 -0
  141. package/dist/web/settings/models.txt +39 -0
  142. package/dist/web/settings/providers/__next._full.txt +39 -0
  143. package/dist/web/settings/providers/__next._head.txt +6 -0
  144. package/dist/web/settings/providers/__next._index.txt +11 -0
  145. package/dist/web/settings/providers/__next._tree.txt +8 -0
  146. package/dist/web/settings/providers/__next.settings.providers.__PAGE__.txt +9 -0
  147. package/dist/web/settings/providers/__next.settings.providers.txt +5 -0
  148. package/dist/web/settings/providers/__next.settings.txt +7 -0
  149. package/dist/web/settings/providers.html +1 -0
  150. package/dist/web/settings/providers.txt +39 -0
  151. package/dist/web/settings/skills/__next._full.txt +39 -0
  152. package/dist/web/settings/skills/__next._head.txt +6 -0
  153. package/dist/web/settings/skills/__next._index.txt +11 -0
  154. package/dist/web/settings/skills/__next._tree.txt +8 -0
  155. package/dist/web/settings/skills/__next.settings.skills.__PAGE__.txt +9 -0
  156. package/dist/web/settings/skills/__next.settings.skills.txt +5 -0
  157. package/dist/web/settings/skills/__next.settings.txt +7 -0
  158. package/dist/web/settings/skills.html +1 -0
  159. package/dist/web/settings/skills.txt +39 -0
  160. package/dist/web/settings.html +1 -0
  161. package/dist/web/settings.txt +36 -0
  162. package/dist/web/workflows/__next._full.txt +35 -0
  163. package/dist/web/workflows/__next._head.txt +6 -0
  164. package/dist/web/workflows/__next._index.txt +11 -0
  165. package/dist/web/workflows/__next._tree.txt +9 -0
  166. package/dist/web/workflows/__next.workflows.__PAGE__.txt +10 -0
  167. package/dist/web/workflows/__next.workflows.txt +5 -0
  168. package/dist/web/workflows.html +1 -0
  169. package/dist/web/workflows.txt +35 -0
  170. package/dist/web/workspace/_/__next._full.txt +25 -20
  171. package/dist/web/workspace/_/__next._head.txt +4 -4
  172. package/dist/web/workspace/_/__next._index.txt +9 -8
  173. package/dist/web/workspace/_/__next._tree.txt +2 -2
  174. package/dist/web/workspace/_/__next.workspace.$d$id.__PAGE__.txt +3 -3
  175. package/dist/web/workspace/_/__next.workspace.$d$id.txt +3 -3
  176. package/dist/web/workspace/_/__next.workspace.txt +3 -3
  177. package/dist/web/workspace/_.html +1 -1
  178. package/dist/web/workspace/_.txt +25 -20
  179. package/dist/web/workspaces/__next._full.txt +25 -23
  180. package/dist/web/workspaces/__next._head.txt +4 -4
  181. package/dist/web/workspaces/__next._index.txt +9 -8
  182. package/dist/web/workspaces/__next._tree.txt +2 -2
  183. package/dist/web/workspaces/__next.workspaces.__PAGE__.txt +4 -4
  184. package/dist/web/workspaces/__next.workspaces.txt +3 -3
  185. package/dist/web/workspaces.html +1 -1
  186. package/dist/web/workspaces.txt +25 -23
  187. package/dist/ws/agent-prompt.js +84 -0
  188. package/dist/ws/agent-runner.js +592 -0
  189. package/dist/ws/handler.js +9 -1200
  190. package/dist/ws/html-utils.js +30 -0
  191. package/dist/ws/message-parts.js +498 -0
  192. package/package.json +12 -10
  193. package/dist/web/_next/static/chunks/038whpa0zpnas.js +0 -1
  194. package/dist/web/_next/static/chunks/06q5go~xoz5a3.js +0 -1
  195. package/dist/web/_next/static/chunks/095.wizobwtyg.js +0 -2
  196. package/dist/web/_next/static/chunks/0bfg.w~u-83h5.js +0 -1
  197. package/dist/web/_next/static/chunks/0ce7i6~sb20rv.js +0 -113
  198. package/dist/web/_next/static/chunks/0d4~pcva1uk-a.js +0 -1
  199. package/dist/web/_next/static/chunks/0iq70n_u75nyu.js +0 -1
  200. package/dist/web/_next/static/chunks/0memz-8zsbxpu.js +0 -1
  201. package/dist/web/_next/static/chunks/0nw~w.3~twebx.js +0 -2
  202. package/dist/web/_next/static/chunks/0pyytgz~5vt0f.js +0 -31
  203. package/dist/web/_next/static/chunks/0ujjcrz~1nq.q.css +0 -1
  204. package/dist/web/_next/static/chunks/0vdnx9n41dyjl.js +0 -1
  205. package/dist/web/_next/static/chunks/0yl4mqmxtll6g.js +0 -1
  206. package/dist/web/_next/static/chunks/0zcbfka5tcle3.js +0 -1
  207. package/dist/web/_next/static/chunks/0~eo58u99i.fr.js +0 -8
  208. package/dist/web/_next/static/chunks/13_2vxyccsv84.js +0 -4
  209. package/dist/web/_next/static/chunks/13wfs~urgxu0w.js +0 -1
  210. package/dist/web/_next/static/chunks/157~3c6wqkt83.js +0 -1
  211. package/dist/web/_next/static/chunks/15jvow_z4uq-..js +0 -1
  212. package/dist/web/_next/static/chunks/15v697nf~r-cy.js +0 -2
  213. package/dist/web/_next/static/chunks/turbopack-164~7ulq9o9yc.js +0 -1
  214. package/dist/web/_next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
  215. package/dist/web/_next/static/owMnKmxATbtXK_J_k_uHh/_buildManifest.js +0 -21
  216. /package/dist/web/_next/static/{owMnKmxATbtXK_J_k_uHh → 7UtFGbIZvN_2yiatRc2g3}/_clientMiddlewareManifest.js +0 -0
  217. /package/dist/web/_next/static/{owMnKmxATbtXK_J_k_uHh → 7UtFGbIZvN_2yiatRc2g3}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/0pyytgz~5vt0f.js","static/chunks/031c~uxc3ie87.js","static/chunks/0yl4mqmxtll6g.js","static/chunks/0202ia13sijwb.js","static/chunks/13_2vxyccsv84.js","static/chunks/095.wizobwtyg.js"],runtimeModuleIds:[933412]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=function(){if(null!=self.TURBOPACK_ASSET_SUFFIX)return self.TURBOPACK_ASSET_SUFFIX;let e=document?.currentScript?.getAttribute?.("src")??"",t=e.indexOf("?");return t>=0?e.slice(t):""}(),n=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];var o,i=((o=i||{})[o.Runtime=0]="Runtime",o[o.Parent=1]="Parent",o[o.Update=2]="Update",o);let l=new WeakMap;function s(e,t){this.m=e,this.e=t}let u=s.prototype,a=Object.prototype.hasOwnProperty,c="u">typeof Symbol&&Symbol.toStringTag;function f(e,t,r){a.call(e,t)||Object.defineProperty(e,t,r)}function p(e,t){let r=e[t];return r||(r=h(t),e[t]=r),r}function h(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function d(e,t){f(e,"__esModule",{value:!0}),c&&f(e,c,{value:"Module"});let r=0;for(;r<t.length;){let n=t[r++],o=t[r++];if("number"==typeof o)if(0===o)f(e,n,{value:t[r++],enumerable:!0,writable:!1});else throw Error(`unexpected tag: ${o}`);else"function"==typeof t[r]?f(e,n,{get:o,set:t[r++],enumerable:!0}):f(e,n,{get:o,enumerable:!0})}Object.seal(e)}function m(e,t){(null!=t?p(this.c,t):this.m).exports=e}u.s=function(e,t){let r,n;null!=t?n=(r=p(this.c,t)).exports:(r=this.m,n=this.e),r.namespaceObject=n,d(n,e)},u.j=function(e,t){var r,n;let o,i,s;null!=t?i=(o=p(this.c,t)).exports:(o=this.m,i=this.e);let u=(r=o,n=i,(s=l.get(r))||(l.set(r,s=[]),r.exports=r.namespaceObject=new Proxy(n,{get(e,t){if(a.call(e,t)||"default"===t||"__esModule"===t)return Reflect.get(e,t);for(let e of s){let r=Reflect.get(e,t);if(void 0!==r)return r}},ownKeys(e){let t=Reflect.ownKeys(e);for(let e of s)for(let r of Reflect.ownKeys(e))"default"===r||t.includes(r)||t.push(r);return t}})),s);"object"==typeof e&&null!==e&&u.push(e)},u.v=m,u.n=function(e,t){let r;(r=null!=t?p(this.c,t):this.m).exports=r.namespaceObject=e};let b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y=[null,b({}),b([]),b(b)];function g(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!y.includes(t);t=b(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),d(t,n),t}function w(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=g(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function O(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function j(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}u.i=w,u.A=function(e){return this.r(e)(w.bind(this))},u.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},u.r=function(e){return B(e,this.m).exports},u.f=function(e){function t(t){if(t=O(t),a.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=O(t),a.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let k=Symbol("turbopack queues"),v=Symbol("turbopack exports"),U=Symbol("turbopack error");function C(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}u.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:i,reject:l,promise:s}=j(),u=Object.assign(s,{[v]:r.exports,[k]:e=>{n&&e(n),o.forEach(e),u.catch(()=>{})}}),a={get:()=>u,set(e){e!==u&&(u[v]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(k in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[v]:{},[k]:e=>e(t)};return e.then(e=>{r[v]=e,C(t)},e=>{r[U]=e,C(t)}),r}}return{[v]:e,[k]:()=>{}}}),r=()=>t.map(e=>{if(e[U])throw e[U];return e[v]}),{promise:i,resolve:l}=j(),s=Object.assign(()=>l(r),{queueCount:0});function u(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(s.queueCount++,e.push(s)))}return t.map(e=>e[k](u)),s.queueCount?i:r()},function(e){e?l(u[U]=e):i(u[v]),C(n)}),n&&-1===n.status&&(n.status=0)};let P=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}P.prototype=URL.prototype,u.U=P,u.z=function(e){throw Error("dynamic usage of require is not supported")},u.g=globalThis;let S=s.prototype,$=new Map;u.M=$;let _=new Map,E=new Map;async function T(e,t,r){let n;if("string"==typeof r)return M(e,t,N(r));let o=r.included||[],i=o.map(e=>!!$.has(e)||_.get(e));if(i.length>0&&i.every(e=>e))return void await Promise.all(i);let l=r.moduleChunks||[],s=l.map(e=>E.get(e)).filter(e=>e);if(s.length>0){if(s.length===l.length)return void await Promise.all(s);let r=new Set;for(let e of l)E.has(e)||r.add(e);for(let n of r){let r=M(e,t,N(n));E.set(n,r),s.push(r)}n=Promise.all(s)}else{for(let o of(n=M(e,t,N(r.path)),l))E.has(o)||E.set(o,n)}for(let e of o)_.has(e)||_.set(e,n);await n}S.l=function(e){return T(i.Parent,this.m.id,e)};let x=Promise.resolve(void 0),A=new WeakMap;function M(t,r,n){let o=e.loadChunkCached(t,n),l=A.get(o);if(void 0===l){let e=A.set.bind(A,o,x);l=o.then(e).catch(e=>{let o;switch(t){case i.Runtime:o=`as a runtime dependency of chunk ${r}`;break;case i.Parent:o=`from module ${r}`;break;case i.Update:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),A.set(o,l)}return l}function N(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}S.L=function(e){return M(i.Parent,this.m.id,e)},S.R=function(e){let t=this.r(e);return t?.default??t},S.P=function(e){return`/ROOT/${e??""}`},S.q=function(e,t){m.call(this,`${e}${r}`,t)},S.b=function(e,t,o,i){let l="SharedWorker"===e.name,s=[o.map(e=>N(e)).reverse(),r];for(let e of n)s.push(globalThis[e]);let u=new URL(N(t),location.origin),a=JSON.stringify(s);return l?u.searchParams.set("params",a):u.hash="#params="+encodeURIComponent(a),new e(u,i?{...i,type:void 0}:void 0)};let q=/\.js(?:\?[^#]*)?(?:#.*)?$/,K=/\.css(?:\?[^#]*)?(?:#.*)?$/;function L(e){return K.test(e)}u.w=function(t,r,n){return e.loadWebAssembly(i.Parent,this.m.id,t,r,n)},u.u=function(t,r){return e.loadWebAssemblyModule(i.Parent,this.m.id,t,r)};let I={};u.c=I;let B=(e,t)=>{let r=I[e];if(r){if(r.error)throw r.error;return r}return W(e,i.Parent,t.id)};function W(e,t,r){let n=$.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let o=h(e),i=o.exports;I[e]=o;let l=new s(o,i);try{n(l,o,i)}catch(e){throw o.error=e,e}return o.namespaceObject&&o.exports!==o.namespaceObject&&g(o.exports,o.namespaceObject),o}function F(t){let r,n=function(e){if("string"==typeof e)return e;if(e)return{src:e.getAttribute("src")};if("u">typeof TURBOPACK_NEXT_CHUNK_URLS)return{src:TURBOPACK_NEXT_CHUNK_URLS.pop()};throw Error("chunk path empty but not in a worker")}(t[0]);return 2===t.length?r=t[1]:(r=void 0,!function(e,t){let r=1;for(;r<e.length;){let n,o=r+1;for(;o<e.length&&"function"!=typeof e[o];)o++;if(o===e.length)throw Error("malformed chunk format, expected a factory function");let i=e[o];for(let i=r;i<o;i++){let r=e[i],o=t.get(r);if(o){n=o;break}}let l=n??i,s=!1;for(let n=r;n<o;n++){let r=e[n];t.has(r)||(s||(l===i&&Object.defineProperty(i,"name",{value:"module evaluation"}),s=!0),t.set(r,l))}r=o+1}}(t,$)),e.registerChunk(n,r)}let X=new Map;function D(e){let t=X.get(e);if(!t){let r,n;t={resolved:!1,loadingStarted:!1,promise:new Promise((e,t)=>{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},X.set(e,t)}return t}e={async registerChunk(e,r){let n=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(e.src.replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(e);if(D("string"==typeof e?N(e):e.src).resolve(),null!=r){for(let e of r.otherChunks)D(N("string"==typeof e?e:e.path));if(await Promise.all(r.otherChunks.map(e=>T(i.Runtime,n,e))),r.runtimeModuleIds.length>0)for(let e of r.runtimeModuleIds)!function(e,t){let r=I[t];if(r){if(r.error)throw r.error;return}W(t,i.Runtime,e)}(n,e)}},loadChunkCached:(e,t)=>(function(e,t){let r=D(t);if(r.loadingStarted)return r.promise;if(e===i.Runtime)return r.loadingStarted=!0,L(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(L(t));else if(q.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(L(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(q.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let i=fetch(N(r)),{instance:l}=await WebAssembly.instantiateStreaming(i,o);return l.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(N(r));return await WebAssembly.compileStreaming(o)}};let H=globalThis.TURBOPACK;globalThis.TURBOPACK={push:F},H.forEach(F)})();
@@ -1,21 +0,0 @@
1
- self.__BUILD_MANIFEST = {
2
- "__rewrites": {
3
- "afterFiles": [
4
- {
5
- "source": "/api/:path*"
6
- },
7
- {
8
- "source": "/ws"
9
- },
10
- {
11
- "source": "/static/:path*"
12
- }
13
- ],
14
- "beforeFiles": [],
15
- "fallback": []
16
- },
17
- "sortedPages": [
18
- "/_app",
19
- "/_error"
20
- ]
21
- };self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB()