@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,30 +1,30 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./skill-q6ec7ghb.js";
4
+ } from "./location-trskfet7.js";
5
5
  import {
6
6
  environment2
7
- } from "./skill-24s8e1ye.js";
7
+ } from "./location-36sqq72v.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./skill-3t0ybcrp.js";
10
+ } from "./location-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./skill-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service29,
23
- UnavailableError: () => UnavailableError2,
22
+ Service: () => Service50,
23
+ UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
25
  configured: () => configured5,
26
- layer: () => layer16,
27
- node: () => node33
26
+ layer: () => layer22,
27
+ node: () => node52
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,24 +36,24 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options4 = Schema.Struct({
39
+ var Options5 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service29 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service50 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
57
57
  const bus = yield* Service85;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError3({ ptyID: id });
79
+ return yield* new NotFoundError5({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service29.of({
246
+ return Service50.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer16 = makeLayer();
262
+ var layer22 = makeLayer();
263
263
  var configured5 = (options) => makeGlobalNode({
264
- service: Service29,
265
- layer: options === undefined ? layer16 : makeLayer(options),
264
+ service: Service50,
265
+ layer: options === undefined ? layer22 : makeLayer(options),
266
266
  deps: [node89, Global.node]
267
267
  });
268
- var node33 = configured5();
268
+ var node52 = configured5();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError3, Service29, layer16, configured5, node33, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options5, UnavailableError3, NotFoundError5, Service50, layer22, configured5, node52, exports_persistent_pty, Handoff2, available2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service36
4
- } from "./skill-9cw92fkg.js";
3
+ Service68
4
+ } from "./location-n477w9kb.js";
5
5
  import {
6
6
  __export
7
- } from "./skill-9rqn6x4v.js";
7
+ } from "./location-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin12,
12
+ Plugin: () => Plugin28,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin12 = define({
22
+ var Plugin28 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service36;
25
+ const config = yield* Service68;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin12 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin12, exports_warming };
99
+ export { Plugin28, exports_warming };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./skill-775gj3j1.js";
3
+ } from "./location-775gj3j1.js";
4
4
  import {
5
- ID9,
6
- Service67,
7
- node71
8
- } from "./skill-0mshdkct.js";
5
+ ID12,
6
+ Service74,
7
+ node77
8
+ } from "./location-38jcv3yh.js";
9
9
  import {
10
10
  __export
11
- } from "./skill-9rqn6x4v.js";
11
+ } from "./location-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service38,
18
- UnavailableError: () => UnavailableError3,
17
+ Service: () => Service57,
18
+ UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer20,
21
- node: () => node42
20
+ layer: () => layer25,
21
+ node: () => node60
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,36 +31,41 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service38 extends Context.Service()("@opencode/Voice") {
40
+ class Service57 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer20 = Layer.effect(Service38, Effect.gen(function* () {
42
+ var layer25 = Layer.effect(Service57, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service67;
44
+ const integrations = yield* Service74;
45
45
  const session = Effect.fn("Voice.session")(function* (input) {
46
46
  const engine = Realtime.engine(input.model);
47
47
  if (!engine)
48
48
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
49
- const connection = (yield* integrations.get(ID9.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: engine.provider, message: error.message }))) : undefined;
49
+ const connection = (yield* integrations.get(ID12.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
51
51
  if (credential?.type !== "key")
52
- return yield* new UnavailableError3({
52
+ return yield* new UnavailableError4({
53
53
  service: engine.provider,
54
- message: engine.provider === "openai" ? "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions." : "Voice needs an xAI API key on the server (a stored key or XAI_API_KEY)."
54
+ message: missingKeyMessage[engine.provider]
55
55
  });
56
- return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: engine.provider })));
56
+ return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
57
57
  });
58
- return Service38.of({ session });
58
+ return Service57.of({ session });
59
59
  }));
60
- var node42 = makeLocationNode({
61
- service: Service38,
62
- layer: layer20,
63
- deps: [node71, requestExecutor2]
60
+ var node60 = makeLocationNode({
61
+ service: Service57,
62
+ layer: layer25,
63
+ deps: [node77, requestExecutor2]
64
64
  });
65
+ var missingKeyMessage = {
66
+ openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
67
+ xai: "Voice needs an xAI API key on the server (a stored key or XAI_API_KEY).",
68
+ google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
69
+ };
65
70
 
66
- export { InvalidRequestError2, UnavailableError3, Service38, layer20, node42, exports_voice };
71
+ export { InvalidRequestError2, UnavailableError4, Service57, layer25, node60, exports_voice };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-hxbam2w6.js";
3
+ } from "./location-3a0fe738.js";
4
4
  import {
5
5
  OAuth3,
6
- Service68
7
- } from "./skill-kbzdcc1z.js";
6
+ Service75
7
+ } from "./location-h4e45ygc.js";
8
8
  import {
9
- ID9,
9
+ ID12,
10
10
  MethodID2
11
- } from "./skill-0mshdkct.js";
11
+ } from "./location-38jcv3yh.js";
12
12
  import {
13
- ID8,
13
+ ID11,
14
14
  mergeOverlay2
15
- } from "./skill-f3rjyvb9.js";
15
+ } from "./location-5s5bfnr6.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID8.make("xai");
27
+ var providerID = ID11.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID9.make("xai"),
47
+ integrationID: ID12.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service68;
73
- yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
72
+ const credentials = yield* Service75;
73
+ yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./skill-qnc92qwc.js";
4
+ } from "./location-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./skill-qfa1cgps.js";
7
+ } from "./location-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./skill-rj3eygr5.js";
10
+ } from "./location-c41wscbt.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./skill-z5v4ffb3.js";
4
+ } from "./location-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service84,
9
9
  node88
