@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,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node85
7
- } from "./pty-74rrnwt7.js";
7
+ } from "./job-5f90fjb2.js";
8
8
  import {
9
9
  Slug2
10
- } from "./pty-gebd4c9n.js";
10
+ } from "./job-gebd4c9n.js";
11
11
  import {
12
12
  Service83,
13
13
  node87
14
- } from "./pty-rqg791dd.js";
14
+ } from "./job-xhp7tec4.js";
15
15
  import {
16
16
  Service82,
17
17
  node86
18
- } from "./pty-phrgc7s2.js";
18
+ } from "./job-rm256x5y.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./pty-dj2t23y0.js";
21
+ } from "./job-dj2t23y0.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./pty-m0jqrx5p.js";
24
+ } from "./job-m0jqrx5p.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./pty-4kgnd0zh.js";
28
+ } from "./job-adwtw4r7.js";
29
29
  import {
30
30
  Ref4
31
- } from "./pty-t159kbzr.js";
31
+ } from "./job-csk77y77.js";
32
32
  import {
33
- Service52,
34
- node55
35
- } from "./pty-wv40thab.js";
33
+ Service47,
34
+ node49
35
+ } from "./job-hvrqesbf.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./pty-gv6a8nnw.js";
39
+ } from "./job-gv6a8nnw.js";
40
40
  import {
41
- make12
42
- } from "./pty-svvemcs6.js";
41
+ make17
42
+ } from "./job-8fyegk21.js";
43
43
  import {
44
- Service18
45
- } from "./pty-x7vb65wd.js";
44
+ Service45
45
+ } from "./job-74e20efm.js";
46
46
  import {
47
47
  __export
48
- } from "./pty-9rqn6x4v.js";
48
+ } from "./job-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event4,
57
- Info: () => Info3,
56
+ Event: () => Event7,
57
+ Info: () => Info8,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service17,
63
+ Service: () => Service44,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node20
68
+ node: () => node46
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info3 = Worktree.Info;
82
+ var Info8 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event4 = Worktree.Event;
97
+ var Event7 = Worktree.Event;
98
98
 
99
- class Service17 extends Context.Service()("@opencode/Worktree") {
99
+ class Service44 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service17, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service83;
104
104
  const db = database.db;
105
105
  const bus = yield* Service82;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service52;
108
- const gitStrategy = yield* make12;
107
+ const locations = yield* Service47;
108
+ const gitStrategy = yield* make17;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service18).get();
123
+ return Context.get(context, Service45).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event4.Updated, { projectID });
127
+ yield* bus.publish(Event7.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service17.of({
254
+ return Service44.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node20 = Node.makeGlobalNode({
265
- service: Service17,
264
+ var node46 = Node.makeGlobalNode({
265
+ service: Service44,
266
266
  layer,
267
- deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node55]
267
+ deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node49]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service17, node20, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service44, node46, exports_worktree2, OperationError2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./pty-88xbtdfr.js";
3
+ } from "./job-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./pty-5qd3pb7m.js";
6
+ } from "./job-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event7,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service42,
16
+ Options: () => Options6,
17
+ Service: () => Service54,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured5,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer16,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node45,
25
+ node: () => node56,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ 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 Event7 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service42 extends Context.Service()("@opencode/Watcher") {
60
+ class Service54 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service54, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service42.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service54.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 layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service42.of({ subscribe });
108
+ return Service54.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(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service42).subscribe,
134
+ subscribe: Context.get(context, Service54).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(Service42, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service54, 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 configured5(options) {
168
- return makeGlobalNode({ service: Service42, layer: layer16(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service54, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node45 = configured5();
170
+ var node56 = configured6();
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 { Event7, hasNativeBinding2, Native3, Options5, Service42, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured5, node45, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options6, Service54, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured6, node56, exports_watcher };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin12,
9
+ Plugin: () => Plugin26,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin12 = define({
25
+ var Plugin26 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin12 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin12, exports_identity };
38
+ export { identity2, Plugin26, exports_identity };
@@ -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/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service72,
10
- node: () => node76
9
+ Service: () => Service62,
10
+ node: () => node65
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service72 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service62 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service72, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service72.of({ has, register, trigger });
57
+ return Service62.of({ has, register, trigger });
58
58
  }));
59
- var node76 = makeLocationNode({ service: Service72, layer, deps: [] });
59
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [] });
60
60
 
61
- export { Service72, node76, exports_hooks };
61
+ export { Service62, node65, exports_hooks };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./pty-rqg791dd.js";
3
+ } from "./job-xhp7tec4.js";
4
4
  import {
5
- Service50
6
- } from "./pty-hq8zt1th.js";
5
+ Service38
6
+ } from "./job-p7a39gy5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./pty-phz3h32g.js";
9
+ } from "./job-ht5y0zrb.js";
10
10
  import {
11
11
  provenance2
12
- } from "./pty-06dxphr1.js";
12
+ } from "./job-msq0jde0.js";
13
13
  import {
14
14
  preview2
15
- } from "./pty-yjq1h8wq.js";
15
+ } from "./job-m3w1hak0.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./pty-8pmgwz46.js";
18
+ } from "./job-29s83sv3.js";
19
19
  import {
20
- Service24
21
- } from "./pty-77yaaytm.js";
20
+ Service23
21
+ } from "./job-xqrwa75f.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./job-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service50;
35
+ const instances = yield* Service38;
36
36
  const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service24;
40
+ const context = yield* Service23;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-mgpyxjx6.js";
3
+ } from "./job-hkwfkgzx.js";
4
4
  import {
5
5
  call2
6
- } from "./pty-1ygqh575.js";
6
+ } from "./job-33w4ejhs.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin21,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin5 = define({
50
+ var Plugin21 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin5 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint5, Plugin5, exports_parallel };
96
+ export { endpoint5, Plugin21, exports_parallel };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./pty-jnwk8z6k.js";
2
+ ID10
3
+ } from "./job-359csp35.js";
4
4
  import {
5
5
  iife2
6
- } from "./pty-1kg9ymc8.js";
6
+ } from "./job-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./pty-92aty353.js";
9
+ } from "./job-b72kh71w.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-ai-gateway");
15
+ var providerID = ID10.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service11,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node13
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service11.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node14, exports_discovery };
155
+ export { Service11, node13, exports_discovery };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-phrgc7s2.js";
4
+ } from "./job-rm256x5y.js";
5
5
  import {
6
6
  environment2
7
- } from "./pty-ypnspery.js";
7
+ } from "./job-mh5wyt4r.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./pty-sk3qaz4a.js";
10
+ } from "./job-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError2,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError9,
20
+ Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service14,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured2,
25
- layer: () => layer8,
26
- node: () => node17
22
+ Service: () => Service77,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured10,
25
+ layer: () => layer24,
26
+ node: () => node81
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service14 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service77 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service14, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* () {
53
53
  const bus = yield* Service82;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service14, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError2({ ptyID: id });
75
+ return yield* new NotFoundError9({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service14, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service14, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service14.of({
242
+ return Service77.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service14, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer8 = makeLayer();
259
- var configured2 = (options) => makeGlobalNode({
260
- service: Service14,
261
- layer: options === undefined ? layer8 : makeLayer(options),
258
+ var layer24 = makeLayer();
259
+ var configured10 = (options) => makeGlobalNode({
260
+ service: Service77,
261
+ layer: options === undefined ? layer24 : makeLayer(options),
262
262
  deps: [node86, Global.node]
263
263
  });
264
- var node17 = configured2();
264
+ var node81 = configured10();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options2, UnavailableError2, NotFoundError2, Service14, layer8, configured2, node17, exports_persistent_pty, Handoff2 };
304
+ export { Options9, UnavailableError3, NotFoundError9, Service77, layer24, configured10, node81, exports_persistent_pty, Handoff2 };