@opencode/core 0.0.0-dev-20731 → 0.0.0-dev-20732

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{state-mhrgq2e3.js → location-018g50k6.js} +8 -8
  8. package/dist/chunks/{state-dy8qh9xy.js → location-05xfxpq7.js} +6 -6
  9. package/dist/chunks/{state-k99mds86.js → location-0hmrebdx.js} +27 -27
  10. package/dist/chunks/{state-q0xm7vwc.js → location-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{state-2rnwhwfa.js → location-0meaf1wg.js} +11 -11
  12. package/dist/chunks/{state-1b60b23y.js → location-0mprnhvr.js} +18 -18
  13. package/dist/chunks/{state-62k0yxbf.js → location-0n2ztf6h.js} +16 -16
  14. package/dist/chunks/{state-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{state-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{state-mthfcyeq.js → location-11ddt8jx.js} +11 -11
  17. package/dist/chunks/{state-mak85ys1.js → location-124d3sga.js} +15 -15
  18. package/dist/chunks/{state-kmb6d1dy.js → location-12arssw0.js} +28 -28
  19. package/dist/chunks/{state-r8xr0va3.js → location-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{state-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{state-1dvck2a7.js → location-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{state-kaywwrt1.js → location-1h05fpfc.js} +5 -5
  23. package/dist/chunks/{state-09sqteag.js → location-1kn9js94.js} +1 -1
  24. package/dist/chunks/{state-edpay1ac.js → location-1v83qqqa.js} +33 -33
  25. package/dist/chunks/{state-1ygqh575.js → location-1ygqh575.js} +2 -2
  26. package/dist/chunks/{state-4dy7nfnb.js → location-1z74wxwj.js} +38 -38
  27. package/dist/chunks/{state-aeb4sny1.js → location-207ajt2h.js} +5 -5
  28. package/dist/chunks/{state-q41dffrp.js → location-26tgw3q9.js} +22 -22
  29. package/dist/chunks/{state-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{state-4ts7tf6z.js → location-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/{state-2kngz1a4.js → location-2d90wz9s.js} +11 -11
  32. package/dist/chunks/{state-pkqb68ka.js → location-2m8jawch.js} +4 -4
  33. package/dist/chunks/{state-918mtgee.js → location-31c09hs0.js} +5 -5
  34. package/dist/chunks/{state-08jsyhgk.js → location-327nxpht.js} +22 -22
  35. package/dist/chunks/{state-rkkgxmw8.js → location-339acx8g.js} +5 -5
  36. package/dist/chunks/{state-e4atdt0t.js → location-34f7k92p.js} +50 -50
  37. package/dist/chunks/{state-40rcjy03.js → location-36663d4h.js} +36 -36
  38. package/dist/chunks/{state-myr8fe9c.js → location-3df827ch.js} +3 -3
  39. package/dist/chunks/{state-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{state-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{state-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{state-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{state-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{state-h78379q5.js → location-43355rh8.js} +46 -46
  45. package/dist/chunks/{state-k9t3kwqs.js → location-4bk00v8h.js} +12 -12
  46. package/dist/chunks/{state-0s32db7e.js → location-4f3k4dbg.js} +15 -15
  47. package/dist/chunks/{state-cb71px6m.js → location-4nqe1xb5.js} +11 -11
  48. package/dist/chunks/{state-5y60f30r.js → location-4z2gahf8.js} +29 -29
  49. package/dist/chunks/{state-4j4tgtq5.js → location-4z58m4b4.js} +4 -4
  50. package/dist/chunks/{state-54ma36ye.js → location-54ma36ye.js} +1 -1
  51. package/dist/chunks/{state-ms5r0hkh.js → location-5dbyheb1.js} +46 -46
  52. package/dist/chunks/{state-vyb30c2y.js → location-5e7vn2h5.js} +18 -18
  53. package/dist/chunks/{state-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{state-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{state-nb795v0v.js → location-5z77wtmw.js} +5 -5
  56. package/dist/chunks/{state-138h01qe.js → location-6355zzhx.js} +7 -7
  57. package/dist/chunks/{state-srp51ndr.js → location-69yjwdf1.js} +17 -17
  58. package/dist/chunks/{state-9n6qg2a9.js → location-6ga60bwb.js} +32 -32
  59. package/dist/chunks/{state-mzc2a39c.js → location-6jz79czp.js} +9 -9
  60. package/dist/chunks/{state-q5gkxxjb.js → location-6r5wz7qt.js} +33 -33
  61. package/dist/chunks/{state-a8bn8zg0.js → location-6sr3ve8g.js} +21 -21
  62. package/dist/chunks/{state-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{state-y88q4kk1.js → location-6zbg9ej9.js} +49 -49
  64. package/dist/chunks/{state-71az546q.js → location-71az546q.js} +2 -2
  65. package/dist/chunks/{state-dn6t15nt.js → location-72zy0jqs.js} +11 -11
  66. package/dist/chunks/{state-zh56ev1t.js → location-73r4cdwa.js} +15 -15
  67. package/dist/chunks/{state-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{state-ktay9hq4.js → location-7c2a2ky2.js} +11 -11
  69. package/dist/chunks/{state-zz0gef9f.js → location-7dcrx3ae.js} +14 -14
  70. package/dist/chunks/{state-7jy1nsxc.js → location-7veege35.js} +9 -9
  71. package/dist/chunks/{state-6cpepfj3.js → location-84hvk1m2.js} +14 -14
  72. package/dist/chunks/{state-2s897vgp.js → location-862dge66.js} +10 -10
  73. package/dist/chunks/{state-pgz7mtdk.js → location-8bwmh9pn.js} +7 -7
  74. package/dist/chunks/{state-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{state-ajhnm1zb.js → location-8dtbrnbt.js} +25 -25
  76. package/dist/chunks/{state-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{state-hw2pxhp3.js → location-8pxx9679.js} +94 -94
  78. package/dist/chunks/{state-1epzdntc.js → location-95f4yj9r.js} +11 -11
  79. package/dist/chunks/{state-67yqhhje.js → location-98875m2v.js} +20 -20
  80. package/dist/chunks/{state-dqv4y3rf.js → location-99wenzhp.js} +47 -47
  81. package/dist/chunks/{state-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
  82. package/dist/chunks/{state-3yjxx9cb.js → location-9e7ntz7n.js} +11 -11
  83. package/dist/chunks/{state-24dsd3mh.js → location-9ktdg2kj.js} +35 -35
  84. package/dist/chunks/{state-dmw4vz70.js → location-9mr8vnz8.js} +19 -19
  85. package/dist/chunks/{state-5zqdgy8b.js → location-9n10r3b6.js} +27 -27
  86. package/dist/chunks/{state-x62cppxn.js → location-9p6p0atc.js} +20 -20
  87. package/dist/chunks/{state-jwygkmfq.js → location-9prv77hx.js} +6 -6
  88. package/dist/chunks/location-9sh4wc5j.js +18 -0
  89. package/dist/chunks/{state-fw6msab2.js → location-9zzqkcja.js} +13 -13
  90. package/dist/chunks/{state-fdv30zvt.js → location-a2ew8a62.js} +7 -7
  91. package/dist/chunks/{state-j34bs4nz.js → location-a3c7ahw6.js} +4 -4
  92. package/dist/chunks/{state-r3v0c7hy.js → location-a6w7x0dp.js} +5 -5
  93. package/dist/chunks/{state-y9v55n8z.js → location-a9jnh2ry.js} +10 -10
  94. package/dist/chunks/{state-aaet6srn.js → location-aaet6srn.js} +2 -2
  95. package/dist/chunks/{state-fhb2dsjj.js → location-aagvde34.js} +32 -32
  96. package/dist/chunks/{state-gqtdsdt7.js → location-addxnjmp.js} +4 -4
  97. package/dist/chunks/{state-77f8qgj3.js → location-adz22r75.js} +13 -13
  98. package/dist/chunks/{state-scgrse2b.js → location-b3f8fkhc.js} +5 -5
  99. package/dist/chunks/{state-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{state-zw11p4sz.js → location-bapvy5v2.js} +5 -5
  101. package/dist/chunks/{state-10rnhjad.js → location-bsjw1qxa.js} +11 -11
  102. package/dist/chunks/{state-8hrcrd79.js → location-bty85w2p.js} +23 -23
  103. package/dist/chunks/{state-mwh5sg7p.js → location-c2x78mxc.js} +35 -35
  104. package/dist/chunks/{state-f42t7e33.js → location-ca0nj0by.js} +20 -20
  105. package/dist/chunks/{state-tprb9ykm.js → location-cdqe3acw.js} +6 -6
  106. package/dist/chunks/{state-kkqpbp86.js → location-cf6066tf.js} +35 -35
  107. package/dist/chunks/{state-ts23464c.js → location-cfsekr6v.js} +4 -4
  108. package/dist/chunks/{state-r8wc69dc.js → location-d4rbh6ak.js} +21 -21
  109. package/dist/chunks/{state-wcnv1p8x.js → location-d8s2zm1x.js} +11 -11
  110. package/dist/chunks/{state-jnz95558.js → location-daz4xq7q.js} +17 -17
  111. package/dist/chunks/{state-q8bdncf5.js → location-dchhcxvn.js} +9 -9
  112. package/dist/chunks/{state-1h0krj6g.js → location-dfd5mgtk.js} +36 -36
  113. package/dist/chunks/{state-686nxd57.js → location-djq871tb.js} +6 -6
  114. package/dist/chunks/{state-t5131vnj.js → location-dn50s6hc.js} +45 -45
  115. package/dist/chunks/{state-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{state-2t7sqs4y.js → location-dzy5aakp.js} +9 -9
  117. package/dist/chunks/{state-dabehbb6.js → location-e1raa5mm.js} +7 -7
  118. package/dist/chunks/{state-y0rd6mpg.js → location-e2mk3tg3.js} +4 -4
  119. package/dist/chunks/{state-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  120. package/dist/chunks/{state-1a37t69z.js → location-e5mvmyh8.js} +10 -10
  121. package/dist/chunks/{state-4m5yfwrs.js → location-e9de3xxg.js} +12 -12
  122. package/dist/chunks/{state-54z56z4r.js → location-eaz2j5p8.js} +8 -8
  123. package/dist/chunks/{state-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{state-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
  125. package/dist/chunks/{state-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{state-maw79xe3.js → location-f20kv32e.js} +11 -11
  127. package/dist/chunks/{state-vjps42b3.js → location-f23k8efd.js} +38 -38
  128. package/dist/chunks/{state-ad6fy242.js → location-f2mfbnxq.js} +7 -7
  129. package/dist/chunks/{state-c6dd62wt.js → location-f3b2zyky.js} +4 -4
  130. package/dist/chunks/{state-jf701akp.js → location-fa5a6z34.js} +6 -6
  131. package/dist/chunks/{state-7dqw4kz8.js → location-fcrkznn8.js} +5 -5
  132. package/dist/chunks/{state-nvdmc63m.js → location-ff1nx8de.js} +308 -308
  133. package/dist/chunks/{state-25qfk6yg.js → location-fjzgnj6k.js} +9 -9
  134. package/dist/chunks/{state-2rc505e3.js → location-fzncz4bm.js} +20 -20
  135. package/dist/chunks/{state-5yzzbxa7.js → location-g0445xdp.js} +8 -8
  136. package/dist/chunks/{state-5k5r4c8x.js → location-g0kw0tj5.js} +11 -11
  137. package/dist/chunks/{state-hs3zg9hx.js → location-g32vcz6j.js} +36 -36
  138. package/dist/chunks/{state-w19d8598.js → location-g5w8qwbj.js} +7 -7
  139. package/dist/chunks/{state-xt4njr3s.js → location-gd0tnyjc.js} +1 -1
  140. package/dist/chunks/{state-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{state-2z3n0s1m.js → location-gdaft186.js} +11 -11
  142. package/dist/chunks/{state-sny9w75j.js → location-gdxj8ks4.js} +18 -18
  143. package/dist/chunks/{state-5gt3f0n7.js → location-gmpz9h40.js} +33 -33
  144. package/dist/chunks/{state-jwpv483e.js → location-gnvmv7zt.js} +18 -18
  145. package/dist/chunks/{state-vfnexndp.js → location-gqft2nrr.js} +6 -6
  146. package/dist/chunks/{state-7j27yge6.js → location-grhdqs63.js} +19 -19
  147. package/dist/chunks/{state-8hts1srz.js → location-gt93hrec.js} +11 -11
  148. package/dist/chunks/{state-h2b79v29.js → location-h2b79v29.js} +2 -2
  149. package/dist/chunks/{state-n3ky4ns8.js → location-h4kgzxf5.js} +2 -2
  150. package/dist/chunks/{state-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{state-aeggwfyx.js → location-h9wy77ww.js} +7 -7
  152. package/dist/chunks/{state-21qrczcf.js → location-hapgv9v5.js} +23 -23
  153. package/dist/chunks/{state-y7hh2tp0.js → location-hkwpvpak.js} +24 -24
  154. package/dist/chunks/{state-mhz4gg3p.js → location-hq78km43.js} +19 -19
  155. package/dist/chunks/{state-5w4b35rv.js → location-hvtsb2k8.js} +9 -9
  156. package/dist/chunks/{state-ejxk0zy2.js → location-j151k726.js} +32 -32
  157. package/dist/chunks/{state-3w2eqbz4.js → location-j2kw60gk.js} +13 -13
  158. package/dist/chunks/{state-j56e64zr.js → location-j56e64zr.js} +1 -1
  159. package/dist/chunks/{state-wxgmpaes.js → location-jdg8p4tj.js} +11 -11
  160. package/dist/chunks/{state-yndsvvt3.js → location-jdrd3c06.js} +1 -1
  161. package/dist/chunks/{state-611ehfjv.js → location-jkzf7ay7.js} +3 -3
  162. package/dist/chunks/{state-mcqz5t5c.js → location-jt92w6zc.js} +22 -22
  163. package/dist/chunks/{state-xg26vyyk.js → location-k212rrg8.js} +4 -4
  164. package/dist/chunks/{state-zvt5dnpc.js → location-k76fn4kw.js} +4 -4
  165. package/dist/chunks/{state-p66jwzje.js → location-k9anv2x6.js} +23 -23
  166. package/dist/chunks/{state-6fhb81wd.js → location-karyz3y9.js} +19 -19
  167. package/dist/chunks/{state-f7ge0a8n.js → location-kbe6f2sn.js} +45 -45
  168. package/dist/chunks/{state-6pygarpm.js → location-kg64916e.js} +3 -3
  169. package/dist/chunks/{state-101fvt1n.js → location-kmg3b8a8.js} +88 -88
  170. package/dist/chunks/{state-vccqm5x4.js → location-ksatnkbz.js} +25 -25
  171. package/dist/chunks/{state-s4e19jsk.js → location-m242qanr.js} +40 -40
  172. package/dist/chunks/{state-7pg6bb3s.js → location-m30qs711.js} +23 -23
  173. package/dist/chunks/{state-9kg8hsmm.js → location-m3c0a78p.js} +11 -11
  174. package/dist/chunks/{state-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{state-t2t1t50a.js → location-m70vqwee.js} +16 -16
  176. package/dist/chunks/{state-hv684ge7.js → location-m793x516.js} +178 -178
  177. package/dist/chunks/{state-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{state-fmcqyzhx.js → location-mawpmn43.js} +9 -9
  179. package/dist/chunks/{state-bdpzzc2x.js → location-mek16e5d.js} +11 -11
  180. package/dist/chunks/{state-3eb2wybh.js → location-mqvx1r3j.js} +11 -11
  181. package/dist/chunks/{state-nc7he5v1.js → location-mvw81cf0.js} +27 -27
  182. package/dist/chunks/{state-1q8nfdb4.js → location-n1exqw8h.js} +3 -3
  183. package/dist/chunks/{state-x944hqgj.js → location-n38m8ysg.js} +35 -35
  184. package/dist/chunks/{state-gh5z95q3.js → location-n8sna2wb.js} +9 -9
  185. package/dist/chunks/{state-7x6rk6r1.js → location-n8wxvzz9.js} +9 -9
  186. package/dist/chunks/{state-m4g7grr3.js → location-nb0mgk1p.js} +24 -24
  187. package/dist/chunks/{state-bx25mqzy.js → location-nc6y641n.js} +25 -25
  188. package/dist/chunks/{state-kss966qf.js → location-nfcraa34.js} +22 -22
  189. package/dist/chunks/{state-h6h410qg.js → location-nj66ja0z.js} +61 -61
  190. package/dist/chunks/{state-d7gb4geb.js → location-nwav4b6k.js} +5 -5
  191. package/dist/chunks/{state-rhgq3aa6.js → location-p7vebjqd.js} +22 -22
  192. package/dist/chunks/{state-d9sgy5v4.js → location-pcxghkgz.js} +4 -4
  193. package/dist/chunks/{state-t7v34wze.js → location-pdz1qa80.js} +6 -6
  194. package/dist/chunks/{state-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{state-pknna89w.js → location-pknna89w.js} +1 -1
  196. package/dist/chunks/{state-4n607a2z.js → location-pp7e5es3.js} +5 -5
  197. package/dist/chunks/{state-55ehdx5d.js → location-pqst28f9.js} +23 -23
  198. package/dist/chunks/{state-7rghpwat.js → location-pqza79a5.js} +30 -30
  199. package/dist/chunks/{state-89zyxthc.js → location-pv7j4d88.js} +22 -22
  200. package/dist/chunks/{state-z2btvd3q.js → location-pz79f5fk.js} +9 -9
  201. package/dist/chunks/{state-b0rb4zb4.js → location-q3ra36g2.js} +30 -30
  202. package/dist/chunks/{state-9qk2kwmb.js → location-q552wz1s.js} +16 -16
  203. package/dist/chunks/{state-6bjn4za1.js → location-qkseqq5s.js} +26 -26
  204. package/dist/chunks/{state-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{state-qsdy395h.js → location-qsdy395h.js} +1 -1
  206. package/dist/chunks/{state-qxjc9qry.js → location-qxjc9qry.js} +3 -3
  207. package/dist/chunks/{state-mwnn09ds.js → location-r0dh3q8k.js} +22 -22
  208. package/dist/chunks/{state-qmqgtz8f.js → location-r2m716tb.js} +9 -9
  209. package/dist/chunks/{state-6rhevr55.js → location-r3hk3vvb.js} +41 -41
  210. package/dist/chunks/{state-prq7hedt.js → location-r9w3djhf.js} +9 -9
  211. package/dist/chunks/{state-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{state-1qbad211.js → location-rhchahe3.js} +8 -8
  213. package/dist/chunks/{state-bnmr3cva.js → location-rvf0m9x6.js} +8 -8
  214. package/dist/chunks/{state-4xpke3ff.js → location-rwkyravt.js} +19 -19
  215. package/dist/chunks/{state-qcq5ks5d.js → location-s13q9xsn.js} +22 -22
  216. package/dist/chunks/{state-ryg7eh2t.js → location-s7hewkcj.js} +10 -10
  217. package/dist/chunks/{state-c6b7y4z0.js → location-s8mh1nra.js} +3 -3
  218. package/dist/chunks/{state-bgecxp98.js → location-sdgwcra8.js} +4 -4
  219. package/dist/chunks/{state-k1qsfy5p.js → location-sgszqgg5.js} +42 -42
  220. package/dist/chunks/{state-8mps3fwf.js → location-smss3raw.js} +19 -19
  221. package/dist/chunks/{state-pb9tkzd3.js → location-sqfjvg79.js} +21 -21
  222. package/dist/chunks/{state-wv396vej.js → location-t550f9t1.js} +8 -8
  223. package/dist/chunks/{state-52gbbbb2.js → location-taen15gp.js} +36 -36
  224. package/dist/chunks/{state-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{state-h4ckqw4f.js → location-tbe4vfsv.js} +11 -11
  226. package/dist/chunks/{state-3jms3t4n.js → location-tbmv8js2.js} +75 -75
  227. package/dist/chunks/{state-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{state-tdstcens.js → location-tdstcens.js} +1 -1
  229. package/dist/chunks/{state-9ywvhnd6.js → location-tgrcp62g.js} +20 -20
  230. package/dist/chunks/{state-tjedn1bk.js → location-tjedn1bk.js} +1 -1
  231. package/dist/chunks/{state-yfng7xhx.js → location-tmtg3qgf.js} +63 -63
  232. package/dist/chunks/{state-tg7bkhef.js → location-v0es1rhs.js} +7 -7
  233. package/dist/chunks/{state-wm8vp7b3.js → location-v7qwwke9.js} +16 -16
  234. package/dist/chunks/{state-nv5wzee9.js → location-v812q89j.js} +14 -14
  235. package/dist/chunks/{state-m2pfdawv.js → location-v882ey3h.js} +4 -4
  236. package/dist/chunks/{state-0zaydvkv.js → location-vcjw93zb.js} +32 -32
  237. package/dist/chunks/{state-7q0e42ms.js → location-vdygypy1.js} +4 -4
  238. package/dist/chunks/{state-qf4tt5n8.js → location-vepwfmka.js} +5 -5
  239. package/dist/chunks/{state-veqvce7d.js → location-veqvce7d.js} +1 -1
  240. package/dist/chunks/{state-b434f0z0.js → location-vn0evt42.js} +6 -6
  241. package/dist/chunks/{state-7st03jgk.js → location-vrts8c30.js} +19 -19
  242. package/dist/chunks/{state-yss3y4q1.js → location-vz992avt.js} +13 -13
  243. package/dist/chunks/{state-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{state-84txncab.js → location-w1eejvng.js} +5 -5
  245. package/dist/chunks/{state-1pxz8ven.js → location-w2h15q85.js} +5 -5
  246. package/dist/chunks/{state-80jhpvy9.js → location-w2khkhy7.js} +21 -21
  247. package/dist/chunks/{state-ft8vrdb0.js → location-w3766evm.js} +28 -28
  248. package/dist/chunks/{state-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{state-jn0tk1mz.js → location-w3x9v1nk.js} +8 -8
  250. package/dist/chunks/{state-0r3c1bmw.js → location-wbgabvvj.js} +5 -5
  251. package/dist/chunks/{state-wrvjmzy4.js → location-wcp7fp92.js} +47 -47
  252. package/dist/chunks/{state-4yhfmhtq.js → location-wd6s3dg2.js} +34 -34
  253. package/dist/chunks/{state-wd87259q.js → location-wd87259q.js} +1 -1
  254. package/dist/chunks/{state-h3pfkhmz.js → location-wp27whg1.js} +13 -13
  255. package/dist/chunks/{state-tf2qcnq5.js → location-wtn9vyqv.js} +11 -11
  256. package/dist/chunks/{state-m8b1hsph.js → location-x9grm7g9.js} +10 -10
  257. package/dist/chunks/{state-427fgkyx.js → location-xbp45kg1.js} +18 -18
  258. package/dist/chunks/{state-2a6rn6yr.js → location-xcd0eash.js} +6 -6
  259. package/dist/chunks/{state-fzm7tejx.js → location-xd2nvtk7.js} +17 -17
  260. package/dist/chunks/{state-cfcvtgjj.js → location-xfe76f1r.js} +24 -24
  261. package/dist/chunks/{state-mzwaxmr6.js → location-xg1vnfsw.js} +3 -3
  262. package/dist/chunks/{state-4pa8nav4.js → location-xkhfjrgz.js} +3 -3
  263. package/dist/chunks/{state-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{state-551azpvx.js → location-xmgjmham.js} +24 -24
  265. package/dist/chunks/{state-tb07zrhn.js → location-xrbnp9j2.js} +1 -1
  266. package/dist/chunks/location-xwd6n8tx.js +253 -0
  267. package/dist/chunks/{state-ykd4jxva.js → location-y0tgs2ts.js} +20 -20
  268. package/dist/chunks/{state-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{state-rg29w5sg.js → location-y9t8hm03.js} +15 -15
  270. package/dist/chunks/{state-gs1dqwms.js → location-ydq3cy3j.js} +22 -22
  271. package/dist/chunks/{state-3gccgfaf.js → location-yjnzakaj.js} +1 -1
  272. package/dist/chunks/{state-41kmeemt.js → location-ypw6bvy6.js} +9 -9
  273. package/dist/chunks/{state-9dgxaq8y.js → location-yqjnaa28.js} +15 -15
  274. package/dist/chunks/{state-w9f5rn9p.js → location-yvb4exc7.js} +14 -14
  275. package/dist/chunks/{state-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{state-5h69wz8x.js → location-z0m1wg4b.js} +4 -4
  277. package/dist/chunks/{state-0j8txdm0.js → location-z8w2whtk.js} +3 -3
  278. package/dist/chunks/{state-3nz0bd4c.js → location-zd7wpxs7.js} +2 -2
  279. package/dist/chunks/{state-9031p0b2.js → location-zhkbw3m9.js} +5 -5
  280. package/dist/chunks/{state-qfqe7b7s.js → location-zn575rda.js} +11 -11
  281. package/dist/chunks/{state-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{state-cs141p16.js → location-zv7jazps.js} +26 -26
  283. package/dist/chunks/{state-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{state-qh28zxsx.js → location-zxraynqz.js} +32 -32
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +86 -86
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +115 -115
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +119 -119
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +116 -116
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +86 -86
  319. package/dist/database/database.js +71 -71
  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.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +80 -80
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +99 -99
  424. package/dist/form.js +87 -87
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +102 -102
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +104 -104
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +88 -88
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +128 -128
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +103 -103
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +83 -83
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +118 -118
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +75 -75
  486. package/dist/plugin/command.js +101 -101
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +1 -1
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +91 -91
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +94 -94
  520. package/dist/plugin/provider/opencode.js +98 -98
  521. package/dist/plugin/provider/openrouter.js +92 -92
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -80
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  525. package/dist/plugin/provider/sap-ai-core.js +92 -92
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  528. package/dist/plugin/provider/vercel.js +91 -91
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +92 -92
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +344 -344
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/verbosity.js +94 -94
  543. package/dist/plugin/warming.js +115 -115
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +6 -6
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +223 -223
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +89 -89
  555. package/dist/provider.js +102 -102
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +98 -98
  559. package/dist/reference/instructions.js +90 -90
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +82 -82
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +87 -87
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +75 -75
  569. package/dist/session/compaction.js +136 -136
  570. package/dist/session/context.js +154 -154
  571. package/dist/session/diff.js +89 -89
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +153 -153
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +85 -85
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -98
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -121
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -130
  589. package/dist/session/projector.js +87 -87
  590. package/dist/session/prompt.js +106 -106
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -91
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -99
  598. package/dist/session/runner/publish-llm-event.js +114 -114
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +126 -126
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +163 -163
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +104 -104
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +76 -76
  608. package/dist/session/store.js +88 -88
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +204 -204
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +158 -158
  613. package/dist/session/to-session-error.js +112 -112
  614. package/dist/session/transfer.js +217 -217
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +212 -212
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +131 -131
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +108 -108
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +92 -92
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +129 -129
  630. package/dist/tool/plugin/edit.js +121 -121
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +125 -125
  634. package/dist/tool/plugin/mcp-resource.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +123 -123
  637. package/dist/tool/plugin/question.js +104 -104
  638. package/dist/tool/plugin/read.js +126 -126
  639. package/dist/tool/plugin/shell.js +209 -209
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +213 -213
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +123 -123
  645. package/dist/tool/read-filesystem.js +101 -101
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +92 -92
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +88 -88
  670. package/dist/websearch.js +83 -83
  671. package/dist/wellknown/plugin.js +75 -75
  672. package/dist/wellknown.js +80 -80
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +79 -79
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +93 -93
  681. package/package.json +8 -8
  682. package/dist/chunks/state-by5v678g.js +0 -18
  683. package/dist/chunks/state-qk8sy7r3.js +0 -253
  684. /package/dist/chunks/{state-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{state-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{state-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{state-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{state-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{state-24dcb14g.js → location-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{state-2710q6r3.js → location-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{state-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{state-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{state-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{state-359p4xyc.js → location-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{state-3asan66x.js → location-3asan66x.js} +0 -0
  696. /package/dist/chunks/{state-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{state-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{state-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{state-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{state-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{state-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{state-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{state-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{state-53557ph1.js → location-53557ph1.js} +0 -0
  705. /package/dist/chunks/{state-550bvhaj.js → location-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{state-6prwharc.js → location-6prwharc.js} +0 -0
  707. /package/dist/chunks/{state-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{state-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{state-7m9af43g.js → location-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{state-822emrt2.js → location-822emrt2.js} +0 -0
  711. /package/dist/chunks/{state-84wd9syh.js → location-84wd9syh.js} +0 -0
  712. /package/dist/chunks/{state-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{state-8n3pysct.js → location-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{state-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{state-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{state-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{state-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{state-af5trqkr.js → location-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{state-afrmfg78.js → location-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{state-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{state-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{state-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{state-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{state-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{state-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{state-d9fn303g.js → location-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{state-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{state-dajrwvna.js → location-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{state-dap0rakb.js → location-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{state-df08tz66.js → location-df08tz66.js} +0 -0
  731. /package/dist/chunks/{state-dy18nga0.js → location-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{state-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{state-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{state-ec1grn59.js → location-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{state-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{state-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{state-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{state-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{state-faypxj3z.js → location-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{state-fd410y7t.js → location-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{state-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{state-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{state-g86h250q.js → location-g86h250q.js} +0 -0
  744. /package/dist/chunks/{state-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{state-gftt206x.js → location-gftt206x.js} +0 -0
  746. /package/dist/chunks/{state-hk9envan.js → location-hk9envan.js} +0 -0
  747. /package/dist/chunks/{state-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{state-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{state-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{state-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{state-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{state-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{state-mp448xyj.js → location-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{state-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{state-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{state-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{state-njntx4h6.js → location-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{state-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{state-q74kybfr.js → location-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{state-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{state-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{state-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{state-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{state-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{state-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{state-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{state-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{state-w803qqfp.js → location-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{state-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{state-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{state-wtztk69x.js → location-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{state-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{state-x61499pn.js → location-x61499pn.js} +0 -0
  774. /package/dist/chunks/{state-y44na4kk.js → location-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{state-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{state-y8f7s663.js → location-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{state-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{state-ym463w8f.js → location-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{state-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{state-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./state-mthfcyeq.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-11ddt8jx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./state-dpkg50ah.js";
7
+ } from "./location-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node68
12
- } from "./state-tprb9ykm.js";
11
+ node70
12
+ } from "./location-cdqe3acw.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./state-faypxj3z.js";
15
+ } from "./location-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./state-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
24
  ID: () => ID9,
25
- Info: () => Info17,
25
+ Info: () => Info13,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service64,
27
+ Service: () => Service67,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node67
29
+ configured: () => configured8,
30
+ node: () => node69
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
38
  var ID9 = Workspace.ID;
39
39
 
40
- class Info17 extends Schema.Class("Workspace.Info")({
40
+ class Info13 extends Schema.Class("Workspace.Info")({
41
41
  id: ID9,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
@@ -56,15 +56,15 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
56
56
  }) {
57
57
  }
58
58
 
59
- class Service64 extends Context.Service()("@opencode/Workspace") {
59
+ class Service67 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service64,
61
+ var configured8 = (options = {}) => makeGlobalNode({
62
+ service: Service67,
63
63
  layer: layer(options),
64
- deps: [node85, node68]
64
+ deps: [node88, node70]
65
65
  });
66
- var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
67
- const db = (yield* Service81).db;
66
+ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
67
+ const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info17({
83
+ const info = (row, binding) => new Info13({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,7 +154,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service64.of({
157
+ return Service67.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
159
  const workspaceID = input.id ?? ID9.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node67 = configured11();
224
+ var node69 = configured8();
225
225
 
226
- export { ID9, Info17, NotFound3, CreateConflict2, Service64, configured11, node67, exports_workspace };
226
+ export { ID9, Info13, NotFound3, CreateConflict2, Service67, configured8, node69, exports_workspace };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./state-k9t3kwqs.js";
6
+ } from "./location-4bk00v8h.js";
7
7
  import {
8
8
  Slug2
9
- } from "./state-gebd4c9n.js";
9
+ } from "./location-gebd4c9n.js";
10
10
  import {
11
- Service81,
12
- node85
13
- } from "./state-mthfcyeq.js";
11
+ Service84,
12
+ node88
13
+ } from "./location-11ddt8jx.js";
14
14
  import {
15
- Service80,
16
- node84
17
- } from "./state-62k0yxbf.js";
15
+ Service82,
16
+ node86
17
+ } from "./location-0n2ztf6h.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./state-h2b79v29.js";
20
+ } from "./location-h2b79v29.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./state-1dvck2a7.js";
23
+ } from "./location-1dvck2a7.js";
24
24
  import {
25
25
  ID17,
26
- NotFoundError10
27
- } from "./state-52gbbbb2.js";
26
+ NotFoundError11
27
+ } from "./location-taen15gp.js";
28
28
  import {
29
29
  Ref4
30
- } from "./state-9qk2kwmb.js";
30
+ } from "./location-q552wz1s.js";
31
31
  import {
32
- Service70,
33
- node74
34
- } from "./state-q8bdncf5.js";
32
+ Service66,
33
+ node68
34
+ } from "./location-dchhcxvn.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./state-0vbcp93d.js";
38
+ } from "./location-0vbcp93d.js";
39
39
  import {
40
- Service22
41
- } from "./state-mhz4gg3p.js";
40
+ Service26
41
+ } from "./location-hq78km43.js";
42
42
  import {
43
43
  __export
44
- } from "./state-9rqn6x4v.js";
44
+ } from "./location-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -56,12 +56,12 @@ __export(exports_worktree2, {
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service21,
59
+ Service: () => Service25,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node24
64
+ node: () => node28
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -92,19 +92,19 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
92
92
  }
93
93
  var Event6 = Worktree.Event;
94
94
 
95
- class Service21 extends Context.Service()("@opencode/Worktree") {
95
+ class Service25 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service21, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const database = yield* Service81;
99
+ const database = yield* Service84;
100
100
  const db = database.db;
101
- const bus = yield* Service80;
101
+ const bus = yield* Service82;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service70;
103
+ const locations = yield* Service66;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError10({ projectID });
107
+ return yield* new NotFoundError11({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service22).get();
118
+ return Context.get(context, Service26).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service21.of({
249
+ return Service25.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node24 = Node.makeGlobalNode({
260
- service: Service21,
259
+ var node28 = Node.makeGlobalNode({
260
+ service: Service25,
261
261
  layer,
262
- deps: [FSUtil.node, node84, node85, AppProcess.node, node74]
262
+ deps: [FSUtil.node, node86, node88, AppProcess.node, node68]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service21, node24, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service25, node28, exports_worktree2, OperationError2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service72
3
- } from "./state-yfng7xhx.js";
2
+ Service60
3
+ } from "./location-tmtg3qgf.js";
4
4
  import {
5
5
  ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service49
10
- } from "./state-sny9w75j.js";
9
+ Service59
10
+ } from "./location-gdxj8ks4.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input5,
19
- Output: () => Output4,
20
- Plugin: () => Plugin40,
18
+ Input: () => Input9,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin45,
21
21
  SkillTool: () => exports_skill3,
22
22
  description: () => description4,
23
- name: () => name5,
23
+ name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name5 = "skill";
30
- var Input5 = Schema.Struct({
29
+ var name9 = "skill";
30
+ var Input9 = Schema.Struct({
31
31
  id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,25 +43,25 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin40 = {
46
+ var Plugin45 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service49;
51
- const permission = yield* Service72;
50
+ const skills = yield* Service59;
51
+ const permission = yield* Service60;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name5,
53
+ name: name9,
54
54
  options: { codemode: false },
55
55
  description: description4,
56
- input: Input5,
57
- output: Output4,
56
+ input: Input9,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name5,
64
+ action: name9,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin40 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output4, description4, toModelOutput2, Plugin40, exports_skill3 };
82
+ export { name9, Input9, Output6, description4, toModelOutput2, Plugin45, exports_skill3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node68,
13
+ make: () => make20,
14
+ node: () => node70,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make20 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node68 = registryNode2({});
47
+ var node70 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node68, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node70, exports_driver };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./state-62k0yxbf.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-0n2ztf6h.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./state-rdw6cm16.js";
8
+ } from "./location-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./state-gqtdsdt7.js";
12
- import {
13
- ID10,
14
- Service67,
15
- node71,
16
- Event15
17
- } from "./state-q5gkxxjb.js";
11
+ } from "./location-addxnjmp.js";
18
12
  import {
13
+ ID14,
19
14
  Service76,
20
- node80
21
- } from "./state-9qk2kwmb.js";
15
+ node80,
16
+ Event18
17
+ } from "./location-6r5wz7qt.js";
18
+ import {
19
+ Service79,
20
+ node83
21
+ } from "./location-q552wz1s.js";
22
22
  import {
23
23
  __export
24
- } from "./state-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event13,
42
- ID: () => ID8,
43
- Info: () => Info16,
41
+ Event: () => Event17,
42
+ ID: () => ID13,
43
+ Info: () => Info22,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request2,
47
- Service: () => Service63,
46
+ Request: () => Request3,
47
+ Service: () => Service75,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node66,
57
+ node: () => node79,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event13 } from "@opencode/schema/provider";
72
- var ID8 = Provider.ID;
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
+ var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -237,13 +237,13 @@ function mergeHeaders2(base, overlay) {
237
237
  return result;
238
238
  }, new Map).values());
239
239
  }
240
- var Request2 = Provider.Request;
240
+ var Request3 = Provider.Request;
241
241
  var Compaction3 = Provider.Compaction;
242
242
  var Transport2 = Provider.Transport;
243
243
  var Settings2 = Provider.Settings;
244
- var Info16 = Provider.Info;
244
+ var Info22 = Provider.Info;
245
245
 
246
- class Service63 extends Context.Service()("@opencode/Provider") {
246
+ class Service75 extends Context.Service()("@opencode/Provider") {
247
247
  }
248
248
  var definitions = new WeakMap;
249
249
  function index(providerID, models) {
@@ -256,10 +256,10 @@ function index(providerID, models) {
256
256
  definitions.set(models, indexes);
257
257
  return result;
258
258
  }
259
- var layer = Layer.effect(Service63, Effect.gen(function* () {
260
- const bus = yield* Service80;
261
- const integrations = yield* Service67;
262
- const location = yield* Service76;
259
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
260
+ const bus = yield* Service82;
261
+ const integrations = yield* Service76;
262
+ const location = yield* Service79;
263
263
  const state = create3({
264
264
  name: "provider",
265
265
  initial: () => new Map,
@@ -270,7 +270,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
270
270
  const current = records.get(id);
271
271
  if (current)
272
272
  return current;
273
- const added = { provider: Info16.empty(id), models: new Map };
273
+ const added = { provider: Info22.empty(id), models: new Map };
274
274
  records.set(id, added);
275
275
  maps.add(added.models);
276
276
  return added;
@@ -351,7 +351,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
351
351
  const available = Array.from(records.values()).filter((record) => {
352
352
  if (record.provider.activation === "disabled")
353
353
  return false;
354
- const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
354
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
355
355
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
356
356
  return false;
357
357
  if (record.provider.activation === "enabled")
@@ -377,8 +377,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
377
377
  location: { directory: location.directory, workspaceID: location.workspaceID }
378
378
  });
379
379
  });
380
- yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
381
- return Service63.of({
380
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
381
+ return Service75.of({
382
382
  transform: state.transform,
383
383
  reload: state.reload,
384
384
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -387,7 +387,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
387
387
  snapshot
388
388
  });
389
389
  }));
390
- var node66 = makeLocationNode({ service: Service63, layer, deps: [node84, node71, node80] });
390
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node86, node80, node83] });
391
391
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
392
392
  const module = yield* Effect.tryPromise({
393
393
  try: () => {
@@ -662,4 +662,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
662
662
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
663
663
  var decode = Schema2.decodeUnknownSync(Legacy);
664
664
 
665
- export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info16, Service63, node66, exports_provider3, Event13 };
665
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event17 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./state-w19d8598.js";
2
+ render3
3
+ } from "./location-g5w8qwbj.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service80,
4
- node84
5
- } from "./state-62k0yxbf.js";
3
+ Service82,
4
+ node86
5
+ } from "./location-0n2ztf6h.js";
6
6
  import {
7
- Service66,
8
- node70
9
- } from "./state-h3pfkhmz.js";
7
+ Service83,
8
+ node87
9
+ } from "./location-wp27whg1.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./location-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: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service65,
22
+ Service: () => Service73,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node69,
25
+ node: () => node77,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -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 Service65 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service73 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -78,10 +78,10 @@ var Sources = Schema.Array(Schema.String);
78
78
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
79
79
  var configKey = (origin) => `wellknown:config:${origin}`;
80
80
  var Configs = Schema.Array(Config2);
81
- var layer = Layer.effect(Service65, Effect.gen(function* () {
81
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
82
82
  const http = yield* HttpClient.HttpClient;
83
- const kv = yield* Service66;
84
- const bus = yield* Service80;
83
+ const kv = yield* Service83;
84
+ const bus = yield* Service82;
85
85
  const cache = yield* Ref.make(new Map);
86
86
  const lock = Semaphore.makeUnsafe(1);
87
87
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event14.Updated, {});
115
+ yield* bus.publish(Event15.Updated, {});
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service65.of({
118
+ return Service73.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
128
128
  const origins = Schema.is(Sources)(sources) ? sources : [];
129
129
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
130
130
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
131
- yield* bus.publish(Event14.Updated, {});
131
+ yield* bus.publish(Event15.Updated, {});
132
132
  return entry;
133
133
  }, (effect, _value) => lock.withPermit(effect)),
134
134
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
143
143
  next.delete(origin);
144
144
  return next;
145
145
  });
146
- yield* bus.publish(Event14.Updated, {});
146
+ yield* bus.publish(Event15.Updated, {});
147
147
  }, (effect, _value) => lock.withPermit(effect)),
148
148
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
149
149
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -156,6 +156,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
156
156
  })
157
157
  });
158
158
  }));
159
- var node69 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node70, node84] });
159
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node87, node86] });
160
160
 
161
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event14, inspect2, resolve4, node69, exports_wellknown };
161
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event15, inspect2, resolve4, node77, exports_wellknown };