10
- } from "./skill-j6ktnsbj.js";
10
+ } from "./location-4hvcvget.js";
11
11
  import {
12
12
  Service82,
13
13
  node86
14
- } from "./skill-hh8xd2g7.js";
14
+ } from "./location-zm69bbn9.js";
15
15
  import {
16
16
  create3
17
- } from "./skill-rdw6cm16.js";
17
+ } from "./location-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./skill-9rqn6x4v.js";
20
+ } from "./location-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
25
+ Error: () => Error3,
26
26
  ID: () => ID3,
27
- Service: () => Service39,
27
+ Service: () => Service33,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node43,
29
+ node: () => node36,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID3 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service39 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service33 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service39, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service84;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service33.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node43 = makeLocationNode({
153
- service: Service39,
152
+ var node36 = makeLocationNode({
153
+ service: Service33,
154
154
  layer,
155
155
  deps: [FSUtil.node, node88, Global.node, node86]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service39, Service39.of({
157
+ var noopLayer2 = Layer.succeed(Service33, Service33.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error2 && cause.operation === operation)
166
+ if (cause instanceof Error3 && cause.operation === operation)
167
167
  return cause;
168
- return new Error2({
168
+ return new Error3({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID3, Error2, Service39, node43, noopLayer2, exports_snapshot2 };
175
+ export { ID3, Error3, Service33, node36, noopLayer2, exports_snapshot2 };
@@ -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/model-retry.ts
6
6
  var exports_model_retry = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./skill-eh3zwz77.js";
3
+ } from "./location-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./skill-e73j6tqm.js";
6
+ } from "./location-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./skill-3wcehsnq.js";
9
+ } from "./location-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./skill-dap0rakb.js";
12
+ } from "./location-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./skill-4y7fprxs.js";
15
+ } from "./location-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service63,
3
- node67
4
- } from "./skill-vbhp0dye.js";
2
+ Service45,
3
+ node47
4
+ } from "./location-hn53eq1n.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./skill-mtpeagzc.js";
7
+ } from "./location-ss358qx3.js";
8
8
  import {
9
9
  __export
10
- } from "./skill-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service61,
17
+ Service: () => Service43,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node65,
19
+ node: () => node45,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service61 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service61, Effect.gen(function* () {
58
- const resolver = yield* Service63;
59
- return Service61.of({
57
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
58
+ const resolver = yield* Service45;
59
+ return Service43.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node65 = makeLocationNode({ service: Service61, layer, deps: [node67] });
77
+ var node45 = makeLocationNode({ service: Service43, layer, deps: [node47] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service61, resolved2, node65, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service43, resolved2, node45, exports_model };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./skill-tazgh4e4.js";
10
+ } from "./location-tazgh4e4.js";
11
11
  import {
12
12
  Service82
13
- } from "./skill-hh8xd2g7.js";
13
+ } from "./location-zm69bbn9.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./skill-smjam21t.js";
16
+ } from "./location-p0swpct4.js";
17
17
  import {
18
18
  __export
19
- } from "./skill-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin9,
24
+ Plugin: () => Plugin18,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin9 = define({
33
+ var Plugin18 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service82;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin9, exports_hg };
201
+ export { Plugin18, exports_hg };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info11,
12
+ Info: () => Info16,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info11 = Schema.Struct({
64
+ var Info16 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info11, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info16, exports_provider2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  policy3
3
- } from "./skill-fcy631f0.js";
3
+ } from "./location-fcy631f0.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./skill-ec1grn59.js";
6
+ } from "./location-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./skill-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./skill-rdw6cm16.js";
3
+ } from "./location-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};