@opencode/core 0.0.0-dev-20659 → 0.0.0-dev-20665

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{git-6vabwvmw.js → model-04hfwksm.js} +14 -14
  8. package/dist/chunks/{git-b2jc1z43.js → model-05tb8896.js} +11 -11
  9. package/dist/chunks/{git-6xkwkya9.js → model-09bawd7d.js} +12 -12
  10. package/dist/chunks/{git-nbw2xxtv.js → model-0bwx6hyg.js} +7 -7
  11. package/dist/chunks/{git-5yj8ke91.js → model-0hbnkapr.js} +151 -151
  12. package/dist/chunks/{git-8pyww4v8.js → model-0hc1cq6w.js} +13 -13
  13. package/dist/chunks/{git-0j77ygfz.js → model-0j77ygfz.js} +2 -2
  14. package/dist/chunks/{git-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{git-nd73648e.js → model-0pbe0zt0.js} +32 -32
  16. package/dist/chunks/{git-mwpvndzh.js → model-0swnknvj.js} +25 -25
  17. package/dist/chunks/{git-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{git-jcm1ap69.js → model-12dy9wgh.js} +11 -11
  19. package/dist/chunks/{git-2m6x7dk2.js → model-13db7e4e.js} +24 -24
  20. package/dist/chunks/{git-gsnyd5qq.js → model-143vczaq.js} +7 -7
  21. package/dist/chunks/{git-qyzaws7n.js → model-16dgqdxz.js} +3 -3
  22. package/dist/chunks/{git-9gj6hpr6.js → model-18cdd48g.js} +4 -4
  23. package/dist/chunks/{git-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{git-1dvck2a7.js → model-1dvck2a7.js} +2 -2
  25. package/dist/chunks/{git-1b4m0bzf.js → model-1rn5pcm9.js} +4 -4
  26. package/dist/chunks/{git-hc1902wk.js → model-1rnd72fy.js} +16 -16
  27. package/dist/chunks/{git-90g7qw2a.js → model-1v75qvzv.js} +21 -21
  28. package/dist/chunks/{git-mc9vh6yq.js → model-1w58g905.js} +17 -17
  29. package/dist/chunks/{git-c8s4yex5.js → model-1yft0xp6.js} +14 -14
  30. package/dist/chunks/{git-1ygqh575.js → model-1ygqh575.js} +2 -2
  31. package/dist/chunks/{git-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{git-2ccvkpx1.js → model-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{git-fcrkznn8.js → model-2k8khapm.js} +5 -5
  34. package/dist/chunks/{git-zfs8ae4p.js → model-2m8jawch.js} +4 -4
  35. package/dist/chunks/{git-2hr5nhwa.js → model-2n295dmf.js} +8 -8
  36. package/dist/chunks/{git-rjw6hp1j.js → model-2nxxz3xr.js} +23 -23
  37. package/dist/chunks/{git-xa303ymg.js → model-2seqm7ta.js} +1 -1
  38. package/dist/chunks/{git-af6rkajf.js → model-3704aagw.js} +3 -3
  39. package/dist/chunks/{git-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{git-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{git-x2rw7g36.js → model-3j9bgvtg.js} +5 -5
  42. package/dist/chunks/{git-9ttbk61r.js → model-3ptfharv.js} +27 -27
  43. package/dist/chunks/{git-tc14gx3q.js → model-3rd28rcz.js} +8 -8
  44. package/dist/chunks/{git-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{git-jq13pd70.js → model-3st0ejts.js} +175 -175
  46. package/dist/chunks/{git-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{git-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{git-7pd5pffv.js → model-42rpdw4e.js} +7 -7
  49. package/dist/chunks/{git-fdm4t8z9.js → model-43wd9vsa.js} +13 -13
  50. package/dist/chunks/{git-phvr3wgs.js → model-43xazcv4.js} +322 -322
  51. package/dist/chunks/{git-1f2q55ad.js → model-4r5bkf9y.js} +24 -24
  52. package/dist/chunks/{git-rr03d8em.js → model-4r9w7v50.js} +22 -22
  53. package/dist/chunks/{git-54ma36ye.js → model-54ma36ye.js} +1 -1
  54. package/dist/chunks/{git-d1f3pbt1.js → model-55rgt2sk.js} +11 -11
  55. package/dist/chunks/{git-d3c6y7f2.js → model-565cggcq.js} +83 -83
  56. package/dist/chunks/{git-5daktx2q.js → model-5daktx2q.js} +1 -1
  57. package/dist/chunks/{git-c243x79n.js → model-5dec13bj.js} +35 -35
  58. package/dist/chunks/{git-gz56ec1j.js → model-5m62pdvr.js} +22 -22
  59. package/dist/chunks/{git-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{git-73apqjm5.js → model-5nq6ntwv.js} +12 -12
  61. package/dist/chunks/{git-2c3eq8z5.js → model-5r5teqtw.js} +1 -1
  62. package/dist/chunks/{git-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{git-gtczcmth.js → model-5wwecgr9.js} +3 -3
  64. package/dist/chunks/{git-6g7e4dd5.js → model-6g7e4dd5.js} +2 -2
  65. package/dist/chunks/{git-qs9cg63q.js → model-6h5e082a.js} +17 -17
  66. package/dist/chunks/{git-2pnhn36q.js → model-6m42r3np.js} +4 -4
  67. package/dist/chunks/{git-q4vzfqxg.js → model-6pamc8qx.js} +11 -11
  68. package/dist/chunks/{git-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{git-n79tw6se.js → model-6xzjqc7j.js} +4 -4
  70. package/dist/chunks/{git-aryft9f9.js → model-6ymz3gfr.js} +36 -36
  71. package/dist/chunks/{git-71az546q.js → model-71az546q.js} +2 -2
  72. package/dist/chunks/{git-ggevdayx.js → model-75e9eb11.js} +4 -4
  73. package/dist/chunks/{git-qmqgtz8f.js → model-79qaa2kf.js} +9 -9
  74. package/dist/chunks/{git-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{git-q7v5mrmg.js → model-7ejrgaad.js} +9 -9
  76. package/dist/chunks/{git-prps3137.js → model-7kx3xyrk.js} +1 -1
  77. package/dist/chunks/{git-mf2m4y29.js → model-7nt8nw1z.js} +33 -33
  78. package/dist/chunks/{git-nr6gcs3w.js → model-7qe8e482.js} +8 -8
  79. package/dist/chunks/{git-73nkehxt.js → model-7tzvmzbr.js} +8 -8
  80. package/dist/chunks/{git-2003xh4j.js → model-7v81x33d.js} +9 -9
  81. package/dist/chunks/{git-bzt0dk37.js → model-7yjncwxp.js} +30 -30
  82. package/dist/chunks/{git-rrt2er56.js → model-7zd39w7j.js} +3 -3
  83. package/dist/chunks/{git-84txncab.js → model-84txncab.js} +1 -1
  84. package/dist/chunks/{git-ph842b28.js → model-86qzxe6p.js} +4 -4
  85. package/dist/chunks/{git-tcezcvh9.js → model-89znhe33.js} +4 -4
  86. package/dist/chunks/{git-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{git-qdhh749w.js → model-8dxznbhk.js} +13 -13
  88. package/dist/chunks/{git-zyc72cgf.js → model-8f29pv30.js} +3 -3
  89. package/dist/chunks/{git-qdbtwst4.js → model-8k7ec5p2.js} +11 -11
  90. package/dist/chunks/{git-gyn5n75h.js → model-8q8jfg7g.js} +6 -6
  91. package/dist/chunks/{git-py3kkmfq.js → model-8sze2n9a.js} +6 -6
  92. package/dist/chunks/{git-h6310vsd.js → model-8wbxkt1z.js} +4 -4
  93. package/dist/chunks/{git-nf3bc7kp.js → model-9525rq9q.js} +15 -15
  94. package/dist/chunks/{git-9e5bzkjp.js → model-9e5bzkjp.js} +3 -3
  95. package/dist/chunks/model-9e9he82z.js +26 -0
  96. package/dist/chunks/{git-q3gb2bnw.js → model-9mn5fbt0.js} +32 -32
  97. package/dist/chunks/{git-9pa8tak9.js → model-9pa8tak9.js} +2 -2
  98. package/dist/chunks/{git-avae2qkj.js → model-9qb76avw.js} +8 -8
  99. package/dist/chunks/{git-hjndax5w.js → model-9rven2v7.js} +18 -18
  100. package/dist/chunks/model-9sh4wc5j.js +18 -0
  101. package/dist/chunks/{git-zm2ry5m5.js → model-a03m4akp.js} +23 -23
  102. package/dist/chunks/{git-1hya600g.js → model-a5rc1k9w.js} +5 -5
  103. package/dist/chunks/{git-0c7deste.js → model-a7ehty0t.js} +24 -24
  104. package/dist/chunks/{git-p45atnv4.js → model-a7g6j6nx.js} +12 -12
  105. package/dist/chunks/{git-aaet6srn.js → model-aaet6srn.js} +2 -2
  106. package/dist/chunks/{git-q6jj9914.js → model-aenqjndq.js} +21 -21
  107. package/dist/chunks/{git-xdj3jjdd.js → model-an20b3q3.js} +11 -11
  108. package/dist/chunks/{git-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{git-s5qxm7c2.js → model-bdpzzc2x.js} +11 -11
  110. package/dist/chunks/{git-njerjs8t.js → model-bpjzyxk6.js} +27 -27
  111. package/dist/chunks/{git-76ewd06k.js → model-bskc84e3.js} +5 -5
  112. package/dist/chunks/{git-1a1rn49g.js → model-btwta0ay.js} +16 -16
  113. package/dist/chunks/{git-ag7334sc.js → model-bvqebne3.js} +11 -11
  114. package/dist/chunks/{git-14grjhb4.js → model-bzv7w39z.js} +49 -49
  115. package/dist/chunks/{git-h79qd4dv.js → model-c0ke6nr1.js} +12 -12
  116. package/dist/chunks/{git-7eb1d2yt.js → model-c0kz0pvs.js} +24 -24
  117. package/dist/chunks/{git-g1sxm558.js → model-c27esgm9.js} +8 -8
  118. package/dist/chunks/{git-j5w2yx54.js → model-c8bydgjz.js} +6 -6
  119. package/dist/chunks/{git-aps1yx91.js → model-cqfygt2f.js} +5 -5
  120. package/dist/chunks/{git-vk7prk4h.js → model-cvnbmapz.js} +25 -25
  121. package/dist/chunks/{git-kkkysjtm.js → model-d03bk1nx.js} +22 -22
  122. package/dist/chunks/{git-vgepzxbh.js → model-d9sgy5v4.js} +4 -4
  123. package/dist/chunks/{git-yaefqgtx.js → model-dak0aer2.js} +88 -88
  124. package/dist/chunks/{git-m70sbz6t.js → model-dhmh7aw6.js} +4 -4
  125. package/dist/chunks/{git-dmqcgk4z.js → model-dmqcgk4z.js} +2 -2
  126. package/dist/chunks/{git-d4g413ww.js → model-dzae2snb.js} +13 -13
  127. package/dist/chunks/{git-ncp83wn6.js → model-eb1ryh4n.js} +28 -28
  128. package/dist/chunks/{git-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{git-56espktj.js → model-ekbw19fm.js} +18 -18
  130. package/dist/chunks/{git-yj5m20h0.js → model-en9mxp96.js} +9 -9
  131. package/dist/chunks/{git-73tb2d7t.js → model-eq1pz5kg.js} +3 -3
  132. package/dist/chunks/{git-c3zqzp8y.js → model-eqx6m485.js} +8 -8
  133. package/dist/chunks/{git-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{git-amv1ejgv.js → model-evzgxw2j.js} +53 -53
  135. package/dist/chunks/{git-c6cbvwxq.js → model-f1thfm8v.js} +11 -11
  136. package/dist/chunks/{git-tnsjdj53.js → model-f50cy0tv.js} +34 -34
  137. package/dist/chunks/{git-f5gy8qwh.js → model-f5gy8qwh.js} +1 -1
  138. package/dist/chunks/{git-nkh99vgj.js → model-f5hkpmh1.js} +17 -17
  139. package/dist/chunks/{git-mrkjf4y9.js → model-f5r0fqm4.js} +11 -11
  140. package/dist/chunks/{git-0jq9fyba.js → model-fdms3n6w.js} +9 -9
  141. package/dist/chunks/{git-b27vhd2z.js → model-fm2qvscf.js} +4 -4
  142. package/dist/chunks/{git-xbs48zfb.js → model-fnkg6qb4.js} +49 -49
  143. package/dist/chunks/{git-9mdv1d98.js → model-frxn4dna.js} +6 -6
  144. package/dist/chunks/{git-zbfyanxm.js → model-ft3zxgd7.js} +8 -8
  145. package/dist/chunks/{git-edkvx3dd.js → model-fw2qxq8w.js} +32 -32
  146. package/dist/chunks/{git-4mvz68vy.js → model-fxhje9fq.js} +30 -30
  147. package/dist/chunks/{git-qzexb7dd.js → model-g07h2xqa.js} +12 -12
  148. package/dist/chunks/{git-7gd3hzpr.js → model-g76p8ycs.js} +19 -19
  149. package/dist/chunks/{git-rj7j44bj.js → model-g7yjevyk.js} +6 -6
  150. package/dist/chunks/{git-56qj8wan.js → model-gaffbzjy.js} +10 -10
  151. package/dist/chunks/{git-9smks8ax.js → model-gb6ehmsa.js} +25 -25
  152. package/dist/chunks/{git-e6hqwnjd.js → model-gb9qa9c1.js} +9 -9
  153. package/dist/chunks/{git-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{git-q2m05hzt.js → model-gm3dfsm1.js} +5 -5
  155. package/dist/chunks/{git-13kfw95c.js → model-gr72qpsv.js} +11 -11
  156. package/dist/chunks/{git-p7yhpbex.js → model-gwbzj4wh.js} +36 -36
  157. package/dist/chunks/{git-tkh413by.js → model-gzvvm5t9.js} +9 -9
  158. package/dist/chunks/{git-satpgpy0.js → model-h10mhkmh.js} +17 -17
  159. package/dist/chunks/{git-h2b79v29.js → model-h2b79v29.js} +2 -2
  160. package/dist/chunks/{git-8vpe69nk.js → model-h30avht3.js} +18 -18
  161. package/dist/chunks/{git-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{git-dyc3kv56.js → model-h960ywcp.js} +11 -11
  163. package/dist/chunks/{git-cqs54gg3.js → model-he5rhnsk.js} +3 -3
  164. package/dist/chunks/{git-90arfvh2.js → model-hshpsfrb.js} +29 -29
  165. package/dist/chunks/{git-j56e64zr.js → model-j56e64zr.js} +1 -1
  166. package/dist/chunks/{git-z6kknvmx.js → model-jdydv5w6.js} +58 -58
  167. package/dist/chunks/{git-m4qj4fpw.js → model-jedqxwja.js} +8 -8
  168. package/dist/chunks/{git-kw7v3js8.js → model-jeeje7kx.js} +27 -27
  169. package/dist/chunks/{git-3j8n7zh4.js → model-jfwamsgh.js} +14 -14
  170. package/dist/chunks/{git-dqp200sx.js → model-jmh5z47c.js} +22 -22
  171. package/dist/chunks/{git-040b8ymy.js → model-jvt424gv.js} +9 -9
  172. package/dist/chunks/{git-rrjhvgg4.js → model-jwnzethd.js} +13 -13
  173. package/dist/chunks/{git-w19mx1ce.js → model-jzdyaq3q.js} +38 -38
  174. package/dist/chunks/{git-9bde0dy1.js → model-k2ee98a4.js} +9 -9
  175. package/dist/chunks/{git-ydqznnpe.js → model-k8vxkqnq.js} +4 -4
  176. package/dist/chunks/{git-vs1y934m.js → model-ke5wyhkr.js} +15 -15
  177. package/dist/chunks/{git-n915pjdp.js → model-ksr0mctg.js} +18 -18
  178. package/dist/chunks/{git-wz33qg6p.js → model-ksts8xsw.js} +45 -45
  179. package/dist/chunks/{git-p1463psw.js → model-ktqfz204.js} +5 -5
  180. package/dist/chunks/{git-td93javk.js → model-m15b84sy.js} +9 -9
  181. package/dist/chunks/{git-m3fdjcah.js → model-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{git-41bfxxgf.js → model-m8s1k1qd.js} +24 -24
  183. package/dist/chunks/{git-pjwt2kw2.js → model-m99sccj6.js} +18 -18
  184. package/dist/chunks/{git-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{git-qb9x4qxp.js → model-mbfqztvv.js} +44 -44
  186. package/dist/chunks/{git-cs0f06fr.js → model-mczqcbtg.js} +20 -20
  187. package/dist/chunks/{git-73119sgt.js → model-mr28wkyp.js} +20 -20
  188. package/dist/chunks/{git-h2wp1rwf.js → model-mtjbpypn.js} +27 -27
  189. package/dist/chunks/{git-x661k3y3.js → model-mxvxcxwy.js} +4 -4
  190. package/dist/chunks/{git-vvwn34gm.js → model-mzr0kwz3.js} +21 -21
  191. package/dist/chunks/{git-2k9fjx65.js → model-n8vdnqrc.js} +5 -5
  192. package/dist/chunks/{git-ckxxahkn.js → model-nbwfbw7q.js} +29 -29
  193. package/dist/chunks/{git-653jwha5.js → model-ndzm53tf.js} +7 -7
  194. package/dist/chunks/{git-afj4khrd.js → model-ngzr1rke.js} +35 -35
  195. package/dist/chunks/{git-gjbzw0xs.js → model-nkfqmrng.js} +5 -5
  196. package/dist/chunks/{git-ej71bdfb.js → model-nnegw8hy.js} +51 -51
  197. package/dist/chunks/{git-8fjdzkkz.js → model-nx67q5mf.js} +27 -27
  198. package/dist/chunks/{git-5yzzbxa7.js → model-p37cw4rj.js} +8 -8
  199. package/dist/chunks/{git-wb9cfjnb.js → model-p5x6h0ea.js} +15 -15
  200. package/dist/chunks/{git-5prh4sa3.js → model-pc670ma7.js} +21 -21
  201. package/dist/chunks/{git-yf6bsa4q.js → model-pdfafe8d.js} +74 -74
  202. package/dist/chunks/{git-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{git-pknna89w.js → model-pknna89w.js} +1 -1
  204. package/dist/chunks/{git-pg3m1bkm.js → model-q1ecnbsd.js} +3 -3
  205. package/dist/chunks/{git-qnc92qwc.js → model-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{git-qsdy395h.js → model-qsdy395h.js} +1 -1
  207. package/dist/chunks/{git-mpyd4te8.js → model-qt4mgnnm.js} +9 -9
  208. package/dist/chunks/{git-57vd24f3.js → model-qxcqbx7c.js} +11 -11
  209. package/dist/chunks/{git-qxjc9qry.js → model-qxjc9qry.js} +3 -3
  210. package/dist/chunks/{git-n3qqcskk.js → model-qy0tcep6.js} +29 -29
  211. package/dist/chunks/{git-scgrse2b.js → model-qygbw77c.js} +5 -5
  212. package/dist/chunks/{git-8vy6cwnw.js → model-r830apza.js} +11 -11
  213. package/dist/chunks/{git-yp2x3t23.js → model-r8xr0va3.js} +4 -4
  214. package/dist/chunks/{git-2nrarbfq.js → model-rbdmdcgh.js} +32 -32
  215. package/dist/chunks/{git-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{git-9ptry7h8.js → model-re96rjx3.js} +3 -3
  217. package/dist/chunks/{git-kcjnae1a.js → model-rhvy48gn.js} +10 -10
  218. package/dist/chunks/{git-r3vcwrv4.js → model-rsdgpk2t.js} +26 -26
  219. package/dist/chunks/{git-1174b0hx.js → model-s5yxayxs.js} +4 -4
  220. package/dist/chunks/{git-ekg5h0zp.js → model-snsqt8dj.js} +35 -35
  221. package/dist/chunks/{git-3vpcsz7z.js → model-snswbz2h.js} +47 -47
  222. package/dist/chunks/{git-791n53zr.js → model-spdq57er.js} +15 -15
  223. package/dist/chunks/{git-e8tr3786.js → model-sy1vayej.js} +31 -31
  224. package/dist/chunks/{git-g5kmhmn4.js → model-t2rj41re.js} +11 -11
  225. package/dist/chunks/{git-0zghx38h.js → model-t3gyxbgb.js} +13 -13
  226. package/dist/chunks/{git-s8d7rejh.js → model-t550f9t1.js} +4 -4
  227. package/dist/chunks/{git-ey7wydsb.js → model-t9rbaskh.js} +24 -24
  228. package/dist/chunks/{git-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{git-tdstcens.js → model-tdstcens.js} +1 -1
  230. package/dist/chunks/{git-v1tq3pwz.js → model-tjdrgr4h.js} +19 -19
  231. package/dist/chunks/{git-w2h15q85.js → model-tk14y25j.js} +5 -5
  232. package/dist/chunks/{git-v8825gx8.js → model-v12bfv38.js} +10 -10
  233. package/dist/chunks/{git-te2bzzsy.js → model-v5qtavm6.js} +35 -35
  234. package/dist/chunks/{git-veqvce7d.js → model-veqvce7d.js} +1 -1
  235. package/dist/chunks/{git-kpde0a2c.js → model-vhvmb6ep.js} +19 -19
  236. package/dist/chunks/{git-sd9hvprw.js → model-vhzyme33.js} +14 -14
  237. package/dist/chunks/{git-98f0fqab.js → model-vk57bjhv.js} +33 -33
  238. package/dist/chunks/{git-qj64m8dx.js → model-vn9zk7na.js} +4 -4
  239. package/dist/chunks/{git-82qsn231.js → model-vtb6ekz6.js} +31 -31
  240. package/dist/chunks/{git-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{git-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{git-k18ytf7m.js → model-w4axh9wz.js} +6 -6
  243. package/dist/chunks/{git-0t098hqn.js → model-w8xr7nv8.js} +5 -5
  244. package/dist/chunks/{git-rwsmtxp6.js → model-wb7d44e4.js} +1 -1
  245. package/dist/chunks/{git-h9jvq6n0.js → model-wd59kgh2.js} +10 -10
  246. package/dist/chunks/{git-wd87259q.js → model-wd87259q.js} +1 -1
  247. package/dist/chunks/{git-00vxkvj8.js → model-wp8v4mk0.js} +10 -10
  248. package/dist/chunks/{git-bsbz52zb.js → model-wypjq10p.js} +20 -20
  249. package/dist/chunks/{git-1j8ev5c3.js → model-x13kj793.js} +24 -24
  250. package/dist/chunks/{git-cfx504ks.js → model-x5w0v4qz.js} +15 -15
  251. package/dist/chunks/{git-p0wjgz8v.js → model-xd4eajp3.js} +11 -11
  252. package/dist/chunks/{git-2bw54qtz.js → model-xf847saf.js} +3 -3
  253. package/dist/chunks/{git-xfkkasph.js → model-xfkkasph.js} +1 -1
  254. package/dist/chunks/{git-2vp5hvvb.js → model-xggz5yyf.js} +8 -8
  255. package/dist/chunks/{git-325sge2s.js → model-xp3fh2h7.js} +1 -1
  256. package/dist/chunks/{git-9ppqf0fm.js → model-xrn5m798.js} +26 -26
  257. package/dist/chunks/{git-7wqm39p3.js → model-xzh9enxw.js} +12 -12
  258. package/dist/chunks/{git-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{git-a3zqsen4.js → model-y6yd3ew1.js} +40 -40
  260. package/dist/chunks/{git-y71avatq.js → model-y71avatq.js} +1 -1
  261. package/dist/chunks/{git-ykq2zx65.js → model-yaycgkrs.js} +15 -15
  262. package/dist/chunks/{git-hqb90bek.js → model-ygs9mme0.js} +5 -5
  263. package/dist/chunks/{git-zn3xdhgm.js → model-yj7xv6w3.js} +4 -4
  264. package/dist/chunks/{git-tftvtmn6.js → model-yjtcy88h.js} +32 -32
  265. package/dist/chunks/{git-1ykawk59.js → model-ym21y5jk.js} +33 -33
  266. package/dist/chunks/{git-em4qz8cs.js → model-yped5gsp.js} +3 -3
  267. package/dist/chunks/{git-mtgw43mt.js → model-ys5rw1j9.js} +17 -17
  268. package/dist/chunks/{git-wesm6pcv.js → model-yxt1vjsj.js} +6 -6
  269. package/dist/chunks/{git-egnnm4z4.js → model-z00597qp.js} +36 -36
  270. package/dist/chunks/{git-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{git-8fmcz4d2.js → model-z331bskf.js} +17 -17
  272. package/dist/chunks/{git-cth98fgx.js → model-z4fb5m0h.js} +48 -48
  273. package/dist/chunks/{git-wakmr75f.js → model-zcsfwz39.js} +44 -44
  274. package/dist/chunks/{git-taaecmrd.js → model-zd8we8qk.js} +8 -8
  275. package/dist/chunks/{git-2336b01z.js → model-ze5v0a14.js} +8 -8
  276. package/dist/chunks/{git-xvvg8evz.js → model-zg4hsa4e.js} +2 -2
  277. package/dist/chunks/{git-16apfsbq.js → model-zjze8qjc.js} +15 -15
  278. package/dist/chunks/{git-db35ckwp.js → model-znnhkqbd.js} +9 -9
  279. package/dist/chunks/{git-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{git-2p5y98w0.js → model-zrs7pmt3.js} +6 -6
  281. package/dist/chunks/{git-he2r9q3j.js → model-zwp0h3pa.js} +17 -17
  282. package/dist/chunks/{git-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +5 -5
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +99 -99
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +90 -90
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +102 -102
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +119 -119
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +117 -117
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -121
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +83 -83
  317. package/dist/database/database.js +66 -66
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration.gen.js +49 -49
  383. package/dist/database/migration.js +51 -51
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +76 -76
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +363 -363
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +93 -93
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +95 -95
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +74 -74
  407. package/dist/file-access.js +104 -104
  408. package/dist/file-mutation.js +94 -94
  409. package/dist/file-retention.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/location-watcher-policy.js +6 -6
  415. package/dist/filesystem/location-watcher.js +214 -214
  416. package/dist/filesystem/protected.js +3 -3
  417. package/dist/filesystem/search.js +103 -103
  418. package/dist/filesystem/watcher-binding.js +1 -1
  419. package/dist/filesystem/watcher.js +13 -13
  420. package/dist/filesystem.js +106 -106
  421. package/dist/form.js +84 -84
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +87 -87
  424. package/dist/generate.js +105 -105
  425. package/dist/git.js +10 -10
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +91 -91
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +354 -354
  449. package/dist/instruction-discovery.js +81 -81
  450. package/dist/instructions/builtins.js +85 -85
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +3 -3
  453. package/dist/integration.js +87 -87
  454. package/dist/job.js +72 -72
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +69 -69
  457. package/dist/location-activity.js +134 -134
  458. package/dist/location-lifecycle.js +107 -107
  459. package/dist/location-service-map.js +86 -86
  460. package/dist/location-services.js +351 -351
  461. package/dist/location.js +85 -85
  462. package/dist/managed-policy.js +1 -1
  463. package/dist/mcp/client.js +91 -91
  464. package/dist/mcp/index.js +105 -105
  465. package/dist/mcp/instructions.js +127 -127
  466. package/dist/mcp/oauth.js +78 -78
  467. package/dist/mcp/stdio.js +90 -90
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +91 -91
  470. package/dist/model-resolver.js +98 -98
  471. package/dist/model.js +100 -100
  472. package/dist/models-dev.js +105 -105
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +80 -80
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +109 -109
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +88 -88
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +75 -75
  482. package/dist/plugin/agent.js +74 -74
  483. package/dist/plugin/command.js +100 -100
  484. package/dist/plugin/hooks.js +5 -5
  485. package/dist/plugin/host.js +211 -211
  486. package/dist/plugin/identity.js +3 -3
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +326 -326
  489. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  490. package/dist/plugin/models-dev.js +96 -96
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +4 -4
  493. package/dist/plugin/plan.js +102 -102
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  496. package/dist/plugin/provider/azure.js +117 -117
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/chatgpt.js +93 -93
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +112 -112
  503. package/dist/plugin/provider/digitalocean.js +93 -93
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/github-copilot.js +95 -95
  507. package/dist/plugin/provider/gitlab.js +93 -93
  508. package/dist/plugin/provider/google-vertex.js +90 -90
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +78 -78
  511. package/dist/plugin/provider/lmstudio.js +116 -116
  512. package/dist/plugin/provider/local.js +113 -113
  513. package/dist/plugin/provider/modal.js +92 -92
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +114 -114
  516. package/dist/plugin/provider/openai.js +95 -95
  517. package/dist/plugin/provider/opencode.js +96 -96
  518. package/dist/plugin/provider/openrouter.js +91 -91
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +79 -79
  521. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  522. package/dist/plugin/provider/sap-ai-core.js +91 -91
  523. package/dist/plugin/provider/sdk-factory.js +1 -1
  524. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  525. package/dist/plugin/provider/vercel.js +90 -90
  526. package/dist/plugin/provider/vllm.js +114 -114
  527. package/dist/plugin/provider/xai.js +91 -91
  528. package/dist/plugin/provider/zenmux.js +1 -1
  529. package/dist/plugin/provider.js +155 -155
  530. package/dist/plugin/sdk.js +74 -74
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +132 -132
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +341 -341
  535. package/dist/plugin/tool-input-repair.js +4 -4
  536. package/dist/plugin/update.js +6 -6
  537. package/dist/plugin/vcs/git.js +86 -86
  538. package/dist/plugin/vcs/hg.js +86 -86
  539. package/dist/plugin/verbosity.js +93 -93
  540. package/dist/plugin/warming.js +114 -114
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +6 -6
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +2 -2
  545. package/dist/plugin/websearch/parallel.js +8 -8
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin/websearch/tinyfish.js +8 -8
  548. package/dist/plugin.js +220 -220
  549. package/dist/project/schema.js +2 -2
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +84 -84
  552. package/dist/provider.js +99 -99
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/ticket.js +1 -1
  555. package/dist/pty.js +97 -97
  556. package/dist/reference/instructions.js +89 -89
  557. package/dist/reference.js +89 -89
  558. package/dist/repository-cache.js +79 -79
  559. package/dist/repository.js +1 -1
  560. package/dist/ripgrep/binary.js +2 -2
  561. package/dist/ripgrep.js +95 -95
  562. package/dist/rpc.js +86 -86
  563. package/dist/schema.js +1 -1
  564. package/dist/session/affinity.js +1 -1
  565. package/dist/session/command.js +74 -74
  566. package/dist/session/compaction.js +135 -135
  567. package/dist/session/context.js +153 -153
  568. package/dist/session/diff.js +88 -88
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +214 -214
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +154 -154
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +86 -86
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +75 -75
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +97 -97
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +120 -120
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +129 -129
  586. package/dist/session/projector.js +86 -86
  587. package/dist/session/prompt.js +105 -105
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +90 -90
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +224 -224
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +98 -98
  595. package/dist/session/runner/publish-llm-event.js +113 -113
  596. package/dist/session/runner/retry.js +4 -4
  597. package/dist/session/runner/step.js +125 -125
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +164 -164
  601. package/dist/session/shell.js +130 -130
  602. package/dist/session/skill.js +103 -103
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +87 -87
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +203 -203
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +157 -157
  610. package/dist/session/to-session-error.js +111 -111
  611. package/dist/session/transfer.js +211 -211
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +207 -207
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +132 -132
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +105 -105
  621. package/dist/skill.js +112 -112
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +126 -126
  627. package/dist/tool/plugin/edit.js +120 -120
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +124 -124
  630. package/dist/tool/plugin/grep.js +122 -122
  631. package/dist/tool/plugin/mcp-resource.js +117 -117
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +122 -122
  634. package/dist/tool/plugin/question.js +103 -103
  635. package/dist/tool/plugin/read.js +125 -125
  636. package/dist/tool/plugin/shell.js +210 -210
  637. package/dist/tool/plugin/skill.js +111 -111
  638. package/dist/tool/plugin/subagent.js +210 -210
  639. package/dist/tool/plugin/webfetch.js +108 -108
  640. package/dist/tool/plugin/websearch.js +114 -114
  641. package/dist/tool/plugin/write.js +122 -122
  642. package/dist/tool/read-filesystem.js +100 -100
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +7 -7
  645. package/dist/tool.js +14 -14
  646. package/dist/types/model.d.ts +3 -0
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/git-1x11rq2a.js +0 -18
  681. package/dist/chunks/git-pc7qqn66.js +0 -26
  682. /package/dist/chunks/{git-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{git-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{git-143qq2q9.js → model-143qq2q9.js} +0 -0
  685. /package/dist/chunks/{git-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{git-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{git-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{git-24dcb14g.js → model-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{git-2710q6r3.js → model-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{git-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{git-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{git-34c7v6d4.js → model-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{git-359p4xyc.js → model-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{git-3asan66x.js → model-3asan66x.js} +0 -0
  695. /package/dist/chunks/{git-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{git-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{git-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{git-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{git-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{git-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{git-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{git-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{git-53557ph1.js → model-53557ph1.js} +0 -0
  704. /package/dist/chunks/{git-550bvhaj.js → model-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{git-6prwharc.js → model-6prwharc.js} +0 -0
  706. /package/dist/chunks/{git-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{git-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{git-7m9af43g.js → model-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{git-822emrt2.js → model-822emrt2.js} +0 -0
  710. /package/dist/chunks/{git-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{git-8n3pysct.js → model-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{git-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{git-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{git-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{git-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{git-af5trqkr.js → model-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{git-afrmfg78.js → model-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{git-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{git-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{git-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{git-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{git-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{git-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{git-d9fn303g.js → model-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{git-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{git-dajrwvna.js → model-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{git-dap0rakb.js → model-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{git-df08tz66.js → model-df08tz66.js} +0 -0
  729. /package/dist/chunks/{git-dy18nga0.js → model-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{git-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
  731. /package/dist/chunks/{git-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{git-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{git-ec1grn59.js → model-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{git-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{git-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{git-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{git-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{git-faypxj3z.js → model-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{git-fd410y7t.js → model-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{git-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{git-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{git-g86h250q.js → model-g86h250q.js} +0 -0
  743. /package/dist/chunks/{git-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{git-gftt206x.js → model-gftt206x.js} +0 -0
  745. /package/dist/chunks/{git-hk9envan.js → model-hk9envan.js} +0 -0
  746. /package/dist/chunks/{git-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{git-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{git-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{git-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{git-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{git-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{git-mp448xyj.js → model-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{git-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{git-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{git-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{git-njntx4h6.js → model-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{git-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{git-q74kybfr.js → model-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{git-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{git-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{git-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{git-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{git-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{git-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{git-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{git-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{git-w803qqfp.js → model-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{git-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{git-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{git-wtztk69x.js → model-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{git-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{git-x61499pn.js → model-x61499pn.js} +0 -0
  773. /package/dist/chunks/{git-y44na4kk.js → model-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{git-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{git-y8f7s663.js → model-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{git-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{git-ym463w8f.js → model-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{git-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{git-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./git-p45atnv4.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-a7g6j6nx.js";
5
5
  import {
6
6
  create3
7
- } from "./git-rdw6cm16.js";
7
+ } from "./model-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event8,
16
+ Event: () => Event12,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info7,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service52,
18
+ Info: () => Info12,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service55,
21
21
  layer: () => layer20,
22
- node: () => node54
22
+ node: () => node57
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info7 = Command.Info;
27
+ import { Event as Event12 } from "@opencode/schema/command";
28
+ var Info12 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service52 extends Context.Service()("@opencode/Command") {
42
+ class Service55 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer20 = Layer.effect(Service52, Effect.gen(function* () {
45
- const bus = yield* Service80;
44
+ var layer20 = Layer.effect(Service55, Effect.gen(function* () {
45
+ const bus = yield* Service81;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info7.make({
54
+ const info = (definition) => Info12.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service52.of({
58
+ return Service55.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node54 = makeLocationNode({
75
- service: Service52,
74
+ var node57 = makeLocationNode({
75
+ service: Service55,
76
76
  layer: layer20,
77
- deps: [node84]
77
+ deps: [node85]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError6, ExecutionError2, Service52, layer20, node54, exports_command4, Event8 };
89
+ export { Info12, NotFoundError7, ExecutionError2, Service55, layer20, node57, exports_command4, Event12 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./git-e8tr3786.js";
3
+ } from "./model-sy1vayej.js";
4
4
  import {
5
- ID13,
5
+ ID12,
6
6
  MethodID2
7
- } from "./git-n3qqcskk.js";
7
+ } from "./model-qy0tcep6.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./git-pjvnvgmy.js";
11
+ } from "./model-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID13.make("poe");
17
+ var integrationID = ID12.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./git-3w5fmr99.js";
7
+ } from "./model-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./git-qxjc9qry.js";
11
+ } from "./model-qxjc9qry.js";
12
12
  import {
13
13
  create3
14
- } from "./git-rdw6cm16.js";
14
+ } from "./model-rdw6cm16.js";
15
15
  import {
16
- Service81,
17
- node85
18
- } from "./git-2003xh4j.js";
16
+ Service43,
17
+ node46
18
+ } from "./model-7v81x33d.js";
19
19
  import {
20
- Service67,
21
- node71
22
- } from "./git-g1sxm558.js";
20
+ Service61,
21
+ node64
22
+ } from "./model-c27esgm9.js";
23
23
  import {
24
24
  match2
25
- } from "./git-y1fvbwt7.js";
25
+ } from "./model-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./git-9rqn6x4v.js";
28
+ } from "./model-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
34
+ Content: () => Content2,
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service39,
38
+ Service: () => Service42,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node41
41
+ node: () => node45
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service39 extends Context.Service()("@opencode/Tool") {
54
+ class Service42 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service39, Effect.gen(function* () {
57
- const hooks = yield* Service67;
58
- const image = yield* Service81;
56
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
57
+ const hooks = yield* Service61;
58
+ const image = yield* Service43;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service39.of({
187
+ return Service42.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node41 = makeLocationNode({
277
- service: Service39,
276
+ var node45 = makeLocationNode({
277
+ service: Service42,
278
278
  layer,
279
- deps: [node71, node85]
279
+ deps: [node64, node46]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service39, node41, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-qyzaws7n.js";
4
+ } from "./model-16dgqdxz.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./git-2710q6r3.js";
8
+ } from "./model-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./git-y71avatq.js";
11
+ } from "./model-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./model-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service80,
21
+ Service: () => Service81,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node84,
27
+ node: () => node85,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service80 extends Context.Service()("@opencode/Bus") {
79
+ class Service81 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service80,
83
+ service: Service81,
84
84
  deps: [node88],
85
- layer: Layer.effect(Service80, Effect.gen(function* () {
85
+ layer: Layer.effect(Service81, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service80.of({
528
+ return Service81.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node84 = configured12();
542
+ var node85 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service80, configured12, node84, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./git-2a5m3afh.js";
5
+ } from "./model-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./git-9rqn6x4v.js";
8
+ } from "./model-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
- node83
6
- } from "./git-h79qd4dv.js";
5
+ node84
6
+ } from "./model-c0ke6nr1.js";
7
7
  import {
8
- Service77,
9
- node81
10
- } from "./git-c8s4yex5.js";
8
+ Service78,
9
+ node82
10
+ } from "./model-1yft0xp6.js";
11
11
  import {
12
12
  create3
13
- } from "./git-rdw6cm16.js";
13
+ } from "./model-rdw6cm16.js";
14
14
  import {
15
- make18
16
- } from "./git-zbfyanxm.js";
15
+ make16
16
+ } from "./model-ft3zxgd7.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service57,
24
+ Service: () => Service36,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node59
26
+ node: () => node39
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service57 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service36 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service57, Effect.gen(function* () {
37
- const location = yield* Service77;
36
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
37
+ const location = yield* Service78;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make18;
39
+ const git = yield* make16;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service57.of({ ...state, directory: location.directory });
58
+ return Service36.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node59 = makeLocationNode({
61
- service: Service57,
60
+ var node39 = makeLocationNode({
61
+ service: Service36,
62
62
  layer,
63
- deps: [node81, Global.node, node83, FSUtil.node]
63
+ deps: [node82, Global.node, node84, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service57, node59, exports_strategies };
66
+ export { Service36, node39, exports_strategies };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./git-tazgh4e4.js";
3
+ } from "./model-tazgh4e4.js";
4
4
  import {
5
- ID3,
6
- Service32
7
- } from "./git-1f2q55ad.js";
5
+ ID4,
6
+ Service33
7
+ } from "./model-4r5bkf9y.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./git-143qq2q9.js";
10
+ } from "./model-143qq2q9.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./git-9mdv1d98.js";
13
+ } from "./model-frxn4dna.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./git-9e5bzkjp.js";
16
+ } from "./model-9e5bzkjp.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service32;
84
+ const snapshot = yield* Service33;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID3.make(from),
91
- to: ID3.make(to),
90
+ from: ID4.make(from),
91
+ to: ID4.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./git-2a5m3afh.js";
5
+ } from "./model-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./git-9rqn6x4v.js";
8
+ } from "./model-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./git-gd4qta3r.js";
3
+ } from "./model-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./git-rdw6cm16.js";
6
+ } from "./model-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service50,
18
+ Service: () => Service60,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node52
21
+ node: () => node63
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service50 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service60 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service50, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service50.of({
119
+ return Service60.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node52 = makeLocationNode({
137
- service: Service50,
136
+ var node63 = makeLocationNode({
137
+ service: Service60,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service50, node52, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service60, node63, exports_tool_output2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./git-p45atnv4.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-a7g6j6nx.js";
5
5
  import {
6
6
  __export
7
- } from "./git-9rqn6x4v.js";
7
+ } from "./model-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: () => Event19,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info24,
19
+ ID: () => ID13,
20
+ Info: () => Info23,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service74,
25
+ Service: () => Service69,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node78,
28
+ layer: () => layer24,
29
+ node: () => node72,
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 Event19 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info24 = Form.Info;
38
+ var ID13 = Form.ID;
39
+ var Info23 = 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 NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID13
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID13
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: ID14
64
+ id: ID13
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: ID14,
72
+ id: ID13,
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 Service74 extends Context.Service()("@opencode/Form") {
82
+ class Service69 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service74, Effect.gen(function* () {
85
- const bus = yield* Service80;
84
+ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
85
+ const bus = yield* Service81;
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 NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID14.create();
93
+ const id = input.id ?? ID13.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 layer25 = Layer.effect(Service74, 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 Service74.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service69.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node78 = makeLocationNode({ service: Service74, layer: layer25, deps: [node84] });
167
+ var node72 = makeLocationNode({ service: Service69, layer: layer24, deps: [node85] });
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 { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node78, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID13, Info23, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer24, node72, validateAnswer2, validateFields2, exports_form, Event18 };