@opencode/core 0.0.0-dev-21561 → 0.0.0-dev-21570

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-bm4gstpq.js → app-00zh2tpm.js} +8 -8
  8. package/dist/chunks/{model-resolver-jm58kwny.js → app-04fhc9pj.js} +25 -25
  9. package/dist/chunks/{model-resolver-hrwraf01.js → app-0kkqynqr.js} +189 -189
  10. package/dist/chunks/{model-resolver-7s9p8b5q.js → app-0twgbthj.js} +19 -19
  11. package/dist/chunks/{model-resolver-0anhksjf.js → app-10bwkysh.js} +13 -13
  12. package/dist/chunks/{model-resolver-atkwrhtv.js → app-1622r1ga.js} +4 -4
  13. package/dist/chunks/{model-resolver-w35wzz9x.js → app-173t91w5.js} +9 -9
  14. package/dist/chunks/{model-resolver-r3jydfqs.js → app-18harhtr.js} +13 -13
  15. package/dist/chunks/{model-resolver-84pze0j7.js → app-19779spt.js} +23 -23
  16. package/dist/chunks/{model-resolver-qeaqse4k.js → app-19b0nq78.js} +43 -43
  17. package/dist/chunks/{model-resolver-evdtckst.js → app-1jtf53by.js} +4 -4
  18. package/dist/chunks/{model-resolver-r1rcp1a5.js → app-1s9fs40v.js} +4 -4
  19. package/dist/chunks/{model-resolver-1x2knyw4.js → app-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{model-resolver-40fhy2zt.js → app-1y8dm7ap.js} +17 -17
  21. package/dist/chunks/{model-resolver-p7vhpwh8.js → app-1yq9hg58.js} +5 -5
  22. package/dist/chunks/{model-resolver-etxseyds.js → app-20mxm868.js} +17 -17
  23. package/dist/chunks/{model-resolver-4755v7r3.js → app-210jfvy6.js} +11 -11
  24. package/dist/chunks/{model-resolver-zadgmz3x.js → app-25vgcjra.js} +24 -24
  25. package/dist/chunks/{model-resolver-81veg7gk.js → app-26bpbd1f.js} +28 -28
  26. package/dist/chunks/{model-resolver-1ep2p91f.js → app-27w5k9zf.js} +2 -2
  27. package/dist/chunks/{model-resolver-a3em8wep.js → app-2emv3dac.js} +19 -19
  28. package/dist/chunks/{model-resolver-dv7jmtr8.js → app-2g37s6n5.js} +11 -11
  29. package/dist/chunks/{model-resolver-71ne8d3w.js → app-2qv7s079.js} +8 -8
  30. package/dist/chunks/{model-resolver-0pkr6qt9.js → app-2sh6np1t.js} +57 -57
  31. package/dist/chunks/{model-resolver-4m6zstw0.js → app-2x6dhx7z.js} +3 -3
  32. package/dist/chunks/{model-resolver-ky0p85ga.js → app-2y353qze.js} +18 -18
  33. package/dist/chunks/{model-resolver-2z1j29yd.js → app-2z1j29yd.js} +1 -1
  34. package/dist/chunks/{model-resolver-cs87y13h.js → app-31wms35x.js} +4 -4
  35. package/dist/chunks/{model-resolver-dgebqdnd.js → app-33wj402p.js} +36 -36
  36. package/dist/chunks/{model-resolver-56fqbvhs.js → app-38c4qa7w.js} +5 -5
  37. package/dist/chunks/{model-resolver-ymn1zp0c.js → app-38dzhn5x.js} +38 -38
  38. package/dist/chunks/{model-resolver-ayjs7tqn.js → app-3cbjf1nt.js} +2 -2
  39. package/dist/chunks/{model-resolver-s67gnmqz.js → app-3ddszj5t.js} +36 -36
  40. package/dist/chunks/{model-resolver-cxrgknsm.js → app-3ft77epc.js} +9 -9
  41. package/dist/chunks/{model-resolver-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{model-resolver-h3c848hf.js → app-3j99hnw3.js} +33 -33
  43. package/dist/chunks/{model-resolver-0s4gbdd0.js → app-3v0zq4wp.js} +11 -11
  44. package/dist/chunks/{model-resolver-873tmn1d.js → app-3vvwd6ke.js} +14 -14
  45. package/dist/chunks/app-3xwkv16t.js +523 -0
  46. package/dist/chunks/{model-resolver-qc854yns.js → app-3yme8bqy.js} +14 -14
  47. package/dist/chunks/{model-resolver-158zhnz6.js → app-4b1atmcq.js} +12 -12
  48. package/dist/chunks/{model-resolver-3vvx3qkg.js → app-4cxsxbgt.js} +19 -19
  49. package/dist/chunks/{model-resolver-acmwnmb8.js → app-4f3sm4z4.js} +24 -24
  50. package/dist/chunks/{model-resolver-k9ms0q72.js → app-4g0fsgbg.js} +6 -6
  51. package/dist/chunks/{model-resolver-d2b9tqdk.js → app-4k74q3cd.js} +22 -22
  52. package/dist/chunks/{model-resolver-ntz68qz4.js → app-4n53z3gy.js} +11 -11
  53. package/dist/chunks/{model-resolver-xezg9szt.js → app-4pxwt4n4.js} +10 -10
  54. package/dist/chunks/{model-resolver-fywxn8yw.js → app-4qv1he3d.js} +50 -50
  55. package/dist/chunks/{model-resolver-4v008n1t.js → app-4v008n1t.js} +1 -1
  56. package/dist/chunks/{model-resolver-4xvmh7wp.js → app-4xvmh7wp.js} +3 -3
  57. package/dist/chunks/{model-resolver-b6x45btx.js → app-569sdvd3.js} +8 -8
  58. package/dist/chunks/{model-resolver-fchqce7y.js → app-5ab172h5.js} +40 -40
  59. package/dist/chunks/{model-resolver-gw73nvw6.js → app-5bvqzxvh.js} +11 -11
  60. package/dist/chunks/{model-resolver-4anvj0nz.js → app-5cc3rvwm.js} +86 -86
  61. package/dist/chunks/{model-resolver-z0edr6gj.js → app-5cw0dcrr.js} +22 -22
  62. package/dist/chunks/{model-resolver-aj85frbb.js → app-5dtf0xw8.js} +11 -11
  63. package/dist/chunks/{model-resolver-we1tgvvb.js → app-5gnmyaq2.js} +5 -5
  64. package/dist/chunks/{model-resolver-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{model-resolver-b6vsg801.js → app-5nnwax6m.js} +5 -5
  66. package/dist/chunks/{model-resolver-6czmj677.js → app-5p205wab.js} +4 -4
  67. package/dist/chunks/{model-resolver-e3qxr5gk.js → app-5qd3pb7m.js} +2 -2
  68. package/dist/chunks/{model-resolver-5df887yz.js → app-695xd8qp.js} +19 -19
  69. package/dist/chunks/{model-resolver-m4eq7axd.js → app-6be6yqxw.js} +15 -15
  70. package/dist/chunks/{model-resolver-m0k609qs.js → app-6c9gsgb8.js} +16 -16
  71. package/dist/chunks/{model-resolver-6esdw8yj.js → app-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{model-resolver-3gs3gk71.js → app-6msrtbg0.js} +18 -18
  73. package/dist/chunks/{model-resolver-6pjqjmy2.js → app-6pjqjmy2.js} +1 -1
  74. package/dist/chunks/{model-resolver-gtxeab11.js → app-6w4saq69.js} +46 -46
  75. package/dist/chunks/{model-resolver-gs6sdnbe.js → app-6wb2zb64.js} +24 -24
  76. package/dist/chunks/{model-resolver-jf5na7rx.js → app-73xz0dh8.js} +5 -5
  77. package/dist/chunks/{model-resolver-76cb1hcw.js → app-76cb1hcw.js} +1 -1
  78. package/dist/chunks/{model-resolver-2hdav3qx.js → app-79b21x4r.js} +7 -7
  79. package/dist/chunks/{model-resolver-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{model-resolver-ag809kpc.js → app-7dj845q2.js} +19 -19
  81. package/dist/chunks/{model-resolver-7sjdmqaj.js → app-7q2jq33p.js} +18 -18
  82. package/dist/chunks/{model-resolver-r2q802mc.js → app-7v5ecr6b.js} +13 -13
  83. package/dist/chunks/{model-resolver-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{model-resolver-7we14xxk.js → app-7wxrbrvg.js} +34 -34
  85. package/dist/chunks/{model-resolver-7crfef3m.js → app-7xw28p93.js} +26 -26
  86. package/dist/chunks/app-7yv5xa0k.js +18 -0
  87. package/dist/chunks/{model-resolver-dvg82dp6.js → app-7ywpwnkp.js} +33 -33
  88. package/dist/chunks/{model-resolver-6gsynj7k.js → app-81tex3wg.js} +15 -15
  89. package/dist/chunks/{model-resolver-gzrpk3yh.js → app-86a1xg0s.js} +14 -14
  90. package/dist/chunks/{model-resolver-t5x9tta9.js → app-86jbmjy0.js} +16 -16
  91. package/dist/chunks/{model-resolver-qjgzc4b4.js → app-8jztxfpf.js} +4 -4
  92. package/dist/chunks/{model-resolver-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
  93. package/dist/chunks/{model-resolver-91rj84md.js → app-91rj84md.js} +1 -1
  94. package/dist/chunks/{model-resolver-c1526x78.js → app-91zpvmry.js} +14 -14
  95. package/dist/chunks/{model-resolver-fae4enn1.js → app-92shyse6.js} +13 -13
  96. package/dist/chunks/{model-resolver-tpbnagbb.js → app-93rhewbm.js} +32 -32
  97. package/dist/chunks/{model-resolver-r1k9m3eb.js → app-956c56jz.js} +8 -8
  98. package/dist/chunks/{model-resolver-gaxzewmp.js → app-98gmkcwn.js} +35 -35
  99. package/dist/chunks/{model-resolver-rkxhwyxc.js → app-9e4t472b.js} +12 -12
  100. package/dist/chunks/app-9pfqjpyy.js +257 -0
  101. package/dist/chunks/{model-resolver-vzmjdaw1.js → app-9r0x1bva.js} +9 -9
  102. package/dist/chunks/{model-resolver-dfks5x0x.js → app-9vd5hnnp.js} +15 -15
  103. package/dist/chunks/{model-resolver-jg26tebj.js → app-9vy7ymhz.js} +20 -20
  104. package/dist/chunks/{model-resolver-dy267r6z.js → app-a8fwv04y.js} +2 -2
  105. package/dist/chunks/{model-resolver-pja7jmt2.js → app-ade0xppm.js} +11 -11
  106. package/dist/chunks/{model-resolver-034tev2y.js → app-aj7mw0zk.js} +2 -2
  107. package/dist/chunks/{model-resolver-xxak8n2f.js → app-ak0r7mhr.js} +4 -4
  108. package/dist/chunks/{model-resolver-mrejt0vx.js → app-ak5m35an.js} +6 -6
  109. package/dist/chunks/{model-resolver-6a4kxdj8.js → app-anvrad6f.js} +26 -26
  110. package/dist/chunks/{model-resolver-z2bchc84.js → app-arxr4n82.js} +20 -20
  111. package/dist/chunks/{model-resolver-my4zabxr.js → app-arz7hw7x.js} +2 -2
  112. package/dist/chunks/{model-resolver-9ts33eg0.js → app-as49vg6k.js} +32 -32
  113. package/dist/chunks/{model-resolver-ng4advcs.js → app-aswvndy1.js} +45 -45
  114. package/dist/chunks/{model-resolver-xj1dzt64.js → app-ax4xcqdr.js} +1 -1
  115. package/dist/chunks/{model-resolver-b0mv4wxm.js → app-b0mv4wxm.js} +2 -2
  116. package/dist/chunks/{model-resolver-dx2tr0e6.js → app-b5rmxzna.js} +11 -11
  117. package/dist/chunks/{model-resolver-xd9cc171.js → app-bstexjd6.js} +5 -5
  118. package/dist/chunks/{model-resolver-5w7y85jn.js → app-c0hpp7j5.js} +18 -18
  119. package/dist/chunks/{model-resolver-cn7xf0c3.js → app-c1bqr4jn.js} +5 -5
  120. package/dist/chunks/{model-resolver-sznyev98.js → app-c5c0bz0t.js} +5 -5
  121. package/dist/chunks/{model-resolver-ztf6n3de.js → app-c5kjsz6q.js} +4 -4
  122. package/dist/chunks/{model-resolver-c9t2ty9q.js → app-c9t2ty9q.js} +1 -1
  123. package/dist/chunks/{model-resolver-hhs2jvjz.js → app-ce6jsch9.js} +22 -22
  124. package/dist/chunks/{model-resolver-yk9kn8z0.js → app-ce9s6z8c.js} +18 -18
  125. package/dist/chunks/{model-resolver-psq9ew9c.js → app-cnda3w9r.js} +9 -9
  126. package/dist/chunks/{model-resolver-0sd3e6sm.js → app-cqp8bbqc.js} +12 -12
  127. package/dist/chunks/{model-resolver-qqe3xj9j.js → app-d3p229mm.js} +20 -20
  128. package/dist/chunks/{model-resolver-d4v9tmah.js → app-d4v9tmah.js} +2 -2
  129. package/dist/chunks/{model-resolver-dh62xe4r.js → app-dh62xe4r.js} +1 -1
  130. package/dist/chunks/{model-resolver-5f9n2b02.js → app-djzk6aem.js} +4 -4
  131. package/dist/chunks/{model-resolver-exrjm4ta.js → app-dr37mt8v.js} +4 -4
  132. package/dist/chunks/{model-resolver-998yhzzq.js → app-dvj9ct8m.js} +3 -3
  133. package/dist/chunks/{model-resolver-pb2pfffb.js → app-e5gw6wwr.js} +10 -10
  134. package/dist/chunks/{model-resolver-e834z07m.js → app-e834z07m.js} +1 -1
  135. package/dist/chunks/{model-resolver-g1e2r5aa.js → app-e8pm465n.js} +4 -4
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-fvyt5ase.js → app-efn85jpf.js} +3 -3
  138. package/dist/chunks/{model-resolver-7v23t0sn.js → app-eg9pfg6h.js} +5 -5
  139. package/dist/chunks/{model-resolver-qecz1syp.js → app-etcq3wj6.js} +91 -91
  140. package/dist/chunks/{model-resolver-dy9wt3zt.js → app-eth5ae7t.js} +69 -69
  141. package/dist/chunks/{model-resolver-bh1et42v.js → app-f0qp72je.js} +6 -6
  142. package/dist/chunks/{model-resolver-42pj4rzv.js → app-f7kfhre8.js} +28 -28
  143. package/dist/chunks/{model-resolver-8eay0v1g.js → app-fc895th3.js} +11 -11
  144. package/dist/chunks/{model-resolver-fffv3p7h.js → app-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{model-resolver-7p0hmyjt.js → app-fh92gkhk.js} +7 -7
  146. package/dist/chunks/{model-resolver-pkam9c76.js → app-fhh94x7z.js} +11 -11
  147. package/dist/chunks/{model-resolver-wekz2jy3.js → app-fr73gbb1.js} +13 -13
  148. package/dist/chunks/{model-resolver-hqr24qw0.js → app-g49wnabm.js} +5 -5
  149. package/dist/chunks/{model-resolver-g5h9c0rr.js → app-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{model-resolver-cex2vn28.js → app-ge9weg3j.js} +18 -18
  151. package/dist/chunks/{model-resolver-9ygq16qa.js → app-grvayz05.js} +28 -28
  152. package/dist/chunks/{model-resolver-k9drn87y.js → app-gy26d4cp.js} +24 -24
  153. package/dist/chunks/{model-resolver-4c6mfys4.js → app-h7rgkctr.js} +1 -1
  154. package/dist/chunks/{model-resolver-7454dw3e.js → app-hfrd5zd9.js} +11 -11
  155. package/dist/chunks/{model-resolver-yh0hw7we.js → app-hh1m5t0r.js} +10 -10
  156. package/dist/chunks/{model-resolver-zmwx25fz.js → app-hhafapa0.js} +2 -2
  157. package/dist/chunks/{model-resolver-m4cw13px.js → app-hne7gxgz.js} +28 -28
  158. package/dist/chunks/{model-resolver-dnenxkzx.js → app-htx6nhp5.js} +7 -7
  159. package/dist/chunks/{model-resolver-j113cymg.js → app-j113cymg.js} +1 -1
  160. package/dist/chunks/{model-resolver-vxxaf4jx.js → app-jae53m2x.js} +11 -11
  161. package/dist/chunks/{model-resolver-dx6zzgj2.js → app-jcgydn6h.js} +24 -24
  162. package/dist/chunks/{model-resolver-jcqm84fr.js → app-jcqm84fr.js} +2 -2
  163. package/dist/chunks/{model-resolver-xr3sacq2.js → app-jes3kmg5.js} +34 -34
  164. package/dist/chunks/{model-resolver-gcw2976b.js → app-jfpsek1t.js} +20 -20
  165. package/dist/chunks/{model-resolver-e5dqjz6v.js → app-jneg3k74.js} +4 -4
  166. package/dist/chunks/{model-resolver-08ftexb4.js → app-jsxsss6h.js} +19 -19
  167. package/dist/chunks/{model-resolver-z3ac7gyp.js → app-jth5b7nb.js} +21 -21
  168. package/dist/chunks/{model-resolver-361xprba.js → app-k1r9t87x.js} +14 -14
  169. package/dist/chunks/{model-resolver-j9hjqqep.js → app-k56nbahk.js} +32 -32
  170. package/dist/chunks/{model-resolver-1dpax7s7.js → app-k5y4r48d.js} +34 -34
  171. package/dist/chunks/{model-resolver-vsgt0m8t.js → app-k60vrjeg.js} +6 -6
  172. package/dist/chunks/{model-resolver-k814nvkf.js → app-k814nvkf.js} +1 -1
  173. package/dist/chunks/{model-resolver-817tby3n.js → app-k9b5863x.js} +6 -6
  174. package/dist/chunks/{model-resolver-0rq01gt9.js → app-kbmq0v6f.js} +5 -5
  175. package/dist/chunks/{model-resolver-p0tsr9h6.js → app-kd4chd64.js} +7 -7
  176. package/dist/chunks/{model-resolver-f6j7cyhq.js → app-kjwktd7k.js} +21 -21
  177. package/dist/chunks/{model-resolver-5brge8v8.js → app-kjzcdnr5.js} +51 -51
  178. package/dist/chunks/{model-resolver-bbv4y6ft.js → app-kkxbngda.js} +23 -23
  179. package/dist/chunks/{model-resolver-ehfx068x.js → app-kqxxwkn3.js} +17 -17
  180. package/dist/chunks/{model-resolver-m1714858.js → app-m1714858.js} +1 -1
  181. package/dist/chunks/{model-resolver-g7esga4v.js → app-m37sd98t.js} +7 -7
  182. package/dist/chunks/{model-resolver-dr3grpx5.js → app-m4m284hh.js} +15 -15
  183. package/dist/chunks/{model-resolver-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{model-resolver-maspj1v3.js → app-maspj1v3.js} +1 -1
  185. package/dist/chunks/{model-resolver-me5bcav6.js → app-me5bcav6.js} +1 -1
  186. package/dist/chunks/{model-resolver-k2x2dsy8.js → app-mfkqmekj.js} +9 -9
  187. package/dist/chunks/{model-resolver-n0p0277s.js → app-n0p0277s.js} +1 -1
  188. package/dist/chunks/{model-resolver-4kxf6a3x.js → app-n5cwa87a.js} +30 -30
  189. package/dist/chunks/{model-resolver-770pw0s1.js → app-nah043kf.js} +4 -4
  190. package/dist/chunks/{model-resolver-parpa42j.js → app-ne4y78rw.js} +2 -2
  191. package/dist/chunks/{model-resolver-xf4p2pg0.js → app-nh8v8ke6.js} +21 -21
  192. package/dist/chunks/{model-resolver-zrbv4gdq.js → app-nwr7kgq9.js} +19 -19
  193. package/dist/chunks/{model-resolver-p015t6z3.js → app-p015t6z3.js} +2 -2
  194. package/dist/chunks/{model-resolver-vnfvdagd.js → app-p0y2phsj.js} +35 -35
  195. package/dist/chunks/{model-resolver-1mznh3r2.js → app-p814keat.js} +31 -31
  196. package/dist/chunks/{model-resolver-gj8x1tda.js → app-pacbbjc0.js} +5 -5
  197. package/dist/chunks/{model-resolver-pknna89w.js → app-pknna89w.js} +1 -1
  198. package/dist/chunks/{model-resolver-zp466xy7.js → app-pvn5ra1s.js} +10 -10
  199. package/dist/chunks/{model-resolver-3tvx83bq.js → app-pwq9efzz.js} +29 -29
  200. package/dist/chunks/{model-resolver-tn41ynre.js → app-pyp72qgk.js} +18 -18
  201. package/dist/chunks/{model-resolver-a0v55zen.js → app-q1sfq5ar.js} +28 -28
  202. package/dist/chunks/{model-resolver-0421tmwc.js → app-q46y00v4.js} +9 -9
  203. package/dist/chunks/{model-resolver-ypwr9vv7.js → app-q67e8ksv.js} +48 -48
  204. package/dist/chunks/{model-resolver-y8mr6xph.js → app-q732j4yv.js} +14 -14
  205. package/dist/chunks/app-qagaq7sy.js +26 -0
  206. package/dist/chunks/{model-resolver-maxw8zgf.js → app-qrn4wzgg.js} +22 -22
  207. package/dist/chunks/{model-resolver-fxhha7v6.js → app-qtz1mk7q.js} +11 -11
  208. package/dist/chunks/{model-resolver-r0yr0wbs.js → app-r0yr0wbs.js} +1 -1
  209. package/dist/chunks/{model-resolver-0jqtqcam.js → app-r6kz875z.js} +13 -13
  210. package/dist/chunks/{model-resolver-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
  211. package/dist/chunks/{model-resolver-cbeaw478.js → app-rdwyycgw.js} +14 -14
  212. package/dist/chunks/{model-resolver-tm49z4r5.js → app-rmnrnby4.js} +39 -39
  213. package/dist/chunks/{model-resolver-s8pwnmrf.js → app-rsd1vv3y.js} +39 -39
  214. package/dist/chunks/{model-resolver-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
  215. package/dist/chunks/{model-resolver-tvxppb48.js → app-s170k3xw.js} +27 -27
  216. package/dist/chunks/{model-resolver-zsw153cf.js → app-s8vp3f5v.js} +17 -17
  217. package/dist/chunks/{model-resolver-sq4s6wq1.js → app-sbegqkxp.js} +6 -6
  218. package/dist/chunks/{model-resolver-zgy84aax.js → app-sft389ej.js} +20 -20
  219. package/dist/chunks/{model-resolver-kmjzn6q1.js → app-snvvzbj8.js} +49 -49
  220. package/dist/chunks/{model-resolver-frxcbkbz.js → app-sp9905ca.js} +27 -27
  221. package/dist/chunks/{model-resolver-sqjzf8x2.js → app-sqjzf8x2.js} +1 -1
  222. package/dist/chunks/{model-resolver-2yjk1ef9.js → app-sr3t0mwa.js} +18 -18
  223. package/dist/chunks/{model-resolver-3f2dq5js.js → app-ssr08r1k.js} +36 -36
  224. package/dist/chunks/{model-resolver-362tp65q.js → app-svw9b4tv.js} +8 -8
  225. package/dist/chunks/{model-resolver-6xqtcmxs.js → app-szcgc7h4.js} +5 -5
  226. package/dist/chunks/{model-resolver-dp37p1r3.js → app-t8fe48pd.js} +1 -1
  227. package/dist/chunks/{model-resolver-tasvem1v.js → app-tasvem1v.js} +3 -3
  228. package/dist/chunks/{model-resolver-tczq8hjw.js → app-tczq8hjw.js} +1 -1
  229. package/dist/chunks/{model-resolver-dqgvvwe0.js → app-tkmwn4n3.js} +5 -5
  230. package/dist/chunks/{model-resolver-3nnrz6f6.js → app-tmc7xdjs.js} +4 -4
  231. package/dist/chunks/{model-resolver-rg8m9xd0.js → app-ttpcrarc.js} +16 -16
  232. package/dist/chunks/{model-resolver-tw8zr1ps.js → app-tw8zr1ps.js} +1 -1
  233. package/dist/chunks/{model-resolver-twv2r8f4.js → app-twv2r8f4.js} +2 -2
  234. package/dist/chunks/{model-resolver-asaqahta.js → app-v5gy4fh6.js} +8 -8
  235. package/dist/chunks/{model-resolver-66rk6f56.js → app-v5prxdmf.js} +9 -9
  236. package/dist/chunks/{model-resolver-vywmmb7d.js → app-va59929a.js} +24 -24
  237. package/dist/chunks/{model-resolver-vd3b3yk9.js → app-vd3b3yk9.js} +1 -1
  238. package/dist/chunks/{model-resolver-w5zwfkq2.js → app-vdcfetgk.js} +47 -47
  239. package/dist/chunks/{model-resolver-veqvce7d.js → app-veqvce7d.js} +1 -1
  240. package/dist/chunks/{model-resolver-nwnd66fk.js → app-vgx47e1e.js} +3 -3
  241. package/dist/chunks/{model-resolver-h7r3kzq2.js → app-vkqjcjxb.js} +51 -51
  242. package/dist/chunks/{model-resolver-8h5ae6e1.js → app-vrh99vxp.js} +5 -5
  243. package/dist/chunks/{model-resolver-9afz5xhg.js → app-w1tf2vhf.js} +27 -27
  244. package/dist/chunks/{model-resolver-40za9wsf.js → app-w2eysc6j.js} +9 -9
  245. package/dist/chunks/{model-resolver-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{model-resolver-w687dnns.js → app-w687dnns.js} +1 -1
  247. package/dist/chunks/{model-resolver-wakvkjy4.js → app-wakvkjy4.js} +1 -1
  248. package/dist/chunks/{model-resolver-wd87259q.js → app-wd87259q.js} +1 -1
  249. package/dist/chunks/{model-resolver-z8zh1sht.js → app-wephwg65.js} +23 -23
  250. package/dist/chunks/{model-resolver-bgqkkabj.js → app-wf9nn3bs.js} +11 -11
  251. package/dist/chunks/{model-resolver-5ttwsr6z.js → app-wfvde9ev.js} +6 -6
  252. package/dist/chunks/{model-resolver-2jk202a8.js → app-whb6jbxc.js} +37 -37
  253. package/dist/chunks/{model-resolver-jdgy95a6.js → app-wjdw9j8d.js} +4 -4
  254. package/dist/chunks/{model-resolver-t9pmjw8g.js → app-wr9nceen.js} +9 -9
  255. package/dist/chunks/{model-resolver-mhs2q8b0.js → app-wrh8ttgh.js} +38 -38
  256. package/dist/chunks/{model-resolver-cf9s935f.js → app-wsxy8nck.js} +40 -40
  257. package/dist/chunks/{model-resolver-b7gsrj05.js → app-x62jdknq.js} +14 -14
  258. package/dist/chunks/{model-resolver-c7pkf0mg.js → app-xdts610a.js} +38 -38
  259. package/dist/chunks/{model-resolver-w26t1m11.js → app-xjcvkgq2.js} +11 -11
  260. package/dist/chunks/{model-resolver-1sdsfpt0.js → app-xkeb9rs5.js} +36 -36
  261. package/dist/chunks/{model-resolver-ad0b5xxd.js → app-xn9prk0h.js} +12 -12
  262. package/dist/chunks/{model-resolver-d9jnkx5k.js → app-xngx3rps.js} +5 -5
  263. package/dist/chunks/{model-resolver-nbz0maqw.js → app-xnwj5rqb.js} +23 -23
  264. package/dist/chunks/{model-resolver-f6mq62gx.js → app-xp3f508c.js} +13 -13
  265. package/dist/chunks/{model-resolver-9tj4b67g.js → app-xs6ta2mn.js} +13 -13
  266. package/dist/chunks/{model-resolver-q1fncbax.js → app-xthgq65r.js} +5 -5
  267. package/dist/chunks/{model-resolver-xaqh7jtr.js → app-y4pjxpxm.js} +27 -27
  268. package/dist/chunks/{model-resolver-an85mpdk.js → app-y8t6cpt7.js} +12 -12
  269. package/dist/chunks/{model-resolver-yb20nhc3.js → app-yb20nhc3.js} +1 -1
  270. package/dist/chunks/{model-resolver-kmzgegqq.js → app-ydsespw1.js} +8 -8
  271. package/dist/chunks/{model-resolver-bnjwp1w3.js → app-yhn0a50f.js} +24 -24
  272. package/dist/chunks/{model-resolver-hs0nkh4s.js → app-ym0en988.js} +15 -15
  273. package/dist/chunks/{model-resolver-y9w21xdh.js → app-yt57kqfa.js} +9 -9
  274. package/dist/chunks/{model-resolver-3j7gb19e.js → app-ywgha77a.js} +18 -18
  275. package/dist/chunks/{model-resolver-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{model-resolver-z38nccrw.js → app-z38nccrw.js} +1 -1
  277. package/dist/chunks/{model-resolver-tyxn5m2z.js → app-z5ch3v5q.js} +4 -4
  278. package/dist/chunks/{model-resolver-7vwgx2kr.js → app-z6fsbrec.js} +3 -3
  279. package/dist/chunks/{model-resolver-v7vzjxxh.js → app-z72fs3kr.js} +29 -29
  280. package/dist/chunks/{model-resolver-zba5tm1j.js → app-zba5tm1j.js} +1 -1
  281. package/dist/chunks/{model-resolver-7wxq9ndj.js → app-zdesn8ss.js} +22 -22
  282. package/dist/chunks/{model-resolver-57y02hse.js → app-zfwbmsyg.js} +12 -12
  283. package/dist/chunks/{model-resolver-fe8knzhs.js → app-zkepmczw.js} +1 -1
  284. package/dist/chunks/{model-resolver-zkg84ctx.js → app-zkg84ctx.js} +1 -1
  285. package/dist/chunks/{model-resolver-tetf7hhs.js → app-zm3cpays.js} +14 -14
  286. package/dist/chunks/{model-resolver-d6dkcx5p.js → app-zs5g0jnr.js} +8 -8
  287. package/dist/chunks/{model-resolver-5defca7t.js → app-zxac9sqa.js} +33 -33
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +83 -83
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +3 -3
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +115 -115
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +123 -123
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +227 -227
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +164 -164
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +91 -91
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +166 -166
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +220 -220
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +116 -116
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/model-resolver-0207mz92.js +0 -523
  690. package/dist/chunks/model-resolver-2vwdzrer.js +0 -26
  691. package/dist/chunks/model-resolver-53mdf58s.js +0 -257
  692. package/dist/chunks/model-resolver-grzehpz7.js +0 -18
  693. /package/dist/chunks/{model-resolver-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{model-resolver-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{model-resolver-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{model-resolver-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{model-resolver-24dcb14g.js → app-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2710q6r3.js → app-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{model-resolver-2bv980vf.js → app-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{model-resolver-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{model-resolver-359p4xyc.js → app-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3asan66x.js → app-3asan66x.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{model-resolver-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-resolver-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-resolver-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-resolver-53557ph1.js → app-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-resolver-550bvhaj.js → app-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-resolver-5fjb7ams.js → app-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{model-resolver-6prwharc.js → app-6prwharc.js} +0 -0
  713. /package/dist/chunks/{model-resolver-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{model-resolver-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{model-resolver-7m9af43g.js → app-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{model-resolver-822emrt2.js → app-822emrt2.js} +0 -0
  717. /package/dist/chunks/{model-resolver-84wd9syh.js → app-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{model-resolver-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{model-resolver-8n3pysct.js → app-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{model-resolver-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{model-resolver-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{model-resolver-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{model-resolver-a058387c.js → app-a058387c.js} +0 -0
  724. /package/dist/chunks/{model-resolver-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{model-resolver-af5trqkr.js → app-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{model-resolver-afrmfg78.js → app-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{model-resolver-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{model-resolver-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{model-resolver-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{model-resolver-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9fn303g.js → app-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{model-resolver-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dajrwvna.js → app-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{model-resolver-dap0rakb.js → app-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{model-resolver-df08tz66.js → app-df08tz66.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dy18nga0.js → app-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{model-resolver-ec1grn59.js → app-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{model-resolver-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{model-resolver-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{model-resolver-faypxj3z.js → app-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{model-resolver-fd410y7t.js → app-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{model-resolver-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{model-resolver-g86h250q.js → app-g86h250q.js} +0 -0
  750. /package/dist/chunks/{model-resolver-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{model-resolver-gftt206x.js → app-gftt206x.js} +0 -0
  752. /package/dist/chunks/{model-resolver-hcxmzztb.js → app-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{model-resolver-hk9envan.js → app-hk9envan.js} +0 -0
  754. /package/dist/chunks/{model-resolver-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{model-resolver-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jze0r7bz.js → app-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{model-resolver-m18g726c.js → app-m18g726c.js} +0 -0
  762. /package/dist/chunks/{model-resolver-mp448xyj.js → app-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{model-resolver-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{model-resolver-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{model-resolver-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{model-resolver-njntx4h6.js → app-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{model-resolver-q74kybfr.js → app-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{model-resolver-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{model-resolver-ve7vex1e.js → app-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{model-resolver-w803qqfp.js → app-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{model-resolver-wjj7prxr.js → app-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{model-resolver-wtztk69x.js → app-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{model-resolver-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{model-resolver-x61499pn.js → app-x61499pn.js} +0 -0
  786. /package/dist/chunks/{model-resolver-y44na4kk.js → app-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{model-resolver-y8f7s663.js → app-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{model-resolver-ym463w8f.js → app-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{model-resolver-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{model-resolver-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,25 +1,25 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./model-resolver-ad0b5xxd.js";
5
1
  import {
6
2
  Service85,
7
3
  node89
8
- } from "./model-resolver-xezg9szt.js";
4
+ } from "./app-xn9prk0h.js";
5
+ import {
6
+ Service65,
7
+ node68
8
+ } from "./app-4pxwt4n4.js";
9
9
  import {
10
10
  create3
11
- } from "./model-resolver-vd3b3yk9.js";
11
+ } from "./app-vd3b3yk9.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
21
- ID: () => ID3,
22
- Input: () => Input14,
20
+ Event: () => Event8,
21
+ ID: () => ID5,
22
+ Input: () => Input15,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service16,
31
+ Service: () => Service54,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node19
33
+ node: () => node57
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID3 = WebSearch.ID;
40
+ import { Event as Event8 } from "@opencode/schema/websearch";
41
+ var ID5 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input15 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID3
53
+ providerID: ID5
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID3,
61
+ providerID: ID5,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service16 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service54 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service16, Effect.gen(function* () {
69
- const bus = yield* Service84;
70
- const kv = yield* Service85;
68
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
69
+ const bus = yield* Service85;
70
+ const kv = yield* Service65;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service16.of({
127
+ return Service54.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node19 = makeLocationNode({
188
- service: Service16,
187
+ var node57 = makeLocationNode({
188
+ service: Service54,
189
189
  layer,
190
- deps: [node88, node89]
190
+ deps: [node89, node68]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service16, node19, exports_websearch3, Event5 };
193
+ export { ID5, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service54, node57, exports_websearch3, Event8 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./model-resolver-w35wzz9x.js";
6
+ } from "./app-173t91w5.js";
7
+ import {
8
+ Info12
9
+ } from "./app-jae53m2x.js";
7
10
  import {
8
11
  Info15
9
- } from "./model-resolver-vxxaf4jx.js";
12
+ } from "./app-kd4chd64.js";
10
13
  import {
11
14
  Info14
12
- } from "./model-resolver-p0tsr9h6.js";
13
- import {
14
- Info16
15
- } from "./model-resolver-gj8x1tda.js";
15
+ } from "./app-pacbbjc0.js";
16
16
  import {
17
17
  Spec2
18
- } from "./model-resolver-p7vhpwh8.js";
18
+ } from "./app-1yq9hg58.js";
19
19
  import {
20
- Info18
21
- } from "./model-resolver-6xqtcmxs.js";
20
+ Info13
21
+ } from "./app-szcgc7h4.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,10 +28,10 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./model-resolver-evdtckst.js";
31
+ } from "./app-1jtf53by.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./app-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -98,12 +98,12 @@ function normalize2(input) {
98
98
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
99
99
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
100
100
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
101
- const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
102
102
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info16, value, path, diagnostics);
222
+ const server = decodeValue(Info14, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -435,7 +435,7 @@ function migrateProviders(value, diagnostics) {
435
435
  diagnoseProviderUnsupported(raw, path, diagnostics);
436
436
  if (invalidProviderOverlays(raw, path, diagnostics))
437
437
  return [];
438
- const provider = decodeValue(Info18, raw, path, diagnostics);
438
+ const provider = decodeValue(Info13, raw, path, diagnostics);
439
439
  if (provider === undefined)
440
440
  return [];
441
441
  const destination = providerID2(name);
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service47,
10
- node: () => node49
9
+ Service: () => Service41,
10
+ node: () => node43
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service47 extends Context.Service()("@opencode/Instance") {
16
+ class Service41 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node49 = LayerNode.unbound(Service47, Node.tags.values.global);
18
+ var node43 = LayerNode.unbound(Service41, Node.tags.values.global);
19
19
 
20
- export { Service47, node49, exports_service2 };
20
+ export { Service41, node43, exports_service2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-resolver-88xbtdfr.js";
3
+ } from "./app-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./model-resolver-e3qxr5gk.js";
5
+ load4
6
+ } from "./app-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service69,
15
+ Service: () => Service63,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured9,
18
+ configured: () => configured10,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer26,
20
+ layer: () => layer23,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node72,
22
+ node: () => node66,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load5());
34
+ return createWrapper(load4());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service69 extends Context.Service()("@opencode/Watcher") {
52
+ class Service63 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer26 = (options) => Layer.effect(Service69, Effect.gen(function* () {
57
+ var layer23 = (options) => Layer.effect(Service63, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service69, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service69.of({ subscribe });
100
+ return Service63.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service69).subscribe,
126
+ subscribe: Context.get(context, Service63).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured9(options) {
160
- return makeGlobalNode({ service: Service69, layer: layer26(options), deps: [nativeNode] });
159
+ function configured10(options) {
160
+ return makeGlobalNode({ service: Service63, layer: layer23(options), deps: [nativeNode] });
161
161
  }
162
- var node72 = configured9();
162
+ var node66 = configured10();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service69, Test3, layer26, testLayer3, nativeLayer2, configured9, node72, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service63, Test3, layer23, testLayer3, nativeLayer2, configured10, node66, exports_watcher };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-resolver-ad0b5xxd.js";
2
+ Service85,
3
+ node89
4
+ } from "./app-xn9prk0h.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./model-resolver-qc854yns.js";
6
+ Service81,
7
+ node85
8
+ } from "./app-3yme8bqy.js";
9
9
  import {
10
- Service78,
11
- node81
12
- } from "./model-resolver-bnjwp1w3.js";
10
+ Service49,
11
+ node51
12
+ } from "./app-yhn0a50f.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./model-resolver-tczq8hjw.js";
15
+ } from "./app-tczq8hjw.js";
16
16
  import {
17
- Service71,
17
+ Service59,
18
18
  args2,
19
- node74
20
- } from "./model-resolver-zrbv4gdq.js";
19
+ node62
20
+ } from "./app-nwr7kgq9.js";
21
21
  import {
22
22
  Service73,
23
- node76
24
- } from "./model-resolver-cs87y13h.js";
23
+ node77
24
+ } from "./app-31wms35x.js";
25
25
  import {
26
- Service67,
27
- node70
28
- } from "./model-resolver-bm4gstpq.js";
26
+ Service43,
27
+ node45
28
+ } from "./app-00zh2tpm.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./model-resolver-my4zabxr.js";
31
+ } from "./app-arz7hw7x.js";
32
32
  import {
33
33
  latest2,
34
- Service68,
35
- node71
36
- } from "./model-resolver-w5zwfkq2.js";
34
+ Service62,
35
+ node65
36
+ } from "./app-vdcfetgk.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./model-resolver-w26t1m11.js";
40
+ } from "./app-xjcvkgq2.js";
41
41
  import {
42
42
  __export
43
- } from "./model-resolver-9rqn6x4v.js";
43
+ } from "./app-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError10,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service66,
51
+ Service: () => Service42,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node69
54
+ node: () => node44
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service66 extends Context.Service()("@opencode/Shell") {
74
+ class Service42 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service66, Effect.gen(function* () {
91
- const bus = yield* Service84;
92
- const location = yield* Service80;
90
+ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
91
+ const bus = yield* Service85;
92
+ const location = yield* Service81;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service71;
95
- const environment = yield* Service78;
94
+ const shell = yield* Service59;
95
+ const environment = yield* Service49;
96
96
  const hooks = yield* Service73;
97
- const environments = yield* Service67;
98
- const config = yield* Service68;
97
+ const environments = yield* Service43;
98
+ const config = yield* Service62;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service66, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError10({ id });
119
+ return yield* new NotFoundError4({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service66, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError10({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service66, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service66.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service42.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node69 = makeLocationNode({
342
- service: Service66,
341
+ var node44 = makeLocationNode({
342
+ service: Service42,
343
343
  layer: layer(),
344
344
  deps: [
345
- node88,
346
- node84,
345
+ node89,
346
+ node85,
347
347
  Global.node,
348
- node74,
349
- node81,
350
- node76,
351
- node70,
352
- node71,
348
+ node62,
349
+ node51,
350
+ node77,
351
+ node45,
352
+ node65,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError10, RETENTION2, DIRECTORY2, Service66, cleanup2, node69, exports_shell4 };
357
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service42, cleanup2, node44, exports_shell4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-resolver-ad0b5xxd.js";
2
+ Service85,
3
+ node89
4
+ } from "./app-xn9prk0h.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./app-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info29,
19
+ ID: () => ID15,
20
+ Info: () => Info24,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError12,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service83,
25
+ Service: () => Service79,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node87,
28
+ layer: () => layer26,
29
+ node: () => node83,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info24 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service83 extends Context.Service()("@opencode/Form") {
82
+ class Service79 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service83, Effect.gen(function* () {
85
- const bus = yield* Service84;
84
+ var layer26 = Layer.effect(Service79, Effect.gen(function* () {
85
+ const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service83, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service83.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service79.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node87 = makeLocationNode({ service: Service83, layer: layer27, deps: [node88] });
167
+ var node83 = makeLocationNode({ service: Service79, layer: layer26, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service83, layer27, node87, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID15, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer26, node83, validateAnswer2, validateFields2, exports_form, Event17 };