@opencode/core 0.0.0-dev-19744 → 0.0.0-dev-19750

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{pty-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  8. package/dist/chunks/{pty-0q0f95c6.js → job-0q0f95c6.js} +1 -1
  9. package/dist/chunks/{pty-ykyjdacj.js → job-13m9c5q2.js} +5 -5
  10. package/dist/chunks/{pty-8s8mxddj.js → job-179189h4.js} +4 -4
  11. package/dist/chunks/{pty-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  12. package/dist/chunks/{pty-g7td5zdy.js → job-1f5fvxkw.js} +15 -15
  13. package/dist/chunks/{pty-fkr83qb9.js → job-1pjertdr.js} +10 -10
  14. package/dist/chunks/{pty-gfqx1e3t.js → job-1xs14nxh.js} +33 -33
  15. package/dist/chunks/{pty-6ep9m4sq.js → job-1ycfewzc.js} +18 -18
  16. package/dist/chunks/{pty-vj5dzvyh.js → job-20z9p9jv.js} +43 -43
  17. package/dist/chunks/{pty-21r38tys.js → job-21r38tys.js} +1 -1
  18. package/dist/chunks/{pty-2402vzrj.js → job-2402vzrj.js} +1 -1
  19. package/dist/chunks/{pty-8pmgwz46.js → job-29s83sv3.js} +17 -17
  20. package/dist/chunks/{pty-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  21. package/dist/chunks/{pty-ctrx9nnj.js → job-2k3x41zv.js} +8 -8
  22. package/dist/chunks/{pty-wfex9hf5.js → job-2pwjt9b6.js} +22 -22
  23. package/dist/chunks/{pty-k0xbpe31.js → job-2rfe45q1.js} +25 -25
  24. package/dist/chunks/{pty-7ac170kv.js → job-2tfmgkzg.js} +4 -4
  25. package/dist/chunks/{pty-ffc9mvrz.js → job-32agryyw.js} +42 -42
  26. package/dist/chunks/{pty-1ygqh575.js → job-33w4ejhs.js} +6 -6
  27. package/dist/chunks/{pty-jnwk8z6k.js → job-359csp35.js} +30 -30
  28. package/dist/chunks/{pty-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{pty-bnepd0n1.js → job-3gyx8qas.js} +44 -44
  30. package/dist/chunks/{pty-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{pty-5rbd4j62.js → job-3jhv2bht.js} +11 -11
  32. package/dist/chunks/{pty-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{pty-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{pty-b3ns9504.js → job-3vqcz1ge.js} +23 -23
  35. package/dist/chunks/{pty-t0fxg8b9.js → job-3w0fmcng.js} +5 -5
  36. package/dist/chunks/{pty-1rgevqwt.js → job-3wm2cje7.js} +23 -23
  37. package/dist/chunks/{pty-56caj4g6.js → job-40dr47j5.js} +20 -20
  38. package/dist/chunks/{pty-zpmv2nmt.js → job-40k7r1a0.js} +9 -9
  39. package/dist/chunks/{pty-h64tyvph.js → job-4azewpwe.js} +3 -3
  40. package/dist/chunks/{pty-6y05ew1d.js → job-4b3r418a.js} +13 -13
  41. package/dist/chunks/{pty-qsr74hn5.js → job-4bfeayzr.js} +25 -25
  42. package/dist/chunks/{pty-8fxgy4be.js → job-4n7gtawk.js} +15 -15
  43. package/dist/chunks/{pty-0kk2g04a.js → job-4qdmv3g1.js} +15 -15
  44. package/dist/chunks/{pty-exfq5gv3.js → job-5543h9jq.js} +8 -8
  45. package/dist/chunks/{pty-xp8zvqfe.js → job-5571xw2s.js} +32 -32
  46. package/dist/chunks/{pty-57ez7d0k.js → job-57ez7d0k.js} +2 -2
  47. package/dist/chunks/{pty-5c4hm403.js → job-5c4hm403.js} +3 -3
  48. package/dist/chunks/{pty-5daktx2q.js → job-5daktx2q.js} +1 -1
  49. package/dist/chunks/{pty-74rrnwt7.js → job-5f90fjb2.js} +5 -5
  50. package/dist/chunks/{pty-jp67d8xq.js → job-5hd5pzr2.js} +17 -17
  51. package/dist/chunks/{pty-76mn2m8t.js → job-5kbshkb8.js} +17 -17
  52. package/dist/chunks/{pty-h6r3nrb9.js → job-5mtzsd3b.js} +4 -4
  53. package/dist/chunks/{pty-gaf2f4t8.js → job-5s8r4cby.js} +15 -15
  54. package/dist/chunks/{pty-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{pty-mjyryqn6.js → job-5w847pea.js} +9 -9
  56. package/dist/chunks/{pty-8hvspytd.js → job-60g97py5.js} +60 -60
  57. package/dist/chunks/{pty-0gq5ttfh.js → job-619gyt83.js} +11 -11
  58. package/dist/chunks/{pty-669tq793.js → job-669tq793.js} +1 -1
  59. package/dist/chunks/{pty-f59eyknk.js → job-6914g88p.js} +4 -4
  60. package/dist/chunks/{pty-e5menjtj.js → job-6cafgrxj.js} +17 -17
  61. package/dist/chunks/{pty-11dqjexa.js → job-6fatt4mk.js} +9 -9
  62. package/dist/chunks/{pty-jtr1btwa.js → job-6gw9jdmb.js} +17 -17
  63. package/dist/chunks/{pty-g8d3gcyj.js → job-6hh8tjw2.js} +7 -7
  64. package/dist/chunks/{pty-dd95b6zp.js → job-6jvx2wv8.js} +5 -5
  65. package/dist/chunks/{pty-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{pty-63kpjth9.js → job-6pzw4973.js} +9 -9
  67. package/dist/chunks/{pty-mhkvc446.js → job-73tb2d7t.js} +3 -3
  68. package/dist/chunks/{pty-x7vb65wd.js → job-74e20efm.js} +20 -20
  69. package/dist/chunks/{pty-p9dw02ep.js → job-74zg2pc7.js} +21 -20
  70. package/dist/chunks/{pty-207ajt2h.js → job-762r0j46.js} +5 -5
  71. package/dist/chunks/{pty-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{pty-xfkknnqv.js → job-7s4e5k0s.js} +5 -5
  73. package/dist/chunks/{pty-k5jz2ghv.js → job-82p39xr4.js} +18 -18
  74. package/dist/chunks/{pty-1f62kj91.js → job-8b88sbb8.js} +3 -3
  75. package/dist/chunks/{pty-fanw3jjr.js → job-8bhn792h.js} +3 -3
  76. package/dist/chunks/{pty-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{pty-svvemcs6.js → job-8fyegk21.js} +6 -6
  78. package/dist/chunks/{pty-4v4zcyn8.js → job-8m61drr3.js} +11 -11
  79. package/dist/chunks/{pty-2acp3zpj.js → job-8z7qasvp.js} +24 -24
  80. package/dist/chunks/{pty-f0v6spgv.js → job-913x7je8.js} +5 -5
  81. package/dist/chunks/{pty-jexxy024.js → job-91m9hd8f.js} +3 -3
  82. package/dist/chunks/{pty-2c4g75ke.js → job-91p9nzjg.js} +20 -20
  83. package/dist/chunks/{pty-3pszy94w.js → job-938ebd8s.js} +11 -11
  84. package/dist/chunks/{pty-6j9cmr93.js → job-96sdg91b.js} +25 -25
  85. package/dist/chunks/{pty-gdfvffmy.js → job-97bh2sm1.js} +5 -5
  86. package/dist/chunks/{pty-k09h50av.js → job-9kfttatn.js} +37 -37
  87. package/dist/chunks/{pty-9p1nr3wb.js → job-9m5npvv6.js} +8 -8
  88. package/dist/chunks/{pty-b4h1fdev.js → job-9mrvgg68.js} +47 -47
  89. package/dist/chunks/{pty-5dkz921g.js → job-9xnbs488.js} +12 -12
  90. package/dist/chunks/{pty-39dab3jh.js → job-a02j18dy.js} +18 -18
  91. package/dist/chunks/{pty-nvv66n76.js → job-a1bz16p2.js} +15 -15
  92. package/dist/chunks/{pty-51sk06m6.js → job-a3dhx74t.js} +11 -11
  93. package/dist/chunks/{pty-wcy10hea.js → job-a7hrha0t.js} +9 -9
  94. package/dist/chunks/{pty-7t28gyx8.js → job-a9wy5asy.js} +24 -24
  95. package/dist/chunks/{pty-aaet6srn.js → job-aaet6srn.js} +2 -2
  96. package/dist/chunks/{pty-51rpk3dg.js → job-ac0y39cd.js} +47 -47
  97. package/dist/chunks/{pty-4kgnd0zh.js → job-adwtw4r7.js} +8 -8
  98. package/dist/chunks/{pty-t031qe01.js → job-aj1f0whz.js} +30 -30
  99. package/dist/chunks/{pty-xp7gxvaq.js → job-ajrq8mb2.js} +4 -4
  100. package/dist/chunks/{pty-6vw4348z.js → job-awxsahfx.js} +11 -11
  101. package/dist/chunks/{pty-a3r4dcrj.js → job-b07rpg7m.js} +2 -2
  102. package/dist/chunks/{pty-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{pty-92aty353.js → job-b72kh71w.js} +6 -6
  104. package/dist/chunks/{pty-avh5jyvb.js → job-b7sa8c0h.js} +35 -35
  105. package/dist/chunks/{pty-zwejzy2c.js → job-b7v0ejbk.js} +13 -13
  106. package/dist/chunks/{pty-xzzedvdq.js → job-ba4w6g48.js} +12 -12
  107. package/dist/chunks/{pty-zyyjv7w6.js → job-bcreqe71.js} +7 -7
  108. package/dist/chunks/{pty-00z3vp5f.js → job-bct739vz.js} +4 -4
  109. package/dist/chunks/{pty-0d61r9h4.js → job-bm37spdt.js} +30 -30
  110. package/dist/chunks/{pty-m39c7hxd.js → job-bz1r5mv1.js} +11 -11
  111. package/dist/chunks/{pty-yn01zngv.js → job-c3287d1h.js} +37 -37
  112. package/dist/chunks/{pty-pkgfky7d.js → job-cfs33k05.js} +8 -8
  113. package/dist/chunks/{pty-t159kbzr.js → job-csk77y77.js} +12 -12
  114. package/dist/chunks/{pty-j0d8kce8.js → job-cywwwsrk.js} +44 -44
  115. package/dist/chunks/{pty-qnk3khrz.js → job-d1tvh4ge.js} +15 -15
  116. package/dist/chunks/{pty-qc1pk71j.js → job-d5an5nag.js} +32 -32
  117. package/dist/chunks/{pty-1ajp4aa7.js → job-d9cqvg8s.js} +6 -6
  118. package/dist/chunks/{pty-embw8kgh.js → job-ddt2bs9e.js} +4 -4
  119. package/dist/chunks/{pty-z8kyv3b2.js → job-dfnzfz25.js} +22 -22
  120. package/dist/chunks/{pty-marnn1hp.js → job-dg5bcj4q.js} +9 -9
  121. package/dist/chunks/{pty-dj2t23y0.js → job-dj2t23y0.js} +2 -2
  122. package/dist/chunks/{pty-5w8sdvf2.js → job-dmgkx8hy.js} +4 -4
  123. package/dist/chunks/{pty-b594zzbj.js → job-dmqaspa7.js} +9 -9
  124. package/dist/chunks/{pty-f6pbrr8w.js → job-dnbdzmbm.js} +15 -15
  125. package/dist/chunks/{pty-xfkkasph.js → job-drwq78ky.js} +4 -4
  126. package/dist/chunks/{pty-kbnfxfat.js → job-dt6wtwq3.js} +24 -24
  127. package/dist/chunks/{pty-wcr3727a.js → job-e1bnaych.js} +23 -23
  128. package/dist/chunks/{pty-zerzqssk.js → job-ea2yn5et.js} +1 -1
  129. package/dist/chunks/{pty-s8d7rejh.js → job-eaj1djv9.js} +6 -6
  130. package/dist/chunks/{pty-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{pty-b5ymaj20.js → job-egetzy34.js} +9 -9
  132. package/dist/chunks/{pty-h03wrkyp.js → job-erw5rpbs.js} +4 -3
  133. package/dist/chunks/{pty-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{pty-1as7yqy8.js → job-f27tc57e.js} +10 -10
  135. package/dist/chunks/{pty-1acjjqhc.js → job-f2n192rq.js} +4 -4
  136. package/dist/chunks/{pty-jqmy57s0.js → job-f3btqy3n.js} +38 -38
  137. package/dist/chunks/{pty-ww94c77x.js → job-f7at90d9.js} +16 -16
  138. package/dist/chunks/{pty-44ke2mar.js → job-fkjmw100.js} +6 -6
  139. package/dist/chunks/{pty-v772zmrr.js → job-frjhsfhj.js} +40 -40
  140. package/dist/chunks/{pty-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{pty-12b8t429.js → job-fyxt6bhy.js} +12 -12
  142. package/dist/chunks/{pty-f9spf006.js → job-g0sety0r.js} +27 -27
  143. package/dist/chunks/{pty-qg5tx4hd.js → job-g2yc4nhb.js} +19 -19
  144. package/dist/chunks/{pty-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{pty-5ge7b1s9.js → job-ge3p1t28.js} +17 -17
  146. package/dist/chunks/{pty-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
  147. package/dist/chunks/{pty-ybhbtxjg.js → job-gvwmjjns.js} +6 -6
  148. package/dist/chunks/{pty-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{pty-beda3f75.js → job-h713mcwk.js} +15 -15
  150. package/dist/chunks/{pty-0rd9v16n.js → job-hc4fnx3k.js} +4 -4
  151. package/dist/chunks/{pty-hdnk95c8.js → job-hdnk95c8.js} +2 -2
  152. package/dist/chunks/{pty-nwyqkjv9.js → job-hdqjrtj4.js} +3 -3
  153. package/dist/chunks/{pty-th6p44mh.js → job-hg2vx4zj.js} +11 -11
  154. package/dist/chunks/{pty-ebxxyxge.js → job-hhqz84ye.js} +32 -32
  155. package/dist/chunks/{pty-mgpyxjx6.js → job-hkwfkgzx.js} +11 -11
  156. package/dist/chunks/{pty-04h47jdz.js → job-hnntwa9j.js} +18 -18
  157. package/dist/chunks/job-ht5y0zrb.js +18 -0
  158. package/dist/chunks/{pty-wv40thab.js → job-hvrqesbf.js} +9 -9
  159. package/dist/chunks/{pty-6sz4ttcn.js → job-hwprykwj.js} +23 -23
  160. package/dist/chunks/{pty-x1gfpc1p.js → job-j43s6hh6.js} +26 -26
  161. package/dist/chunks/{pty-khny7pv9.js → job-j4j550rd.js} +22 -22
  162. package/dist/chunks/{pty-j56e64zr.js → job-j56e64zr.js} +1 -1
  163. package/dist/chunks/{pty-pdg35gy8.js → job-j74g3tqy.js} +6 -6
  164. package/dist/chunks/{pty-qa81wdvn.js → job-j89j3j4q.js} +302 -302
  165. package/dist/chunks/{pty-9zct7zr5.js → job-js3keqqh.js} +32 -32
  166. package/dist/chunks/{pty-nrdmrqsx.js → job-jw80jp6b.js} +4 -4
  167. package/dist/chunks/{pty-10f3mqse.js → job-k0a89ygs.js} +26 -26
  168. package/dist/chunks/{pty-k3c624dm.js → job-k3c624dm.js} +3 -3
  169. package/dist/chunks/{pty-zvp4p5jk.js → job-k6420stv.js} +32 -32
  170. package/dist/chunks/{pty-gwydwvmj.js → job-k8dasee7.js} +8 -8
  171. package/dist/chunks/{pty-861re95h.js → job-kf0jck9y.js} +27 -27
  172. package/dist/chunks/{pty-856c6xfq.js → job-kjwwhfxd.js} +20 -20
  173. package/dist/chunks/{pty-wndtrgrh.js → job-kq1b99fm.js} +10 -10
  174. package/dist/chunks/{pty-4b8tw1g7.js → job-kwb80b5k.js} +8 -8
  175. package/dist/chunks/{pty-z336gv68.js → job-kypjpdwq.js} +8 -8
  176. package/dist/chunks/{pty-m0jqrx5p.js → job-m0jqrx5p.js} +2 -2
  177. package/dist/chunks/{pty-6n9a7w7g.js → job-m1h7kgjw.js} +10 -10
  178. package/dist/chunks/{pty-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{pty-yjq1h8wq.js → job-m3w1hak0.js} +8 -8
  180. package/dist/chunks/{pty-dqa43dhg.js → job-m69ytysw.js} +18 -18
  181. package/dist/chunks/{pty-za55qz67.js → job-m93xnq36.js} +21 -21
  182. package/dist/chunks/{pty-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{pty-p3wwg9fw.js → job-mg8rb167.js} +17 -17
  184. package/dist/chunks/{pty-ypnspery.js → job-mh5wyt4r.js} +15 -15
  185. package/dist/chunks/{pty-75ckhbr3.js → job-mpgeqjgs.js} +19 -19
  186. package/dist/chunks/{pty-06dxphr1.js → job-msq0jde0.js} +4 -4
  187. package/dist/chunks/{pty-hfq267a7.js → job-mwxbdqkm.js} +170 -170
  188. package/dist/chunks/{pty-shrcc9g3.js → job-mzhb90k8.js} +11 -11
  189. package/dist/chunks/{pty-rrkxzg4z.js → job-n6rt551t.js} +35 -35
  190. package/dist/chunks/{pty-xbckpkdq.js → job-n9f59pf7.js} +22 -22
  191. package/dist/chunks/{pty-ph842b28.js → job-nb9p6b26.js} +4 -4
  192. package/dist/chunks/{pty-4w5f3qm5.js → job-ngts6ef0.js} +8 -8
  193. package/dist/chunks/{pty-hqwcc1t8.js → job-ngyh2xat.js} +16 -16
  194. package/dist/chunks/{pty-xxpn3ren.js → job-nmv26jra.js} +6 -6
  195. package/dist/chunks/{pty-p5m64j98.js → job-ns0wn83k.js} +5 -5
  196. package/dist/chunks/{pty-nq7qbqzc.js → job-nscznvay.js} +9 -9
  197. package/dist/chunks/{pty-p2ezm693.js → job-nst5sezg.js} +27 -27
  198. package/dist/chunks/{pty-jppvw2tx.js → job-p28j5sbe.js} +4 -3
  199. package/dist/chunks/{pty-0f9afca0.js → job-p44d8wdy.js} +5 -5
  200. package/dist/chunks/{pty-hq8zt1th.js → job-p7a39gy5.js} +6 -6
  201. package/dist/chunks/{pty-apyk6ttn.js → job-pa2a5w63.js} +3 -3
  202. package/dist/chunks/{pty-dby3ea06.js → job-pcra6mkj.js} +41 -41
  203. package/dist/chunks/{pty-6e1261xp.js → job-pdccwdmv.js} +22 -22
  204. package/dist/chunks/{pty-3b1q5j1v.js → job-pf2hb43r.js} +6 -6
  205. package/dist/chunks/{pty-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{pty-pknna89w.js → job-pknna89w.js} +1 -1
  207. package/dist/chunks/{pty-bz85s9hh.js → job-pstg3rfm.js} +1 -1
  208. package/dist/chunks/{pty-54qvpy9t.js → job-pvy68yra.js} +11 -11
  209. package/dist/chunks/{pty-dprzeqmr.js → job-pwtp0t94.js} +10 -10
  210. package/dist/chunks/{pty-935t04zr.js → job-q5xvhvda.js} +6 -6
  211. package/dist/chunks/{pty-3ddaden9.js → job-qa8n2dqg.js} +4 -4
  212. package/dist/chunks/job-qe1h87c9.js +252 -0
  213. package/dist/chunks/{pty-0jwsre1p.js → job-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{pty-v2sqwdfa.js → job-qj5gjkmj.js} +24 -24
  215. package/dist/chunks/{pty-2sejkfem.js → job-qmqgtz8f.js} +9 -9
  216. package/dist/chunks/{pty-qsdy395h.js → job-qsdy395h.js} +1 -1
  217. package/dist/chunks/{pty-yjptyezs.js → job-qte5z7bc.js} +5 -5
  218. package/dist/chunks/{pty-p2vgnhh6.js → job-r3pwtkjs.js} +30 -30
  219. package/dist/chunks/{pty-2gw9te71.js → job-r7y4726e.js} +29 -29
  220. package/dist/chunks/{pty-3ad3156b.js → job-rah4gqt4.js} +7 -7
  221. package/dist/chunks/{pty-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{pty-b6j8bg70.js → job-rhmxhgd0.js} +1 -1
  223. package/dist/chunks/{pty-phrgc7s2.js → job-rm256x5y.js} +4 -4
  224. package/dist/chunks/{pty-zhp5m1zz.js → job-rsb3r1at.js} +4 -4
  225. package/dist/chunks/{pty-p3sqe4zf.js → job-rt9v3r5z.js} +13 -13
  226. package/dist/chunks/{pty-j7d1bz3z.js → job-rv12w8vt.js} +7 -7
  227. package/dist/chunks/{pty-6bh8btd9.js → job-s0ncx931.js} +33 -33
  228. package/dist/chunks/{pty-2k6s2zm4.js → job-s2w42wf0.js} +15 -15
  229. package/dist/chunks/{pty-5dkyq3w9.js → job-s9cc1fr9.js} +11 -11
  230. package/dist/chunks/{pty-ar88qa8v.js → job-sd11ez4q.js} +7 -7
  231. package/dist/chunks/{pty-ntcc5ehh.js → job-swzzr2y1.js} +17 -17
  232. package/dist/chunks/job-t721ff2z.js +26 -0
  233. package/dist/chunks/{pty-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{pty-89znhe33.js → job-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{pty-tdstcens.js → job-tdstcens.js} +1 -1
  236. package/dist/chunks/{pty-0rgpk1ds.js → job-tec5y437.js} +5 -5
  237. package/dist/chunks/{pty-9hn6k4tm.js → job-tpw6cwsb.js} +8 -8
  238. package/dist/chunks/{pty-fkm9w8rt.js → job-tvp8rve0.js} +38 -38
  239. package/dist/chunks/{pty-tvtrv512.js → job-tvtrv512.js} +1 -1
  240. package/dist/chunks/{pty-tja9b7zx.js → job-typ0bw30.js} +36 -36
  241. package/dist/chunks/{pty-zh0ytwzz.js → job-v37hnymp.js} +8 -8
  242. package/dist/chunks/{pty-5cjyhqcx.js → job-v4w3e683.js} +70 -70
  243. package/dist/chunks/{pty-veqvce7d.js → job-veqvce7d.js} +1 -1
  244. package/dist/chunks/{pty-h5prvwy2.js → job-vk30jnc7.js} +12 -12
  245. package/dist/chunks/{pty-zth7qvys.js → job-vmx52y2a.js} +17 -17
  246. package/dist/chunks/{pty-9mjv2j5h.js → job-vpcvkgny.js} +9 -9
  247. package/dist/chunks/{pty-k5shenda.js → job-vtx958sq.js} +25 -25
  248. package/dist/chunks/{pty-15nepkqg.js → job-vwpcpzep.js} +8 -8
  249. package/dist/chunks/{pty-km08fevc.js → job-vx3kqe1h.js} +6 -6
  250. package/dist/chunks/{pty-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{pty-50jcqkpg.js → job-w09w3g0n.js} +20 -20
  252. package/dist/chunks/{pty-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-j5g2921s.js → job-w938akkd.js} +23 -23
  254. package/dist/chunks/{pty-hht4hdr7.js → job-wc2fqzkf.js} +50 -50
  255. package/dist/chunks/{pty-wd87259q.js → job-wd87259q.js} +1 -1
  256. package/dist/chunks/{pty-mrhxfjgm.js → job-wtvsn9fs.js} +6 -6
  257. package/dist/chunks/{pty-g8atgw3j.js → job-wtz46evs.js} +8 -8
  258. package/dist/chunks/{pty-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{pty-q5rhn9x0.js → job-x1xcpfha.js} +8 -8
  260. package/dist/chunks/{pty-qvrdgs7t.js → job-xagnd2e6.js} +20 -20
  261. package/dist/chunks/{pty-tn5bgys5.js → job-xd1hn0xe.js} +5 -5
  262. package/dist/chunks/{pty-8rt8k92t.js → job-xdkrc6q1.js} +11 -11
  263. package/dist/chunks/{pty-xe6cmgbq.js → job-xe6cmgbq.js} +2 -2
  264. package/dist/chunks/{pty-z6mhr53t.js → job-xhbt1w4c.js} +3 -3
  265. package/dist/chunks/{pty-rqg791dd.js → job-xhp7tec4.js} +3 -3
  266. package/dist/chunks/{pty-qyc8vy2s.js → job-xhpbzw0d.js} +17 -17
  267. package/dist/chunks/{pty-77yaaytm.js → job-xqrwa75f.js} +78 -78
  268. package/dist/chunks/{pty-jh55ed6j.js → job-y0ahz58r.js} +10 -10
  269. package/dist/chunks/{pty-rtvxz8am.js → job-y0q5x5d6.js} +4 -4
  270. package/dist/chunks/{pty-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{pty-h66ycz74.js → job-y4fqvq2g.js} +13 -13
  272. package/dist/chunks/{pty-dpkg50ah.js → job-y71avatq.js} +4 -4
  273. package/dist/chunks/{pty-rh9ghw4z.js → job-yc3jebk0.js} +13 -13
  274. package/dist/chunks/{pty-3fax0mp7.js → job-ygw2d79h.js} +6 -6
  275. package/dist/chunks/{pty-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{pty-yrznvahk.js → job-yrznvahk.js} +2 -2
  277. package/dist/chunks/{pty-5hazr681.js → job-ysymny8f.js} +2 -2
  278. package/dist/chunks/{pty-c86rf6nk.js → job-yz6r7j6q.js} +17 -17
  279. package/dist/chunks/{pty-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{pty-z63w68vq.js → job-z63w68vq.js} +2 -2
  281. package/dist/chunks/job-z926abd4.js +4 -0
  282. package/dist/chunks/{pty-5019jpyd.js → job-zcrew02j.js} +16 -16
  283. package/dist/chunks/{pty-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{pty-2kbj14yf.js → job-zkc0zcyj.js} +38 -38
  285. package/dist/chunks/{pty-zncxtbv1.js → job-zmg7pjzw.js} +11 -11
  286. package/dist/chunks/{pty-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{pty-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  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 +75 -75
  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 +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +107 -107
  427. package/dist/form.js +75 -75
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +104 -104
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +98 -98
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +103 -103
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +99 -99
  472. package/dist/mcp/instructions.js +125 -125
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +98 -98
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +347 -347
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +98 -98
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +82 -82
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +149 -149
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +112 -112
  589. package/dist/session/model-transport.js +3 -3
  590. package/dist/session/move.js +125 -125
  591. package/dist/session/projector.js +83 -83
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +210 -210
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +118 -118
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +104 -104
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +14 -14
  650. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +3 -3
  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/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/variant.js +90 -90
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +76 -76
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +77 -77
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  693. package/dist/chunks/pty-phz3h32g.js +0 -18
  694. package/dist/chunks/pty-pp2ytsmc.js +0 -252
  695. package/dist/chunks/pty-pysn9s93.js +0 -26
  696. /package/dist/chunks/{pty-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{pty-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{pty-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{pty-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{pty-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{pty-24dcb14g.js → job-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{pty-2710q6r3.js → job-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{pty-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{pty-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{pty-359p4xyc.js → job-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{pty-3asan66x.js → job-3asan66x.js} +0 -0
  707. /package/dist/chunks/{pty-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{pty-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{pty-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{pty-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{pty-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{pty-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{pty-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{pty-53557ph1.js → job-53557ph1.js} +0 -0
  715. /package/dist/chunks/{pty-550bvhaj.js → job-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{pty-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{pty-6prwharc.js → job-6prwharc.js} +0 -0
  718. /package/dist/chunks/{pty-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{pty-7m9af43g.js → job-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{pty-822emrt2.js → job-822emrt2.js} +0 -0
  721. /package/dist/chunks/{pty-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{pty-8n3pysct.js → job-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{pty-922hggd3.js → job-922hggd3.js} +0 -0
  724. /package/dist/chunks/{pty-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{pty-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{pty-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{pty-af5trqkr.js → job-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{pty-afrmfg78.js → job-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{pty-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{pty-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{pty-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{pty-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{pty-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{pty-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{pty-d9fn303g.js → job-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{pty-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{pty-dajrwvna.js → job-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{pty-dap0rakb.js → job-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{pty-df08tz66.js → job-df08tz66.js} +0 -0
  740. /package/dist/chunks/{pty-dy18nga0.js → job-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{pty-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{pty-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{pty-ec1grn59.js → job-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{pty-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{pty-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{pty-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{pty-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{pty-faypxj3z.js → job-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{pty-fd410y7t.js → job-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{pty-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{pty-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{pty-g86h250q.js → job-g86h250q.js} +0 -0
  753. /package/dist/chunks/{pty-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{pty-gftt206x.js → job-gftt206x.js} +0 -0
  755. /package/dist/chunks/{pty-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{pty-hk9envan.js → job-hk9envan.js} +0 -0
  757. /package/dist/chunks/{pty-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{pty-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{pty-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{pty-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{pty-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{pty-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{pty-mp448xyj.js → job-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{pty-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{pty-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{pty-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{pty-njntx4h6.js → job-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{pty-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{pty-q74kybfr.js → job-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{pty-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{pty-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{pty-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{pty-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{pty-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{pty-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{pty-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{pty-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{pty-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{pty-twg0f83k.js → job-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{pty-w803qqfp.js → job-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{pty-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{pty-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{pty-wtztk69x.js → job-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{pty-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{pty-x61499pn.js → job-x61499pn.js} +0 -0
  786. /package/dist/chunks/{pty-y44na4kk.js → job-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{pty-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{pty-y8f7s663.js → job-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{pty-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{pty-ym463w8f.js → job-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{pty-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-phrgc7s2.js";
4
+ } from "./job-rm256x5y.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./pty-t159kbzr.js";
6
+ Service73,
7
+ node77
8
+ } from "./job-csk77y77.js";
9
9
  import {
10
- ID7
11
- } from "./pty-1tm0r3ht.js";
10
+ ID12
11
+ } from "./job-z926abd4.js";
12
12
  import {
13
- Service66,
13
+ Service78,
14
14
  login2,
15
- node70
16
- } from "./pty-ypnspery.js";
15
+ node82
16
+ } from "./job-mh5wyt4r.js";
17
17
  import {
18
18
  lazy2
19
- } from "./pty-88xbtdfr.js";
19
+ } from "./job-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./pty-9rqn6x4v.js";
22
+ } from "./job-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput3,
28
- Event: () => Event12,
28
+ Event: () => Event16,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info21,
31
- NotFoundError: () => NotFoundError7,
30
+ Info: () => Info28,
31
+ NotFoundError: () => NotFoundError8,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service65,
33
+ Service: () => Service70,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node69
35
+ node: () => node74
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event12 } from "@opencode/schema/pty";
40
+ import { Event as Event16 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info21 = Pty.Info;
44
+ var Info28 = Pty.Info;
45
45
  var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID7
48
+ class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID12
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID7
54
+ ptyID: ID12
55
55
  }) {
56
56
  }
57
57
 
58
- class Service65 extends Context.Service()("@opencode/Pty") {
58
+ class Service70 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service65, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
61
61
  const bus = yield* Service82;
62
- const location = yield* Service79;
63
- const shell = yield* Service66;
62
+ const location = yield* Service73;
63
+ const shell = yield* Service78;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError7({ ptyID: id });
100
+ return yield* new NotFoundError8({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID7.ascending();
126
+ const id = ID12.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service65.of({ list, get, create, update, remove, write, attach });
271
+ return Service70.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node69 = makeLocationNode({
274
- service: Service65,
273
+ var node74 = makeLocationNode({
274
+ service: Service70,
275
275
  layer,
276
- deps: [node86, node83, node70]
276
+ deps: [node86, node77, node82]
277
277
  });
278
278
 
279
- export { Info21, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service65, node69, exports_pty, Event12 };
279
+ export { Info28, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service70, node74, exports_pty, Event16 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info10,
10
+ Info: () => Info17,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info10, exports_permission };
41
+ export { Action2, Object2, Rule2, Info17, exports_permission };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service78
3
- } from "./pty-shrcc9g3.js";
2
+ Service79
3
+ } from "./job-mzhb90k8.js";
4
4
  import {
5
- Service68
6
- } from "./pty-hht4hdr7.js";
5
+ Service58
6
+ } from "./job-wc2fqzkf.js";
7
7
  import {
8
- ID3,
8
+ ID15,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service13
14
- } from "./pty-6j9cmr93.js";
13
+ Service74
14
+ } from "./job-96sdg91b.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./job-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input5,
22
+ Input: () => Input6,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin21,
24
+ Plugin: () => Plugin7,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name5
26
+ description: () => description4,
27
+ name: () => name6
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name5 = "websearch";
32
+ var name6 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input5 = Schema.Struct({
42
+ var Input6 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID15,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin21 = {
49
+ var Plugin7 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service68;
53
- const forms = yield* Service78;
54
- const websearch = yield* Service13;
52
+ const permission = yield* Service58;
53
+ const forms = yield* Service79;
54
+ const websearch = yield* Service74;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name5,
56
+ name: name6,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input5,
58
+ description: description4,
59
+ input: Input6,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name5,
63
+ action: name6,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name5];
179
+ delete event.tools[name6];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name5, NO_RESULTS2, description3, Input5, Plugin21, exports_websearch };
187
+ export { name6, NO_RESULTS2, description4, Input6, Plugin7, exports_websearch };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./pty-3w5fmr99.js";
4
+ } from "./job-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./pty-m3fdjcah.js";
8
+ } from "./job-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./pty-9rqn6x4v.js";
11
+ } from "./job-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./pty-t159kbzr.js";
5
+ Service73,
6
+ node77
7
+ } from "./job-csk77y77.js";
8
8
  import {
9
- Service62,
10
- node65
11
- } from "./pty-39dab3jh.js";
9
+ Service19,
10
+ node21
11
+ } from "./job-a02j18dy.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./pty-89znhe33.js";
14
+ names3
15
+ } from "./job-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./job-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options8,
25
- Service: () => Service61,
26
- configured: () => configured8,
24
+ Options: () => Options2,
25
+ Service: () => Service18,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer23,
29
- node: () => node64,
28
+ layer: () => layer8,
29
+ node: () => node20,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options8 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service61 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service18 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service62;
61
+ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
62
+ const location = yield* Service73;
63
+ const ripgrep = yield* Service19;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service61.of({
108
+ return Service18.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
116
+ const location = yield* Service73;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service61.of({
129
+ return Service18.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service61.of({
134
+ return Service18.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service73;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured8(options) {
186
- return makeLocationNode({ service: Service61, layer: layer23(options), deps: [node83, node65] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service18, layer: layer8(options), deps: [node77, node21] });
187
187
  }
188
- var node64 = configured8();
188
+ var node20 = configured2();
189
189
 
190
- export { Options8, Service61, ripgrepLayer2, fffLayer2, layer23, configured8, node64, exports_search };
190
+ export { Options2, Service18, ripgrepLayer2, fffLayer2, layer8, configured2, node20, exports_search };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./pty-1ygqh575.js";
3
+ } from "./job-33w4ejhs.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin4,
11
+ Plugin: () => Plugin22,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint4 = "https://mcp.exa.ai/mcp";
18
+ var endpoint6 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin4 = define({
30
+ var Plugin22 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin4 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint4);
52
+ const url = new URL(endpoint6);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint4, Plugin4, exports_exa };
83
+ export { endpoint6, Plugin22, exports_exa };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./pty-t159kbzr.js";
5
+ Service73
6
+ } from "./job-csk77y77.js";
7
7
  import {
8
- Service67
9
- } from "./pty-6ep9m4sq.js";
8
+ Service16
9
+ } from "./job-1ycfewzc.js";
10
10
  import {
11
- Service7
12
- } from "./pty-qg5tx4hd.js";
11
+ Service5
12
+ } from "./job-g2yc4nhb.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./pty-2a5m3afh.js";
15
+ } from "./job-2a5m3afh.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
- Service8
27
- } from "./pty-jtr1btwa.js";
26
+ Service6
27
+ } from "./job-6gw9jdmb.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./job-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin25,
35
+ Input: () => Input3,
36
+ Plugin: () => Plugin4,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
39
- toModelContent: () => toModelContent5
38
+ name: () => name3,
39
+ toModelContent: () => toModelContent2
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 name9 = "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 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input3 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin25 = {
58
+ var Plugin4 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service67;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service16;
63
+ const sessionInstructions = yield* Service5;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service73;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
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: Input9,
70
+ input: Input3,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin25 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent5 = (path, offset, output) => {
147
+ var toModelContent2 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name9, Input9, Plugin25, toModelContent5, exports_read };
183
+ export { name3, Input3, Plugin4, toModelContent2, exports_read };