@opencode/core 0.0.0-dev-21003 → 0.0.0-dev-21005

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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 +75 -75
  7. package/dist/chunks/{reference-yn5sjats.js → aisdk-0ft0yr9w.js} +6 -6
  8. package/dist/chunks/{reference-q0xm7vwc.js → aisdk-0j77ygfz.js} +6 -6
  9. package/dist/chunks/{reference-dzse07y5.js → aisdk-0jkw1j53.js} +5 -5
  10. package/dist/chunks/{reference-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{reference-07770t2t.js → aisdk-0w62qmxp.js} +6 -6
  12. package/dist/chunks/{reference-j6wkh22k.js → aisdk-175je098.js} +13 -13
  13. package/dist/chunks/{reference-g57505q5.js → aisdk-1besy32e.js} +11 -11
  14. package/dist/chunks/{reference-fnrmyyfx.js → aisdk-1nnhzer0.js} +13 -13
  15. package/dist/chunks/{reference-sxw208y2.js → aisdk-1ryh243x.js} +7 -7
  16. package/dist/chunks/{reference-nts5xxr4.js → aisdk-1x9qgtwf.js} +4 -4
  17. package/dist/chunks/aisdk-1yt1z7t3.js +253 -0
  18. package/dist/chunks/{reference-qby9dwvd.js → aisdk-22sd1qqc.js} +8 -8
  19. package/dist/chunks/{reference-7wzym38v.js → aisdk-24nt8bd8.js} +43 -42
  20. package/dist/chunks/{reference-4pw1s8mb.js → aisdk-26r1cp2c.js} +8 -8
  21. package/dist/chunks/{reference-bacyadyn.js → aisdk-277eer69.js} +4 -4
  22. package/dist/chunks/{reference-3fk86aw7.js → aisdk-2c0fecmm.js} +4 -4
  23. package/dist/chunks/{reference-cpc5j1az.js → aisdk-2edpkczn.js} +10 -10
  24. package/dist/chunks/{reference-jpg3m0rz.js → aisdk-2k4yddvp.js} +6 -6
  25. package/dist/chunks/{reference-7w8dwfyw.js → aisdk-2rg3ypq9.js} +71 -71
  26. package/dist/chunks/{reference-h7s7r6s9.js → aisdk-31xfzrxg.js} +5 -5
  27. package/dist/chunks/{reference-0j98sf6a.js → aisdk-320m6bvr.js} +15 -15
  28. package/dist/chunks/{reference-r0eebq39.js → aisdk-336bt5mt.js} +13 -13
  29. package/dist/chunks/{reference-e330pyve.js → aisdk-365avqd2.js} +16 -16
  30. package/dist/chunks/{reference-wsn7wktm.js → aisdk-36asfxsj.js} +25 -25
  31. package/dist/chunks/{reference-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{reference-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{reference-3hwn7j4h.js → aisdk-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{reference-045azavn.js → aisdk-3nba0ncb.js} +4 -4
  35. package/dist/chunks/{reference-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{reference-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{reference-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{reference-k0w1apbg.js → aisdk-461nxmbv.js} +5 -5
  39. package/dist/chunks/{reference-gqrspt88.js → aisdk-4644t75q.js} +7 -7
  40. package/dist/chunks/{reference-ybmjar5a.js → aisdk-48pevnde.js} +4 -4
  41. package/dist/chunks/{reference-mq8pyd3z.js → aisdk-4g566920.js} +20 -20
  42. package/dist/chunks/{reference-y3emh7vm.js → aisdk-4ktppzyc.js} +20 -20
  43. package/dist/chunks/{reference-73qsq1xc.js → aisdk-4kxdvvn7.js} +1 -1
  44. package/dist/chunks/{reference-knevfgda.js → aisdk-4v7ngy20.js} +4 -4
  45. package/dist/chunks/{reference-st5htmmp.js → aisdk-517c0j3a.js} +8 -8
  46. package/dist/chunks/{reference-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
  47. package/dist/chunks/{reference-7bep4ber.js → aisdk-562rv7bx.js} +45 -45
  48. package/dist/chunks/{reference-yrcj3v3g.js → aisdk-5dkn69vz.js} +4 -4
  49. package/dist/chunks/{reference-3a63wq34.js → aisdk-5g0qe9a8.js} +25 -25
  50. package/dist/chunks/{reference-d3n9z6py.js → aisdk-5gayeh3h.js} +27 -27
  51. package/dist/chunks/{reference-y3j594wr.js → aisdk-5hd7zffw.js} +24 -24
  52. package/dist/chunks/{reference-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{reference-gh1krvjx.js → aisdk-5qpywvrf.js} +5 -5
  54. package/dist/chunks/{reference-epev154h.js → aisdk-5whdm1cm.js} +5 -5
  55. package/dist/chunks/{reference-65mpxnxp.js → aisdk-5xnb4j2b.js} +25 -25
  56. package/dist/chunks/{reference-p4mj4rdp.js → aisdk-5yzzbxa7.js} +8 -8
  57. package/dist/chunks/{reference-feat9d3m.js → aisdk-5zfh5grb.js} +16 -16
  58. package/dist/chunks/aisdk-619r8v3y.js +18 -0
  59. package/dist/chunks/{reference-nj1fyrr5.js → aisdk-69w9nwc9.js} +9 -9
  60. package/dist/chunks/{reference-b6keqepk.js → aisdk-6a78g3gj.js} +12 -12
  61. package/dist/chunks/{reference-jk540des.js → aisdk-6g107h22.js} +2 -2
  62. package/dist/chunks/{reference-aeccth9c.js → aisdk-6s1dab92.js} +9 -9
  63. package/dist/chunks/{reference-ygcyyk2q.js → aisdk-6t5yvsqf.js} +31 -31
  64. package/dist/chunks/{reference-5p5gqk74.js → aisdk-6wy3h861.js} +15 -15
  65. package/dist/chunks/{reference-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{reference-mb14aw74.js → aisdk-706phk7x.js} +2 -2
  67. package/dist/chunks/{reference-775gj3j1.js → aisdk-775gj3j1.js} +2 -2
  68. package/dist/chunks/{reference-ex32qt72.js → aisdk-7b7phb11.js} +20 -20
  69. package/dist/chunks/{reference-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{reference-g1wkew17.js → aisdk-7ckjrabt.js} +24 -24
  71. package/dist/chunks/{reference-9wq61tcj.js → aisdk-7dgwhepd.js} +5 -5
  72. package/dist/chunks/{reference-hs41a4tz.js → aisdk-7gbf977a.js} +11 -11
  73. package/dist/chunks/{reference-twq12gq3.js → aisdk-7h0wf518.js} +20 -20
  74. package/dist/chunks/{reference-8vrmbnrg.js → aisdk-7hq2xq6d.js} +8 -8
  75. package/dist/chunks/{reference-05qzyfy0.js → aisdk-7mdm34a6.js} +12 -12
  76. package/dist/chunks/{reference-5mdamk89.js → aisdk-7mnjq4d7.js} +18 -18
  77. package/dist/chunks/{reference-hkm4q0k4.js → aisdk-7ndqc6qy.js} +6 -6
  78. package/dist/chunks/{reference-vxrvct7x.js → aisdk-7trecd3h.js} +9 -9
  79. package/dist/chunks/{reference-r8ebydnz.js → aisdk-7tven9c0.js} +9 -9
  80. package/dist/chunks/{reference-6dh0zb0s.js → aisdk-7vtykagd.js} +7 -7
  81. package/dist/chunks/{reference-69pqp2ta.js → aisdk-7vv9z2ed.js} +4 -4
  82. package/dist/chunks/{reference-84txncab.js → aisdk-84txncab.js} +1 -1
  83. package/dist/chunks/{reference-vyjxqysr.js → aisdk-858m0wch.js} +12 -12
  84. package/dist/chunks/{reference-w260pzdb.js → aisdk-85zvhnyw.js} +14 -14
  85. package/dist/chunks/{reference-xg451pjv.js → aisdk-886p3wav.js} +15 -15
  86. package/dist/chunks/{reference-tgv0byre.js → aisdk-8aysegkf.js} +41 -41
  87. package/dist/chunks/{reference-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{reference-4fx8cncx.js → aisdk-8n9eerv3.js} +13 -13
  89. package/dist/chunks/{reference-azsz2md7.js → aisdk-8p19n2xp.js} +5 -5
  90. package/dist/chunks/{reference-3fax4j2d.js → aisdk-8t76jbpz.js} +9 -9
  91. package/dist/chunks/{reference-j09zfasm.js → aisdk-91qna3x0.js} +3 -3
  92. package/dist/chunks/{reference-qp4vhx24.js → aisdk-92n1m1fa.js} +14 -14
  93. package/dist/chunks/{reference-3m53d28j.js → aisdk-9910eere.js} +11 -11
  94. package/dist/chunks/{reference-7x8122dn.js → aisdk-acxqcypa.js} +18 -18
  95. package/dist/chunks/{reference-addxnjmp.js → aisdk-addxnjmp.js} +1 -1
  96. package/dist/chunks/{reference-pnqhs0ew.js → aisdk-anfg2bq0.js} +315 -315
  97. package/dist/chunks/{reference-6d7dy7s4.js → aisdk-anrd6afq.js} +7 -7
  98. package/dist/chunks/{reference-0yjtcscn.js → aisdk-arderc4p.js} +16 -16
  99. package/dist/chunks/{reference-8rqycdgd.js → aisdk-b27vhd2z.js} +7 -7
  100. package/dist/chunks/{reference-z5wabbt8.js → aisdk-b5wmejpr.js} +23 -23
  101. package/dist/chunks/{reference-dv357ym8.js → aisdk-b9jm2ncp.js} +75 -75
  102. package/dist/chunks/{reference-xstzgqxx.js → aisdk-be25vhzd.js} +12 -12
  103. package/dist/chunks/{reference-0f0tjfsd.js → aisdk-bf08y2sg.js} +17 -17
  104. package/dist/chunks/{reference-w3x9v1nk.js → aisdk-bhfpg5wx.js} +8 -8
  105. package/dist/chunks/{reference-3espnbnx.js → aisdk-bj2bytkv.js} +8 -8
  106. package/dist/chunks/{reference-ywt8jp22.js → aisdk-bjx1sjef.js} +9 -9
  107. package/dist/chunks/{reference-rj3eygr5.js → aisdk-c41wscbt.js} +2 -2
  108. package/dist/chunks/{reference-22vjgegp.js → aisdk-c7mxpfa1.js} +3 -3
  109. package/dist/chunks/{reference-akjh0ytn.js → aisdk-c86e41aq.js} +3 -3
  110. package/dist/chunks/{reference-sa8ekw3f.js → aisdk-c8ax2afj.js} +2 -2
  111. package/dist/chunks/{reference-vw1awvyn.js → aisdk-cddbd36g.js} +24 -24
  112. package/dist/chunks/{reference-3a1k2atw.js → aisdk-cydzxar4.js} +13 -13
  113. package/dist/chunks/{reference-d606da0a.js → aisdk-czt16v0h.js} +20 -20
  114. package/dist/chunks/{reference-rwnpnfnn.js → aisdk-d6nd3jxb.js} +5 -5
  115. package/dist/chunks/{reference-11ewysrm.js → aisdk-d7cgkmja.js} +11 -11
  116. package/dist/chunks/{reference-mfcg9zf8.js → aisdk-dg8gqthx.js} +14 -14
  117. package/dist/chunks/{reference-4jfd8c3z.js → aisdk-dh73y53h.js} +1 -1
  118. package/dist/chunks/{reference-g6q9qykm.js → aisdk-djszqvmq.js} +9 -9
  119. package/dist/chunks/{reference-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{reference-ea3x7rwa.js → aisdk-dqvyxd2t.js} +14 -14
  121. package/dist/chunks/{reference-dqxsqydv.js → aisdk-dqxsqydv.js} +1 -1
  122. package/dist/chunks/{reference-5qd3pb7m.js → aisdk-e3qxr5gk.js} +2 -2
  123. package/dist/chunks/{reference-e80seqcp.js → aisdk-e80seqcp.js} +1 -1
  124. package/dist/chunks/{reference-eej6y6fw.js → aisdk-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{reference-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{reference-05k2b1xp.js → aisdk-ejsmjn7x.js} +11 -11
  127. package/dist/chunks/{reference-st8026tp.js → aisdk-ekz6r8mk.js} +16 -16
  128. package/dist/chunks/{reference-ghmgawy4.js → aisdk-erbh5zzh.js} +14 -14
  129. package/dist/chunks/{reference-c1fqxshp.js → aisdk-es1vcfrp.js} +3 -3
  130. package/dist/chunks/{reference-w1b1nwq4.js → aisdk-f7wzesye.js} +20 -20
  131. package/dist/chunks/{reference-cpjvpb3f.js → aisdk-fb0560r9.js} +4 -4
  132. package/dist/chunks/{reference-qgn6gcr1.js → aisdk-fcrkznn8.js} +5 -5
  133. package/dist/chunks/{reference-khmqacep.js → aisdk-fxaymqdw.js} +4 -4
  134. package/dist/chunks/{reference-63fpqb2s.js → aisdk-g7gkzvvb.js} +22 -22
  135. package/dist/chunks/{reference-hgag3gzg.js → aisdk-g96e57nb.js} +13 -13
  136. package/dist/chunks/{reference-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{reference-98nkzpyj.js → aisdk-gm44sk89.js} +4 -4
  138. package/dist/chunks/{reference-j3zdfp7k.js → aisdk-gmcs4n02.js} +1 -1
  139. package/dist/chunks/{reference-67wx5dm0.js → aisdk-h1q8jnec.js} +34 -34
  140. package/dist/chunks/{reference-gh545k69.js → aisdk-h6fg8q0q.js} +26 -26
  141. package/dist/chunks/{reference-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{reference-hgz4x7wa.js → aisdk-hgz4x7wa.js} +1 -1
  143. package/dist/chunks/{reference-zfy1gwfz.js → aisdk-hjec5844.js} +9 -9
  144. package/dist/chunks/{reference-dckhq1hb.js → aisdk-hk8qf1ba.js} +9 -9
  145. package/dist/chunks/{reference-kqx1b4hy.js → aisdk-hqhp0zxs.js} +4 -4
  146. package/dist/chunks/{reference-5h88vxg7.js → aisdk-jawwkm55.js} +30 -30
  147. package/dist/chunks/{reference-s15r0dtj.js → aisdk-jdgav92x.js} +23 -23
  148. package/dist/chunks/{reference-pnzf6mjf.js → aisdk-jhdf29st.js} +1 -1
  149. package/dist/chunks/{reference-q0nrsbdj.js → aisdk-jpb42pwq.js} +10 -10
  150. package/dist/chunks/{reference-f7avxq1w.js → aisdk-jrbwspxf.js} +34 -34
  151. package/dist/chunks/{reference-d9vgm7je.js → aisdk-jyntbr3k.js} +2 -2
  152. package/dist/chunks/aisdk-k0c4p5kd.js +26 -0
  153. package/dist/chunks/{reference-tbwt21ap.js → aisdk-k1rdhcyh.js} +21 -21
  154. package/dist/chunks/{reference-baaqp4zd.js → aisdk-k76fn4kw.js} +4 -4
  155. package/dist/chunks/{reference-nsv0y1w2.js → aisdk-k8jvzrwv.js} +28 -28
  156. package/dist/chunks/{reference-3x2feh1y.js → aisdk-kfa5xe3b.js} +46 -46
  157. package/dist/chunks/{reference-ph7ntgm1.js → aisdk-khm3esh1.js} +13 -13
  158. package/dist/chunks/{reference-9nw2ws3v.js → aisdk-kmnb828p.js} +9 -9
  159. package/dist/chunks/{reference-4xnzgvdv.js → aisdk-kp9cc527.js} +33 -33
  160. package/dist/chunks/{reference-ej4ab3hk.js → aisdk-m9tvgbxh.js} +13 -13
  161. package/dist/chunks/{reference-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  162. package/dist/chunks/{reference-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
  163. package/dist/chunks/{reference-h8brdaj3.js → aisdk-mfxg20sq.js} +18 -18
  164. package/dist/chunks/{reference-ekmm8y3n.js → aisdk-mhasz1kk.js} +18 -18
  165. package/dist/chunks/{reference-zrxnpg3c.js → aisdk-mne8yjzc.js} +27 -27
  166. package/dist/chunks/{reference-4pjps8v2.js → aisdk-mvk40rx3.js} +50 -50
  167. package/dist/chunks/{reference-c2sed5cq.js → aisdk-n7d88tpn.js} +2 -2
  168. package/dist/chunks/{reference-e2znmbmd.js → aisdk-n9kwckp6.js} +120 -120
  169. package/dist/chunks/{reference-a873kzar.js → aisdk-nryfw457.js} +11 -11
  170. package/dist/chunks/{reference-pz7v2etc.js → aisdk-nx80r8mj.js} +3 -3
  171. package/dist/chunks/{reference-4my8r6he.js → aisdk-ny14mhqf.js} +6 -6
  172. package/dist/chunks/{reference-5563pnry.js → aisdk-nz68rjzz.js} +27 -27
  173. package/dist/chunks/{reference-2wt7exxd.js → aisdk-p463a5js.js} +22 -22
  174. package/dist/chunks/{reference-smzrgrqh.js → aisdk-p5881kk5.js} +10 -10
  175. package/dist/chunks/{reference-kpnh5rdh.js → aisdk-p7h48vns.js} +24 -24
  176. package/dist/chunks/{reference-9c7asnz7.js → aisdk-p7x95z9c.js} +22 -22
  177. package/dist/chunks/{reference-hw5hqadp.js → aisdk-phrp6p9p.js} +13 -13
  178. package/dist/chunks/{reference-80z0vyq9.js → aisdk-phz50fbd.js} +9 -9
  179. package/dist/chunks/{reference-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  180. package/dist/chunks/{reference-mv3hx7wz.js → aisdk-pkj8hqbd.js} +9 -9
  181. package/dist/chunks/{reference-pknna89w.js → aisdk-pknna89w.js} +1 -1
  182. package/dist/chunks/{reference-m0vm465r.js → aisdk-pm7rb62s.js} +12 -12
  183. package/dist/chunks/{reference-s1kvmffy.js → aisdk-prq7hedt.js} +9 -9
  184. package/dist/chunks/{reference-q8zknr33.js → aisdk-ptm6zg7e.js} +4 -4
  185. package/dist/chunks/{reference-z6shxvkg.js → aisdk-pvpwwz14.js} +4 -4
  186. package/dist/chunks/{reference-t8sv6mhx.js → aisdk-pwm71fpt.js} +11 -11
  187. package/dist/chunks/{reference-z9x144hn.js → aisdk-pxhapvbp.js} +29 -29
  188. package/dist/chunks/{reference-w92k2e0p.js → aisdk-py3kkmfq.js} +8 -8
  189. package/dist/chunks/{reference-35ng7dkh.js → aisdk-q4fmv0xv.js} +5 -5
  190. package/dist/chunks/{reference-6dp98m1b.js → aisdk-q6y4xd80.js} +11 -11
  191. package/dist/chunks/{reference-hvr28mne.js → aisdk-q75zv39y.js} +11 -11
  192. package/dist/chunks/{reference-15k4azwb.js → aisdk-q829ppmn.js} +7 -7
  193. package/dist/chunks/{reference-qbant2sw.js → aisdk-qbtfqa8n.js} +34 -34
  194. package/dist/chunks/{reference-ry7dydwt.js → aisdk-qdz5kzjt.js} +7 -7
  195. package/dist/chunks/{reference-hywf2c4r.js → aisdk-qek94as6.js} +11 -11
  196. package/dist/chunks/{reference-4b6jte38.js → aisdk-qgbrgq2v.js} +13 -13
  197. package/dist/chunks/{reference-8sw4wp74.js → aisdk-qgkx2jy9.js} +11 -11
  198. package/dist/chunks/{reference-dsqe59pg.js → aisdk-qhr2m0ep.js} +15 -15
  199. package/dist/chunks/{reference-d7x4wa82.js → aisdk-qjf34qp8.js} +8 -8
  200. package/dist/chunks/{reference-1w3r4bph.js → aisdk-qjrg9a9h.js} +4 -4
  201. package/dist/chunks/{reference-eqrps7ff.js → aisdk-qjthctvt.js} +1 -1
  202. package/dist/chunks/{reference-kj7j5fxd.js → aisdk-qk0y1qkc.js} +36 -36
  203. package/dist/chunks/{reference-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{reference-yv5nr5jj.js → aisdk-qp9zqy8y.js} +11 -11
  205. package/dist/chunks/{reference-c85twgwa.js → aisdk-qqf4dp9r.js} +10 -10
  206. package/dist/chunks/{reference-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  207. package/dist/chunks/{reference-y1w1rhnk.js → aisdk-qttzb7x8.js} +1 -1
  208. package/dist/chunks/{reference-gjr9q959.js → aisdk-r0nk0p6g.js} +24 -24
  209. package/dist/chunks/{reference-5jvj1mv1.js → aisdk-rbtqkbmf.js} +14 -14
  210. package/dist/chunks/{reference-sn87wmz8.js → aisdk-rd57npgt.js} +12 -12
  211. package/dist/chunks/{reference-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{reference-es4zr9pq.js → aisdk-re585wd9.js} +8 -8
  213. package/dist/chunks/{reference-v5zagma4.js → aisdk-rm2vb102.js} +3 -3
  214. package/dist/chunks/{reference-h5m7e0fe.js → aisdk-rpjgfq5s.js} +9 -9
  215. package/dist/chunks/{reference-fbzf1q28.js → aisdk-s2twap76.js} +3 -3
  216. package/dist/chunks/{reference-e09akz1d.js → aisdk-s4mbn964.js} +29 -29
  217. package/dist/chunks/{reference-v8ys44m2.js → aisdk-s8v304em.js} +19 -19
  218. package/dist/chunks/{reference-1thc74wz.js → aisdk-sa6vc7k5.js} +13 -13
  219. package/dist/chunks/{reference-wecqtg5s.js → aisdk-scgrse2b.js} +5 -5
  220. package/dist/chunks/{reference-5srtxftc.js → aisdk-sdmdcrw9.js} +14 -14
  221. package/dist/chunks/{reference-ngyrtr94.js → aisdk-setc7ajv.js} +9 -9
  222. package/dist/chunks/{reference-xrdz75pd.js → aisdk-sg2v8j4q.js} +27 -27
  223. package/dist/chunks/{reference-syv4x271.js → aisdk-syv4x271.js} +1 -1
  224. package/dist/chunks/{reference-szmcdvhr.js → aisdk-t2pq6zw8.js} +18 -18
  225. package/dist/chunks/{reference-rhjbct0v.js → aisdk-t550f9t1.js} +4 -4
  226. package/dist/chunks/{reference-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{reference-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{reference-tdstcens.js → aisdk-tdstcens.js} +1 -1
  229. package/dist/chunks/{reference-xwmnfh3r.js → aisdk-tga0nja1.js} +29 -29
  230. package/dist/chunks/{reference-q41vf2xe.js → aisdk-thwz582m.js} +18 -18
  231. package/dist/chunks/{reference-rert0e01.js → aisdk-tkb22qbm.js} +2 -2
  232. package/dist/chunks/{reference-tm0kqsz3.js → aisdk-tm0kqsz3.js} +1 -1
  233. package/dist/chunks/{reference-11a129ht.js → aisdk-tm8amqmt.js} +11 -11
  234. package/dist/chunks/{reference-1bmjn0qh.js → aisdk-tmfxf5e7.js} +11 -11
  235. package/dist/chunks/{reference-9dwgfb1r.js → aisdk-tsxt64vg.js} +13 -13
  236. package/dist/chunks/{reference-tyytaxap.js → aisdk-tyytaxap.js} +1 -1
  237. package/dist/chunks/{reference-fpr0n1zf.js → aisdk-tz8b7tyw.js} +10 -10
  238. package/dist/chunks/{reference-v0es1rhs.js → aisdk-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{reference-sqwzxhmw.js → aisdk-v3xd9sm1.js} +18 -18
  240. package/dist/chunks/{reference-v7p4zvkq.js → aisdk-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{reference-nc4qeq29.js → aisdk-vdc3n46x.js} +4 -4
  242. package/dist/chunks/{reference-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  243. package/dist/chunks/{reference-n0r2pe7t.js → aisdk-vkn90r97.js} +21 -21
  244. package/dist/chunks/{reference-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{reference-1pxz8ven.js → aisdk-w2h15q85.js} +5 -5
  246. package/dist/chunks/{reference-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{reference-pgcdf3yp.js → aisdk-w7e5kpev.js} +43 -43
  248. package/dist/chunks/{reference-r81p8d0w.js → aisdk-wa7335xs.js} +10 -10
  249. package/dist/chunks/{reference-kna3qw76.js → aisdk-wbkvhq24.js} +44 -44
  250. package/dist/chunks/{reference-g7ejj7wn.js → aisdk-wcfkssy8.js} +22 -22
  251. package/dist/chunks/{reference-nr3t94ek.js → aisdk-wd548sk2.js} +24 -24
  252. package/dist/chunks/{reference-wd87259q.js → aisdk-wd87259q.js} +1 -1
  253. package/dist/chunks/{reference-j9mnae36.js → aisdk-we8z2qby.js} +25 -25
  254. package/dist/chunks/{reference-743qse5p.js → aisdk-wfktfps2.js} +6 -6
  255. package/dist/chunks/{reference-tdxdfn5s.js → aisdk-wkkz5rq7.js} +11 -11
  256. package/dist/chunks/{reference-avxp0dmd.js → aisdk-x0j36s06.js} +46 -46
  257. package/dist/chunks/{reference-dxrd75ee.js → aisdk-x3j5jrq4.js} +22 -22
  258. package/dist/chunks/{reference-ebjm2wn5.js → aisdk-x5hx00nt.js} +15 -15
  259. package/dist/chunks/{reference-3kfmszx4.js → aisdk-x8wa486h.js} +23 -23
  260. package/dist/chunks/{reference-zfa7ynd8.js → aisdk-xdjq0qq8.js} +18 -18
  261. package/dist/chunks/{reference-57b9ws8p.js → aisdk-xfkkasph.js} +7 -7
  262. package/dist/chunks/{reference-ys9049bt.js → aisdk-xjt5peaa.js} +24 -24
  263. package/dist/chunks/{reference-8k0z7ge9.js → aisdk-xk4xmd42.js} +33 -33
  264. package/dist/chunks/{reference-cs9en2hq.js → aisdk-xnys9azd.js} +14 -14
  265. package/dist/chunks/{reference-bvvg1rh8.js → aisdk-xr09p91z.js} +25 -25
  266. package/dist/chunks/{reference-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{reference-9as5mz56.js → aisdk-yc062aj4.js} +25 -25
  268. package/dist/chunks/{reference-2q15wf76.js → aisdk-yeygkejg.js} +20 -20
  269. package/dist/chunks/{reference-59n1fapm.js → aisdk-yhb062ff.js} +12 -12
  270. package/dist/chunks/{reference-1acjjqhc.js → aisdk-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{reference-rgpm01ny.js → aisdk-ypkbb8va.js} +20 -20
  272. package/dist/chunks/{reference-81ga0fy1.js → aisdk-yptrx5rd.js} +2 -2
  273. package/dist/chunks/{reference-2d2g0b80.js → aisdk-ysb2aahv.js} +71 -71
  274. package/dist/chunks/{reference-zwe1k0ej.js → aisdk-yy6txsae.js} +32 -32
  275. package/dist/chunks/{reference-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{reference-q0vvbzs6.js → aisdk-z16etnk0.js} +20 -20
  277. package/dist/chunks/{reference-38y3j0a6.js → aisdk-z54ycqme.js} +2 -2
  278. package/dist/chunks/{reference-gt5bakd5.js → aisdk-z5xt4pvb.js} +15 -15
  279. package/dist/chunks/{reference-knr7pyte.js → aisdk-z8f110mj.js} +51 -51
  280. package/dist/chunks/{reference-9hwaqfsw.js → aisdk-zmr78fwr.js} +5 -5
  281. package/dist/chunks/{reference-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{reference-pmne06ks.js → aisdk-zrrfg2gv.js} +11 -11
  283. package/dist/chunks/{reference-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{reference-1b7p194a.js → aisdk-zz0kenfz.js} +30 -30
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +77 -77
  319. package/dist/database/database.js +76 -76
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +74 -74
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +76 -76
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +3 -3
  452. package/dist/instance.js +357 -357
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +81 -81
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +85 -85
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +94 -94
  476. package/dist/models-dev.js +101 -101
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +84 -84
  558. package/dist/provider.js +93 -93
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +210 -210
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +127 -127
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +3 -3
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +207 -207
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +91 -91
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +124 -124
  636. package/dist/tool/plugin/grep.js +120 -120
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +111 -111
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +120 -120
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  652. package/dist/types/config/discovery.d.ts +1 -0
  653. package/dist/types/config.d.ts +1 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/websearch.js +84 -84
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +83 -83
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +82 -82
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +98 -98
  686. package/package.json +8 -8
  687. package/dist/chunks/reference-keaa5ges.js +0 -253
  688. package/dist/chunks/reference-mztsg71c.js +0 -26
  689. package/dist/chunks/reference-n95b3jav.js +0 -18
  690. /package/dist/chunks/{reference-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{reference-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{reference-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{reference-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{reference-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{reference-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{reference-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{reference-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{reference-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{reference-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{reference-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{reference-3asan66x.js → aisdk-3asan66x.js} +0 -0
  702. /package/dist/chunks/{reference-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{reference-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{reference-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{reference-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{reference-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{reference-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{reference-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{reference-53557ph1.js → aisdk-53557ph1.js} +0 -0
  710. /package/dist/chunks/{reference-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{reference-6prwharc.js → aisdk-6prwharc.js} +0 -0
  712. /package/dist/chunks/{reference-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{reference-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{reference-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{reference-822emrt2.js → aisdk-822emrt2.js} +0 -0
  716. /package/dist/chunks/{reference-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{reference-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{reference-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{reference-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{reference-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{reference-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{reference-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{reference-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{reference-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{reference-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{reference-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{reference-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{reference-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{reference-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{reference-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{reference-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{reference-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{reference-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{reference-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{reference-df08tz66.js → aisdk-df08tz66.js} +0 -0
  736. /package/dist/chunks/{reference-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{reference-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{reference-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{reference-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{reference-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{reference-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{reference-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{reference-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{reference-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{reference-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{reference-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{reference-g86h250q.js → aisdk-g86h250q.js} +0 -0
  748. /package/dist/chunks/{reference-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{reference-gftt206x.js → aisdk-gftt206x.js} +0 -0
  750. /package/dist/chunks/{reference-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{reference-hk9envan.js → aisdk-hk9envan.js} +0 -0
  752. /package/dist/chunks/{reference-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{reference-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{reference-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{reference-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{reference-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{reference-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{reference-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{reference-m18g726c.js → aisdk-m18g726c.js} +0 -0
  760. /package/dist/chunks/{reference-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{reference-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{reference-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{reference-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{reference-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{reference-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{reference-pyv0edze.js → aisdk-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{reference-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{reference-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{reference-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{reference-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{reference-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{reference-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{reference-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{reference-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{reference-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{reference-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{reference-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{reference-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{reference-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{reference-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{reference-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{reference-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{reference-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{reference-x61499pn.js → aisdk-x61499pn.js} +0 -0
  785. /package/dist/chunks/{reference-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{reference-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{reference-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{reference-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{reference-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{reference-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./aisdk-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service45
7
- } from "./reference-7wzym38v.js";
6
+ Service72
7
+ } from "./aisdk-24nt8bd8.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./reference-hgz4x7wa.js";
10
+ } from "./aisdk-hgz4x7wa.js";
11
11
  import {
12
- Service71
13
- } from "./reference-g7ejj7wn.js";
12
+ Service69
13
+ } from "./aisdk-wcfkssy8.js";
14
14
  import {
15
- Service54
16
- } from "./reference-xg451pjv.js";
15
+ Service55
16
+ } from "./aisdk-886p3wav.js";
17
17
  import {
18
- Service57
19
- } from "./reference-knr7pyte.js";
18
+ Service58
19
+ } from "./aisdk-z8f110mj.js";
20
20
  import {
21
- Service20,
21
+ Service22,
22
22
  resolvePath2
23
- } from "./reference-gt5bakd5.js";
23
+ } from "./aisdk-z5xt4pvb.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./reference-vzs5sf6e.js";
29
+ } from "./aisdk-vzs5sf6e.js";
30
30
  import {
31
- Service63,
31
+ Service71,
32
32
  name15
33
- } from "./reference-v8ys44m2.js";
33
+ } from "./aisdk-s8v304em.js";
34
34
  import {
35
- NotFoundError6,
36
- Service43
37
- } from "./reference-3x2feh1y.js";
35
+ NotFoundError9,
36
+ Service65
37
+ } from "./aisdk-kfa5xe3b.js";
38
38
  import {
39
39
  Service29
40
- } from "./reference-7w8dwfyw.js";
40
+ } from "./aisdk-2rg3ypq9.js";
41
41
  import {
42
42
  scan2
43
- } from "./reference-nc4qeq29.js";
43
+ } from "./aisdk-vdc3n46x.js";
44
44
  import {
45
45
  __export
46
- } from "./reference-9rqn6x4v.js";
46
+ } from "./aisdk-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin25,
54
- ShellTool: () => exports_shell2,
55
- name: () => name5
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin29,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name5 = "shell";
60
+ var name11 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input5 = Schema.Struct({
74
+ var Input11 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin25 = {
120
+ var Plugin29 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
123
  const sessions = yield* Service29;
124
- const jobs = yield* Service54;
124
+ const jobs = yield* Service55;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service71;
127
- const access = yield* Service20;
128
- const shell = yield* Service43;
129
- const shellSelect = yield* Service63;
126
+ const environment = yield* Service69;
127
+ const access = yield* Service22;
128
+ const shell = yield* Service65;
129
+ const shellSelect = yield* Service71;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service57;
132
- const config = yield* Service45;
131
+ const permission = yield* Service58;
132
+ const config = yield* Service72;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin25 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name5,
151
+ action: name11,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin25 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name5,
188
+ name: name11,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input5,
191
+ input: Input11,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin25 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError6({ id: info.id });
214
+ return yield* new NotFoundError9({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name5,
228
+ type: name11,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name5];
258
+ const tool = event.tools[name11];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin25, exports_shell2 };
269
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin29, exports_shell };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./reference-hgz4x7wa.js";
6
+ } from "./aisdk-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./reference-eej6y6fw.js";
9
+ } from "./aisdk-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./reference-3hwn7j4h.js";
12
+ } from "./aisdk-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./reference-v7p4zvkq.js";
15
+ } from "./aisdk-v7p4zvkq.js";
16
16
  import {
17
17
  Service81,
18
- node85
19
- } from "./reference-sxw208y2.js";
18
+ node84
19
+ } from "./aisdk-1ryh243x.js";
20
20
  import {
21
- Service72,
22
- node75
23
- } from "./reference-9as5mz56.js";
21
+ Service70,
22
+ node72
23
+ } from "./aisdk-yc062aj4.js";
24
24
  import {
25
25
  __export
26
- } from "./reference-9rqn6x4v.js";
26
+ } from "./aisdk-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service71,
33
- node: () => node74
32
+ Service: () => Service69,
33
+ node: () => node71
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service71,
46
+ Service: () => Service69,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node74,
52
+ node: () => node71,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service71 extends Context.Service()("@opencode/Environment") {
61
+ class Service69 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service71, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service81;
66
- const workspace = yield* Service72;
66
+ const workspace = yield* Service70;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service71.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node74 = makeLocationNode({
71
- service: Service71,
70
+ var node71 = makeLocationNode({
71
+ service: Service69,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node85, node75]
73
+ deps: [CrossSpawnSpawner.node, node84, node72]
74
74
  });
75
75
 
76
- export { Service71, node74, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service69, node71, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./reference-88xbtdfr.js";
3
+ } from "./aisdk-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./reference-5qd3pb7m.js";
5
+ load5
6
+ } from "./aisdk-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event8,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service46,
16
+ Options: () => Options9,
17
+ Service: () => Service73,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer20,
22
+ layer: () => layer25,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node50,
25
+ node: () => node76,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event8 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service46 extends Context.Service()("@opencode/Watcher") {
60
+ class Service73 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
65
+ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service46.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service73.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service46.of({ subscribe });
108
+ return Service73.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service46).subscribe,
134
+ subscribe: Context.get(context, Service73).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service46, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service73, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service46, layer: layer20(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service73, layer: layer25(options), deps: [nativeNode2] });
169
169
  }
170
- var node50 = configured8();
170
+ var node76 = configured10();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event8, hasNativeBinding2, Native3, Options8, Service46, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured8, node50, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options9, Service73, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured10, node76, exports_watcher };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./reference-emrn6kk6.js";
4
+ } from "./aisdk-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./aisdk-z5v4ffb3.js";
4
4
  import {
5
5
  Service81
6
- } from "./reference-sxw208y2.js";
6
+ } from "./aisdk-1ryh243x.js";
7
7
  import {
8
- Service20
9
- } from "./reference-gt5bakd5.js";
8
+ Service22
9
+ } from "./aisdk-z5xt4pvb.js";
10
10
  import {
11
- Service8
12
- } from "./reference-st8026tp.js";
11
+ Service7
12
+ } from "./aisdk-ekz6r8mk.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./reference-hgz4x7wa.js";
15
+ } from "./aisdk-hgz4x7wa.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./reference-0j98sf6a.js";
26
+ Service8
27
+ } from "./aisdk-320m6bvr.js";
28
28
  import {
29
29
  __export
30
- } from "./reference-9rqn6x4v.js";
30
+ } from "./aisdk-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input4,
36
- Plugin: () => Plugin24,
35
+ Input: () => Input3,
36
+ Plugin: () => Plugin19,
37
37
  ReadTool: () => exports_read,
38
- name: () => name4,
39
- toModelContent: () => toModelContent2
38
+ name: () => name3,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name4 = "read";
45
+ var name3 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input4 = LocationInput;
56
+ var Input3 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin24 = {
58
+ var Plugin19 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service20;
63
- const sessionInstructions = yield* Service8;
61
+ const reader = yield* Service8;
62
+ const access = yield* Service22;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service81;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name4,
67
+ name: name3,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input4,
70
+ input: Input3,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin24 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent2(result.path, input.offset, result.output),
116
+ content: toModelContent3(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent2 = (path, offset, output) => {
149
+ var toModelContent3 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent2 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name4, Input4, Plugin24, toModelContent2, exports_read };
185
+ export { name3, Input3, Plugin19, toModelContent3, exports_read };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./reference-8m6m0r52.js";
3
+ } from "./aisdk-8m6m0r52.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./reference-z5v4ffb3.js";
6
+ } from "./aisdk-z5v4ffb3.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Name2
10
- } from "./reference-gjr9q959.js";
10
+ } from "./aisdk-r0nk0p6g.js";
11
11
  import {
12
12
  __export
13
- } from "./reference-9rqn6x4v.js";
13
+ } from "./aisdk-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID6.make(id),
65
+ id: ID4.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service45
3
- } from "./reference-7wzym38v.js";
2
+ Service72
3
+ } from "./aisdk-24nt8bd8.js";
4
4
  import {
5
- Service6
6
- } from "./reference-g6q9qykm.js";
5
+ Service10
6
+ } from "./aisdk-djszqvmq.js";
7
7
  import {
8
8
  observe2
9
- } from "./reference-qsdy395h.js";
9
+ } from "./aisdk-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./aisdk-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin19
18
+ Plugin: () => Plugin34
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin19 = define({
22
+ var Plugin34 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service45;
26
- const policy = yield* Service6;
25
+ const config = yield* Service72;
26
+ const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin19 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin19, exports_location_watcher2 };
38
+ export { Plugin34, exports_location_watcher2 };