@opencode/core 0.0.0-dev-20968 → 0.0.0-dev-20969

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{location-service-map-c87q280n.js → filesystem-03apfjcg.js} +3 -3
  8. package/dist/chunks/{location-service-map-453vx0dg.js → filesystem-04rd1xjf.js} +38 -38
  9. package/dist/chunks/{location-service-map-6xc75jjq.js → filesystem-04z81fpd.js} +44 -44
  10. package/dist/chunks/{location-service-map-dkpnw212.js → filesystem-06d3crh0.js} +8 -8
  11. package/dist/chunks/{location-service-map-6bkr64fg.js → filesystem-088y8j6m.js} +6 -6
  12. package/dist/chunks/{location-service-map-gabsh7yw.js → filesystem-0amcbn5s.js} +13 -13
  13. package/dist/chunks/{location-service-map-v0es1rhs.js → filesystem-0bg0bx69.js} +5 -5
  14. package/dist/chunks/{location-service-map-95kyz0q3.js → filesystem-0j8yhgsx.js} +6 -6
  15. package/dist/chunks/{location-service-map-2k8khapm.js → filesystem-0jwsre1p.js} +5 -5
  16. package/dist/chunks/{location-service-map-q85n4xbh.js → filesystem-0nb2yaj7.js} +9 -9
  17. package/dist/chunks/{location-service-map-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{location-service-map-6kpyj4fb.js → filesystem-17vn99m1.js} +11 -11
  19. package/dist/chunks/{location-service-map-mh8n60fa.js → filesystem-1d99jg21.js} +55 -55
  20. package/dist/chunks/{location-service-map-bjx1sjef.js → filesystem-1ffvrpkg.js} +6 -6
  21. package/dist/chunks/{location-service-map-a41h3yhs.js → filesystem-1vvyf17e.js} +26 -26
  22. package/dist/chunks/filesystem-1x11rq2a.js +18 -0
  23. package/dist/chunks/{location-service-map-najnejyn.js → filesystem-2ayk62t9.js} +21 -21
  24. package/dist/chunks/{location-service-map-1hyeesvh.js → filesystem-2f41x624.js} +21 -21
  25. package/dist/chunks/{location-service-map-y4a0ptp4.js → filesystem-2jysb6nv.js} +5 -5
  26. package/dist/chunks/{location-service-map-zt28r1k4.js → filesystem-2mvwd2j5.js} +25 -25
  27. package/dist/chunks/{location-service-map-05hkmm44.js → filesystem-2tz6nn1d.js} +18 -18
  28. package/dist/chunks/{location-service-map-qavnhd3j.js → filesystem-33xa9rtw.js} +33 -33
  29. package/dist/chunks/{location-service-map-1xjc3krj.js → filesystem-35hq6fdz.js} +5 -5
  30. package/dist/chunks/{location-service-map-jvnghvnw.js → filesystem-37ea9c2d.js} +8 -8
  31. package/dist/chunks/{location-service-map-v2fstvx9.js → filesystem-38xz3wm4.js} +33 -33
  32. package/dist/chunks/{location-service-map-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{location-service-map-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{location-service-map-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{location-service-map-bpq9gadp.js → filesystem-3jvm98xe.js} +14 -14
  36. package/dist/chunks/{location-service-map-9tr2qfdk.js → filesystem-3n46ts9y.js} +9 -9
  37. package/dist/chunks/{location-service-map-kdxh9szv.js → filesystem-3q1fa1xg.js} +11 -11
  38. package/dist/chunks/{location-service-map-t89fqycx.js → filesystem-3rtxz4nr.js} +8 -8
  39. package/dist/chunks/{location-service-map-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{location-service-map-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{location-service-map-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{location-service-map-07w9enf1.js → filesystem-4052cchc.js} +14 -14
  43. package/dist/chunks/{location-service-map-sfz6vzg3.js → filesystem-42vvks9a.js} +13 -13
  44. package/dist/chunks/{location-service-map-ayt5007s.js → filesystem-45m3bn54.js} +4 -4
  45. package/dist/chunks/{location-service-map-ttbvdjdw.js → filesystem-479xfgw2.js} +22 -22
  46. package/dist/chunks/{location-service-map-j8ssv6es.js → filesystem-47f1pje9.js} +11 -11
  47. package/dist/chunks/{location-service-map-51f5btjf.js → filesystem-4mwpykj0.js} +6 -6
  48. package/dist/chunks/{location-service-map-jeewe651.js → filesystem-4n895ea0.js} +4 -4
  49. package/dist/chunks/{location-service-map-5e6vztpv.js → filesystem-4r3st4w3.js} +18 -18
  50. package/dist/chunks/{location-service-map-5jvy51wy.js → filesystem-50tcwssc.js} +1 -1
  51. package/dist/chunks/{location-service-map-0b5g1ynf.js → filesystem-51tqp85b.js} +4 -4
  52. package/dist/chunks/{location-service-map-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
  53. package/dist/chunks/{location-service-map-ej81gkeg.js → filesystem-54t2qdpv.js} +11 -11
  54. package/dist/chunks/{location-service-map-f50nbvzh.js → filesystem-57m3nn06.js} +50 -50
  55. package/dist/chunks/{location-service-map-dzrvr4nb.js → filesystem-5bbq7g0g.js} +46 -46
  56. package/dist/chunks/{location-service-map-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{location-service-map-ktgr00t7.js → filesystem-5pyjqqve.js} +2 -2
  58. package/dist/chunks/{location-service-map-e3qxr5gk.js → filesystem-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{location-service-map-b7hvd3bh.js → filesystem-6gw469qx.js} +11 -11
  60. package/dist/chunks/{location-service-map-zmr78fwr.js → filesystem-6kzp9tjq.js} +5 -5
  61. package/dist/chunks/{location-service-map-8sze2n9a.js → filesystem-6pc27hjz.js} +2 -2
  62. package/dist/chunks/{location-service-map-4v7ngy20.js → filesystem-6rm5yzkt.js} +4 -4
  63. package/dist/chunks/{location-service-map-t7n4d1yf.js → filesystem-6vt1d4a8.js} +12 -12
  64. package/dist/chunks/{location-service-map-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{location-service-map-8cxvr4t8.js → filesystem-6zwe5z01.js} +47 -47
  66. package/dist/chunks/{location-service-map-d04ep358.js → filesystem-72rw85ce.js} +11 -11
  67. package/dist/chunks/{location-service-map-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
  68. package/dist/chunks/{location-service-map-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{location-service-map-mdmc61fe.js → filesystem-7nes44hp.js} +4 -4
  70. package/dist/chunks/{location-service-map-w75czvp0.js → filesystem-7pqqbnk7.js} +5 -5
  71. package/dist/chunks/{location-service-map-190mk5vc.js → filesystem-7q7p1rgy.js} +13 -13
  72. package/dist/chunks/{location-service-map-gv2dj64n.js → filesystem-7qw3bype.js} +5 -5
  73. package/dist/chunks/{location-service-map-2gw07b48.js → filesystem-7x6mdxf8.js} +23 -23
  74. package/dist/chunks/{location-service-map-ykdkqy2w.js → filesystem-7ye1622v.js} +24 -24
  75. package/dist/chunks/{location-service-map-vycw7md4.js → filesystem-80scg3y3.js} +4 -4
  76. package/dist/chunks/{location-service-map-svcw9x3w.js → filesystem-88hkx883.js} +12 -12
  77. package/dist/chunks/{location-service-map-eb5nwvjj.js → filesystem-891td7wt.js} +31 -31
  78. package/dist/chunks/{location-service-map-89znhe33.js → filesystem-89znhe33.js} +1 -1
  79. package/dist/chunks/{location-service-map-s90bytks.js → filesystem-8gk143f9.js} +15 -15
  80. package/dist/chunks/{location-service-map-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{location-service-map-vdcsbfm7.js → filesystem-8rpbtay5.js} +7 -7
  82. package/dist/chunks/{location-service-map-nqsv03v6.js → filesystem-9018w457.js} +83 -83
  83. package/dist/chunks/{location-service-map-x94bbvss.js → filesystem-90vpw73y.js} +4 -4
  84. package/dist/chunks/{location-service-map-rht436q7.js → filesystem-929jc9q6.js} +15 -15
  85. package/dist/chunks/{location-service-map-wnsxc07p.js → filesystem-93ea1xn4.js} +25 -25
  86. package/dist/chunks/{location-service-map-kxssyy3x.js → filesystem-96q3gpsm.js} +35 -35
  87. package/dist/chunks/{location-service-map-1j6m29mr.js → filesystem-97aeaand.js} +9 -9
  88. package/dist/chunks/{location-service-map-605e1jbp.js → filesystem-98zt1fkg.js} +8 -8
  89. package/dist/chunks/{location-service-map-6mdwj01c.js → filesystem-9e6tnrqh.js} +11 -11
  90. package/dist/chunks/{location-service-map-pck7vvdx.js → filesystem-9h22qa0h.js} +8 -8
  91. package/dist/chunks/{location-service-map-9d2vkprr.js → filesystem-9zsn4ryv.js} +11 -11
  92. package/dist/chunks/{location-service-map-5pyvwtgy.js → filesystem-a78w3xhb.js} +18 -18
  93. package/dist/chunks/{location-service-map-rfnwmvtk.js → filesystem-a7jeddqa.js} +11 -11
  94. package/dist/chunks/{location-service-map-17t4d4av.js → filesystem-a7tjv382.js} +15 -15
  95. package/dist/chunks/{location-service-map-x661k3y3.js → filesystem-addxnjmp.js} +4 -4
  96. package/dist/chunks/{location-service-map-x5wrmng7.js → filesystem-am6f2qjv.js} +11 -11
  97. package/dist/chunks/{location-service-map-k6709ays.js → filesystem-anq8x8fx.js} +19 -19
  98. package/dist/chunks/{location-service-map-t4jzmwkk.js → filesystem-ash8wba5.js} +7 -7
  99. package/dist/chunks/{location-service-map-qyvjbqsg.js → filesystem-ast615dg.js} +22 -22
  100. package/dist/chunks/{location-service-map-gk6ab8mf.js → filesystem-axz3bbsr.js} +15 -15
  101. package/dist/chunks/{location-service-map-qb7q1f1d.js → filesystem-azpq3pjs.js} +18 -18
  102. package/dist/chunks/{location-service-map-j5chjq9f.js → filesystem-b55f9bw7.js} +11 -11
  103. package/dist/chunks/{location-service-map-erts2f6e.js → filesystem-b72x306p.js} +13 -13
  104. package/dist/chunks/{location-service-map-yhebgegd.js → filesystem-b7e4t0g9.js} +22 -22
  105. package/dist/chunks/{location-service-map-q4aap459.js → filesystem-b802xj85.js} +27 -27
  106. package/dist/chunks/{location-service-map-vxznmwbn.js → filesystem-b9fxgaae.js} +11 -11
  107. package/dist/chunks/{location-service-map-a62egxb3.js → filesystem-bjahvz15.js} +5 -5
  108. package/dist/chunks/{location-service-map-thf5141v.js → filesystem-brkftcds.js} +3 -3
  109. package/dist/chunks/{location-service-map-8kzy7b3z.js → filesystem-brxt6bhf.js} +20 -20
  110. package/dist/chunks/{location-service-map-v6tgae3y.js → filesystem-bvjcet60.js} +188 -188
  111. package/dist/chunks/{location-service-map-c1fqxshp.js → filesystem-c1fqxshp.js} +3 -3
  112. package/dist/chunks/{location-service-map-04ttag0w.js → filesystem-c60gsmre.js} +23 -23
  113. package/dist/chunks/{location-service-map-x852hbsc.js → filesystem-cb63bp6n.js} +4 -4
  114. package/dist/chunks/{location-service-map-38x8v0tv.js → filesystem-chh1qf5w.js} +28 -28
  115. package/dist/chunks/{location-service-map-qezm2w8e.js → filesystem-cqj6hj84.js} +20 -20
  116. package/dist/chunks/{location-service-map-wvf4y7rr.js → filesystem-d5pb17pk.js} +24 -24
  117. package/dist/chunks/{location-service-map-8czxvfjx.js → filesystem-d6kg2w02.js} +26 -26
  118. package/dist/chunks/{location-service-map-189fjxnc.js → filesystem-d9ebg897.js} +20 -20
  119. package/dist/chunks/{location-service-map-zpfqjb86.js → filesystem-df9r6vr8.js} +23 -23
  120. package/dist/chunks/{location-service-map-pjykpq9n.js → filesystem-djjx68bv.js} +39 -39
  121. package/dist/chunks/{location-service-map-h8rphgn6.js → filesystem-dk1jwvm3.js} +4 -4
  122. package/dist/chunks/{location-service-map-dqxsqydv.js → filesystem-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{location-service-map-xfkkasph.js → filesystem-drwq78ky.js} +4 -4
  124. package/dist/chunks/{location-service-map-9h357zpk.js → filesystem-dy6phfej.js} +29 -29
  125. package/dist/chunks/{location-service-map-0pj15cwb.js → filesystem-dytxdk7n.js} +37 -37
  126. package/dist/chunks/{location-service-map-nma959mg.js → filesystem-e80seqcp.js} +3 -3
  127. package/dist/chunks/{location-service-map-btec747f.js → filesystem-e89xj288.js} +5 -5
  128. package/dist/chunks/{location-service-map-1krj7acz.js → filesystem-e8yng8xa.js} +45 -45
  129. package/dist/chunks/{location-service-map-285qnyny.js → filesystem-ea274jfg.js} +16 -16
  130. package/dist/chunks/{location-service-map-t550f9t1.js → filesystem-eaj1djv9.js} +8 -8
  131. package/dist/chunks/{location-service-map-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{location-service-map-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{location-service-map-had4kgfk.js → filesystem-eq20ba7x.js} +6 -6
  134. package/dist/chunks/{location-service-map-88jjz5re.js → filesystem-erv775vn.js} +17 -17
  135. package/dist/chunks/{location-service-map-qce5rqyv.js → filesystem-esay8zmc.js} +28 -28
  136. package/dist/chunks/{location-service-map-vfd5z52g.js → filesystem-f1418zp3.js} +27 -27
  137. package/dist/chunks/{location-service-map-yp2x3t23.js → filesystem-f2n192rq.js} +4 -4
  138. package/dist/chunks/{location-service-map-mt6brxxc.js → filesystem-f3crtseh.js} +4 -4
  139. package/dist/chunks/{location-service-map-nc1ev885.js → filesystem-f3dt93wk.js} +92 -92
  140. package/dist/chunks/{location-service-map-kwqk5vnc.js → filesystem-f5ea8hdq.js} +22 -22
  141. package/dist/chunks/{location-service-map-qe178b41.js → filesystem-f6tzyt39.js} +29 -29
  142. package/dist/chunks/{location-service-map-c7s5xd0e.js → filesystem-fs5j28yz.js} +48 -48
  143. package/dist/chunks/{location-service-map-9vjjhptz.js → filesystem-fww2ha2b.js} +9 -9
  144. package/dist/chunks/{location-service-map-mgjjdy5b.js → filesystem-fya5pxx9.js} +10 -10
  145. package/dist/chunks/{location-service-map-jxr5ks98.js → filesystem-g4y5gz37.js} +6 -6
  146. package/dist/chunks/{location-service-map-x309wg9x.js → filesystem-g8272p2k.js} +5 -5
  147. package/dist/chunks/{location-service-map-hsvqr7g3.js → filesystem-gc4jdv56.js} +35 -35
  148. package/dist/chunks/{location-service-map-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-service-map-emxdjm72.js → filesystem-gd72kns9.js} +24 -24
  150. package/dist/chunks/{location-service-map-7hff53af.js → filesystem-gkdycpm2.js} +22 -22
  151. package/dist/chunks/{location-service-map-hzp768xy.js → filesystem-gtymtyg6.js} +3 -3
  152. package/dist/chunks/{location-service-map-977pwvh6.js → filesystem-gyscva2z.js} +5 -5
  153. package/dist/chunks/{location-service-map-3dq15cxk.js → filesystem-gyvk3j9r.js} +15 -15
  154. package/dist/chunks/{location-service-map-st6tfvct.js → filesystem-h2vzssh9.js} +32 -32
  155. package/dist/chunks/{location-service-map-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{location-service-map-h7s7r6s9.js → filesystem-h7s7r6s9.js} +2 -2
  157. package/dist/chunks/{location-service-map-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{location-service-map-k4xdy46r.js → filesystem-hh0gybm5.js} +29 -29
  159. package/dist/chunks/{location-service-map-0fzbfnq7.js → filesystem-hh0ptvjq.js} +14 -14
  160. package/dist/chunks/{location-service-map-whqshyfz.js → filesystem-hjyx165y.js} +8 -8
  161. package/dist/chunks/{location-service-map-fkhvp8gb.js → filesystem-hwhn336e.js} +20 -20
  162. package/dist/chunks/{location-service-map-j09zfasm.js → filesystem-j09zfasm.js} +3 -3
  163. package/dist/chunks/{location-service-map-sdk84yjp.js → filesystem-j2xzv77w.js} +5 -5
  164. package/dist/chunks/{location-service-map-4sqgwhvg.js → filesystem-jac8zx36.js} +17 -17
  165. package/dist/chunks/{location-service-map-6g107h22.js → filesystem-jk540des.js} +2 -2
  166. package/dist/chunks/{location-service-map-s6a94ykt.js → filesystem-jp4tahhf.js} +50 -50
  167. package/dist/chunks/{location-service-map-kp5we7ps.js → filesystem-k60gdc8d.js} +25 -25
  168. package/dist/chunks/{location-service-map-r3yrqnb5.js → filesystem-kfpaqgkr.js} +23 -23
  169. package/dist/chunks/{location-service-map-jpaf2qm1.js → filesystem-kkjcmgcs.js} +42 -42
  170. package/dist/chunks/{location-service-map-xdfgfet0.js → filesystem-krxv5ast.js} +32 -32
  171. package/dist/chunks/{location-service-map-d54g0exn.js → filesystem-kw3sp2bd.js} +9 -9
  172. package/dist/chunks/{location-service-map-6c5stfwb.js → filesystem-m2sg2d0v.js} +3 -3
  173. package/dist/chunks/{location-service-map-av8cscef.js → filesystem-m52bgz96.js} +24 -24
  174. package/dist/chunks/{location-service-map-69jqfsnf.js → filesystem-m5kx5r4g.js} +13 -13
  175. package/dist/chunks/{location-service-map-mpw5hxye.js → filesystem-m70nxkxe.js} +14 -14
  176. package/dist/chunks/{location-service-map-ykxyh7k6.js → filesystem-m77a8waw.js} +19 -19
  177. package/dist/chunks/{location-service-map-a42kkhkg.js → filesystem-m7w6ry8k.js} +35 -35
  178. package/dist/chunks/{location-service-map-j947zhwf.js → filesystem-m8azxxds.js} +11 -11
  179. package/dist/chunks/{location-service-map-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{location-service-map-w7th8kft.js → filesystem-ma3vsd6k.js} +11 -11
  181. package/dist/chunks/{location-service-map-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
  182. package/dist/chunks/{location-service-map-4c3ndrn6.js → filesystem-me4fzj2s.js} +6 -6
  183. package/dist/chunks/{location-service-map-0ycdfwp1.js → filesystem-mfgzhhge.js} +11 -11
  184. package/dist/chunks/{location-service-map-0hw4dk4w.js → filesystem-mwdfvsrc.js} +1 -1
  185. package/dist/chunks/{location-service-map-e334ff5n.js → filesystem-n0dejpnd.js} +29 -29
  186. package/dist/chunks/{location-service-map-ra67jj04.js → filesystem-nd4tfyg0.js} +9 -9
  187. package/dist/chunks/{location-service-map-79rgchyy.js → filesystem-nghv1tg0.js} +25 -25
  188. package/dist/chunks/{location-service-map-yjqnk9hn.js → filesystem-nhtvjeyc.js} +25 -25
  189. package/dist/chunks/{location-service-map-6hjx5zpb.js → filesystem-njhqdk9p.js} +9 -9
  190. package/dist/chunks/{location-service-map-g0xzmjr0.js → filesystem-nm25s7jz.js} +24 -24
  191. package/dist/chunks/{location-service-map-z5rnbfrr.js → filesystem-ntd76dtp.js} +9 -9
  192. package/dist/chunks/{location-service-map-fxaymqdw.js → filesystem-ny8edt06.js} +4 -4
  193. package/dist/chunks/{location-service-map-1bz87fsm.js → filesystem-nybg9njq.js} +13 -13
  194. package/dist/chunks/{location-service-map-9hn6k4tm.js → filesystem-p37cw4rj.js} +8 -8
  195. package/dist/chunks/{location-service-map-8ykp9xbw.js → filesystem-pbwex7x3.js} +30 -30
  196. package/dist/chunks/{location-service-map-bhhmebad.js → filesystem-pgsm1jra.js} +23 -23
  197. package/dist/chunks/{location-service-map-112anbc5.js → filesystem-pj3rwfnx.js} +18 -18
  198. package/dist/chunks/{location-service-map-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{location-service-map-pknna89w.js → filesystem-pknna89w.js} +1 -1
  200. package/dist/chunks/{location-service-map-w5rka97k.js → filesystem-pnkbpv6t.js} +9 -9
  201. package/dist/chunks/{location-service-map-gd0tnyjc.js → filesystem-pnzf6mjf.js} +1 -1
  202. package/dist/chunks/{location-service-map-ewf8j77t.js → filesystem-pp5cqqtv.js} +11 -11
  203. package/dist/chunks/{location-service-map-cakf0m7d.js → filesystem-ppnsdmbh.js} +33 -33
  204. package/dist/chunks/{location-service-map-0j77ygfz.js → filesystem-q0xm7vwc.js} +6 -6
  205. package/dist/chunks/{location-service-map-bjkg2ks4.js → filesystem-q37cayrb.js} +31 -31
  206. package/dist/chunks/{location-service-map-wve2b6s5.js → filesystem-qaevhgds.js} +13 -13
  207. package/dist/chunks/{location-service-map-3b16v5tt.js → filesystem-qf76qvkk.js} +5 -5
  208. package/dist/chunks/{location-service-map-r2m716tb.js → filesystem-qmqgtz8f.js} +9 -9
  209. package/dist/chunks/{location-service-map-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{location-service-map-kww7pfa5.js → filesystem-qq49mz5j.js} +9 -9
  211. package/dist/chunks/{location-service-map-0bztnv55.js → filesystem-qr891hhg.js} +14 -14
  212. package/dist/chunks/{location-service-map-npgv39fj.js → filesystem-qsdp7can.js} +2 -2
  213. package/dist/chunks/{location-service-map-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  214. package/dist/chunks/{location-service-map-qrabmw5q.js → filesystem-qvaxqqvn.js} +45 -45
  215. package/dist/chunks/{location-service-map-xe6vm9p8.js → filesystem-r90cpetc.js} +17 -17
  216. package/dist/chunks/{location-service-map-hhyv66vq.js → filesystem-rbpvdgf0.js} +8 -8
  217. package/dist/chunks/{location-service-map-4pn1xf0p.js → filesystem-rde5ychf.js} +22 -22
  218. package/dist/chunks/{location-service-map-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{location-service-map-rert0e01.js → filesystem-rert0e01.js} +2 -2
  220. package/dist/chunks/{location-service-map-rj3eygr5.js → filesystem-rj3eygr5.js} +2 -2
  221. package/dist/chunks/{location-service-map-exs4tskk.js → filesystem-rk3q4hq2.js} +46 -46
  222. package/dist/chunks/{location-service-map-z1a6nf3f.js → filesystem-rp2821x6.js} +24 -24
  223. package/dist/chunks/{location-service-map-raxjnfg2.js → filesystem-rrpgd0ny.js} +11 -11
  224. package/dist/chunks/{location-service-map-9zdssp4n.js → filesystem-s83rft3p.js} +9 -9
  225. package/dist/chunks/{location-service-map-sa8ekw3f.js → filesystem-sa8ekw3f.js} +2 -2
  226. package/dist/chunks/{location-service-map-b3f8fkhc.js → filesystem-scgrse2b.js} +5 -5
  227. package/dist/chunks/{location-service-map-bm095xha.js → filesystem-sm28yfzz.js} +3 -3
  228. package/dist/chunks/{location-service-map-b89jdn4q.js → filesystem-sptbfbhr.js} +17 -17
  229. package/dist/chunks/{location-service-map-dacbrmk2.js → filesystem-srnsn3q2.js} +11 -11
  230. package/dist/chunks/{location-service-map-6npkjnc9.js → filesystem-st4n5fmc.js} +16 -16
  231. package/dist/chunks/{location-service-map-syv4x271.js → filesystem-syv4x271.js} +1 -1
  232. package/dist/chunks/filesystem-szeb262z.js +513 -0
  233. package/dist/chunks/{location-service-map-e2t7s5t4.js → filesystem-t3825hcj.js} +57 -57
  234. package/dist/chunks/{location-service-map-ratrq7cm.js → filesystem-t6vsspdg.js} +7 -7
  235. package/dist/chunks/{location-service-map-w85jx7ef.js → filesystem-t8jmph7p.js} +29 -29
  236. package/dist/chunks/{location-service-map-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{location-service-map-tdstcens.js → filesystem-tdstcens.js} +1 -1
  238. package/dist/chunks/{location-service-map-tm0kqsz3.js → filesystem-tm0kqsz3.js} +1 -1
  239. package/dist/chunks/filesystem-tr1gc2fq.js +253 -0
  240. package/dist/chunks/{location-service-map-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
  241. package/dist/chunks/{location-service-map-3fgtv7ze.js → filesystem-v13g4sj1.js} +22 -22
  242. package/dist/chunks/{location-service-map-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/filesystem-vddt4hr5.js +26 -0
  244. package/dist/chunks/{location-service-map-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  245. package/dist/chunks/{location-service-map-vhvv9bf9.js → filesystem-vk98rgmp.js} +19 -19
  246. package/dist/chunks/{location-service-map-h83xjv7f.js → filesystem-vrrq7v3g.js} +5 -5
  247. package/dist/chunks/{location-service-map-b1a1n7cj.js → filesystem-vx3jgdek.js} +3 -3
  248. package/dist/chunks/{location-service-map-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{location-service-map-84txncab.js → filesystem-w1eejvng.js} +5 -5
  250. package/dist/chunks/{location-service-map-a4hp8e9p.js → filesystem-w2ejb1sn.js} +16 -16
  251. package/dist/chunks/{location-service-map-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{location-service-map-wd87259q.js → filesystem-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-service-map-w34bt5ev.js → filesystem-wfskyrtt.js} +15 -15
  254. package/dist/chunks/{location-service-map-trecwywa.js → filesystem-wh0v2wjt.js} +24 -24
  255. package/dist/chunks/{location-service-map-t9es0ena.js → filesystem-wm97b409.js} +20 -20
  256. package/dist/chunks/{location-service-map-61qtfb41.js → filesystem-wn36fw8j.js} +22 -22
  257. package/dist/chunks/{location-service-map-xsccak5w.js → filesystem-wsfdahkn.js} +18 -18
  258. package/dist/chunks/{location-service-map-vh4rw25j.js → filesystem-wx36b1j2.js} +10 -10
  259. package/dist/chunks/{location-service-map-qwf29bqw.js → filesystem-x0f2qx15.js} +3 -3
  260. package/dist/chunks/{location-service-map-zcfatamc.js → filesystem-x1n3xk5a.js} +14 -14
  261. package/dist/chunks/{location-service-map-kcdapykd.js → filesystem-x642km10.js} +6 -6
  262. package/dist/chunks/{location-service-map-z4qs0yhw.js → filesystem-xg164bxt.js} +33 -33
  263. package/dist/chunks/{location-service-map-bh3fdk74.js → filesystem-xh6zv5p8.js} +3 -3
  264. package/dist/chunks/{location-service-map-qgw57eb3.js → filesystem-xrg7s2x1.js} +10 -10
  265. package/dist/chunks/{location-service-map-hxtckxf3.js → filesystem-xvc52nav.js} +36 -36
  266. package/dist/chunks/{location-service-map-h9mky73t.js → filesystem-xya6rnzh.js} +11 -11
  267. package/dist/chunks/{location-service-map-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-service-map-y71avatq.js → filesystem-y71avatq.js} +1 -1
  269. package/dist/chunks/{location-service-map-c6nr29zh.js → filesystem-y8fj3v1k.js} +10 -10
  270. package/dist/chunks/{location-service-map-0a3bg0j5.js → filesystem-yfyzdc7t.js} +30 -30
  271. package/dist/chunks/{location-service-map-96kn8jjj.js → filesystem-yhq47pcp.js} +9 -9
  272. package/dist/chunks/{location-service-map-4z58m4b4.js → filesystem-yrcj3v3g.js} +4 -4
  273. package/dist/chunks/{location-service-map-hmdrvyfh.js → filesystem-yvtwbw85.js} +75 -75
  274. package/dist/chunks/{location-service-map-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{location-service-map-ebbyhdvc.js → filesystem-z92d7xwv.js} +37 -37
  276. package/dist/chunks/{location-service-map-jrzj45fy.js → filesystem-zarpn6yq.js} +12 -12
  277. package/dist/chunks/{location-service-map-ncp1h5wm.js → filesystem-zcfehvc5.js} +4 -4
  278. package/dist/chunks/{location-service-map-jvf3yq6v.js → filesystem-zcrspsvn.js} +4 -4
  279. package/dist/chunks/{location-service-map-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{location-service-map-5cs9fw4j.js → filesystem-zrbwd74c.js} +15 -15
  281. package/dist/chunks/{location-service-map-8sqat94k.js → filesystem-zrd4nqr3.js} +37 -37
  282. package/dist/chunks/{location-service-map-7mp49jye.js → filesystem-zwmh7mk0.js} +27 -27
  283. package/dist/chunks/{location-service-map-qvcr5dcn.js → filesystem-zx414vf8.js} +17 -17
  284. package/dist/chunks/{location-service-map-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +87 -87
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +104 -104
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +348 -348
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +4 -4
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +126 -126
  633. package/dist/tool/plugin/edit.js +116 -116
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +212 -212
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/location-service-map-1g906he0.js +0 -26
  686. package/dist/chunks/location-service-map-7fj5dwt0.js +0 -18
  687. package/dist/chunks/location-service-map-asevcyq5.js +0 -253
  688. package/dist/chunks/location-service-map-v2exr8cw.js +0 -513
  689. /package/dist/chunks/{location-service-map-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{location-service-map-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{location-service-map-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{location-service-map-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{location-service-map-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{location-service-map-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{location-service-map-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{location-service-map-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{location-service-map-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{location-service-map-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{location-service-map-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{location-service-map-3asan66x.js → filesystem-3asan66x.js} +0 -0
  701. /package/dist/chunks/{location-service-map-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{location-service-map-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{location-service-map-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{location-service-map-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{location-service-map-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{location-service-map-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{location-service-map-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{location-service-map-53557ph1.js → filesystem-53557ph1.js} +0 -0
  709. /package/dist/chunks/{location-service-map-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{location-service-map-6prwharc.js → filesystem-6prwharc.js} +0 -0
  711. /package/dist/chunks/{location-service-map-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{location-service-map-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{location-service-map-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{location-service-map-822emrt2.js → filesystem-822emrt2.js} +0 -0
  715. /package/dist/chunks/{location-service-map-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{location-service-map-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{location-service-map-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{location-service-map-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{location-service-map-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{location-service-map-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{location-service-map-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{location-service-map-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{location-service-map-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{location-service-map-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{location-service-map-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{location-service-map-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{location-service-map-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{location-service-map-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{location-service-map-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{location-service-map-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{location-service-map-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{location-service-map-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{location-service-map-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{location-service-map-df08tz66.js → filesystem-df08tz66.js} +0 -0
  735. /package/dist/chunks/{location-service-map-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{location-service-map-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{location-service-map-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{location-service-map-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{location-service-map-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{location-service-map-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{location-service-map-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{location-service-map-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{location-service-map-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{location-service-map-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{location-service-map-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-service-map-g86h250q.js → filesystem-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-service-map-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-service-map-gftt206x.js → filesystem-gftt206x.js} +0 -0
  749. /package/dist/chunks/{location-service-map-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{location-service-map-hk9envan.js → filesystem-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-service-map-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{location-service-map-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{location-service-map-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{location-service-map-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-service-map-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-service-map-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{location-service-map-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{location-service-map-m18g726c.js → filesystem-m18g726c.js} +0 -0
  759. /package/dist/chunks/{location-service-map-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{location-service-map-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{location-service-map-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{location-service-map-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{location-service-map-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{location-service-map-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{location-service-map-pyv0edze.js → filesystem-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{location-service-map-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{location-service-map-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{location-service-map-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{location-service-map-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{location-service-map-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{location-service-map-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{location-service-map-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{location-service-map-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{location-service-map-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{location-service-map-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{location-service-map-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{location-service-map-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{location-service-map-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{location-service-map-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{location-service-map-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{location-service-map-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{location-service-map-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{location-service-map-x61499pn.js → filesystem-x61499pn.js} +0 -0
  784. /package/dist/chunks/{location-service-map-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{location-service-map-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{location-service-map-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{location-service-map-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{location-service-map-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{location-service-map-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID7
3
- } from "./location-service-map-wnsxc07p.js";
2
+ ID8
3
+ } from "./filesystem-93ea1xn4.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-service-map-z5v4ffb3.js";
6
+ } from "./filesystem-z5v4ffb3.js";
7
7
  import {
8
- Info16
9
- } from "./location-service-map-x5wrmng7.js";
8
+ Info8
9
+ } from "./filesystem-am6f2qjv.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./location-service-map-x94bbvss.js";
12
+ } from "./filesystem-90vpw73y.js";
13
13
  import {
14
14
  latest2,
15
- Service66
16
- } from "./location-service-map-c7s5xd0e.js";
15
+ Service37
16
+ } from "./filesystem-fs5j28yz.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./location-service-map-8m6m0r52.js";
19
+ } from "./filesystem-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./location-service-map-9rqn6x4v.js";
22
+ } from "./filesystem-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin18
28
+ Plugin: () => Plugin48
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info8);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin18 = define({
47
+ var Plugin48 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service66;
50
+ const config = yield* Service37;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin18 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID7.make(configuredDefault));
79
+ editor.default(ID8.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID7.make(id);
85
+ const agentID = ID8.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin18, exports_agent2 };
164
+ export { Plugin48, exports_agent2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./location-service-map-bjx1sjef.js";
3
+ } from "./filesystem-1ffvrpkg.js";
4
4
  import {
5
5
  __export
6
- } from "./location-service-map-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin7,
11
+ Plugin: () => Plugin17,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint5 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin7 = define({
30
+ var Plugin17 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin7 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint5);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin7, exports_exa };
83
+ export { endpoint3, Plugin17, exports_exa };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
+ Service83,
4
+ node87
5
+ } from "./filesystem-6vt1d4a8.js";
6
+ import {
3
7
  Service84,
4
8
  node88
5
- } from "./location-service-map-t7n4d1yf.js";
6
- import {
7
- Service69,
8
- node72
9
- } from "./location-service-map-vh4rw25j.js";
9
+ } from "./filesystem-wx36b1j2.js";
10
10
  import {
11
11
  __export
12
- } from "./location-service-map-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event6,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service68,
22
+ Service: () => Service39,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node71,
26
- resolve: () => resolve4
25
+ node: () => node42,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service68 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service39 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event6 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service68, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service69;
85
- const bus = yield* Service84;
84
+ const kv = yield* Service84;
85
+ const bus = yield* Service83;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
88
88
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event14.Updated, {}, { global: true });
116
+ yield* bus.publish(Event6.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service68.of({
119
+ return Service39.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event14.Updated, {}, { global: true });
132
+ yield* bus.publish(Event6.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event14.Updated, {}, { global: true });
147
+ yield* bus.publish(Event6.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node72, node88] });
160
+ var node42 = makeGlobalNode({ service: Service39, layer, deps: [httpClient, node88, node87] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event14, inspect2, resolve4, node71, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service39, Event6, inspect2, resolve3, node42, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-service-map-qfa1cgps.js";
3
+ } from "./filesystem-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./location-service-map-rj3eygr5.js";
6
+ } from "./filesystem-rj3eygr5.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./location-service-map-qnc92qwc.js";
4
+ } from "./filesystem-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./location-service-map-qfa1cgps.js";
7
+ } from "./filesystem-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-service-map-j5chjq9f.js";
3
+ } from "./filesystem-b55f9bw7.js";
4
4
  import {
5
- Service84
6
- } from "./location-service-map-t7n4d1yf.js";
5
+ Service83
6
+ } from "./filesystem-6vt1d4a8.js";
7
7
  import {
8
- ID14,
8
+ ID15,
9
9
  Event18,
10
- Service73
11
- } from "./location-service-map-yjqnk9hn.js";
10
+ Service77
11
+ } from "./filesystem-nhtvjeyc.js";
12
12
  import {
13
13
  key2
14
- } from "./location-service-map-x661k3y3.js";
14
+ } from "./filesystem-addxnjmp.js";
15
15
  import {
16
- ID13,
16
+ ID14,
17
17
  MethodID2
18
- } from "./location-service-map-bjkg2ks4.js";
18
+ } from "./filesystem-q37cayrb.js";
19
19
  import {
20
20
  which2
21
- } from "./location-service-map-qaymkmh1.js";
21
+ } from "./filesystem-qaymkmh1.js";
22
22
  import {
23
- ID12,
24
- Service71
25
- } from "./location-service-map-k4xdy46r.js";
23
+ ID13,
24
+ Service75
25
+ } from "./filesystem-hh0gybm5.js";
26
26
  import {
27
- ID11
28
- } from "./location-service-map-v2fstvx9.js";
27
+ ID10
28
+ } from "./filesystem-38xz3wm4.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./location-service-map-kcdapykd.js";
31
+ } from "./filesystem-x642km10.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make5(endpoints = {
66
+ function make4(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID12.azure);
73
+ const configured = yield* configuredSettings2(ID13.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service84;
76
- const credentials = yield* Service73;
77
- const providers = yield* Service71;
75
+ const bus = yield* Service83;
76
+ const credentials = yield* Service77;
77
+ const providers = yield* Service75;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make5(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID12.azure,
103
+ integrationID: ID13.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID12.azure,
107
+ integrationID: ID13.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make5(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID12.azure,
125
+ integrationID: ID13.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make5(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID12.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make5(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID12.azure))?.settings;
185
+ const settings = (yield* providers.get(ID13.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make5(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make5(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make5(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID12.azure);
243
+ const item = evt.get(ID13.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make5(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make5(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID12.azure);
266
+ const catalog = models.list(ID13.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID12.azure, model.id);
270
+ models.remove(ID13.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID12.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make5(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID12.azure)
291
+ if (evt.model.providerID !== ID13.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make5(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID12.azure });
300
+ }), { providerID: ID13.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID12.azure)
302
+ if (evt.model.providerID !== ID13.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make5(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID12.azure });
311
+ }), { providerID: ID13.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make5();
315
+ var AzurePlugin2 = make4();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID11.make(deployment.name.toLowerCase());
345
+ const id = ID10.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID11.make(deployment.name),
349
+ modelID: ID10.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make5, AzurePlugin2 };
371
+ export { make4, AzurePlugin2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./location-service-map-t7n4d1yf.js";
2
+ Service83,
3
+ node87
4
+ } from "./filesystem-6vt1d4a8.js";
5
5
  import {
6
6
  __export
7
- } from "./location-service-map-9rqn6x4v.js";
7
+ } from "./filesystem-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID16,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError9,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service75,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer26,
29
- node: () => node78,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info26 = 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 NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID16
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: ID15
64
+ id: ID16
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: ID15,
72
+ id: ID16,
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 Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer26 = Layer.effect(Service75, Effect.gen(function* () {
85
- const bus = yield* Service84;
84
+ var layer26 = Layer.effect(Service78, Effect.gen(function* () {
85
+ const bus = yield* Service83;
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 NotFoundError9({ 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 ?? ID15.create();
93
+ const id = input.id ?? ID16.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 layer26 = Layer.effect(Service75, 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 Service75.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node78 = makeLocationNode({ service: Service75, layer: layer26, deps: [node88] });
167
+ var node82 = makeLocationNode({ service: Service78, layer: layer26, deps: [node87] });
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 { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer26, node78, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer26, node82, validateAnswer2, validateFields2, exports_form, Event19 };