@opencode/core 0.0.0-dev-19629 → 0.0.0-dev-19631

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{kv-8syrtys8.js → location-01mcbsxa.js} +22 -22
  8. package/dist/chunks/{kv-rpjgfq5s.js → location-02khppbe.js} +8 -8
  9. package/dist/chunks/{kv-f73rjn58.js → location-06x8he3q.js} +4 -4
  10. package/dist/chunks/{kv-f8xn5mp1.js → location-074pt63z.js} +15 -15
  11. package/dist/chunks/{kv-3fehqr8e.js → location-0c5388rw.js} +310 -310
  12. package/dist/chunks/location-0mesazry.js +4 -0
  13. package/dist/chunks/{kv-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{kv-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{kv-v712pcm8.js → location-0twsnrm2.js} +8 -8
  16. package/dist/chunks/{kv-eqsf0vrq.js → location-11cks9p9.js} +16 -16
  17. package/dist/chunks/{kv-s30dnwqx.js → location-13yde72h.js} +32 -32
  18. package/dist/chunks/{kv-34vv8vke.js → location-156aka68.js} +29 -29
  19. package/dist/chunks/{kv-rmjmtd11.js → location-15tm9q3z.js} +10 -10
  20. package/dist/chunks/{kv-5yzzbxa7.js → location-1ajx6rf5.js} +8 -8
  21. package/dist/chunks/{kv-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{kv-s5smtsjm.js → location-1fm22rx7.js} +44 -44
  23. package/dist/chunks/{kv-kywwpdnb.js → location-1gqsytf7.js} +22 -22
  24. package/dist/chunks/{kv-nqnxh7mc.js → location-1nzs1dt7.js} +6 -6
  25. package/dist/chunks/{kv-pdmffqas.js → location-1z8e5f7y.js} +16 -16
  26. package/dist/chunks/{kv-21r38tys.js → location-21r38tys.js} +1 -1
  27. package/dist/chunks/{kv-z63w68vq.js → location-29x78va6.js} +6 -6
  28. package/dist/chunks/{kv-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{kv-nbrmnvm6.js → location-2aqjzvxw.js} +24 -24
  30. package/dist/chunks/{kv-g9sd7rfb.js → location-2d47syzh.js} +6 -6
  31. package/dist/chunks/{kv-ahd542yp.js → location-2hr5nhwa.js} +8 -8
  32. package/dist/chunks/{kv-2k8khapm.js → location-2k8khapm.js} +1 -1
  33. package/dist/chunks/{kv-0kxjg0q6.js → location-2m31qgzj.js} +4 -4
  34. package/dist/chunks/{kv-1dd4vm50.js → location-2m8nb1h0.js} +85 -85
  35. package/dist/chunks/{kv-t2e73jsf.js → location-2pavbj2f.js} +4 -4
  36. package/dist/chunks/{kv-a8bn8zg0.js → location-2pnhn36q.js} +21 -21
  37. package/dist/chunks/{kv-w8ts9jr1.js → location-323n19w4.js} +24 -24
  38. package/dist/chunks/{kv-1cy0dveg.js → location-32qx2cqk.js} +11 -11
  39. package/dist/chunks/{kv-30846h32.js → location-37ea9c2d.js} +8 -8
  40. package/dist/chunks/{kv-2qzhajv7.js → location-3bg215ag.js} +27 -27
  41. package/dist/chunks/{kv-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{kv-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{kv-9f8ak43h.js → location-3hk432b6.js} +46 -46
  44. package/dist/chunks/{kv-8kqwd5pg.js → location-3kara66y.js} +15 -15
  45. package/dist/chunks/{kv-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{kv-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{kv-5v79k2nc.js → location-3xa758da.js} +3 -3
  48. package/dist/chunks/{kv-e82z9tr0.js → location-47gsdddb.js} +4 -4
  49. package/dist/chunks/{kv-0jdwemc3.js → location-4q2gvvft.js} +5 -5
  50. package/dist/chunks/{kv-sjf3tctt.js → location-4y72ap3v.js} +12 -12
  51. package/dist/chunks/{kv-7qqyjhvb.js → location-5008mk82.js} +15 -15
  52. package/dist/chunks/{kv-95g476w1.js → location-50hhjvx3.js} +4 -4
  53. package/dist/chunks/{kv-eq23s0y6.js → location-510m7gjw.js} +5 -5
  54. package/dist/chunks/{kv-1ygqh575.js → location-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{kv-g2y161wv.js → location-57e9z27j.js} +8 -8
  56. package/dist/chunks/{kv-81swgkk7.js → location-57ez7d0k.js} +7 -7
  57. package/dist/chunks/{kv-30jdby9k.js → location-5bd7vy8t.js} +36 -36
  58. package/dist/chunks/{kv-4hrje9fh.js → location-5d530p9y.js} +25 -25
  59. package/dist/chunks/{kv-5daktx2q.js → location-5daktx2q.js} +1 -1
  60. package/dist/chunks/{kv-63zbbs1j.js → location-5dx64r44.js} +11 -11
  61. package/dist/chunks/{kv-zanxcczd.js → location-5hbjas2j.js} +5 -5
  62. package/dist/chunks/{kv-k9x9pwcp.js → location-5krmfrm4.js} +3 -3
  63. package/dist/chunks/{kv-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{kv-6tpe83gt.js → location-5xjbzt31.js} +24 -24
  65. package/dist/chunks/{kv-90ymhmgy.js → location-617xwdkc.js} +4 -4
  66. package/dist/chunks/{kv-c3zqkckj.js → location-61nnwajg.js} +20 -20
  67. package/dist/chunks/location-64ezs4vy.js +247 -0
  68. package/dist/chunks/{kv-669tq793.js → location-669tq793.js} +1 -1
  69. package/dist/chunks/{kv-1nwxscpy.js → location-66r9f6z1.js} +5 -5
  70. package/dist/chunks/{kv-ddaa640a.js → location-68wv0erp.js} +47 -47
  71. package/dist/chunks/{kv-rhzsrfv2.js → location-6cadhda4.js} +17 -17
  72. package/dist/chunks/{kv-y4naaajn.js → location-6fnbs7de.js} +11 -11
  73. package/dist/chunks/{kv-2402vzrj.js → location-6h73sxmp.js} +5 -5
  74. package/dist/chunks/{kv-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{kv-ztawzxhp.js → location-6r3wktb6.js} +5 -5
  76. package/dist/chunks/{kv-vy06sfs5.js → location-6r7kkwrh.js} +15 -15
  77. package/dist/chunks/{kv-8b82hca9.js → location-6t7vpv8v.js} +28 -28
  78. package/dist/chunks/{kv-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{kv-pe51b52v.js → location-7ctrm1dc.js} +24 -24
  80. package/dist/chunks/{kv-7ncyt31b.js → location-7jyz8t5r.js} +29 -29
  81. package/dist/chunks/{kv-a5wfw340.js → location-7pa101rz.js} +41 -41
  82. package/dist/chunks/{kv-x3z5bnde.js → location-7rfg73ak.js} +4 -4
  83. package/dist/chunks/{kv-mnbh32fx.js → location-87deq66t.js} +6 -6
  84. package/dist/chunks/{kv-cw8kd3he.js → location-89g9pdqq.js} +5 -5
  85. package/dist/chunks/{kv-tcezcvh9.js → location-89znhe33.js} +4 -4
  86. package/dist/chunks/{kv-7w0zh5tk.js → location-8a1axwae.js} +3 -3
  87. package/dist/chunks/{kv-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{kv-m0f726mn.js → location-8n5wyrft.js} +23 -23
  89. package/dist/chunks/{kv-dj2t23y0.js → location-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{kv-1hepnvy6.js → location-8vehx84x.js} +14 -14
  91. package/dist/chunks/{kv-4m9ebp8q.js → location-8vvc7kdn.js} +12 -12
  92. package/dist/chunks/{kv-zs5x0rfp.js → location-8y6m80vy.js} +5 -5
  93. package/dist/chunks/{kv-xrz9vnwt.js → location-9vhxz3jd.js} +63 -63
  94. package/dist/chunks/{kv-h5y9zjhm.js → location-9y4jm800.js} +26 -26
  95. package/dist/chunks/{kv-e9cyw18g.js → location-a1254jaz.js} +37 -37
  96. package/dist/chunks/{kv-2czm2xf1.js → location-a1788f7w.js} +26 -26
  97. package/dist/chunks/{kv-5c4hm403.js → location-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{kv-6hjx5zpb.js → location-a3ftg8j6.js} +9 -9
  99. package/dist/chunks/{kv-1gjp40nv.js → location-a5dv1fsr.js} +30 -30
  100. package/dist/chunks/{kv-4nd1vhcc.js → location-a7bb2qk3.js} +25 -25
  101. package/dist/chunks/{kv-aaet6srn.js → location-aaet6srn.js} +2 -2
  102. package/dist/chunks/{kv-w2tpxd08.js → location-ae7j6849.js} +17 -17
  103. package/dist/chunks/{kv-c78bbtc9.js → location-ag9w8cw1.js} +5 -5
  104. package/dist/chunks/{kv-ec3p188n.js → location-amtcdxb0.js} +6 -6
  105. package/dist/chunks/{kv-za2awsd1.js → location-avb4mchm.js} +17 -17
  106. package/dist/chunks/{kv-13q063b0.js → location-avc8n21j.js} +8 -8
  107. package/dist/chunks/{kv-z2p1zgek.js → location-axt0rzpy.js} +6 -6
  108. package/dist/chunks/{kv-df5t2j38.js → location-az4749a7.js} +11 -11
  109. package/dist/chunks/{kv-m8m3zpqy.js → location-b1frtypz.js} +32 -32
  110. package/dist/chunks/{kv-8tt0ytjn.js → location-b4ae2b13.js} +20 -20
  111. package/dist/chunks/location-b6enga28.js +26 -0
  112. package/dist/chunks/{kv-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{kv-ca4srnk3.js → location-b8hzf7nw.js} +8 -8
  114. package/dist/chunks/{kv-qffs32b2.js → location-bacq2ea4.js} +34 -34
  115. package/dist/chunks/{kv-wcge806m.js → location-bajakh74.js} +4 -4
  116. package/dist/chunks/{kv-06dxphr1.js → location-bccb6npm.js} +4 -4
  117. package/dist/chunks/{kv-pmr4s4kc.js → location-bf0ztrs3.js} +4 -4
  118. package/dist/chunks/{kv-vngnfmgt.js → location-btp88bps.js} +5 -5
  119. package/dist/chunks/location-by5v678g.js +18 -0
  120. package/dist/chunks/{kv-q07v9h9y.js → location-c4y595wv.js} +18 -18
  121. package/dist/chunks/{kv-2k6xrwva.js → location-c6t8208k.js} +16 -16
  122. package/dist/chunks/{kv-gk3xegv2.js → location-cenkhvam.js} +14 -14
  123. package/dist/chunks/{kv-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{kv-r2m716tb.js → location-cwa6csj7.js} +9 -9
  125. package/dist/chunks/{kv-v9wse47b.js → location-cx6817x4.js} +10 -10
  126. package/dist/chunks/{kv-5hjmcfpt.js → location-d079nfyg.js} +15 -15
  127. package/dist/chunks/{kv-3kth0658.js → location-d5my93c7.js} +18 -18
  128. package/dist/chunks/{kv-matxb2xk.js → location-dhwrr4jy.js} +5 -5
  129. package/dist/chunks/{kv-zjp75jv5.js → location-djcy9x12.js} +11 -11
  130. package/dist/chunks/{kv-pprr9hht.js → location-dqhwfw66.js} +10 -10
  131. package/dist/chunks/{kv-z225y43a.js → location-dr2yesb8.js} +32 -32
  132. package/dist/chunks/{kv-x1pmkwqz.js → location-e1krdr4f.js} +13 -13
  133. package/dist/chunks/{kv-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  134. package/dist/chunks/{kv-e5nv3ght.js → location-e5nv3ght.js} +2 -2
  135. package/dist/chunks/{kv-4dgbcxzg.js → location-ebe9bak5.js} +4 -4
  136. package/dist/chunks/{kv-6sh9twb3.js → location-ebvkxj71.js} +15 -15
  137. package/dist/chunks/{kv-wmvxdcxf.js → location-eev3q2gn.js} +10 -10
  138. package/dist/chunks/{kv-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{kv-tsmrpsr3.js → location-ejjvavc8.js} +15 -15
  140. package/dist/chunks/{kv-m7jrkp26.js → location-em5xkjbs.js} +11 -11
  141. package/dist/chunks/{kv-v8q1sw48.js → location-ep45g7a1.js} +11 -11
  142. package/dist/chunks/{kv-bdh9mrz4.js → location-etn2manz.js} +11 -11
  143. package/dist/chunks/{kv-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{kv-8ngqmhjn.js → location-ew828j3w.js} +23 -23
  145. package/dist/chunks/{kv-dr13ydbw.js → location-f14adf9f.js} +11 -11
  146. package/dist/chunks/{kv-knnr3ffb.js → location-f4ywtdzx.js} +2 -2
  147. package/dist/chunks/{kv-81p48be3.js → location-f5qz3jzy.js} +3 -3
  148. package/dist/chunks/{kv-hdnk95c8.js → location-f828m53h.js} +2 -2
  149. package/dist/chunks/{kv-h29ec78n.js → location-fee9ry81.js} +20 -20
  150. package/dist/chunks/{kv-y6f0p4jw.js → location-fjs5xx1d.js} +2 -2
  151. package/dist/chunks/{kv-at2jt8b6.js → location-fjven42y.js} +24 -24
  152. package/dist/chunks/{kv-k7fvcj83.js → location-fjwgd49k.js} +21 -21
  153. package/dist/chunks/{kv-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{kv-hwdqbtk8.js → location-fz01tdmw.js} +21 -21
  155. package/dist/chunks/{kv-feadmf2k.js → location-g2dazt51.js} +7 -7
  156. package/dist/chunks/{kv-6m3jg8gc.js → location-g4a6era7.js} +24 -24
  157. package/dist/chunks/{kv-9esays49.js → location-g9kz57e4.js} +21 -21
  158. package/dist/chunks/{kv-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{kv-jp5d52r3.js → location-gdcqe04r.js} +6 -6
  160. package/dist/chunks/{kv-5nqxz0mf.js → location-gg5tcp93.js} +30 -30
  161. package/dist/chunks/{kv-527k0vp5.js → location-gjg6hemq.js} +28 -28
  162. package/dist/chunks/{kv-w7s1kwgb.js → location-gkyvheh7.js} +8 -8
  163. package/dist/chunks/{kv-5tgy5hp4.js → location-gs12886w.js} +28 -28
  164. package/dist/chunks/{kv-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{kv-ywepdr4j.js → location-gzzsg5dy.js} +9 -9
  166. package/dist/chunks/{kv-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  167. package/dist/chunks/{kv-9gm7t8wy.js → location-h0cvahep.js} +172 -172
  168. package/dist/chunks/{kv-0xbae0ch.js → location-h1t9w82k.js} +44 -44
  169. package/dist/chunks/{kv-wqbc9es3.js → location-h61p2mjp.js} +9 -9
  170. package/dist/chunks/{kv-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{kv-dk8y6tpb.js → location-hph2erh9.js} +18 -18
  172. package/dist/chunks/{kv-2wtgfcw5.js → location-hxr4ws4r.js} +8 -8
  173. package/dist/chunks/{kv-j56e64zr.js → location-j56e64zr.js} +1 -1
  174. package/dist/chunks/{kv-372jp7zc.js → location-jcxqzaz3.js} +17 -17
  175. package/dist/chunks/{kv-ggyk9197.js → location-jp31vt9x.js} +12 -12
  176. package/dist/chunks/{kv-dd0kn80g.js → location-js2bxmsr.js} +37 -37
  177. package/dist/chunks/{kv-bwx7yfz9.js → location-jv984b6y.js} +3 -3
  178. package/dist/chunks/{kv-8s8mxddj.js → location-jva4mgym.js} +4 -4
  179. package/dist/chunks/{kv-1j4wj2wj.js → location-k9b4hh1d.js} +1 -1
  180. package/dist/chunks/{kv-9030epd1.js → location-kbq8etb1.js} +10 -10
  181. package/dist/chunks/{kv-ynj7eg78.js → location-kcfppy95.js} +23 -23
  182. package/dist/chunks/{kv-bqns2xeb.js → location-ke21jj3y.js} +6 -6
  183. package/dist/chunks/{kv-ahxxq61c.js → location-kf11waxr.js} +28 -28
  184. package/dist/chunks/{kv-542nn9ke.js → location-kjdar36t.js} +5 -5
  185. package/dist/chunks/{kv-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{kv-0fqqwfme.js → location-msv9qz60.js} +13 -13
  187. package/dist/chunks/{kv-w35smk9y.js → location-mx09shfg.js} +12 -12
  188. package/dist/chunks/{kv-aphhdr9a.js → location-my6q1kj9.js} +9 -9
  189. package/dist/chunks/{kv-cz7ybxbg.js → location-my8v8pz1.js} +79 -79
  190. package/dist/chunks/{kv-zj36n4ch.js → location-n0re1kpp.js} +50 -50
  191. package/dist/chunks/{kv-z5bw8km2.js → location-n5dqecfz.js} +24 -24
  192. package/dist/chunks/{kv-dwqd4fec.js → location-n7dgzw6q.js} +11 -11
  193. package/dist/chunks/{kv-vxc69cc3.js → location-n9h856x1.js} +26 -26
  194. package/dist/chunks/{kv-dysy2d9a.js → location-na0vc07j.js} +38 -38
  195. package/dist/chunks/{kv-tshc7g5p.js → location-njabt98v.js} +16 -16
  196. package/dist/chunks/{kv-4e0pntr6.js → location-p0cgaswm.js} +27 -27
  197. package/dist/chunks/{kv-hqaqsecz.js → location-p132gxzd.js} +13 -13
  198. package/dist/chunks/{kv-n6vgg671.js → location-p8nbz4mm.js} +23 -23
  199. package/dist/chunks/{kv-95q9m7a4.js → location-paffydma.js} +10 -10
  200. package/dist/chunks/{kv-rwp9jh2s.js → location-pd1sw0zy.js} +21 -21
  201. package/dist/chunks/{kv-fm2ehgba.js → location-pgeftpx4.js} +14 -14
  202. package/dist/chunks/{kv-gqvs4pn0.js → location-phtx5pzp.js} +31 -31
  203. package/dist/chunks/{kv-5qkxfyep.js → location-pjedbq3k.js} +4 -4
  204. package/dist/chunks/{kv-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{kv-pknna89w.js → location-pknna89w.js} +1 -1
  206. package/dist/chunks/{kv-fj47jftw.js → location-pv3p64vq.js} +15 -15
  207. package/dist/chunks/{kv-p0mccv6z.js → location-pvrjs4yz.js} +7 -7
  208. package/dist/chunks/{kv-0v0g3rme.js → location-q0sr5rc9.js} +11 -11
  209. package/dist/chunks/{kv-3r7dg8e2.js → location-q858cr49.js} +27 -27
  210. package/dist/chunks/{kv-g8d3gcyj.js → location-qa3qhgw8.js} +7 -7
  211. package/dist/chunks/{kv-r00cs8xe.js → location-qb97jg0r.js} +9 -9
  212. package/dist/chunks/{kv-1bqb4p60.js → location-qfw0430s.js} +32 -32
  213. package/dist/chunks/{kv-5dcwpk27.js → location-qm2zhff3.js} +11 -11
  214. package/dist/chunks/{kv-8yvyc9sz.js → location-qr1gr1bz.js} +1 -1
  215. package/dist/chunks/{kv-qsdy395h.js → location-qsdy395h.js} +1 -1
  216. package/dist/chunks/{kv-y47czx5y.js → location-r3648v35.js} +17 -17
  217. package/dist/chunks/{kv-xky1335j.js → location-r3gbt3jp.js} +37 -37
  218. package/dist/chunks/{kv-4ddcvy6e.js → location-r3n1f5t9.js} +4 -4
  219. package/dist/chunks/{kv-1bbkgx8g.js → location-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{kv-b09hzw3k.js → location-r8ste1ck.js} +2 -2
  221. package/dist/chunks/{kv-r9mregkx.js → location-r9mregkx.js} +2 -2
  222. package/dist/chunks/{kv-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{kv-kwpsrvng.js → location-rk7y43hf.js} +4 -4
  224. package/dist/chunks/{kv-bz85s9hh.js → location-ryt7pzqc.js} +1 -1
  225. package/dist/chunks/{kv-gs9jkpg2.js → location-s245kgzv.js} +8 -8
  226. package/dist/chunks/{kv-yrznvahk.js → location-s4enseaf.js} +2 -2
  227. package/dist/chunks/{kv-gf2azzj7.js → location-skzj3dtk.js} +43 -43
  228. package/dist/chunks/{kv-a1a50ys5.js → location-sra9araw.js} +5 -5
  229. package/dist/chunks/{kv-32qkfht5.js → location-swqfa4q3.js} +25 -25
  230. package/dist/chunks/{kv-0mesg93d.js → location-sxragm8h.js} +18 -18
  231. package/dist/chunks/{kv-93ygb5af.js → location-sxzvkvgj.js} +6 -6
  232. package/dist/chunks/{kv-c2zwhayg.js → location-szk5yzmn.js} +16 -16
  233. package/dist/chunks/{kv-7zc61v3j.js → location-t11smtq6.js} +17 -17
  234. package/dist/chunks/{kv-rhjbct0v.js → location-t550f9t1.js} +4 -4
  235. package/dist/chunks/{kv-yygyxej2.js → location-t87rd070.js} +16 -16
  236. package/dist/chunks/{kv-prshwy6f.js → location-t96ncvbk.js} +10 -10
  237. package/dist/chunks/{kv-fy685n2s.js → location-t9hwq8k2.js} +43 -43
  238. package/dist/chunks/{kv-w9y6ap5g.js → location-ta2sz16v.js} +28 -28
  239. package/dist/chunks/{kv-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{kv-h6nf8f2s.js → location-tbnfv1pf.js} +13 -13
  241. package/dist/chunks/{kv-tdstcens.js → location-tdstcens.js} +1 -1
  242. package/dist/chunks/{kv-dbjhyg4p.js → location-tm1qqpd4.js} +7 -7
  243. package/dist/chunks/{kv-tvtrv512.js → location-tvtrv512.js} +1 -1
  244. package/dist/chunks/{kv-3em56y7w.js → location-tx3fqe1r.js} +9 -9
  245. package/dist/chunks/{kv-8hh8nk77.js → location-tyxhm0p2.js} +6 -6
  246. package/dist/chunks/{kv-ywywtd2f.js → location-v98rq2xh.js} +9 -9
  247. package/dist/chunks/{kv-9mwzt4fq.js → location-v9xsj6pf.js} +11 -11
  248. package/dist/chunks/{kv-tc99cfes.js → location-vahtdhsf.js} +32 -32
  249. package/dist/chunks/{kv-veqvce7d.js → location-veqvce7d.js} +1 -1
  250. package/dist/chunks/{kv-hyn19ewr.js → location-vjnvk4fc.js} +24 -24
  251. package/dist/chunks/{kv-yb5nc9wz.js → location-vpw3edpt.js} +51 -51
  252. package/dist/chunks/{kv-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{kv-f65qawn9.js → location-w27pm9me.js} +18 -18
  254. package/dist/chunks/{kv-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{kv-wd87259q.js → location-wd87259q.js} +1 -1
  256. package/dist/chunks/{kv-5mt5zsn7.js → location-wgre8czs.js} +19 -19
  257. package/dist/chunks/{kv-e5xpd6yj.js → location-wgsyq2g2.js} +7 -7
  258. package/dist/chunks/{kv-k00jvwze.js → location-wseq2wer.js} +32 -32
  259. package/dist/chunks/{kv-pgwmtx9h.js → location-wvng7zrg.js} +3 -3
  260. package/dist/chunks/{kv-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{kv-fmvxt08z.js → location-x2t5q3mx.js} +18 -18
  262. package/dist/chunks/{kv-s2vfe9rb.js → location-xdt3s13f.js} +7 -7
  263. package/dist/chunks/{kv-shpbz5ss.js → location-xekh0j5r.js} +18 -18
  264. package/dist/chunks/{kv-x4ksm1tj.js → location-y14psceh.js} +11 -11
  265. package/dist/chunks/{kv-ww506ezs.js → location-y16882bh.js} +10 -10
  266. package/dist/chunks/{kv-r1d8brym.js → location-y190ygrp.js} +18 -18
  267. package/dist/chunks/{kv-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{kv-y71avatq.js → location-y71avatq.js} +1 -1
  269. package/dist/chunks/{kv-23wc2maw.js → location-y806bx01.js} +4 -4
  270. package/dist/chunks/{kv-e0xcq4mb.js → location-yd2t4f4q.js} +15 -15
  271. package/dist/chunks/{kv-qxn9n16s.js → location-yfccazc5.js} +46 -46
  272. package/dist/chunks/{kv-r8xr0va3.js → location-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{kv-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{kv-xk747vep.js → location-ywkfy99j.js} +9 -9
  275. package/dist/chunks/{kv-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{kv-g2p206kf.js → location-z3dbx3sy.js} +20 -20
  277. package/dist/chunks/{kv-dkbfs573.js → location-z76rvear.js} +4 -4
  278. package/dist/chunks/{kv-wtfafaw2.js → location-zaz698nn.js} +9 -9
  279. package/dist/chunks/{kv-gcddavgz.js → location-zbb6f2kh.js} +39 -39
  280. package/dist/chunks/{kv-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{kv-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{kv-zk1ywxhw.js → location-zs1be8nq.js} +11 -11
  283. package/dist/chunks/{kv-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{kv-rd8yq3pc.js → location-zzccx3d7.js} +6 -6
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +124 -124
  293. package/dist/config/plugin/command.js +212 -212
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +131 -131
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +122 -122
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +123 -123
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  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 +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +360 -360
  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 +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  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 +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +86 -86
  426. package/dist/generate.js +94 -94
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +98 -98
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +4 -4
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +353 -353
  452. package/dist/instruction-discovery.js +78 -78
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +129 -129
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +83 -83
  463. package/dist/location-services.js +350 -350
  464. package/dist/location.js +86 -86
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +101 -101
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +98 -98
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +79 -79
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +112 -112
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +73 -73
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +103 -103
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +325 -325
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +95 -95
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +101 -101
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  497. package/dist/plugin/provider/azure.js +121 -121
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +118 -118
  503. package/dist/plugin/provider/digitalocean.js +92 -92
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +92 -92
  508. package/dist/plugin/provider/gitlab.js +90 -90
  509. package/dist/plugin/provider/google-vertex.js +89 -89
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +121 -121
  513. package/dist/plugin/provider/modal.js +91 -91
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +121 -121
  516. package/dist/plugin/provider/openai.js +93 -93
  517. package/dist/plugin/provider/opencode.js +92 -92
  518. package/dist/plugin/provider/openrouter.js +90 -90
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +77 -77
  521. package/dist/plugin/provider/sap-ai-core.js +90 -90
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +89 -89
  526. package/dist/plugin/provider/vllm.js +121 -121
  527. package/dist/plugin/provider/xai.js +90 -90
  528. package/dist/plugin/provider/zenmux.js +1 -1
  529. package/dist/plugin/provider.js +157 -157
  530. package/dist/plugin/sdk.js +75 -75
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +140 -140
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +344 -344
  535. package/dist/plugin/update.js +6 -6
  536. package/dist/plugin/vcs/git.js +85 -85
  537. package/dist/plugin/vcs/hg.js +85 -85
  538. package/dist/plugin/warming.js +120 -120
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +9 -9
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin/websearch/tinyfish.js +8 -8
  546. package/dist/plugin.js +225 -225
  547. package/dist/project/schema.js +6 -6
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +87 -87
  550. package/dist/provider.js +98 -98
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +97 -97
  555. package/dist/reference/instructions.js +88 -88
  556. package/dist/reference.js +90 -90
  557. package/dist/repository-cache.js +80 -80
  558. package/dist/repository.js +3 -3
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +94 -94
  561. package/dist/rpc.js +85 -85
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +73 -73
  564. package/dist/session/compaction.js +132 -132
  565. package/dist/session/context.js +150 -150
  566. package/dist/session/diff.js +87 -87
  567. package/dist/session/environment.js +5 -5
  568. package/dist/session/error.js +5 -5
  569. package/dist/session/event.js +1 -1
  570. package/dist/session/execution/restart.js +219 -219
  571. package/dist/session/execution.js +125 -125
  572. package/dist/session/generate.js +149 -149
  573. package/dist/session/history.js +15 -15
  574. package/dist/session/inbox.js +87 -87
  575. package/dist/session/info.js +3 -3
  576. package/dist/session/instruction-entry.js +78 -78
  577. package/dist/session/instruction-state.js +8 -8
  578. package/dist/session/instructions.js +96 -96
  579. package/dist/session/message-updater.js +2 -2
  580. package/dist/session/message.js +1 -1
  581. package/dist/session/model-request.js +113 -113
  582. package/dist/session/model-transport.js +9 -9
  583. package/dist/session/move.js +129 -129
  584. package/dist/session/projector.js +85 -85
  585. package/dist/session/prompt.js +104 -104
  586. package/dist/session/provider-context.js +3 -3
  587. package/dist/session/revert.js +89 -89
  588. package/dist/session/run-coordinator.js +3 -3
  589. package/dist/session/runner/index.js +3 -3
  590. package/dist/session/runner/llm.js +228 -228
  591. package/dist/session/runner/max-steps.js +1 -1
  592. package/dist/session/runner/model.js +97 -97
  593. package/dist/session/runner/publish-llm-event.js +3 -3
  594. package/dist/session/runner/retry.js +113 -113
  595. package/dist/session/runner/step.js +124 -124
  596. package/dist/session/runner/to-llm-message.js +2 -2
  597. package/dist/session/schema.js +3 -3
  598. package/dist/session/session.js +171 -171
  599. package/dist/session/shell.js +137 -137
  600. package/dist/session/skill.js +102 -102
  601. package/dist/session/sql.js +5 -5
  602. package/dist/session/stats.js +72 -72
  603. package/dist/session/store.js +86 -86
  604. package/dist/session/subagent-completion.js +1 -1
  605. package/dist/session/subagent-job.js +208 -208
  606. package/dist/session/system-prompt.js +3 -3
  607. package/dist/session/title.js +154 -154
  608. package/dist/session/to-session-error.js +110 -110
  609. package/dist/session/transfer.js +213 -213
  610. package/dist/session/usage.js +1 -1
  611. package/dist/session.js +212 -212
  612. package/dist/shell/parse.js +6 -6
  613. package/dist/shell/result.js +1 -1
  614. package/dist/shell/scan.js +1 -1
  615. package/dist/shell/select.js +13 -13
  616. package/dist/shell.js +139 -139
  617. package/dist/skill/discovery.js +6 -6
  618. package/dist/skill/instructions.js +102 -102
  619. package/dist/skill.js +111 -111
  620. package/dist/snapshot.js +88 -88
  621. package/dist/state.js +1 -1
  622. package/dist/tool/html-markdown.js +1 -1
  623. package/dist/tool/http-body.js +1 -1
  624. package/dist/tool/mcp.js +125 -125
  625. package/dist/tool/plugin/edit.js +119 -119
  626. package/dist/tool/plugin/file-diff.js +1 -1
  627. package/dist/tool/plugin/glob.js +117 -117
  628. package/dist/tool/plugin/grep.js +123 -123
  629. package/dist/tool/plugin/opencode.js +3 -3
  630. package/dist/tool/plugin/patch.js +121 -121
  631. package/dist/tool/plugin/question.js +104 -104
  632. package/dist/tool/plugin/read.js +124 -124
  633. package/dist/tool/plugin/shell.js +213 -213
  634. package/dist/tool/plugin/skill.js +112 -112
  635. package/dist/tool/plugin/subagent.js +217 -217
  636. package/dist/tool/plugin/webfetch.js +111 -111
  637. package/dist/tool/plugin/websearch.js +107 -107
  638. package/dist/tool/plugin/write.js +121 -121
  639. package/dist/tool/read-filesystem.js +97 -97
  640. package/dist/tool/runtime.js +1 -1
  641. package/dist/tool-output.js +8 -8
  642. package/dist/tool.js +11 -11
  643. package/dist/util/error-summary.js +1 -1
  644. package/dist/util/error.js +1 -1
  645. package/dist/util/git-executable.js +2 -2
  646. package/dist/util/iife.js +1 -1
  647. package/dist/util/lazy.js +1 -1
  648. package/dist/util/slug.js +1 -1
  649. package/dist/util/token.js +1 -1
  650. package/dist/util/which.js +1 -1
  651. package/dist/util/wildcard.js +1 -1
  652. package/dist/v1/config/agent.js +7 -7
  653. package/dist/v1/config/attachment.js +4 -4
  654. package/dist/v1/config/command.js +5 -5
  655. package/dist/v1/config/config.js +16 -16
  656. package/dist/v1/config/error.js +4 -4
  657. package/dist/v1/config/formatter.js +3 -3
  658. package/dist/v1/config/layout.js +1 -1
  659. package/dist/v1/config/lsp.js +5 -5
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +91 -91
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/v1/config/server.js +2 -2
  667. package/dist/v1/config/skills.js +3 -3
  668. package/dist/v1/permission.js +1 -1
  669. package/dist/variant.js +92 -92
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +88 -88
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +88 -88
  682. package/dist/worktree.js +97 -97
  683. package/package.json +8 -8
  684. package/dist/chunks/kv-9zdhvgqs.js +0 -18
  685. package/dist/chunks/kv-hxa7m5za.js +0 -4
  686. package/dist/chunks/kv-pjwrvnpv.js +0 -247
  687. package/dist/chunks/kv-yp2eeyxk.js +0 -26
  688. /package/dist/chunks/{kv-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{kv-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{kv-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{kv-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{kv-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{kv-24dcb14g.js → location-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{kv-2710q6r3.js → location-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{kv-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{kv-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{kv-359p4xyc.js → location-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{kv-3asan66x.js → location-3asan66x.js} +0 -0
  699. /package/dist/chunks/{kv-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{kv-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{kv-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{kv-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{kv-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{kv-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{kv-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{kv-53557ph1.js → location-53557ph1.js} +0 -0
  707. /package/dist/chunks/{kv-550bvhaj.js → location-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{kv-6prwharc.js → location-6prwharc.js} +0 -0
  709. /package/dist/chunks/{kv-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{kv-7m9af43g.js → location-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{kv-822emrt2.js → location-822emrt2.js} +0 -0
  712. /package/dist/chunks/{kv-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{kv-8n3pysct.js → location-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{kv-922hggd3.js → location-922hggd3.js} +0 -0
  715. /package/dist/chunks/{kv-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{kv-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{kv-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{kv-af5trqkr.js → location-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{kv-afrmfg78.js → location-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{kv-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{kv-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{kv-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{kv-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{kv-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{kv-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{kv-d9fn303g.js → location-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{kv-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{kv-dajrwvna.js → location-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{kv-dap0rakb.js → location-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{kv-df08tz66.js → location-df08tz66.js} +0 -0
  731. /package/dist/chunks/{kv-dy18nga0.js → location-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{kv-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{kv-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{kv-ec1grn59.js → location-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{kv-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{kv-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{kv-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{kv-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{kv-faypxj3z.js → location-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{kv-fd410y7t.js → location-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{kv-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{kv-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{kv-g86h250q.js → location-g86h250q.js} +0 -0
  744. /package/dist/chunks/{kv-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{kv-gftt206x.js → location-gftt206x.js} +0 -0
  746. /package/dist/chunks/{kv-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{kv-hk9envan.js → location-hk9envan.js} +0 -0
  748. /package/dist/chunks/{kv-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{kv-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{kv-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{kv-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{kv-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{kv-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{kv-mp448xyj.js → location-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{kv-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{kv-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{kv-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{kv-njntx4h6.js → location-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{kv-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{kv-q74kybfr.js → location-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{kv-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{kv-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{kv-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{kv-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{kv-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{kv-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{kv-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{kv-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{kv-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{kv-twg0f83k.js → location-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{kv-w803qqfp.js → location-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{kv-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  773. /package/dist/chunks/{kv-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{kv-wtztk69x.js → location-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{kv-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{kv-x61499pn.js → location-x61499pn.js} +0 -0
  777. /package/dist/chunks/{kv-y44na4kk.js → location-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{kv-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{kv-y8f7s663.js → location-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{kv-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{kv-ym463w8f.js → location-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{kv-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./kv-4ddcvy6e.js";
3
+ } from "./location-r3n1f5t9.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./kv-ahxxq61c.js";
6
+ Event18
7
+ } from "./location-kf11waxr.js";
8
8
  import {
9
- ID14,
9
+ ID13,
10
10
  MethodID2
11
- } from "./kv-32qkfht5.js";
11
+ } from "./location-swqfa4q3.js";
12
12
  import {
13
- ID13,
13
+ ID12,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./kv-1gjp40nv.js";
16
+ } from "./location-a5dv1fsr.js";
17
17
  import {
18
- ID7,
19
- Input14,
18
+ ID4,
19
+ Input13,
20
20
  Response2
21
- } from "./kv-4hrje9fh.js";
21
+ } from "./location-5d530p9y.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID7
35
+ providerID: ID4
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID14.make("opencode"),
57
+ integrationID: ID13.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID14.make("opencode");
128
+ provider.integrationID = ID13.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID13.opencode);
198
+ const item = providers.get(ID12.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID13.opencode);
210
+ const item = models.provider.get(ID12.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
241
241
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
242
242
  const token = credential.type === "oauth" ? credential.access : credential.key;
243
243
  const server = yield* normalizeServer(serverUrl(credential));
244
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
244
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
245
245
  query: input.query,
246
246
  providerID: descriptor.providerID
247
247
  }));
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./kv-rhjbct0v.js";
6
+ } from "./location-t550f9t1.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./kv-3fc6dm20.js";
11
+ } from "./location-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./kv-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions5 = {};
18
18
  __export(exports_instructions5, {
19
19
  CodeModeInstructions: () => exports_instructions5,
20
- make: () => make14,
20
+ make: () => make15,
21
21
  render: () => render3,
22
22
  update: () => update3
23
23
  });
@@ -113,9 +113,9 @@ ${render3(current)}`;
113
113
  }
114
114
  var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make14 = (inventory) => {
116
+ var make15 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make20({
118
+ return make19({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render3, update3, make14, exports_instructions5 };
130
+ export { render3, update3, make15, exports_instructions5 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service81
3
- } from "./kv-4ddcvy6e.js";
3
+ } from "./location-r3n1f5t9.js";
4
4
  import {
5
- Service69,
6
- Event14
7
- } from "./kv-e9cyw18g.js";
5
+ Service13,
6
+ Event2
7
+ } from "./location-a1254jaz.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service69;
32
+ const modelsDev = yield* Service13;
33
33
  const bus = yield* Service81;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
59
59
  });
60
60
  }
61
61
  });
62
- yield* bus.subscribe(Event14.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
62
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
63
63
  })
64
64
  });
65
65
  function environmentNames(provider) {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./kv-5t3nmthw.js";
3
+ } from "./location-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service29,
11
+ Service: () => Service28,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer15,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node33
15
+ node: () => node32
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service29.of({ bind, close, closeAll });
359
+ return Service28.of({ bind, close, closeAll });
360
360
  }));
361
- var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node33 = makeGlobalNode({ service: Service29, layer: layer15, deps: [webSocketConstructor2] });
364
+ var node32 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service29, makeLayer2, layer15, node33, exports_model_transport };
366
+ export { Service28, makeLayer2, layer12, node32, exports_model_transport };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service77
3
- } from "./kv-tshc7g5p.js";
2
+ Service78
3
+ } from "./location-njabt98v.js";
4
4
  import {
5
- Service50
6
- } from "./kv-z5bw8km2.js";
5
+ Service70
6
+ } from "./location-n5dqecfz.js";
7
7
  import {
8
- Service15,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./kv-0fqqwfme.js";
11
+ } from "./location-msv9qz60.js";
12
12
  import {
13
- Service18
14
- } from "./kv-vy06sfs5.js";
13
+ Service21
14
+ } from "./location-6r7kkwrh.js";
15
15
  import {
16
- Service64
17
- } from "./kv-yb5nc9wz.js";
16
+ Service54
17
+ } from "./location-vpw3edpt.js";
18
18
  import {
19
- Service54,
19
+ Service53,
20
20
  resolvePath2
21
- } from "./kv-0mesg93d.js";
21
+ } from "./location-sxragm8h.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./kv-6prwharc.js";
24
+ } from "./location-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./kv-9rqn6x4v.js";
27
+ } from "./location-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output7,
35
- Plugin: () => Plugin42,
36
- name: () => name10
33
+ Input: () => Input3,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin22,
36
+ name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name3 = "edit";
43
+ var Input3 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin42 = {
106
+ var Plugin22 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service54;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service50;
112
- const formatter = yield* Service18;
113
- const location = yield* Service77;
114
- const permission = yield* Service64;
109
+ const access = yield* Service53;
110
+ const fileMutation = yield* Service14;
111
+ const environment = yield* Service70;
112
+ const formatter = yield* Service21;
113
+ const location = yield* Service78;
114
+ const permission = yield* Service54;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name10,
116
+ name: name3,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input10,
120
- output: Output7,
119
+ input: Input3,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin42 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output7, Plugin42, exports_edit };
197
+ export { name3, Input3, Output3, Plugin22, exports_edit };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./kv-4ddcvy6e.js";
5
+ } from "./location-r3n1f5t9.js";
6
6
  import {
7
- Service75,
8
- node79
9
- } from "./kv-9030epd1.js";
7
+ Service74,
8
+ node77
9
+ } from "./location-kbq8etb1.js";
10
10
  import {
11
11
  __export
12
- } from "./kv-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: () => Event8,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service41,
22
+ Service: () => Service61,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node44,
26
- resolve: () => resolve2
25
+ node: () => node63,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service41 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service61 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event8 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service41, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service75;
80
+ const kv = yield* Service74;
81
81
  const bus = yield* Service81;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event8.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service41.of({
115
+ return Service61.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event8.Updated, {});
128
+ yield* bus.publish(Event13.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event8.Updated, {});
141
+ yield* bus.publish(Event13.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node44 = makeGlobalNode({ service: Service41, layer, deps: [httpClient, node79, node85] });
146
+ var node63 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node77, node85] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service41, Event8, inspect2, resolve2, node44, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event13, inspect2, resolve4, node63, exports_wellknown };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin39
3
+ } from "./location-57e9z27j.js";
4
+ import {
5
+ Plugin38
6
+ } from "./location-v98rq2xh.js";
7
+ import {
8
+ Plugin36
9
+ } from "./location-h61p2mjp.js";
10
+ import {
11
+ Plugin37
12
+ } from "./location-gkyvheh7.js";
13
+ import {
14
+ Plugin35
15
+ } from "./location-zaz698nn.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin39,
20
+ Plugin38,
21
+ Plugin36,
22
+ Plugin37,
23
+ Plugin35
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./kv-2a5m3afh.js";
5
+ } from "./location-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./kv-9rqn6x4v.js";
8
+ } from "./location-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service79
3
- } from "./kv-sjf3tctt.js";
2
+ Service80
3
+ } from "./location-4y72ap3v.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./kv-gv6a8nnw.js";
7
+ } from "./location-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./kv-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make15
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make15 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service79;
23
+ const git = yield* Service80;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make15, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./kv-4ddcvy6e.js";
4
+ } from "./location-r3n1f5t9.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./kv-tshc7g5p.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-njabt98v.js";
9
9
  import {
10
- ID5
11
- } from "./kv-hxa7m5za.js";
10
+ ID2
11
+ } from "./location-0mesazry.js";
12
12
  import {
13
- Service48,
13
+ Service51,
14
14
  login2,
15
- node51
16
- } from "./kv-f65qawn9.js";
15
+ node53
16
+ } from "./location-w27pm9me.js";
17
17
  import {
18
18
  lazy2
19
- } from "./kv-88xbtdfr.js";
19
+ } from "./location-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./kv-9rqn6x4v.js";
22
+ } from "./location-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event10,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event3,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info17,
31
- NotFoundError: () => NotFoundError6,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service47,
33
+ Service: () => Service15,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node50
35
+ node: () => node17
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event10 } from "@opencode/schema/pty";
40
+ import { Event as Event3 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info17 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID5
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID5
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service47 extends Context.Service()("@opencode/Pty") {
58
+ class Service15 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service47, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
61
61
  const bus = yield* Service81;
62
- const location = yield* Service77;
63
- const shell = yield* Service48;
62
+ const location = yield* Service78;
63
+ const shell = yield* Service51;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError6({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID5.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service47.of({ list, get, create, update, remove, write, attach });
271
+ return Service15.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node50 = makeLocationNode({
274
- service: Service47,
273
+ var node17 = makeLocationNode({
274
+ service: Service15,
275
275
  layer,
276
- deps: [node85, node81, node51]
276
+ deps: [node85, node82, node53]
277
277
  });
278
278
 
279
- export { Info17, CreateInput3, UpdateInput2, NotFoundError6, ExitedError2, Service47, node50, exports_pty, Event10 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event3 };