@opencode/core 0.0.0-dev-21233 → 0.0.0-dev-21240

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{skill-5s0bhjqk.js → location-02kx3tbe.js} +15 -15
  8. package/dist/chunks/{skill-j7qxhh0w.js → location-032jfrr5.js} +8 -8
  9. package/dist/chunks/{skill-942ape3s.js → location-06pf4dgp.js} +14 -14
  10. package/dist/chunks/{skill-sd35z9tw.js → location-09zy2qv2.js} +9 -9
  11. package/dist/chunks/{skill-2fkbhf5s.js → location-0cbjkd5m.js} +23 -23
  12. package/dist/chunks/{skill-0vbcp93d.js → location-0emb60td.js} +2 -2
  13. package/dist/chunks/{skill-j17rh5na.js → location-0kh9z3js.js} +11 -11
  14. package/dist/chunks/{skill-tmjmhw6b.js → location-0rm38x63.js} +9 -9
  15. package/dist/chunks/{skill-hszepbzs.js → location-0v7eyxsd.js} +11 -11
  16. package/dist/chunks/{skill-5a1a4xxz.js → location-16qr8wfy.js} +28 -28
  17. package/dist/chunks/{skill-rhraev7y.js → location-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{skill-zn5qbatk.js → location-1be3me4v.js} +27 -27
  19. package/dist/chunks/{skill-1dcff6nc.js → location-1ddym2mh.js} +5 -5
  20. package/dist/chunks/{skill-1ep4rre3.js → location-1ep4rre3.js} +1 -1
  21. package/dist/chunks/{skill-bjx1sjef.js → location-1ffvrpkg.js} +6 -6
  22. package/dist/chunks/{skill-97aeaand.js → location-1j6m29mr.js} +9 -9
  23. package/dist/chunks/{skill-q6hmgxfy.js → location-1m9tv0k3.js} +27 -27
  24. package/dist/chunks/{skill-24ythb25.js → location-1n4r682m.js} +3 -3
  25. package/dist/chunks/{skill-db95amxg.js → location-1wyc8y7g.js} +23 -23
  26. package/dist/chunks/{skill-n61013np.js → location-1xcwytz6.js} +11 -11
  27. package/dist/chunks/{skill-4gycktp3.js → location-26fskhr4.js} +26 -26
  28. package/dist/chunks/{skill-4e4ttbd6.js → location-2766hrpb.js} +4 -4
  29. package/dist/chunks/{skill-qx787nm7.js → location-27mmh661.js} +8 -8
  30. package/dist/chunks/{skill-ryvyvv32.js → location-2cg16nxe.js} +29 -29
  31. package/dist/chunks/{skill-m8tc3etm.js → location-2e91r8ns.js} +45 -45
  32. package/dist/chunks/{skill-9sspp2kc.js → location-2ewxebqs.js} +16 -16
  33. package/dist/chunks/{skill-dgmheq7x.js → location-2fz504me.js} +24 -24
  34. package/dist/chunks/{skill-tswswthy.js → location-2g814kqn.js} +50 -50
  35. package/dist/chunks/{skill-tx9w5tca.js → location-2ktf0ed2.js} +8 -8
  36. package/dist/chunks/{skill-06xsmntz.js → location-2s32b1pm.js} +2 -2
  37. package/dist/chunks/{skill-afdssyjb.js → location-2vs2nh1n.js} +4 -4
  38. package/dist/chunks/{skill-qygncz6a.js → location-34zpk2m0.js} +24 -24
  39. package/dist/chunks/{skill-24s8e1ye.js → location-36sqq72v.js} +13 -13
  40. package/dist/chunks/{skill-0mshdkct.js → location-38jcv3yh.js} +30 -30
  41. package/dist/chunks/{skill-hxbam2w6.js → location-3a0fe738.js} +11 -11
  42. package/dist/chunks/{skill-1a8spp1r.js → location-3d48mnvn.js} +16 -16
  43. package/dist/chunks/{skill-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{skill-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{skill-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
  46. package/dist/chunks/{skill-c1s4czd4.js → location-3qrn957t.js} +20 -20
  47. package/dist/chunks/{skill-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{skill-hv0kjr3z.js → location-3ts4rwt9.js} +20 -20
  49. package/dist/chunks/{skill-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{skill-k7v4hzhw.js → location-3zcnh6p5.js} +12 -12
  51. package/dist/chunks/{skill-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{skill-gb51gx5j.js → location-4cq1c4nh.js} +1 -1
  53. package/dist/chunks/{skill-dhb2hta4.js → location-4ekscj25.js} +5 -5
  54. package/dist/chunks/{skill-j6ktnsbj.js → location-4hvcvget.js} +5 -5
  55. package/dist/chunks/{skill-hcry4rxa.js → location-4jbaex4p.js} +11 -11
  56. package/dist/chunks/{skill-sh4t0w1q.js → location-4nk0sezm.js} +3 -3
  57. package/dist/chunks/{skill-9hg616bm.js → location-4r5v39fv.js} +10 -10
  58. package/dist/chunks/{skill-4j4tgtq5.js → location-4z58m4b4.js} +4 -4
  59. package/dist/chunks/{skill-wzwtd4q2.js → location-531wkgpw.js} +11 -11
  60. package/dist/chunks/{skill-54ma36ye.js → location-54ma36ye.js} +1 -1
  61. package/dist/chunks/{skill-g9qy5730.js → location-5g0zwpkx.js} +69 -69
  62. package/dist/chunks/{skill-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{skill-ps2yhsm3.js → location-5mh53trv.js} +25 -25
  64. package/dist/chunks/{skill-95gd5fnz.js → location-5qvfym9p.js} +6 -6
  65. package/dist/chunks/{skill-f3rjyvb9.js → location-5s5bfnr6.js} +29 -29
  66. package/dist/chunks/{skill-dssbfrwz.js → location-5twn198y.js} +5 -5
  67. package/dist/chunks/{skill-z47sjnwy.js → location-630y3v0d.js} +177 -177
  68. package/dist/chunks/{skill-73wdtct1.js → location-646b8sf1.js} +4 -4
  69. package/dist/chunks/{skill-pea6wjc4.js → location-65fdem8g.js} +82 -82
  70. package/dist/chunks/{skill-6827pfxn.js → location-6827pfxn.js} +1 -1
  71. package/dist/chunks/{skill-fdms3n6w.js → location-6fatt4mk.js} +9 -9
  72. package/dist/chunks/{skill-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{skill-00awx1tb.js → location-6yva2bse.js} +85 -85
  74. package/dist/chunks/{skill-775gj3j1.js → location-775gj3j1.js} +2 -2
  75. package/dist/chunks/{skill-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{skill-g46rkewk.js → location-7cdnq8hx.js} +17 -17
  77. package/dist/chunks/{skill-0jwsre1p.js → location-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{skill-ma7sk27v.js → location-7erj7fjt.js} +23 -23
  79. package/dist/chunks/{skill-1e0fage9.js → location-7pp8v8cz.js} +4 -4
  80. package/dist/chunks/{skill-1yf4km17.js → location-7wg9zefd.js} +5 -5
  81. package/dist/chunks/{skill-x181wg97.js → location-7y4n3x9r.js} +5 -5
  82. package/dist/chunks/{skill-wknnvmh5.js → location-7zst7kbs.js} +11 -11
  83. package/dist/chunks/{skill-x96ngv9r.js → location-82bv0hx8.js} +7 -7
  84. package/dist/chunks/{skill-a0wcqrzt.js → location-839dsb85.js} +34 -34
  85. package/dist/chunks/{skill-84txncab.js → location-84txncab.js} +1 -1
  86. package/dist/chunks/{skill-ptxp58at.js → location-8d765g8y.js} +10 -10
  87. package/dist/chunks/{skill-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{skill-ybq6hy8a.js → location-8p10m0h9.js} +18 -18
  89. package/dist/chunks/{skill-5cazt80r.js → location-8x62mzeg.js} +31 -31
  90. package/dist/chunks/{skill-d2kvkr0c.js → location-91erwma2.js} +13 -13
  91. package/dist/chunks/{skill-j09zfasm.js → location-91qna3x0.js} +3 -3
  92. package/dist/chunks/{skill-x4s1hxy4.js → location-9etjxb25.js} +18 -18
  93. package/dist/chunks/{skill-4rqs6yce.js → location-9qee0jk3.js} +8 -8
  94. package/dist/chunks/{skill-e4qjwypm.js → location-9tc0jcfa.js} +9 -9
  95. package/dist/chunks/{skill-k76krqzs.js → location-a2ew8a62.js} +4 -4
  96. package/dist/chunks/{skill-mtvcx4kk.js → location-aygc7d7x.js} +22 -22
  97. package/dist/chunks/{skill-dr27kx24.js → location-b0tpm66f.js} +33 -33
  98. package/dist/chunks/{skill-9tn557k3.js → location-b59088ky.js} +3 -3
  99. package/dist/chunks/{skill-d48v5xqa.js → location-b7j1nepq.js} +9 -9
  100. package/dist/chunks/{skill-2ge34d2j.js → location-bdb3egq1.js} +7 -7
  101. package/dist/chunks/{skill-hcms3ej7.js → location-bggc72t2.js} +19 -19
  102. package/dist/chunks/{skill-5hckghy7.js → location-bkbywy3k.js} +23 -23
  103. package/dist/chunks/{skill-xa8dcf8m.js → location-bqwheb6v.js} +9 -9
  104. package/dist/chunks/{skill-rj3eygr5.js → location-c41wscbt.js} +2 -2
  105. package/dist/chunks/{skill-sa8ekw3f.js → location-c8ax2afj.js} +2 -2
  106. package/dist/chunks/{skill-vr9br9b3.js → location-c9pafwgt.js} +33 -33
  107. package/dist/chunks/{skill-1wy3a1da.js → location-cfd40scj.js} +8 -8
  108. package/dist/chunks/{skill-w57ms8mt.js → location-cq4af28t.js} +15 -15
  109. package/dist/chunks/{skill-ybzr8t0c.js → location-cqv5jj6t.js} +15 -15
  110. package/dist/chunks/{skill-hpagwa2c.js → location-czamcpfm.js} +9 -9
  111. package/dist/chunks/{skill-d1a28jh7.js → location-d1a28jh7.js} +2 -2
  112. package/dist/chunks/{skill-k8zn6dzp.js → location-dj69npnr.js} +17 -17
  113. package/dist/chunks/{skill-ytakhgxz.js → location-dn7gk5nr.js} +32 -32
  114. package/dist/chunks/{skill-nm2sbdyw.js → location-dwa92pvc.js} +6 -6
  115. package/dist/chunks/{skill-6x6512f8.js → location-dwvsy3nv.js} +11 -11
  116. package/dist/chunks/{skill-hjkky8wz.js → location-e06rrywx.js} +4 -4
  117. package/dist/chunks/{skill-2dvjh35y.js → location-e2jk5y12.js} +24 -24
  118. package/dist/chunks/{skill-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  119. package/dist/chunks/{skill-0w5ft33m.js → location-e4pt97mw.js} +13 -13
  120. package/dist/chunks/{skill-dv4gwh01.js → location-e7qaqr7r.js} +43 -43
  121. package/dist/chunks/{skill-e80seqcp.js → location-e80seqcp.js} +1 -1
  122. package/dist/chunks/{skill-mz4wv8nb.js → location-ecntzyvb.js} +13 -13
  123. package/dist/chunks/{skill-bzjf68bt.js → location-ecvncs9t.js} +33 -33
  124. package/dist/chunks/{skill-eej6y6fw.js → location-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{skill-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{skill-znpdtr75.js → location-efattxwn.js} +25 -25
  127. package/dist/chunks/{skill-afm93r8m.js → location-ehkp9wrv.js} +5 -5
  128. package/dist/chunks/{skill-rmwddm56.js → location-ekd657r5.js} +17 -17
  129. package/dist/chunks/{skill-4ysfff1b.js → location-ekmn27dt.js} +25 -25
  130. package/dist/chunks/{skill-d7q7g158.js → location-emfv9g84.js} +7 -7
  131. package/dist/chunks/{skill-711r5px4.js → location-ente2efs.js} +30 -25
  132. package/dist/chunks/{skill-axbdcqfv.js → location-eq88vr3p.js} +11 -11
  133. package/dist/chunks/{skill-c1fqxshp.js → location-es1vcfrp.js} +3 -3
  134. package/dist/chunks/{skill-0tb1pehm.js → location-ewmg55kq.js} +22 -22
  135. package/dist/chunks/{skill-fcy631f0.js → location-fcy631f0.js} +1 -1
  136. package/dist/chunks/{skill-8ryk0bb9.js → location-fegk541e.js} +5 -5
  137. package/dist/chunks/{skill-t3mrtpce.js → location-ffgh9twm.js} +13 -13
  138. package/dist/chunks/{skill-vscs4key.js → location-fg19zjyy.js} +7 -7
  139. package/dist/chunks/{skill-9hwaqfsw.js → location-fgx42ntb.js} +5 -5
  140. package/dist/chunks/{skill-fn9t717r.js → location-fn9t717r.js} +3 -3
  141. package/dist/chunks/{skill-ft3hqk2c.js → location-ft3hqk2c.js} +2 -2
  142. package/dist/chunks/{skill-407q6sa9.js → location-fz5mkw7q.js} +43 -43
  143. package/dist/chunks/{skill-ek42zh69.js → location-g3jf8veg.js} +24 -24
  144. package/dist/chunks/{skill-nd4tfyg0.js → location-gaa92h44.js} +9 -9
  145. package/dist/chunks/{skill-9g88hcsg.js → location-gbeakqqf.js} +43 -43
  146. package/dist/chunks/{skill-xt4njr3s.js → location-gd0tnyjc.js} +1 -1
  147. package/dist/chunks/{skill-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{skill-63kqh4pp.js → location-ggpkv6dp.js} +15 -15
  149. package/dist/chunks/{skill-5n5c97r3.js → location-gm5yckp5.js} +7 -7
  150. package/dist/chunks/{skill-kbzdcc1z.js → location-h4e45ygc.js} +30 -30
  151. package/dist/chunks/{skill-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{skill-0a54jmae.js → location-h8ngs2s3.js} +6 -6
  153. package/dist/chunks/{skill-g0zzgjed.js → location-hadrdvqz.js} +10 -10
  154. package/dist/chunks/{skill-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
  155. package/dist/chunks/{skill-vbhp0dye.js → location-hn53eq1n.js} +45 -45
  156. package/dist/chunks/location-ht5y0zrb.js +18 -0
  157. package/dist/chunks/{skill-2hn0k533.js → location-hx734pww.js} +3 -3
  158. package/dist/chunks/{skill-p2w0np6h.js → location-hyem0413.js} +11 -11
  159. package/dist/chunks/{skill-ztkm05qe.js → location-hz955cxv.js} +18 -18
  160. package/dist/chunks/{skill-cddgxm6q.js → location-j143ef64.js} +42 -42
  161. package/dist/chunks/{skill-m28477hs.js → location-j1j4kkfc.js} +17 -17
  162. package/dist/chunks/{skill-5n8ca005.js → location-j1nd8abd.js} +24 -24
  163. package/dist/chunks/{skill-m7c2pgrj.js → location-j5qwz8we.js} +42 -42
  164. package/dist/chunks/location-j6js6ktv.js +26 -0
  165. package/dist/chunks/{skill-hp8bf08d.js → location-jdg1karv.js} +9 -9
  166. package/dist/chunks/{skill-cbghv35z.js → location-jfn3ppc2.js} +14 -14
  167. package/dist/chunks/{skill-j2ztd3ax.js → location-jrnq1yzd.js} +18 -18
  168. package/dist/chunks/{skill-fxaymqdw.js → location-khmqacep.js} +4 -4
  169. package/dist/chunks/{skill-8hk5zr5e.js → location-ktyahk7g.js} +26 -26
  170. package/dist/chunks/{skill-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{skill-n8g9f5aw.js → location-ky3cgvwd.js} +8 -8
  172. package/dist/chunks/{skill-bdjmc03q.js → location-kymtw6sz.js} +20 -20
  173. package/dist/chunks/{skill-pcf1k9th.js → location-m15ha2ry.js} +6 -6
  174. package/dist/chunks/{skill-vb3m6eyp.js → location-m49t52b5.js} +16 -16
  175. package/dist/chunks/{skill-dg66qqba.js → location-m7mg6z5e.js} +23 -23
  176. package/dist/chunks/{skill-swdxt3e8.js → location-m8p5ty25.js} +8 -8
  177. package/dist/chunks/{skill-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{skill-maspj1v3.js → location-maspj1v3.js} +1 -1
  179. package/dist/chunks/{skill-vwwhsbvp.js → location-mmve37cn.js} +11 -11
  180. package/dist/chunks/{skill-gqtdsdt7.js → location-mxvxcxwy.js} +4 -4
  181. package/dist/chunks/{skill-9cw92fkg.js → location-n477w9kb.js} +45 -45
  182. package/dist/chunks/{skill-zn9jy13z.js → location-n4k7r7f4.js} +6 -6
  183. package/dist/chunks/{skill-z42dm00v.js → location-n9mzspqs.js} +13 -13
  184. package/dist/chunks/{skill-2k71kv7p.js → location-nb9p6b26.js} +4 -4
  185. package/dist/chunks/location-ng2x5jnt.js +257 -0
  186. package/dist/chunks/{skill-yc97vnhp.js → location-nmcmr329.js} +320 -320
  187. package/dist/chunks/{skill-rmpja4kz.js → location-np3vtmgz.js} +20 -20
  188. package/dist/chunks/{skill-00qrbj62.js → location-npyv4msc.js} +4 -4
  189. package/dist/chunks/{skill-ddzfx2sp.js → location-nq33nhzr.js} +4 -4
  190. package/dist/chunks/{skill-ht9z38af.js → location-nwz3xn1w.js} +4 -4
  191. package/dist/chunks/{skill-r3ydk6z5.js → location-nz5xz1n7.js} +3 -3
  192. package/dist/chunks/{skill-smjam21t.js → location-p0swpct4.js} +17 -17
  193. package/dist/chunks/{skill-tk14ecdn.js → location-p3dsvwjj.js} +35 -35
  194. package/dist/chunks/{skill-k1ep3vpw.js → location-p4gjeqhz.js} +8 -8
  195. package/dist/chunks/{skill-jvhzr3z9.js → location-p7d55m61.js} +44 -44
  196. package/dist/chunks/{skill-1vnwec3s.js → location-p9d54bvt.js} +17 -17
  197. package/dist/chunks/{skill-p37cw4rj.js → location-pa8pe2x7.js} +8 -8
  198. package/dist/chunks/{skill-8hpz99e3.js → location-paby7f9d.js} +17 -17
  199. package/dist/chunks/{skill-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{skill-pknna89w.js → location-pknna89w.js} +1 -1
  201. package/dist/chunks/{skill-dzewxd6e.js → location-pkr96zq9.js} +50 -50
  202. package/dist/chunks/{skill-j5xh64qr.js → location-pnkbpv6t.js} +5 -5
  203. package/dist/chunks/{skill-9xnh36ct.js → location-pvd1kp2q.js} +24 -24
  204. package/dist/chunks/{skill-jr0bwz5h.js → location-pwx39njg.js} +18 -18
  205. package/dist/chunks/{skill-7fkffz83.js → location-py3kkmfq.js} +4 -4
  206. package/dist/chunks/{skill-jkh8wmvq.js → location-q1w4ag7r.js} +11 -11
  207. package/dist/chunks/{skill-1j2x33v7.js → location-q8va88r3.js} +18 -18
  208. package/dist/chunks/{skill-wdjfy1sg.js → location-qdxpp4ce.js} +4 -4
  209. package/dist/chunks/{skill-721538d5.js → location-qgrkf2kv.js} +11 -11
  210. package/dist/chunks/{skill-n9y44nm0.js → location-qjxgyyqm.js} +23 -23
  211. package/dist/chunks/{skill-hdjck8j7.js → location-qkkeybah.js} +32 -32
  212. package/dist/chunks/{skill-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{skill-acy09t17.js → location-qny204zj.js} +4 -4
  214. package/dist/chunks/{skill-qsdy395h.js → location-qsdy395h.js} +1 -1
  215. package/dist/chunks/{skill-3cwb9jzf.js → location-r61qxybf.js} +8 -8
  216. package/dist/chunks/{skill-92g1m7we.js → location-r64n44sy.js} +22 -22
  217. package/dist/chunks/{skill-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{skill-eaj1djv9.js → location-rhjbct0v.js} +8 -8
  219. package/dist/chunks/{skill-v210v162.js → location-rm4mkcw0.js} +2 -2
  220. package/dist/chunks/{skill-373db230.js → location-rsvjy1hm.js} +16 -16
  221. package/dist/chunks/{skill-j58npq09.js → location-rwpyag6c.js} +13 -13
  222. package/dist/chunks/{skill-azhh6n6p.js → location-s2e8778m.js} +36 -36
  223. package/dist/chunks/{skill-pc6svy01.js → location-s8eppwwz.js} +8 -8
  224. package/dist/chunks/{skill-tdepd04k.js → location-s8k2chda.js} +12 -12
  225. package/dist/chunks/{skill-jq9wm7kj.js → location-sf7qeb8m.js} +2 -2
  226. package/dist/chunks/{skill-mtpeagzc.js → location-ss358qx3.js} +3 -3
  227. package/dist/chunks/{skill-74ntyh7j.js → location-swsbk68p.js} +30 -30
  228. package/dist/chunks/{skill-tegs1ycp.js → location-sxzvkvgj.js} +6 -6
  229. package/dist/chunks/{skill-syv4x271.js → location-syv4x271.js} +1 -1
  230. package/dist/chunks/{skill-ytw5y04d.js → location-t2zy804g.js} +8 -8
  231. package/dist/chunks/{skill-0w1q6v6s.js → location-t3w66r2s.js} +17 -17
  232. package/dist/chunks/{skill-51fhzrhh.js → location-t67svzf9.js} +26 -26
  233. package/dist/chunks/{skill-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{skill-89znhe33.js → location-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{skill-tdstcens.js → location-tdstcens.js} +1 -1
  236. package/dist/chunks/{skill-rert0e01.js → location-tkb22qbm.js} +2 -2
  237. package/dist/chunks/{skill-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
  238. package/dist/chunks/{skill-aj2p83by.js → location-tq44hnx5.js} +16 -16
  239. package/dist/chunks/{skill-q6ec7ghb.js → location-trskfet7.js} +4 -4
  240. package/dist/chunks/{skill-tyytaxap.js → location-tyytaxap.js} +1 -1
  241. package/dist/chunks/{skill-wf494znr.js → location-v5vvs3bk.js} +8 -8
  242. package/dist/chunks/{skill-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{skill-veqvce7d.js → location-veqvce7d.js} +1 -1
  244. package/dist/chunks/{skill-bn0s77k4.js → location-vtt0yr3x.js} +15 -15
  245. package/dist/chunks/{skill-7y6g135c.js → location-vw4xzb9e.js} +21 -21
  246. package/dist/chunks/{skill-hpwbz69d.js → location-vxcce85q.js} +19 -19
  247. package/dist/chunks/{skill-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{skill-ch6w3xdz.js → location-w2pw2zr6.js} +4 -4
  249. package/dist/chunks/{skill-vnwacm6t.js → location-w382j1sg.js} +1 -1
  250. package/dist/chunks/{skill-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{skill-wwq19wsf.js → location-w9vjgmgf.js} +5 -5
  252. package/dist/chunks/{skill-eyvd4r56.js → location-wan1txhx.js} +17 -17
  253. package/dist/chunks/{skill-167gessz.js → location-wb1vxtey.js} +15 -15
  254. package/dist/chunks/{skill-wd87259q.js → location-wd87259q.js} +1 -1
  255. package/dist/chunks/{skill-k41pdhxj.js → location-wk0bzpnn.js} +19 -19
  256. package/dist/chunks/{skill-cwjaek22.js → location-wxgp157e.js} +14 -14
  257. package/dist/chunks/{skill-ebwpp9d0.js → location-wzfw0r1q.js} +11 -11
  258. package/dist/chunks/{skill-bs5qht20.js → location-x8nz1cbt.js} +3 -3
  259. package/dist/chunks/{skill-p6zwjtwx.js → location-xckvy3p8.js} +3 -3
  260. package/dist/chunks/{skill-qqeeq2t9.js → location-xfkkasph.js} +7 -7
  261. package/dist/chunks/{skill-a61mcpgr.js → location-xhg7ze7g.js} +18 -18
  262. package/dist/chunks/{skill-ma5jzer8.js → location-xk8qaj8b.js} +36 -36
  263. package/dist/chunks/{skill-dbwk15v0.js → location-xw16hbb2.js} +28 -28
  264. package/dist/chunks/{skill-mfgpt03n.js → location-xwjdvtn9.js} +5 -5
  265. package/dist/chunks/{skill-9skj9fwe.js → location-xx71wknj.js} +32 -32
  266. package/dist/chunks/{skill-0qer0j0n.js → location-xxqqcrba.js} +10 -10
  267. package/dist/chunks/{skill-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{skill-n3wcrd3g.js → location-y645j4dr.js} +7 -7
  269. package/dist/chunks/{skill-y71avatq.js → location-y71avatq.js} +1 -1
  270. package/dist/chunks/{skill-vbek984v.js → location-ydgy0jv4.js} +8 -8
  271. package/dist/chunks/{skill-jybvdwhe.js → location-yhszmqfx.js} +12 -12
  272. package/dist/chunks/{skill-m70jk2v7.js → location-yk2qpeaw.js} +25 -25
  273. package/dist/chunks/{skill-z9dnddtr.js → location-ykd62qee.js} +50 -42
  274. package/dist/chunks/{skill-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{skill-ysr3h47w.js → location-z1j2pzfs.js} +58 -58
  276. package/dist/chunks/{skill-n4d3d4w3.js → location-z3507kbh.js} +11 -11
  277. package/dist/chunks/{skill-fcdhtk1s.js → location-z4005aq0.js} +16 -16
  278. package/dist/chunks/{skill-sv1af74h.js → location-z5vjvv3z.js} +14 -14
  279. package/dist/chunks/{skill-6fq7r47e.js → location-zct001gj.js} +5 -5
  280. package/dist/chunks/{skill-v2bjyqkg.js → location-zfhna5dg.js} +6 -6
  281. package/dist/chunks/{skill-bykqqmg1.js → location-zjmprxn1.js} +21 -21
  282. package/dist/chunks/{skill-hh8xd2g7.js → location-zm69bbn9.js} +2 -2
  283. package/dist/chunks/{skill-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{skill-3j1wy11z.js → location-ztp3s23f.js} +24 -24
  285. package/dist/chunks/{skill-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{skill-44ak30pa.js → location-zy43x3f1.js} +4 -4
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +116 -116
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +129 -129
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +119 -119
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +331 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +350 -350
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +219 -219
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +120 -120
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +208 -208
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +108 -108
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/webfetch.js +114 -114
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +82 -82
  679. package/dist/wellknown/plugin.js +76 -76
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +98 -98
  689. package/package.json +8 -8
  690. package/dist/chunks/skill-961073wv.js +0 -26
  691. package/dist/chunks/skill-jpqp0310.js +0 -257
  692. package/dist/chunks/skill-vnkjks7b.js +0 -18
  693. /package/dist/chunks/{skill-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{skill-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{skill-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{skill-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{skill-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{skill-24dcb14g.js → location-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{skill-2710q6r3.js → location-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{skill-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{skill-2bv980vf.js → location-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{skill-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{skill-359p4xyc.js → location-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{skill-3asan66x.js → location-3asan66x.js} +0 -0
  705. /package/dist/chunks/{skill-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{skill-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{skill-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{skill-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{skill-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{skill-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{skill-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{skill-53557ph1.js → location-53557ph1.js} +0 -0
  713. /package/dist/chunks/{skill-550bvhaj.js → location-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{skill-6prwharc.js → location-6prwharc.js} +0 -0
  715. /package/dist/chunks/{skill-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{skill-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{skill-7m9af43g.js → location-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{skill-822emrt2.js → location-822emrt2.js} +0 -0
  719. /package/dist/chunks/{skill-84wd9syh.js → location-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{skill-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{skill-8n3pysct.js → location-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{skill-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{skill-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{skill-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{skill-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{skill-af5trqkr.js → location-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{skill-afrmfg78.js → location-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{skill-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{skill-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{skill-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{skill-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{skill-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{skill-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{skill-d9fn303g.js → location-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{skill-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{skill-dajrwvna.js → location-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{skill-dap0rakb.js → location-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{skill-df08tz66.js → location-df08tz66.js} +0 -0
  739. /package/dist/chunks/{skill-dy18nga0.js → location-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{skill-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{skill-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{skill-ec1grn59.js → location-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{skill-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{skill-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{skill-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{skill-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{skill-faypxj3z.js → location-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{skill-fd410y7t.js → location-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{skill-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{skill-g86h250q.js → location-g86h250q.js} +0 -0
  751. /package/dist/chunks/{skill-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{skill-gftt206x.js → location-gftt206x.js} +0 -0
  753. /package/dist/chunks/{skill-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{skill-hk9envan.js → location-hk9envan.js} +0 -0
  755. /package/dist/chunks/{skill-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{skill-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{skill-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{skill-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{skill-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{skill-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{skill-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{skill-m18g726c.js → location-m18g726c.js} +0 -0
  763. /package/dist/chunks/{skill-mp448xyj.js → location-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{skill-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{skill-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{skill-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{skill-njntx4h6.js → location-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{skill-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{skill-pyv0edze.js → location-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{skill-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{skill-q74kybfr.js → location-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{skill-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{skill-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{skill-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{skill-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{skill-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{skill-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{skill-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{skill-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{skill-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{skill-w803qqfp.js → location-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{skill-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{skill-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{skill-wjj7prxr.js → location-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{skill-wtztk69x.js → location-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{skill-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{skill-x61499pn.js → location-x61499pn.js} +0 -0
  788. /package/dist/chunks/{skill-y44na4kk.js → location-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{skill-y8f7s663.js → location-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{skill-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{skill-ym463w8f.js → location-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{skill-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{skill-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./skill-gqtdsdt7.js";
3
+ } from "./location-mxvxcxwy.js";
4
4
  import {
5
5
  Service85
6
- } from "./skill-q6ec7ghb.js";
6
+ } from "./location-trskfet7.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15
10
- } from "./skill-kbzdcc1z.js";
9
+ Event19
10
+ } from "./location-h4e45ygc.js";
11
11
  import {
12
- ID9,
12
+ ID12,
13
13
  MethodID2
14
- } from "./skill-0mshdkct.js";
14
+ } from "./location-38jcv3yh.js";
15
15
  import {
16
- ID8,
16
+ ID11,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service66
20
- } from "./skill-f3rjyvb9.js";
19
+ Service72
20
+ } from "./location-5s5bfnr6.js";
21
21
  import {
22
- ID7
23
- } from "./skill-dbwk15v0.js";
22
+ ID10
23
+ } from "./location-xw16hbb2.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./skill-mtvcx4kk.js";
25
+ load2,
26
+ derive2
27
+ } from "./location-aygc7d7x.js";
28
28
  import {
29
29
  useragent2
30
- } from "./skill-hxbam2w6.js";
30
+ } from "./location-3a0fe738.js";
31
31
  import {
32
- ID15
33
- } from "./skill-5n8ca005.js";
32
+ ID9
33
+ } from "./location-j1nd8abd.js";
34
34
  import {
35
35
  get5
36
- } from "./skill-54ma36ye.js";
36
+ } from "./location-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID9.make("github-copilot"),
68
+ integrationID: ID12.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service66;
166
+ const providers = yield* Service72;
167
167
  const bus = yield* Service85;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID8.githubCopilot);
183
+ const provider = yield* providers.get(ID11.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load3(url, {
185
+ try: () => load2(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID8.githubCopilot);
205
+ const item = evt.get(ID11.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
234
- models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
234
+ models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID8.githubCopilot)
243
+ if (evt.model.providerID !== ID11.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID8.githubCopilot)
252
+ if (evt.model.providerID !== ID11.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID8.githubCopilot });
262
+ }), { providerID: ID11.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID8.githubCopilot)
264
+ if (evt.model.providerID !== ID11.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID8.githubCopilot });
279
+ }), { providerID: ID11.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID8.githubCopilot)
281
+ if (evt.model.providerID !== ID11.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID8.githubCopilot });
289
+ }), { providerID: ID11.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID8.githubCopilot)
291
+ if (evt.model.providerID !== ID11.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  Service82
6
- } from "./skill-hh8xd2g7.js";
6
+ } from "./location-zm69bbn9.js";
7
7
  import {
8
8
  __export
9
- } from "./skill-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3,
16
+ names: () => names4,
17
17
  preferencePaths: () => preferencePaths2,
18
18
  stripPreferenceMetadata: () => stripPreferenceMetadata2,
19
19
  systemDirectory: () => systemDirectory2
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { Effect } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Global } from "@opencode/util/global";
26
- var names3 = ["opencode.json", "opencode.jsonc"];
26
+ var names4 = ["opencode.json", "opencode.jsonc"];
27
27
  function systemDirectory2(platform = process.platform, env = process.env) {
28
28
  if (platform === "darwin")
29
29
  return AbsolutePath2.make("/Library/Application Support/opencode");
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
71
71
  const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
72
72
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
73
73
  const parent = yield* fs.resolve(directory);
74
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
74
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
75
75
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
76
76
  const globalEnabled = options?.global !== false;
77
- const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
77
+ const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
78
78
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
79
79
  const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
80
80
  return {
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
99
99
  };
100
100
  });
101
101
 
102
- export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
102
+ export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service36
3
- } from "./skill-9cw92fkg.js";
2
+ Service68
3
+ } from "./location-n477w9kb.js";
4
4
  import {
5
5
  Service13
6
- } from "./skill-ft3hqk2c.js";
6
+ } from "./location-ft3hqk2c.js";
7
7
  import {
8
8
  observe2
9
- } from "./skill-qsdy395h.js";
9
+ } from "./location-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./skill-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin45
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin47
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin45 = define({
22
+ var Plugin47 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service36;
25
+ const config = yield* Service68;
26
26
  const policy = yield* Service13;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin45 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin45, exports_location_watcher };
38
+ export { Plugin47, exports_location_watcher2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./skill-emrn6kk6.js";
4
+ } from "./location-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./skill-n3wcrd3g.js";
7
+ } from "./location-y645j4dr.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID14 = Session.ID;
5
- var Info24 = Session.Info;
4
+ var ID16 = Session.ID;
5
+ var Info26 = Session.Info;
6
6
 
7
- export { ID14, Info24, SessionSchema2 };
7
+ export { ID16, Info26, SessionSchema2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service82
3
- } from "./skill-hh8xd2g7.js";
3
+ } from "./location-zm69bbn9.js";
4
4
  import {
5
- Service46
6
- } from "./skill-bykqqmg1.js";
5
+ Service78
6
+ } from "./location-zjmprxn1.js";
7
7
  import {
8
- Service15,
8
+ Service59,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./skill-d2kvkr0c.js";
11
+ } from "./location-91erwma2.js";
12
12
  import {
13
- Service48
14
- } from "./skill-wknnvmh5.js";
13
+ Service14
14
+ } from "./location-7zst7kbs.js";
15
15
  import {
16
- Service75
17
- } from "./skill-ysr3h47w.js";
16
+ Service61
17
+ } from "./location-z1j2pzfs.js";
18
18
  import {
19
- Service42,
19
+ Service54,
20
20
  resolvePath2
21
- } from "./skill-167gessz.js";
21
+ } from "./location-wb1vxtey.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./skill-6prwharc.js";
24
+ } from "./location-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./skill-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: () => Input2,
34
- Output: () => Output2,
35
- Plugin: () => Plugin19,
36
- name: () => name2
33
+ Input: () => Input4,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin6,
36
+ name: () => name4
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 name2 = "edit";
43
- var Input2 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input2 = 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 Output2 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin19 = {
193
+ var Plugin6 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service42;
197
- const fileMutation = yield* Service15;
198
- const environment = yield* Service46;
199
- const formatter = yield* Service48;
196
+ const access = yield* Service54;
197
+ const fileMutation = yield* Service59;
198
+ const environment = yield* Service78;
199
+ const formatter = yield* Service14;
200
200
  const location = yield* Service82;
201
- const permission = yield* Service75;
201
+ const permission = yield* Service61;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name2,
203
+ name: name4,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  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. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. 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.",
206
- input: Input2,
207
- output: Output2,
206
+ input: Input4,
207
+ output: Output3,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin19 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name2, Input2, Output2, Plugin19, exports_edit };
279
+ export { name4, Input4, Output3, Plugin6, exports_edit };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service60,
10
- node: () => node64
9
+ Service: () => Service42,
10
+ node: () => node44
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service60 extends Context.Service()("@opencode/Instance") {
16
+ class Service42 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node64 = LayerNode.unbound(Service60, Node.tags.values.global);
18
+ var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
19
19
 
20
- export { Service60, node64, exports_service2 };
20
+ export { Service42, node44, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./skill-tazgh4e4.js";
3
+ } from "./location-tazgh4e4.js";
4
4
  import {
5
5
  ID3,
6
- Service39
7
- } from "./skill-0tb1pehm.js";
6
+ Service33
7
+ } from "./location-ewmg55kq.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./skill-mtpeagzc.js";
10
+ } from "./location-ss358qx3.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./skill-zn9jy13z.js";
13
+ } from "./location-n4k7r7f4.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./skill-c1fqxshp.js";
16
+ } from "./location-es1vcfrp.js";
17
17
  import {
18
18
  __export
19
- } from "./skill-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service39;
84
+ const snapshot = yield* Service33;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./skill-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service46,
8
- node50
9
- } from "./skill-bykqqmg1.js";
7
+ Service78,
8
+ node81
9
+ } from "./location-zjmprxn1.js";
10
10
  import {
11
- Content2
12
- } from "./skill-ryvyvv32.js";
11
+ Content3
12
+ } from "./location-2cg16nxe.js";
13
13
  import {
14
14
  detect2
15
- } from "./skill-3smtnn6g.js";
15
+ } from "./location-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./skill-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service5,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service46;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
334
+ const environment = yield* Service78;
335
+ return Service5.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node50] });
340
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [node81] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };