@opencode/core 0.0.0-dev-20170 → 0.0.0-dev-20180

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{pty-1w51kcab.js → git-09d8031r.js} +32 -32
  8. package/dist/chunks/{pty-r369ybd3.js → git-0jw0xscs.js} +14 -14
  9. package/dist/chunks/{pty-b4xp5b4g.js → git-0n6mwmv5.js} +6 -6
  10. package/dist/chunks/{pty-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{pty-dg2cj1yd.js → git-0pr3hkd7.js} +4 -4
  12. package/dist/chunks/{pty-vzqmaqpm.js → git-0v6jwyy3.js} +18 -18
  13. package/dist/chunks/{pty-47erbzba.js → git-114q0qvg.js} +11 -11
  14. package/dist/chunks/{pty-fwpk2wm7.js → git-11nfjzd7.js} +14 -14
  15. package/dist/chunks/{pty-8yen0vmk.js → git-1a08kc09.js} +19 -19
  16. package/dist/chunks/{pty-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{pty-fjwmcm9g.js → git-1m9mvz04.js} +7 -7
  18. package/dist/chunks/{pty-5rt6txf8.js → git-1q898j1r.js} +18 -18
  19. package/dist/chunks/{pty-fne9b88m.js → git-1ydncxvh.js} +4 -4
  20. package/dist/chunks/{pty-21r38tys.js → git-21r38tys.js} +1 -1
  21. package/dist/chunks/{pty-2402vzrj.js → git-2402vzrj.js} +1 -1
  22. package/dist/chunks/{pty-z63w68vq.js → git-29x78va6.js} +6 -6
  23. package/dist/chunks/{pty-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{pty-pwf03s6r.js → git-2h9n59sv.js} +6 -6
  25. package/dist/chunks/{pty-37bbksa5.js → git-2hd68st2.js} +53 -53
  26. package/dist/chunks/{pty-2sejkfem.js → git-2sejkfem.js} +2 -2
  27. package/dist/chunks/{pty-ke9c0zby.js → git-2w73900m.js} +31 -31
  28. package/dist/chunks/{pty-07yh2w3s.js → git-2wj8n25z.js} +6 -6
  29. package/dist/chunks/{pty-kehatjqj.js → git-30m7dzgk.js} +11 -11
  30. package/dist/chunks/{pty-4z2qm7e6.js → git-30pwp36g.js} +10 -10
  31. package/dist/chunks/{pty-7w357n7h.js → git-369htbx8.js} +15 -15
  32. package/dist/chunks/{pty-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{pty-00832hy7.js → git-3heg1ssy.js} +8 -8
  34. package/dist/chunks/{pty-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{pty-0hbp2t3w.js → git-3jt824p6.js} +20 -20
  36. package/dist/chunks/{pty-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{pty-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{pty-z9ftkqee.js → git-3vrh6sd1.js} +9 -9
  39. package/dist/chunks/{pty-qsra982x.js → git-3wcq71ej.js} +3 -3
  40. package/dist/chunks/{pty-z1swwevk.js → git-3z8etzyw.js} +40 -40
  41. package/dist/chunks/{pty-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{pty-3pbjq009.js → git-49w8mb30.js} +11 -11
  43. package/dist/chunks/{pty-ch9yp1pz.js → git-4atcys8t.js} +23 -23
  44. package/dist/chunks/{pty-eg2tb1rm.js → git-4cey7m6q.js} +11 -11
  45. package/dist/chunks/{pty-9gh63tf7.js → git-4d3460jv.js} +8 -8
  46. package/dist/chunks/{pty-ycxstv38.js → git-4h80zy7w.js} +11 -11
  47. package/dist/chunks/{pty-40y54r5c.js → git-4q3nzy60.js} +3 -3
  48. package/dist/chunks/{pty-jrm07jrz.js → git-4xxchepr.js} +18 -18
  49. package/dist/chunks/{pty-kahn2df4.js → git-4yeg4r3m.js} +13 -13
  50. package/dist/chunks/{pty-1ygqh575.js → git-56gdpj1q.js} +9 -9
  51. package/dist/chunks/{pty-57ez7d0k.js → git-57ez7d0k.js} +2 -2
  52. package/dist/chunks/{pty-r0841nan.js → git-5ab0pca5.js} +17 -17
  53. package/dist/chunks/{pty-5daktx2q.js → git-5daktx2q.js} +1 -1
  54. package/dist/chunks/{pty-6kspbkqh.js → git-5frpgbe6.js} +24 -24
  55. package/dist/chunks/{pty-mja4j6rb.js → git-5m30x6et.js} +14 -14
  56. package/dist/chunks/{pty-qmjzgd7a.js → git-5rqt673j.js} +42 -42
  57. package/dist/chunks/{pty-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{pty-27ra7qpk.js → git-60at6cp5.js} +18 -18
  59. package/dist/chunks/{pty-c4n9gx9q.js → git-62600c50.js} +17 -17
  60. package/dist/chunks/{pty-5ar2sckv.js → git-666kj367.js} +5 -5
  61. package/dist/chunks/{pty-669tq793.js → git-669tq793.js} +1 -1
  62. package/dist/chunks/{pty-36agyrng.js → git-67str9pe.js} +16 -16
  63. package/dist/chunks/{pty-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{pty-nb301scj.js → git-6sjtj90m.js} +6 -6
  65. package/dist/chunks/{pty-jy93wyqx.js → git-6z9mwsmt.js} +24 -24
  66. package/dist/chunks/{pty-dfncrten.js → git-6zpczexw.js} +8 -8
  67. package/dist/chunks/{pty-73tb2d7t.js → git-73tb2d7t.js} +1 -1
  68. package/dist/chunks/{pty-mrz2mfwp.js → git-77ev5h06.js} +25 -25
  69. package/dist/chunks/{pty-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{pty-2k8khapm.js → git-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/{pty-n158bs7w.js → git-7gp0zx07.js} +9 -9
  72. package/dist/chunks/{pty-nxhqveyz.js → git-7gvwkz6m.js} +5 -5
  73. package/dist/chunks/{pty-x6k9b9cw.js → git-80qyyxzp.js} +18 -18
  74. package/dist/chunks/{pty-cj3sqp0r.js → git-83h78zw0.js} +11 -11
  75. package/dist/chunks/{pty-3fqt7tyn.js → git-84073t5h.js} +25 -25
  76. package/dist/chunks/{pty-2gds47hr.js → git-860rnwef.js} +9 -9
  77. package/dist/chunks/{pty-2dejz1mq.js → git-89dkfx8j.js} +27 -27
  78. package/dist/chunks/{pty-te7gyzaz.js → git-8awf735n.js} +9 -9
  79. package/dist/chunks/{pty-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{pty-8kjs0e52.js → git-8ehf9qx8.js} +2 -2
  81. package/dist/chunks/{pty-yhwy8nw2.js → git-8fhj4thy.js} +33 -33
  82. package/dist/chunks/{pty-wvtedn3t.js → git-8p4z7qek.js} +4 -4
  83. package/dist/chunks/{pty-py3kkmfq.js → git-8sze2n9a.js} +6 -6
  84. package/dist/chunks/{pty-27xgxgv2.js → git-8x95hpt8.js} +44 -44
  85. package/dist/chunks/{pty-7end9xac.js → git-91995yx2.js} +29 -29
  86. package/dist/chunks/{pty-0r7yqxbf.js → git-92a4ap4w.js} +5 -5
  87. package/dist/chunks/{pty-gfvb90ym.js → git-94ek1h2f.js} +2 -2
  88. package/dist/chunks/{pty-y8vthjxv.js → git-94tqfv3g.js} +12 -12
  89. package/dist/chunks/{pty-mqvas0bz.js → git-99x4at9v.js} +11 -11
  90. package/dist/chunks/{pty-b27vhd2z.js → git-a2ew8a62.js} +4 -4
  91. package/dist/chunks/{pty-aaet6srn.js → git-aaet6srn.js} +2 -2
  92. package/dist/chunks/{pty-3vqxbr3s.js → git-aamttb2x.js} +10 -10
  93. package/dist/chunks/{pty-dq0v80fr.js → git-afed7ext.js} +5 -5
  94. package/dist/chunks/{pty-t9zs3egg.js → git-an7cqtb7.js} +4 -4
  95. package/dist/chunks/{pty-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{pty-1sxsykr6.js → git-b8kjk650.js} +8 -8
  97. package/dist/chunks/{pty-f73rjn58.js → git-baaqp4zd.js} +4 -4
  98. package/dist/chunks/{pty-f3eh0ser.js → git-bemvq2t2.js} +33 -33
  99. package/dist/chunks/{pty-a3c7ahw6.js → git-bgc5ggmx.js} +4 -4
  100. package/dist/chunks/{pty-x6vvseye.js → git-bh499fqr.js} +9 -9
  101. package/dist/chunks/{pty-33yknepq.js → git-bkynabhq.js} +24 -24
  102. package/dist/chunks/{pty-q4qsq2r1.js → git-brpwvc6v.js} +7 -7
  103. package/dist/chunks/{pty-jzsws37g.js → git-c0nbb22r.js} +10 -10
  104. package/dist/chunks/{pty-x4z8t7mn.js → git-c0ze6azg.js} +13 -13
  105. package/dist/chunks/{pty-dwwvf93g.js → git-ch4sbhb0.js} +11 -11
  106. package/dist/chunks/{pty-54tcyq79.js → git-ckecvw8r.js} +2 -2
  107. package/dist/chunks/git-ctefx7dc.js +18 -0
  108. package/dist/chunks/git-cvcxksr2.js +26 -0
  109. package/dist/chunks/{pty-se2405xg.js → git-cvjw7wsr.js} +8 -8
  110. package/dist/chunks/{pty-7febzfrp.js → git-cy4fed9j.js} +21 -21
  111. package/dist/chunks/{pty-xt0qjtha.js → git-cy9wafaf.js} +16 -16
  112. package/dist/chunks/{pty-f76fhdgf.js → git-cycs76hc.js} +3 -3
  113. package/dist/chunks/{pty-eqdtwbsd.js → git-cyhp5vj1.js} +3 -3
  114. package/dist/chunks/{pty-3pb9a38v.js → git-cyk2d3fq.js} +24 -24
  115. package/dist/chunks/{pty-t1kj1ks6.js → git-cytt16d4.js} +13 -13
  116. package/dist/chunks/{pty-twrb86q2.js → git-d3mxekym.js} +2 -2
  117. package/dist/chunks/{pty-pjz83rka.js → git-d62r6e8r.js} +136 -136
  118. package/dist/chunks/{pty-t70hw2aa.js → git-d93m8bwv.js} +27 -27
  119. package/dist/chunks/{pty-jmr301rc.js → git-d9v0jgcb.js} +21 -21
  120. package/dist/chunks/{pty-rw780tjq.js → git-dcb4ftaw.js} +1 -1
  121. package/dist/chunks/{pty-xkntkrq7.js → git-dmqcgk4z.js} +5 -5
  122. package/dist/chunks/{pty-rx2zrev4.js → git-dtnr7rkm.js} +17 -17
  123. package/dist/chunks/{pty-4xgaqrq2.js → git-e21mpqmm.js} +16 -16
  124. package/dist/chunks/{pty-7y7dz3xh.js → git-e252jyjm.js} +26 -26
  125. package/dist/chunks/{pty-5qd3pb7m.js → git-e3qxr5gk.js} +2 -2
  126. package/dist/chunks/{pty-v2fqb831.js → git-e4mdbxmf.js} +5 -5
  127. package/dist/chunks/{pty-8vrhx02r.js → git-e66q86e2.js} +35 -35
  128. package/dist/chunks/{pty-gnk6yzfx.js → git-e89z02f5.js} +43 -43
  129. package/dist/chunks/{pty-54xnztgb.js → git-e9sbwmmk.js} +44 -44
  130. package/dist/chunks/{pty-ecfe7b91.js → git-ecfe7b91.js} +2 -2
  131. package/dist/chunks/{pty-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{pty-c9fqa78w.js → git-ehrxfcx9.js} +7 -7
  133. package/dist/chunks/{pty-w6xjr483.js → git-end0w5gf.js} +13 -13
  134. package/dist/chunks/{pty-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{pty-rgr7zy8c.js → git-ets61prm.js} +24 -24
  136. package/dist/chunks/{pty-7e8n9cs3.js → git-f2r29xz8.js} +37 -37
  137. package/dist/chunks/{pty-e2n265pm.js → git-f80p04w6.js} +8 -8
  138. package/dist/chunks/{pty-zz3dkezh.js → git-fcbfm0sn.js} +23 -23
  139. package/dist/chunks/{pty-x45rtsks.js → git-ff2gveh4.js} +17 -17
  140. package/dist/chunks/{pty-dwvzh0g2.js → git-fjvydvzm.js} +6 -6
  141. package/dist/chunks/{pty-1hpkc3d9.js → git-fm5zmhxr.js} +20 -20
  142. package/dist/chunks/{pty-t0fxg8b9.js → git-fpmq6gma.js} +5 -5
  143. package/dist/chunks/{pty-60t26s16.js → git-frtx2nz8.js} +15 -15
  144. package/dist/chunks/{pty-5n2dsd6w.js → git-fss1wqpp.js} +10 -10
  145. package/dist/chunks/{pty-ckqn5b0t.js → git-g0mmemcf.js} +17 -17
  146. package/dist/chunks/{pty-zrq8kphx.js → git-g1sxm558.js} +8 -8
  147. package/dist/chunks/{pty-qy4pzfzt.js → git-g92xzkhq.js} +5 -5
  148. package/dist/chunks/{pty-bbdm7xgf.js → git-g9ch0q6b.js} +16 -16
  149. package/dist/chunks/{pty-7xxh74w6.js → git-gb4zbcp8.js} +11 -11
  150. package/dist/chunks/{pty-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{pty-r0kh7xsn.js → git-gjc5er36.js} +9 -9
  152. package/dist/chunks/{pty-ew0v584s.js → git-gng5hxs7.js} +23 -23
  153. package/dist/chunks/{pty-dnh4eggc.js → git-gppf410q.js} +30 -30
  154. package/dist/chunks/{pty-1p7f10vm.js → git-gs4tkc79.js} +8 -8
  155. package/dist/chunks/{pty-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{pty-4n607a2z.js → git-h4z1mxff.js} +5 -5
  157. package/dist/chunks/{pty-5mtzsd3b.js → git-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{pty-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{pty-7fnyxttq.js → git-h7fdnx8v.js} +4 -4
  160. package/dist/chunks/{pty-99taak7k.js → git-h8r7rjgh.js} +33 -33
  161. package/dist/chunks/{pty-3vnaarfk.js → git-hazy572e.js} +16 -16
  162. package/dist/chunks/{pty-9gea571p.js → git-hdab2k61.js} +6 -6
  163. package/dist/chunks/{pty-9x77fmbz.js → git-hehaxqkv.js} +4 -4
  164. package/dist/chunks/{pty-nekn4kj4.js → git-hh3jtzcy.js} +9 -9
  165. package/dist/chunks/{pty-avjan795.js → git-hymttjhr.js} +9 -9
  166. package/dist/chunks/{pty-j56e64zr.js → git-j56e64zr.js} +1 -1
  167. package/dist/chunks/{pty-mg0z7gqm.js → git-j5cwm3bm.js} +5 -5
  168. package/dist/chunks/{pty-75wwy8y2.js → git-j67w5na4.js} +11 -11
  169. package/dist/chunks/{pty-jd6az1p0.js → git-jmarqnvm.js} +11 -11
  170. package/dist/chunks/{pty-k3c624dm.js → git-k3c624dm.js} +3 -3
  171. package/dist/chunks/{pty-5dmpnzwe.js → git-k96br1zw.js} +15 -15
  172. package/dist/chunks/{pty-9kmbd9mt.js → git-kbegyq1c.js} +2 -2
  173. package/dist/chunks/{pty-5nqyfg55.js → git-kenzbab6.js} +24 -24
  174. package/dist/chunks/{pty-mv4t038k.js → git-kjwmhxpf.js} +4 -4
  175. package/dist/chunks/{pty-nzfzj4ee.js → git-kpk8zhaq.js} +20 -20
  176. package/dist/chunks/{pty-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{pty-8njz7rt2.js → git-m4gdtjrg.js} +15 -15
  178. package/dist/chunks/{pty-6d77vjf5.js → git-m9mm3axp.js} +26 -26
  179. package/dist/chunks/{pty-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{pty-5b0bje4b.js → git-may19ace.js} +19 -19
  181. package/dist/chunks/{pty-8d0p2m37.js → git-mgmaefw5.js} +3 -3
  182. package/dist/chunks/{pty-6dxfrfn6.js → git-mkegk1gd.js} +29 -29
  183. package/dist/chunks/{pty-nndwhze1.js → git-mmwan2gk.js} +15 -15
  184. package/dist/chunks/{pty-prc9mp0v.js → git-mr3aysrj.js} +24 -24
  185. package/dist/chunks/{pty-cx803r68.js → git-mscdvfrd.js} +4 -4
  186. package/dist/chunks/{pty-ezqh9axr.js → git-mt57nh0v.js} +16 -16
  187. package/dist/chunks/{pty-kjhqpjf5.js → git-mx3acdr1.js} +3 -3
  188. package/dist/chunks/{pty-8anx25cs.js → git-n19t397f.js} +22 -22
  189. package/dist/chunks/{pty-1ed2t66p.js → git-n1ka8r9d.js} +4 -4
  190. package/dist/chunks/{pty-mf9m2v67.js → git-n7d88tpn.js} +3 -3
  191. package/dist/chunks/{pty-9by0nc1z.js → git-n9esk63t.js} +22 -22
  192. package/dist/chunks/{pty-j1dhetpm.js → git-nhf6180g.js} +8 -8
  193. package/dist/chunks/{pty-cgtg3r0q.js → git-nkbv9bpr.js} +313 -313
  194. package/dist/chunks/{pty-2bc87pvv.js → git-nqpk6sgc.js} +7 -7
  195. package/dist/chunks/{pty-kba9tdab.js → git-nth02yt4.js} +12 -12
  196. package/dist/chunks/{pty-w6yz6n38.js → git-ny5pcte9.js} +156 -156
  197. package/dist/chunks/{pty-dv4smdre.js → git-p7e63y9d.js} +18 -18
  198. package/dist/chunks/{pty-pa8pe2x7.js → git-pa8pe2x7.js} +1 -1
  199. package/dist/chunks/{pty-afp6dc07.js → git-pb6cen25.js} +10 -10
  200. package/dist/chunks/{pty-3rkt7740.js → git-pd1ntcfr.js} +14 -14
  201. package/dist/chunks/{pty-17y8z6sp.js → git-pfm9gbeb.js} +3 -3
  202. package/dist/chunks/{pty-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{pty-pknna89w.js → git-pknna89w.js} +1 -1
  204. package/dist/chunks/{pty-k53npxr2.js → git-pnqe9gv0.js} +1 -1
  205. package/dist/chunks/{pty-qgyvxnrz.js → git-q35enfgt.js} +3 -3
  206. package/dist/chunks/{pty-exr53306.js → git-q95ya1jw.js} +33 -33
  207. package/dist/chunks/{pty-67d35v68.js → git-qf43y6bq.js} +11 -11
  208. package/dist/chunks/{pty-nq7qbqzc.js → git-qg0jgkcp.js} +9 -9
  209. package/dist/chunks/{pty-6d6xcght.js → git-qk0gpxf2.js} +8 -8
  210. package/dist/chunks/{pty-qsdy395h.js → git-qsdy395h.js} +1 -1
  211. package/dist/chunks/{pty-bc1mwsm1.js → git-qzx88zny.js} +20 -20
  212. package/dist/chunks/{pty-9kzv5r3t.js → git-rd143bxj.js} +5 -5
  213. package/dist/chunks/{pty-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{pty-221x7bq0.js → git-rgs1nxgt.js} +18 -18
  215. package/dist/chunks/{pty-3gnkk110.js → git-rke4besn.js} +6 -6
  216. package/dist/chunks/{pty-cbamtmth.js → git-rny04ytj.js} +8 -8
  217. package/dist/chunks/{pty-vfcs7mkg.js → git-rr6984r4.js} +23 -23
  218. package/dist/chunks/{pty-ag3twsq1.js → git-rtathh62.js} +8 -8
  219. package/dist/chunks/{pty-hx5dphvg.js → git-rx7w6kha.js} +48 -48
  220. package/dist/chunks/{pty-3yakcpj9.js → git-s0d28j9p.js} +24 -24
  221. package/dist/chunks/{pty-xazd4z7p.js → git-s2n17b9m.js} +20 -20
  222. package/dist/chunks/{pty-yrznvahk.js → git-s4enseaf.js} +2 -2
  223. package/dist/chunks/{pty-2h9st16x.js → git-s7s657b9.js} +14 -14
  224. package/dist/chunks/{pty-9zdcvzy0.js → git-sj9kkzcn.js} +26 -26
  225. package/dist/chunks/{pty-vp2t77bj.js → git-smrz51yc.js} +5 -5
  226. package/dist/chunks/{pty-bv318s69.js → git-sr6b03ft.js} +20 -20
  227. package/dist/chunks/{pty-0ft9cg2j.js → git-ss0awb04.js} +6 -6
  228. package/dist/chunks/{pty-571ezfbc.js → git-ss7d1vek.js} +11 -11
  229. package/dist/chunks/{pty-45tygp0h.js → git-swp2mva0.js} +30 -30
  230. package/dist/chunks/{pty-f3ngv102.js → git-t51qk8jz.js} +21 -21
  231. package/dist/chunks/{pty-eaj1djv9.js → git-t550f9t1.js} +8 -8
  232. package/dist/chunks/{pty-rt925ear.js → git-t9kh7ffs.js} +11 -11
  233. package/dist/chunks/{pty-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{pty-tjedn1bk.js → git-tbmac1c7.js} +4 -4
  235. package/dist/chunks/{pty-yttzf3nj.js → git-tbv16z2n.js} +4 -4
  236. package/dist/chunks/{pty-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{pty-tdstcens.js → git-tdstcens.js} +1 -1
  238. package/dist/chunks/{pty-0f7yvzkx.js → git-tej6vbjz.js} +10 -10
  239. package/dist/chunks/{pty-3p6y7fhg.js → git-thnfwydy.js} +32 -32
  240. package/dist/chunks/{pty-nefa8w28.js → git-thq55e10.js} +17 -17
  241. package/dist/chunks/{pty-v6aqgby1.js → git-tjaz3ert.js} +16 -16
  242. package/dist/chunks/{pty-tvtrv512.js → git-tvtrv512.js} +1 -1
  243. package/dist/chunks/{pty-t9ag37r3.js → git-v2qc2ynm.js} +21 -21
  244. package/dist/chunks/{pty-veqvce7d.js → git-veqvce7d.js} +1 -1
  245. package/dist/chunks/{pty-bc0ha7f3.js → git-vjmtwjf8.js} +73 -73
  246. package/dist/chunks/{pty-bh8ht1d2.js → git-vk04hqkj.js} +7 -7
  247. package/dist/chunks/{pty-ss96nb5e.js → git-vkc0skh6.js} +8 -8
  248. package/dist/chunks/{pty-gfmqcfkq.js → git-vkg4cfmh.js} +11 -11
  249. package/dist/chunks/{pty-8wqe6q5q.js → git-vq9f2bt3.js} +74 -74
  250. package/dist/chunks/{pty-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{pty-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{pty-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-3bbgm4hs.js → git-w7y24cr5.js} +19 -19
  254. package/dist/chunks/{pty-psazpmmj.js → git-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{pty-wd87259q.js → git-wd87259q.js} +1 -1
  256. package/dist/chunks/{pty-0996nyz8.js → git-wk5z6jzv.js} +9 -9
  257. package/dist/chunks/{pty-eh24cpx8.js → git-wtwjc2y3.js} +8 -8
  258. package/dist/chunks/{pty-a2ywx13m.js → git-wtznwfdr.js} +1 -1
  259. package/dist/chunks/{pty-zn493atz.js → git-wy9kf037.js} +10 -10
  260. package/dist/chunks/{pty-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{pty-97fmyryk.js → git-x79d2r0k.js} +9 -9
  262. package/dist/chunks/{pty-nfzmfrje.js → git-x9zytbhm.js} +6 -6
  263. package/dist/chunks/{pty-gje89n48.js → git-xe0rw7pk.js} +28 -28
  264. package/dist/chunks/{pty-1813d5zh.js → git-xf3b7ak0.js} +13 -13
  265. package/dist/chunks/{pty-xfkkasph.js → git-xfkkasph.js} +1 -1
  266. package/dist/chunks/{pty-6rm04a4d.js → git-xgdt0b3g.js} +6 -6
  267. package/dist/chunks/{pty-hxf9ag7d.js → git-xh2n1tx9.js} +43 -43
  268. package/dist/chunks/{pty-60vycrkp.js → git-xnxs98wq.js} +27 -27
  269. package/dist/chunks/{pty-979hjcpa.js → git-xtqytmaw.js} +34 -34
  270. package/dist/chunks/{pty-xbps7699.js → git-xy26ekgv.js} +12 -12
  271. package/dist/chunks/{pty-41tapkvj.js → git-xyqxxema.js} +42 -42
  272. package/dist/chunks/{pty-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{pty-y71avatq.js → git-y71avatq.js} +1 -1
  274. package/dist/chunks/{pty-vxp3kcg3.js → git-y906m0ew.js} +5 -5
  275. package/dist/chunks/{pty-ebzz9p7s.js → git-y9ddfctt.js} +13 -13
  276. package/dist/chunks/{pty-tx7gh1kr.js → git-ynctgny0.js} +37 -37
  277. package/dist/chunks/{pty-1acjjqhc.js → git-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{pty-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{pty-9wbp47sd.js → git-ytzyys1x.js} +3 -3
  280. package/dist/chunks/{pty-2v6ca730.js → git-yw133b83.js} +10 -10
  281. package/dist/chunks/{pty-bjtzbw4r.js → git-z07pqspn.js} +3 -3
  282. package/dist/chunks/{pty-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{pty-v64esaz8.js → git-z4eg18an.js} +11 -11
  284. package/dist/chunks/{pty-p7656wpr.js → git-z97943y0.js} +25 -25
  285. package/dist/chunks/{pty-zeh9ct20.js → git-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{pty-45y21gs0.js → git-zmn0srxy.js} +20 -20
  287. package/dist/chunks/{pty-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{pty-c72g4n35.js → git-zv3zq7g4.js} +5 -5
  289. package/dist/chunks/{pty-ph20cxtq.js → git-zvwz45r0.js} +9 -9
  290. package/dist/chunks/{pty-jyb2y6gr.js → git-zw6dw17q.js} +13 -13
  291. package/dist/chunks/{pty-372k5868.js → git-zw786g3k.js} +24 -24
  292. package/dist/chunks/{pty-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +79 -79
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +214 -214
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +2 -2
  427. package/dist/filesystem/location-watcher.js +221 -221
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +98 -98
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +2 -2
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +103 -103
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +81 -81
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +96 -96
  479. package/dist/mcp/instructions.js +124 -124
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +111 -111
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +84 -84
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +104 -104
  497. package/dist/plugin/command.js +101 -101
  498. package/dist/plugin/compaction.js +133 -133
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +1 -1
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +349 -349
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +6 -6
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +6 -6
  563. package/dist/plugin.js +225 -225
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +80 -80
  567. package/dist/provider.js +99 -99
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +1 -1
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +96 -96
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +87 -87
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +95 -95
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +134 -134
  582. package/dist/session/context.js +150 -150
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +7 -7
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +218 -218
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +151 -151
  590. package/dist/session/history.js +15 -15
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +77 -77
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +115 -115
  599. package/dist/session/model-transport.js +5 -5
  600. package/dist/session/move.js +126 -126
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +229 -229
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +124 -124
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +1 -1
  624. package/dist/session/title.js +150 -150
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +211 -211
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +212 -212
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +105 -105
  636. package/dist/skill.js +112 -112
  637. package/dist/snapshot.js +91 -91
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +123 -123
  642. package/dist/tool/plugin/edit.js +118 -118
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +101 -101
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +211 -211
  652. package/dist/tool/plugin/skill.js +113 -113
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +112 -112
  655. package/dist/tool/plugin/websearch.js +112 -112
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +96 -96
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +80 -80
  691. package/dist/wellknown/plugin.js +74 -74
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/pty-7fj5dwt0.js +0 -18
  703. package/dist/chunks/pty-99kmt16y.js +0 -26
  704. /package/dist/chunks/{pty-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{pty-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{pty-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{pty-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{pty-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{pty-24dcb14g.js → git-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{pty-2710q6r3.js → git-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{pty-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{pty-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{pty-34c7v6d4.js → git-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{pty-359p4xyc.js → git-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{pty-3asan66x.js → git-3asan66x.js} +0 -0
  716. /package/dist/chunks/{pty-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{pty-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{pty-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{pty-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{pty-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{pty-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{pty-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{pty-53557ph1.js → git-53557ph1.js} +0 -0
  724. /package/dist/chunks/{pty-550bvhaj.js → git-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{pty-6kdq0pjd.js → git-6kdq0pjd.js} +0 -0
  726. /package/dist/chunks/{pty-6prwharc.js → git-6prwharc.js} +0 -0
  727. /package/dist/chunks/{pty-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{pty-7m9af43g.js → git-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{pty-822emrt2.js → git-822emrt2.js} +0 -0
  730. /package/dist/chunks/{pty-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{pty-8n3pysct.js → git-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{pty-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{pty-922hggd3.js → git-922hggd3.js} +0 -0
  734. /package/dist/chunks/{pty-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{pty-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{pty-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{pty-af5trqkr.js → git-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{pty-afrmfg78.js → git-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{pty-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{pty-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{pty-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{pty-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{pty-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{pty-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{pty-d9fn303g.js → git-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{pty-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{pty-dajrwvna.js → git-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{pty-dap0rakb.js → git-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{pty-df08tz66.js → git-df08tz66.js} +0 -0
  750. /package/dist/chunks/{pty-dy18nga0.js → git-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{pty-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{pty-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{pty-ec1grn59.js → git-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{pty-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{pty-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{pty-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{pty-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{pty-faypxj3z.js → git-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{pty-fd410y7t.js → git-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{pty-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{pty-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{pty-g86h250q.js → git-g86h250q.js} +0 -0
  763. /package/dist/chunks/{pty-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{pty-gftt206x.js → git-gftt206x.js} +0 -0
  765. /package/dist/chunks/{pty-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{pty-hk9envan.js → git-hk9envan.js} +0 -0
  767. /package/dist/chunks/{pty-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{pty-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{pty-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{pty-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{pty-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{pty-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{pty-mp448xyj.js → git-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{pty-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{pty-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{pty-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{pty-njntx4h6.js → git-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{pty-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{pty-q74kybfr.js → git-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{pty-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{pty-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{pty-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{pty-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{pty-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{pty-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{pty-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{pty-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{pty-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{pty-w803qqfp.js → git-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{pty-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{pty-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{pty-wtztk69x.js → git-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{pty-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{pty-x61499pn.js → git-x61499pn.js} +0 -0
  795. /package/dist/chunks/{pty-y44na4kk.js → git-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{pty-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{pty-y8f7s663.js → git-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{pty-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{pty-ym463w8f.js → git-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{pty-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./git-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node86
7
- } from "./pty-dq0v80fr.js";
7
+ } from "./git-afed7ext.js";
8
8
  import {
9
9
  Slug2
10
- } from "./pty-gebd4c9n.js";
10
+ } from "./git-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./pty-qgyvxnrz.js";
14
+ } from "./git-q35enfgt.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./pty-mv4t038k.js";
18
+ } from "./git-kjwmhxpf.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./pty-psazpmmj.js";
21
+ } from "./git-wd3x2cqz.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./pty-gfvb90ym.js";
24
+ } from "./git-94ek1h2f.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./pty-eh24cpx8.js";
28
+ } from "./git-wtwjc2y3.js";
29
29
  import {
30
30
  Ref4
31
- } from "./pty-twrb86q2.js";
31
+ } from "./git-d3mxekym.js";
32
32
  import {
33
- Service79,
34
- node83
35
- } from "./pty-n158bs7w.js";
33
+ Service74,
34
+ node78
35
+ } from "./git-7gp0zx07.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./pty-gv6a8nnw.js";
39
+ } from "./git-gv6a8nnw.js";
40
40
  import {
41
41
  make12
42
- } from "./pty-8d0p2m37.js";
42
+ } from "./git-mgmaefw5.js";
43
43
  import {
44
- Service29
45
- } from "./pty-r369ybd3.js";
44
+ Service18
45
+ } from "./git-0jw0xscs.js";
46
46
  import {
47
47
  __export
48
- } from "./pty-9rqn6x4v.js";
48
+ } from "./git-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
52
52
  __export(exports_worktree2, {
53
- CreateInput: () => CreateInput3,
53
+ CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event7,
57
- Info: () => Info5,
56
+ Event: () => Event4,
57
+ Info: () => Info3,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service28,
63
+ Service: () => Service17,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node31
68
+ node: () => node20
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
77
77
  import { ChildProcess } from "effect/unstable/process";
78
78
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
- var CreateInput3 = Worktree.CreateInput;
80
+ var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info5 = Worktree.Info;
82
+ var Info3 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event7 = Worktree.Event;
97
+ var Event4 = Worktree.Event;
98
98
 
99
- class Service28 extends Context.Service()("@opencode/Worktree") {
99
+ class Service17 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service28, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
105
  const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service79;
107
+ const locations = yield* Service74;
108
108
  const gitStrategy = yield* make12;
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);
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service28, 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, Service29).get();
123
+ return Context.get(context, Service18).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event7.Updated, { projectID });
127
+ yield* bus.publish(Event4.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service28, 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 Service28.of({
254
+ return Service17.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(Service28, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node31 = Node.makeGlobalNode({
265
- service: Service28,
264
+ var node20 = Node.makeGlobalNode({
265
+ service: Service17,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node83]
267
+ deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node78]
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, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service28, node31, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service17, node20, exports_worktree2, OperationError2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID16,
3
- Service77
4
- } from "./pty-6kspbkqh.js";
2
+ ID9,
3
+ Service59
4
+ } from "./git-5frpgbe6.js";
5
5
  import {
6
6
  Ref2,
7
- Service69
8
- } from "./pty-2dejz1mq.js";
7
+ Service75
8
+ } from "./git-89dkfx8j.js";
9
9
  import {
10
10
  latest2,
11
- Service51
12
- } from "./pty-z1swwevk.js";
11
+ Service70
12
+ } from "./git-3z8etzyw.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./pty-mf9m2v67.js";
15
+ } from "./git-n7d88tpn.js";
16
16
  import {
17
- Service65
18
- } from "./pty-c4n9gx9q.js";
17
+ Service55
18
+ } from "./git-62600c50.js";
19
19
  import {
20
20
  evaluate2,
21
- Service61
22
- } from "./pty-27xgxgv2.js";
21
+ Service56
22
+ } from "./git-8x95hpt8.js";
23
23
  import {
24
24
  Service30
25
- } from "./pty-bc0ha7f3.js";
25
+ } from "./git-vjmtwjf8.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./pty-x1ezjp6w.js";
28
+ } from "./git-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./pty-z9ftkqee.js";
30
+ make4
31
+ } from "./git-3vrh6sd1.js";
32
32
  import {
33
33
  __export
34
- } from "./pty-9rqn6x4v.js";
34
+ } from "./git-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input2,
40
- Output: () => Output2,
41
- Plugin: () => Plugin19,
39
+ Input: () => Input9,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin10,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name2
43
+ description: () => description3,
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name2 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input2 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input2 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output2 = Schema.Struct({
75
+ var Output7 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin19 = {
89
+ var Plugin10 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
92
  const sessions = yield* Service30;
93
- const jobs = yield* Service65;
94
- const agents = yield* Service77;
95
- const config = yield* Service51;
96
- const permission = yield* Service61;
97
- const models = yield* Service69;
98
- const subagents = yield* make9;
93
+ const jobs = yield* Service55;
94
+ const agents = yield* Service59;
95
+ const config = yield* Service70;
96
+ const permission = yield* Service56;
97
+ const models = yield* Service75;
98
+ const subagents = yield* make4;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin19 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name9,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input2,
122
- output: Output2,
120
+ description: description3,
121
+ input: Input9,
122
+ output: Output7,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin19 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name2,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin19 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID16.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name2 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name2];
233
+ const tool = event.tools[name9];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name2, Input2, Output2, description2, Plugin19, exports_subagent };
256
+ export { name9, Input9, Output7, description3, Plugin10, exports_subagent };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID12,
3
- Service71,
4
- node74
5
- } from "./pty-7end9xac.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./git-91995yx2.js";
6
6
  import {
7
- ID11,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service70,
16
- node73
17
- } from "./pty-t70hw2aa.js";
15
+ Service76,
16
+ node80
17
+ } from "./git-d93m8bwv.js";
18
18
  import {
19
- Service68,
20
- node71
21
- } from "./pty-dwwvf93g.js";
19
+ Service63,
20
+ node65
21
+ } from "./git-ch4sbhb0.js";
22
22
  import {
23
- ID10,
23
+ ID12,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service69,
27
- node72
28
- } from "./pty-2dejz1mq.js";
26
+ Service75,
27
+ node79
28
+ } from "./git-89dkfx8j.js";
29
29
  import {
30
30
  __export
31
- } from "./pty-9rqn6x4v.js";
31
+ } from "./git-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service67,
40
+ Service: () => Service54,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer23,
48
- node: () => node70,
47
+ layer: () => layer21,
48
+ node: () => node56,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID11,
59
- modelID: ID10,
58
+ providerID: ID13,
59
+ modelID: ID12,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID11,
69
- modelID: ID10,
68
+ providerID: ID13,
69
+ modelID: ID12,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID11,
80
- modelID: ID10,
79
+ providerID: ID13,
80
+ modelID: ID12,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID11,
91
- modelID: ID10,
90
+ providerID: ID13,
91
+ modelID: ID12,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID11,
103
- modelID: ID10,
102
+ providerID: ID13,
103
+ modelID: ID12,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID11,
113
- modelID: ID10,
112
+ providerID: ID13,
113
+ modelID: ID12,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service67 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service54 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer23 = Layer.effect(Service67, Effect.gen(function* () {
262
- const providers = yield* Service70;
263
- const models = yield* Service69;
264
- const integrations = yield* Service71;
261
+ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
262
+ const providers = yield* Service76;
263
+ const models = yield* Service75;
264
+ const integrations = yield* Service77;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service68;
266
+ const aisdk = yield* Service63;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer23 = Layer.effect(Service67, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service67.of({
296
+ return Service54.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node70 = makeLocationNode({
314
- service: Service67,
315
- layer: layer23,
316
- deps: [node73, node72, node74, Npm.node, node71]
313
+ var node56 = makeLocationNode({
314
+ service: Service54,
315
+ layer: layer21,
316
+ deps: [node80, node79, node81, Npm.node, node65]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node70, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node56, exports_model_resolver };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./pty-ec1grn59.js";
3
+ } from "./git-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./pty-tdstcens.js";
6
+ } from "./git-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./pty-qaymkmh1.js";
3
+ } from "./git-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service83
3
- } from "./pty-mv4t038k.js";
3
+ } from "./git-kjwmhxpf.js";
4
4
  import {
5
- Service53,
6
- Event11
7
- } from "./pty-x6k9b9cw.js";
5
+ Service72,
6
+ Event15
7
+ } from "./git-80qyyxzp.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./git-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -21,7 +21,7 @@ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service53;
24
+ const wellknown = yield* Service72;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,7 +41,7 @@ var Plugin2 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47