@opencode/core 0.0.0-dev-20536 → 0.0.0-dev-20538

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 (780) 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 +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{bus-87qgbvjc.js → git-01j90eaj.js} +11 -11
  8. package/dist/chunks/{bus-pcz7h6qj.js → git-01pnphy2.js} +30 -30
  9. package/dist/chunks/{bus-nzny4vc0.js → git-08170sc1.js} +27 -27
  10. package/dist/chunks/{bus-dms2p81q.js → git-0ef06a4x.js} +4 -4
  11. package/dist/chunks/{bus-xtjxve4c.js → git-0grad2ye.js} +47 -47
  12. package/dist/chunks/{bus-2bmw77gy.js → git-0kas960g.js} +13 -13
  13. package/dist/chunks/{bus-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{bus-0vbcp93d.js → git-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{bus-bxgqqbgp.js → git-108frcsk.js} +20 -20
  16. package/dist/chunks/{bus-9fm4x5nt.js → git-11rnz3bb.js} +26 -26
  17. package/dist/chunks/{bus-9fgy035w.js → git-15mcze8b.js} +29 -29
  18. package/dist/chunks/{bus-pkhnmk3t.js → git-16w0rwvz.js} +10 -10
  19. package/dist/chunks/{bus-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{bus-1dvck2a7.js → git-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{bus-exd7ezmd.js → git-1j155mbj.js} +8 -8
  22. package/dist/chunks/{bus-p5q5j63x.js → git-1ty6ajzg.js} +45 -45
  23. package/dist/chunks/{bus-xe08wepw.js → git-20gpyykp.js} +20 -20
  24. package/dist/chunks/{bus-0qpvcajx.js → git-210vnmq1.js} +17 -17
  25. package/dist/chunks/{bus-p2vqafnj.js → git-210w33g8.js} +3 -3
  26. package/dist/chunks/{bus-zzqp698d.js → git-22a0r9hw.js} +24 -24
  27. package/dist/chunks/{bus-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{bus-h06bmtst.js → git-2ag1df4y.js} +28 -28
  29. package/dist/chunks/{bus-0brrs4gw.js → git-2bawy6dk.js} +33 -33
  30. package/dist/chunks/{bus-tnw5c9p9.js → git-2fyaf7dq.js} +11 -11
  31. package/dist/chunks/{bus-vrm6ygbt.js → git-2qnzzqpz.js} +14 -14
  32. package/dist/chunks/{bus-djqc12a6.js → git-2tmscd36.js} +11 -11
  33. package/dist/chunks/{bus-1s8jzfn5.js → git-2znbyf30.js} +3 -3
  34. package/dist/chunks/{bus-g31erja1.js → git-3cd9n481.js} +9 -9
  35. package/dist/chunks/{bus-98zydh9f.js → git-3ebxps4s.js} +27 -27
  36. package/dist/chunks/{bus-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{bus-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{bus-a5erg0b2.js → git-3jr3e4dz.js} +11 -11
  39. package/dist/chunks/{bus-8x5dvemw.js → git-3mmqt9t6.js} +13 -13
  40. package/dist/chunks/{bus-ynscm4vs.js → git-3pxcpp1y.js} +44 -44
  41. package/dist/chunks/{bus-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{bus-364kza10.js → git-3t71cqd0.js} +23 -23
  43. package/dist/chunks/{bus-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{bus-tzjwq995.js → git-3vd7z3ap.js} +13 -13
  45. package/dist/chunks/{bus-m9cxh46g.js → git-3ww825z4.js} +23 -23
  46. package/dist/chunks/{bus-7c08hygz.js → git-3zbwexce.js} +11 -11
  47. package/dist/chunks/{bus-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{bus-wpt7dsy0.js → git-4169ywwa.js} +30 -30
  49. package/dist/chunks/{bus-ekn5q80q.js → git-42vq69am.js} +9 -9
  50. package/dist/chunks/{bus-7bw64253.js → git-47zznw5q.js} +10 -10
  51. package/dist/chunks/{bus-y6mhz57t.js → git-4bm5ja14.js} +4 -4
  52. package/dist/chunks/{bus-bqdwdppz.js → git-4t19cdft.js} +12 -12
  53. package/dist/chunks/{bus-2ccvkpx1.js → git-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{bus-rabnegtx.js → git-4x93wmvz.js} +34 -34
  55. package/dist/chunks/{bus-54ma36ye.js → git-54ma36ye.js} +1 -1
  56. package/dist/chunks/{bus-mfqp6xfm.js → git-56gdpj1q.js} +6 -6
  57. package/dist/chunks/{bus-5daktx2q.js → git-5daktx2q.js} +1 -1
  58. package/dist/chunks/{bus-1bef9cj1.js → git-5f34ja4g.js} +18 -18
  59. package/dist/chunks/{bus-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{bus-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  61. package/dist/chunks/git-619r8v3y.js +18 -0
  62. package/dist/chunks/{bus-5pyjqqve.js → git-63db42yp.js} +2 -2
  63. package/dist/chunks/{bus-669tq793.js → git-669tq793.js} +1 -1
  64. package/dist/chunks/{bus-rgbf2t5s.js → git-6djkznxj.js} +34 -34
  65. package/dist/chunks/{bus-qvz4s47d.js → git-6epn3xv5.js} +14 -14
  66. package/dist/chunks/{bus-8nypjabp.js → git-6twx9xr3.js} +3 -3
  67. package/dist/chunks/{bus-6c7yw9pm.js → git-6ysrkrkr.js} +8 -8
  68. package/dist/chunks/{bus-71az546q.js → git-71az546q.js} +2 -2
  69. package/dist/chunks/{bus-8jrg06sq.js → git-78nqbeyk.js} +26 -26
  70. package/dist/chunks/{bus-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{bus-qh2fjgsd.js → git-7bywvmr6.js} +43 -43
  72. package/dist/chunks/{bus-qdr56tr0.js → git-7d711qf4.js} +6 -6
  73. package/dist/chunks/{bus-qxkxgbhy.js → git-7dbvm11f.js} +89 -89
  74. package/dist/chunks/{bus-2k8khapm.js → git-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{bus-388z4gss.js → git-7pa1ctbt.js} +9 -9
  76. package/dist/chunks/{bus-cjxqtvwp.js → git-84dd9hjg.js} +17 -17
  77. package/dist/chunks/{bus-84txncab.js → git-84txncab.js} +1 -1
  78. package/dist/chunks/{bus-ba97abkx.js → git-85p13xjx.js} +7 -7
  79. package/dist/chunks/{bus-0qmg5gm1.js → git-88g8wgjb.js} +17 -17
  80. package/dist/chunks/{bus-7x3zm5sf.js → git-89ta7775.js} +12 -12
  81. package/dist/chunks/{bus-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{bus-g0cz14ke.js → git-8fn11dnv.js} +8 -8
  83. package/dist/chunks/{bus-n2mrbfpf.js → git-8mntwk3z.js} +35 -35
  84. package/dist/chunks/{bus-wdpd55qw.js → git-90drn4jp.js} +32 -32
  85. package/dist/chunks/{bus-3g35pcv0.js → git-911p1247.js} +4 -4
  86. package/dist/chunks/{bus-7s2tn799.js → git-97w5rk9e.js} +8 -8
  87. package/dist/chunks/{bus-d1r5081s.js → git-9b00c1fb.js} +5 -5
  88. package/dist/chunks/{bus-56yn5gwg.js → git-9bqe0gpf.js} +2 -2
  89. package/dist/chunks/{bus-9e5bzkjp.js → git-9e5bzkjp.js} +3 -3
  90. package/dist/chunks/{bus-fq1jpeb1.js → git-9njgvhef.js} +22 -22
  91. package/dist/chunks/{bus-dpz7bvge.js → git-9nz5wsp3.js} +11 -11
  92. package/dist/chunks/{bus-452wmbgb.js → git-9r05nzm2.js} +7 -7
  93. package/dist/chunks/{bus-gctnkx5g.js → git-9sgmbgh8.js} +21 -21
  94. package/dist/chunks/{bus-rbaracaf.js → git-9w4wk5c7.js} +19 -19
  95. package/dist/chunks/{bus-9z18kp50.js → git-a4e8tx48.js} +31 -31
  96. package/dist/chunks/{bus-s15sqcsm.js → git-a91jd8rx.js} +32 -32
  97. package/dist/chunks/{bus-aaet6srn.js → git-aaet6srn.js} +2 -2
  98. package/dist/chunks/{bus-khnjxhph.js → git-acx86tm7.js} +48 -48
  99. package/dist/chunks/{bus-b7dd0p69.js → git-ae77pzvn.js} +16 -16
  100. package/dist/chunks/{bus-h10yp9cw.js → git-ae9f6qbf.js} +26 -26
  101. package/dist/chunks/{bus-2ma8zt2e.js → git-b22ja64b.js} +5 -5
  102. package/dist/chunks/{bus-aqvqqrwg.js → git-b44nc6js.js} +18 -18
  103. package/dist/chunks/{bus-cfsekr6v.js → git-b4twkq7r.js} +6 -6
  104. package/dist/chunks/{bus-s8awv0tb.js → git-b5hrghh5.js} +4 -4
  105. package/dist/chunks/{bus-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{bus-2345ahvj.js → git-bczdhfev.js} +79 -79
  107. package/dist/chunks/{bus-3zcjd5ba.js → git-bjm3qyqr.js} +34 -34
  108. package/dist/chunks/{bus-0ejaqacf.js → git-bqy9wzrr.js} +32 -32
  109. package/dist/chunks/{bus-4fs97eea.js → git-brrvqv00.js} +19 -19
  110. package/dist/chunks/{bus-c20khjev.js → git-cavr175a.js} +21 -21
  111. package/dist/chunks/{bus-8a5mpsbk.js → git-cew1wkrw.js} +11 -11
  112. package/dist/chunks/{bus-st8gjnqv.js → git-cfgx7myt.js} +46 -46
  113. package/dist/chunks/{bus-tpw6cwsb.js → git-cmwkp3r5.js} +8 -8
  114. package/dist/chunks/{bus-1d1h9naf.js → git-cqvdfskm.js} +4 -4
  115. package/dist/chunks/{bus-31pvnh6p.js → git-cs8c5722.js} +19 -19
  116. package/dist/chunks/{bus-eb4pf1x7.js → git-cya9m9ka.js} +21 -21
  117. package/dist/chunks/{bus-8g5ayqkp.js → git-cygp66gj.js} +11 -11
  118. package/dist/chunks/{bus-mx9vqzsb.js → git-d1mtykxg.js} +6 -6
  119. package/dist/chunks/{bus-z7ryvv6k.js → git-d3x0g1ge.js} +11 -11
  120. package/dist/chunks/{bus-qmqgtz8f.js → git-d4he2qe1.js} +9 -9
  121. package/dist/chunks/{bus-9wdk9qm9.js → git-d6htshpr.js} +11 -11
  122. package/dist/chunks/{bus-addxnjmp.js → git-db2wf4at.js} +4 -4
  123. package/dist/chunks/{bus-g660qtn0.js → git-ddqzt9ar.js} +27 -27
  124. package/dist/chunks/{bus-17bmhmmj.js → git-dgx763c4.js} +17 -17
  125. package/dist/chunks/{bus-61ysx92p.js → git-dkcp985t.js} +9 -9
  126. package/dist/chunks/{bus-xkntkrq7.js → git-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{bus-qfhc4gyc.js → git-dpq9k9e5.js} +7 -7
  128. package/dist/chunks/{bus-1dq8jzyn.js → git-dw9armfg.js} +2 -2
  129. package/dist/chunks/{bus-6n4b0dsb.js → git-dzw83ac5.js} +9 -9
  130. package/dist/chunks/{bus-03tt90jk.js → git-e0vtkr8g.js} +6 -6
  131. package/dist/chunks/{bus-6n4ty2ve.js → git-e6b9ksp3.js} +12 -12
  132. package/dist/chunks/{bus-33smrnfj.js → git-e6gk6vkp.js} +5 -5
  133. package/dist/chunks/{bus-fzp8wpts.js → git-e81kfs0g.js} +54 -54
  134. package/dist/chunks/{bus-9eajprj6.js → git-e8n3k0rs.js} +14 -14
  135. package/dist/chunks/{bus-1z18ck0n.js → git-e8vwfchq.js} +9 -9
  136. package/dist/chunks/{bus-m2ykgtqm.js → git-e957davs.js} +12 -12
  137. package/dist/chunks/{bus-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{bus-3rexwkpe.js → git-ep44p4pe.js} +12 -12
  139. package/dist/chunks/{bus-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{bus-q43yz18s.js → git-f390vyfh.js} +26 -26
  141. package/dist/chunks/{bus-nn87vc15.js → git-febwp2sd.js} +8 -8
  142. package/dist/chunks/{bus-9btznmag.js → git-g150e6dx.js} +3 -3
  143. package/dist/chunks/{bus-g5w8qwbj.js → git-g5w8qwbj.js} +1 -1
  144. package/dist/chunks/{bus-789gjyax.js → git-g6nq8pzr.js} +21 -21
  145. package/dist/chunks/{bus-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{bus-jvf3yq6v.js → git-gst7axd9.js} +4 -4
  147. package/dist/chunks/{bus-n3gpv6q4.js → git-gttbyh04.js} +28 -28
  148. package/dist/chunks/{bus-xbrnje9f.js → git-gv66gg0x.js} +8 -8
  149. package/dist/chunks/{bus-4z58m4b4.js → git-gw7cjrad.js} +4 -4
  150. package/dist/chunks/{bus-k2seq1xy.js → git-gzq6x9xy.js} +66 -66
  151. package/dist/chunks/{bus-h2b79v29.js → git-h2b79v29.js} +2 -2
  152. package/dist/chunks/{bus-wg9r4j5w.js → git-h2zqm4z5.js} +6 -6
  153. package/dist/chunks/{bus-92q1kttp.js → git-h3b3f6s3.js} +8 -8
  154. package/dist/chunks/{bus-s41274r5.js → git-h3d536gm.js} +3 -3
  155. package/dist/chunks/{bus-ej9mn2hm.js → git-h5b4kcx3.js} +6 -6
  156. package/dist/chunks/{bus-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{bus-wecqtg5s.js → git-hdkng2sj.js} +5 -5
  158. package/dist/chunks/{bus-gg3gj13y.js → git-hfjgv5mq.js} +9 -9
  159. package/dist/chunks/{bus-fzcec5e2.js → git-hqbydggd.js} +12 -12
  160. package/dist/chunks/{bus-5s8ss6c7.js → git-hx87qmaz.js} +33 -33
  161. package/dist/chunks/{bus-e7m0vwsw.js → git-j2t1dfhz.js} +1 -1
  162. package/dist/chunks/{bus-j56e64zr.js → git-j56e64zr.js} +1 -1
  163. package/dist/chunks/{bus-7yrdpv1j.js → git-j7bxsyf2.js} +7 -7
  164. package/dist/chunks/{bus-8srq2cd9.js → git-jbah23ew.js} +16 -16
  165. package/dist/chunks/{bus-h9ye38ew.js → git-jgrh7b0f.js} +20 -20
  166. package/dist/chunks/{bus-z8888y9b.js → git-jq1shjfk.js} +8 -8
  167. package/dist/chunks/{bus-8y0y710j.js → git-jy1wdjtb.js} +6 -6
  168. package/dist/chunks/{bus-5ehnhnq5.js → git-jy6g3cvf.js} +23 -23
  169. package/dist/chunks/{bus-57myy5jh.js → git-kjdm35cs.js} +5 -5
  170. package/dist/chunks/{bus-9n4yth9k.js → git-kjmv31m7.js} +33 -33
  171. package/dist/chunks/{bus-bydnjh3t.js → git-kx004b36.js} +9 -9
  172. package/dist/chunks/{bus-bry9ja57.js → git-m1aepqe8.js} +336 -336
  173. package/dist/chunks/{bus-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{bus-efspjqjk.js → git-m4vns8b1.js} +10 -10
  175. package/dist/chunks/{bus-trtdezz0.js → git-m9jxvmh1.js} +11 -11
  176. package/dist/chunks/{bus-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{bus-s26mq5d1.js → git-md9k8f9h.js} +4 -4
  178. package/dist/chunks/{bus-b4m41310.js → git-mdj7bahr.js} +11 -11
  179. package/dist/chunks/{bus-9k8khh75.js → git-n2da8v4r.js} +14 -14
  180. package/dist/chunks/{bus-9pzzpc4q.js → git-n5tgpa49.js} +10 -10
  181. package/dist/chunks/{bus-zmr78fwr.js → git-n8vdnqrc.js} +5 -5
  182. package/dist/chunks/{bus-ttt7twvn.js → git-nd0efaxq.js} +21 -21
  183. package/dist/chunks/{bus-dpkg50ah.js → git-nxm207yx.js} +4 -4
  184. package/dist/chunks/{bus-npwy0cf6.js → git-nz569jqt.js} +5 -5
  185. package/dist/chunks/{bus-fbq9vw6f.js → git-p25ycqbr.js} +10 -10
  186. package/dist/chunks/{bus-zbqk2z4c.js → git-p3hj61df.js} +17 -17
  187. package/dist/chunks/{bus-dbvre6p0.js → git-p63yn2ba.js} +1 -1
  188. package/dist/chunks/{bus-21jacxa0.js → git-pdsp1jvw.js} +36 -36
  189. package/dist/chunks/{bus-1a0ec517.js → git-pe6r5a00.js} +22 -22
  190. package/dist/chunks/{bus-ag2zta49.js → git-pgt7xm7w.js} +12 -12
  191. package/dist/chunks/{bus-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{bus-pknna89w.js → git-pknna89w.js} +1 -1
  193. package/dist/chunks/{bus-09fznkta.js → git-pn72jkdj.js} +33 -33
  194. package/dist/chunks/{bus-w5ck0rke.js → git-ptdsxnqe.js} +20 -20
  195. package/dist/chunks/{bus-zsc2fept.js → git-pvxwxdrj.js} +29 -29
  196. package/dist/chunks/{bus-0j77ygfz.js → git-q0xm7vwc.js} +6 -6
  197. package/dist/chunks/{bus-ex2jr6wp.js → git-q1299vf9.js} +313 -313
  198. package/dist/chunks/git-q9bz2q6x.js +26 -0
  199. package/dist/chunks/{bus-fm2qvscf.js → git-qa3qhgw8.js} +4 -4
  200. package/dist/chunks/{bus-qnc92qwc.js → git-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{bus-qsdy395h.js → git-qsdy395h.js} +1 -1
  202. package/dist/chunks/{bus-qxjc9qry.js → git-qxjc9qry.js} +3 -3
  203. package/dist/chunks/{bus-78rts9ej.js → git-r4f11j1b.js} +19 -19
  204. package/dist/chunks/{bus-a1gpj94z.js → git-r5x6zcsm.js} +3 -3
  205. package/dist/chunks/{bus-1acjjqhc.js → git-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{bus-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{bus-yq0mmv71.js → git-refgdna9.js} +18 -18
  208. package/dist/chunks/{bus-p694032b.js → git-rh1t848z.js} +5 -5
  209. package/dist/chunks/{bus-5myvgw2p.js → git-rwhx2wjr.js} +34 -34
  210. package/dist/chunks/{bus-dx0ahrbs.js → git-rwp39ykb.js} +11 -11
  211. package/dist/chunks/{bus-ze3my9xb.js → git-ryy9z3kr.js} +7 -7
  212. package/dist/chunks/{bus-v17hgkfy.js → git-s5x0zaxv.js} +8 -8
  213. package/dist/chunks/{bus-0ag38bn7.js → git-s6wsy4b1.js} +173 -173
  214. package/dist/chunks/{bus-7evavyec.js → git-s9e4qx1q.js} +48 -48
  215. package/dist/chunks/{bus-49phrcng.js → git-seb74ce9.js} +11 -11
  216. package/dist/chunks/{bus-99gq6tqt.js → git-sjd902kt.js} +10 -10
  217. package/dist/chunks/{bus-ckgr5b8p.js → git-smw6fj03.js} +39 -39
  218. package/dist/chunks/{bus-ke77zstc.js → git-snc8g6rh.js} +24 -24
  219. package/dist/chunks/{bus-vp5rkn34.js → git-sq9d127s.js} +12 -12
  220. package/dist/chunks/{bus-vx3jgdek.js → git-ss358qx3.js} +3 -3
  221. package/dist/chunks/{bus-6800223a.js → git-stt0t63v.js} +5 -5
  222. package/dist/chunks/{bus-masaym1h.js → git-sv2t3cbt.js} +13 -13
  223. package/dist/chunks/{bus-m79q5xaq.js → git-sy4k6c8e.js} +14 -14
  224. package/dist/chunks/{bus-37wq61k5.js → git-t01ewf6t.js} +9 -9
  225. package/dist/chunks/{bus-8vhr417e.js → git-t3k16jnr.js} +28 -28
  226. package/dist/chunks/{bus-xe51zch3.js → git-t4epz8me.js} +3 -3
  227. package/dist/chunks/{bus-fzpf6kj6.js → git-t5dvqmgx.js} +3 -3
  228. package/dist/chunks/{bus-9mm2tben.js → git-t81ffg6r.js} +60 -60
  229. package/dist/chunks/{bus-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{bus-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{bus-tdstcens.js → git-tdstcens.js} +1 -1
  232. package/dist/chunks/{bus-27ztzm6j.js → git-tr58f7gx.js} +11 -11
  233. package/dist/chunks/{bus-hr1by741.js → git-twrrw8k0.js} +19 -19
  234. package/dist/chunks/{bus-d9sgy5v4.js → git-tx92n959.js} +4 -4
  235. package/dist/chunks/{bus-qwjmgwmn.js → git-tx9w5tca.js} +8 -8
  236. package/dist/chunks/{bus-ydaa82v6.js → git-txfefrdm.js} +11 -11
  237. package/dist/chunks/{bus-kpvnmc5s.js → git-txjb7dab.js} +6 -6
  238. package/dist/chunks/{bus-k5btndkz.js → git-v03f7qed.js} +5 -5
  239. package/dist/chunks/{bus-v0es1rhs.js → git-v0es1rhs.js} +2 -2
  240. package/dist/chunks/{bus-f3ev921j.js → git-v4m0f3qj.js} +24 -24
  241. package/dist/chunks/{bus-92hj1t1y.js → git-v5eb4ppj.js} +6 -6
  242. package/dist/chunks/{bus-x96r6938.js → git-vbcyc6ey.js} +22 -22
  243. package/dist/chunks/{bus-e7298r3y.js → git-vdeatv7n.js} +5 -5
  244. package/dist/chunks/{bus-veqvce7d.js → git-veqvce7d.js} +1 -1
  245. package/dist/chunks/{bus-ej4w77wd.js → git-vf8se440.js} +15 -15
  246. package/dist/chunks/{bus-fzh7zfb0.js → git-vjpv4151.js} +13 -13
  247. package/dist/chunks/{bus-trq2pbyk.js → git-vq6rpskq.js} +6 -6
  248. package/dist/chunks/{bus-s6355me1.js → git-vvqdzh1p.js} +11 -11
  249. package/dist/chunks/{bus-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{bus-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{bus-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{bus-r257mg98.js → git-w61tzg5h.js} +47 -47
  253. package/dist/chunks/{bus-wd87259q.js → git-wd87259q.js} +1 -1
  254. package/dist/chunks/{bus-syb4ysvy.js → git-wjxjzxnj.js} +17 -17
  255. package/dist/chunks/{bus-0jyvqp1f.js → git-wphct09r.js} +11 -11
  256. package/dist/chunks/{bus-s8d7rejh.js → git-wv396vej.js} +8 -8
  257. package/dist/chunks/{bus-3556dn8t.js → git-wxyynt4w.js} +1 -1
  258. package/dist/chunks/{bus-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{bus-pgp1nwjn.js → git-x3gqap9d.js} +4 -4
  260. package/dist/chunks/{bus-8qxff7bj.js → git-x5vrdyjm.js} +25 -25
  261. package/dist/chunks/{bus-gz0m67vm.js → git-x6wfrhet.js} +19 -19
  262. package/dist/chunks/{bus-bja1kbt7.js → git-x7tg71sf.js} +20 -20
  263. package/dist/chunks/{bus-bexr6pad.js → git-x8f5ayf7.js} +5 -5
  264. package/dist/chunks/{bus-z5m9pnwf.js → git-xhs1vb56.js} +12 -12
  265. package/dist/chunks/{bus-8r2stfs9.js → git-xpepwwf9.js} +25 -25
  266. package/dist/chunks/{bus-bkyazm6f.js → git-xtvh7eda.js} +147 -147
  267. package/dist/chunks/{bus-fas7hgfq.js → git-xyh59nvn.js} +23 -23
  268. package/dist/chunks/{bus-8zhy3fv7.js → git-xyvjgbjk.js} +5 -5
  269. package/dist/chunks/{bus-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{bus-jpj7wt0r.js → git-y2ngvk0e.js} +16 -16
  271. package/dist/chunks/{bus-q85q7640.js → git-y49r18cm.js} +5 -5
  272. package/dist/chunks/{bus-0a3505t2.js → git-y7rc46sv.js} +28 -28
  273. package/dist/chunks/{bus-vxmk6qhg.js → git-yc1swxyv.js} +3 -3
  274. package/dist/chunks/{bus-e940t5dn.js → git-yedjap2b.js} +19 -19
  275. package/dist/chunks/{bus-zfs8ae4p.js → git-yjx32v1s.js} +4 -4
  276. package/dist/chunks/{bus-83pvch2e.js → git-yqxy1077.js} +16 -16
  277. package/dist/chunks/{bus-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{bus-eamzqf14.js → git-yss3t4pw.js} +22 -22
  279. package/dist/chunks/{bus-p7ah34cs.js → git-ytxjpgh7.js} +21 -21
  280. package/dist/chunks/{bus-c467z66n.js → git-yw1cvm16.js} +13 -13
  281. package/dist/chunks/{bus-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{bus-qzcb8gaw.js → git-zpymr5yc.js} +15 -15
  283. package/dist/chunks/{bus-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{bus-939wh0ff.js → git-zs3esqyg.js} +19 -19
  285. package/dist/chunks/{bus-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +79 -79
  291. package/dist/config/discovery.js +82 -82
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +205 -205
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +115 -115
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +113 -113
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +74 -74
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +214 -214
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +101 -101
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +91 -91
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +76 -76
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +81 -81
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +91 -91
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +99 -99
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +117 -117
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +80 -80
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +102 -102
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +95 -95
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +6 -6
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +80 -80
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +99 -99
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +89 -89
  562. package/dist/repository-cache.js +81 -81
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +135 -135
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +97 -97
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +222 -222
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +162 -162
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +210 -210
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +110 -110
  626. package/dist/snapshot.js +89 -89
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +116 -116
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +101 -101
  639. package/dist/tool/plugin/read.js +123 -123
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +113 -113
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +16 -16
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +91 -91
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +82 -82
  672. package/dist/wellknown/plugin.js +76 -76
  673. package/dist/wellknown.js +81 -81
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +89 -89
  681. package/dist/worktree.js +96 -96
  682. package/package.json +8 -8
  683. package/dist/chunks/bus-4fmv3mdr.js +0 -26
  684. package/dist/chunks/bus-jqh9b0xq.js +0 -18
  685. /package/dist/chunks/{bus-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{bus-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{bus-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{bus-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{bus-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{bus-24dcb14g.js → git-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{bus-2710q6r3.js → git-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{bus-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{bus-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{bus-34c7v6d4.js → git-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{bus-359p4xyc.js → git-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{bus-3asan66x.js → git-3asan66x.js} +0 -0
  697. /package/dist/chunks/{bus-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{bus-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{bus-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{bus-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{bus-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{bus-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{bus-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{bus-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{bus-53557ph1.js → git-53557ph1.js} +0 -0
  706. /package/dist/chunks/{bus-550bvhaj.js → git-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{bus-6prwharc.js → git-6prwharc.js} +0 -0
  708. /package/dist/chunks/{bus-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{bus-7m9af43g.js → git-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{bus-822emrt2.js → git-822emrt2.js} +0 -0
  711. /package/dist/chunks/{bus-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{bus-8n3pysct.js → git-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{bus-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{bus-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{bus-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{bus-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{bus-af5trqkr.js → git-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{bus-afrmfg78.js → git-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{bus-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{bus-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{bus-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{bus-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{bus-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{bus-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{bus-d9fn303g.js → git-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{bus-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{bus-dajrwvna.js → git-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{bus-dap0rakb.js → git-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{bus-df08tz66.js → git-df08tz66.js} +0 -0
  730. /package/dist/chunks/{bus-dy18nga0.js → git-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{bus-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{bus-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{bus-ec1grn59.js → git-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{bus-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{bus-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{bus-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{bus-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{bus-faypxj3z.js → git-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{bus-fd410y7t.js → git-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{bus-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{bus-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{bus-g86h250q.js → git-g86h250q.js} +0 -0
  743. /package/dist/chunks/{bus-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{bus-gftt206x.js → git-gftt206x.js} +0 -0
  745. /package/dist/chunks/{bus-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{bus-hk9envan.js → git-hk9envan.js} +0 -0
  747. /package/dist/chunks/{bus-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{bus-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{bus-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{bus-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{bus-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{bus-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{bus-mp448xyj.js → git-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{bus-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{bus-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{bus-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{bus-njntx4h6.js → git-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{bus-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{bus-q74kybfr.js → git-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{bus-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{bus-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{bus-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{bus-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{bus-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{bus-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{bus-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{bus-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{bus-w803qqfp.js → git-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{bus-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{bus-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{bus-wtztk69x.js → git-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{bus-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{bus-x61499pn.js → git-x61499pn.js} +0 -0
  774. /package/dist/chunks/{bus-y44na4kk.js → git-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{bus-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{bus-y8f7s663.js → git-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{bus-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{bus-ym463w8f.js → git-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{bus-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{bus-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./bus-qfhc4gyc.js";
3
+ } from "./git-dpq9k9e5.js";
4
4
  import {
5
- Service82
6
- } from "./bus-fzcec5e2.js";
5
+ Service83
6
+ } from "./git-hqbydggd.js";
7
7
  import {
8
- ID15,
8
+ ID11,
9
9
  OAuth3,
10
- Event19,
11
- Service78
12
- } from "./bus-0brrs4gw.js";
10
+ Event16,
11
+ Service70
12
+ } from "./git-2bawy6dk.js";
13
13
  import {
14
14
  key2
15
- } from "./bus-addxnjmp.js";
15
+ } from "./git-db2wf4at.js";
16
16
  import {
17
- ID14,
17
+ ID10,
18
18
  MethodID2
19
- } from "./bus-09fznkta.js";
19
+ } from "./git-pn72jkdj.js";
20
20
  import {
21
21
  which2
22
- } from "./bus-qaymkmh1.js";
22
+ } from "./git-qaymkmh1.js";
23
23
  import {
24
- ID13,
25
- Service76
26
- } from "./bus-ex2jr6wp.js";
24
+ ID9,
25
+ Service68
26
+ } from "./git-q1299vf9.js";
27
27
  import {
28
- ID12
29
- } from "./bus-9z18kp50.js";
28
+ ID8
29
+ } from "./git-a4e8tx48.js";
30
30
  import {
31
31
  iife2
32
- } from "./bus-1kg9ymc8.js";
32
+ } from "./git-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./bus-8y0y710j.js";
35
+ } from "./git-jy1wdjtb.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make5(endpoints = {
70
+ function make11(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID13.azure);
77
+ const configured = yield* configuredSettings2(ID9.azure);
78
78
  const processes = yield* AppProcess.Service;
79
- const bus = yield* Service82;
80
- const credentials = yield* Service78;
81
- const providers = yield* Service76;
79
+ const bus = yield* Service83;
80
+ const credentials = yield* Service70;
81
+ const providers = yield* Service68;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make5(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID13.azure,
119
+ integrationID: ID9.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID9.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ function make5(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID13.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -192,7 +192,7 @@ function make5(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID13.azure))?.settings;
195
+ const settings = (yield* providers.get(ID9.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make5(endpoints = {
214
214
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make5(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make5(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID13.azure);
253
+ const item = evt.get(ID9.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make5(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make5(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID13.azure);
276
+ const catalog = models.list(ID9.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID13.azure, model.id);
280
+ models.remove(ID9.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID13.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make5(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID13.azure)
301
+ if (evt.model.providerID !== ID9.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make5(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID13.azure });
310
+ }), { providerID: ID9.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID13.azure)
312
+ if (evt.model.providerID !== ID9.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make5(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID13.azure });
321
+ }), { providerID: ID9.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make5();
325
+ var AzurePlugin2 = make11();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID12.make(deployment.name.toLowerCase());
355
+ const id = ID8.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID12.make(deployment.name),
359
+ modelID: ID8.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make5, AzurePlugin2 };
381
+ export { make11, AzurePlugin2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./bus-dpkg50ah.js";
3
+ } from "./git-nxm207yx.js";
4
4
  import {
5
- Service67,
6
- node70
7
- } from "./bus-p7ah34cs.js";
5
+ Service63,
6
+ node66
7
+ } from "./git-ytxjpgh7.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./git-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service14,
17
- node: () => node16,
16
+ Service: () => Service62,
17
+ node: () => node65,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service14 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service62 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service14, Effect.gen(function* () {
38
- const environment = yield* Service67;
37
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
38
+ const environment = yield* Service63;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service14.of({ withLock, write, writeTextPreservingBom });
59
+ return Service62.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node16 = makeLocationNode({ service: Service14, layer, deps: [node70] });
61
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [node66] });
62
62
 
63
- export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
63
+ export { Service62, readText2, syncTextBom2, node65, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./git-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service65
3
- } from "./bus-f3ev921j.js";
2
+ Service66
3
+ } from "./git-v4m0f3qj.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./git-z5v4ffb3.js";
7
7
  import {
8
8
  Service80
9
- } from "./bus-56yn5gwg.js";
9
+ } from "./git-9bqe0gpf.js";
10
10
  import {
11
- Service64
12
- } from "./bus-qh2fjgsd.js";
11
+ Service65
12
+ } from "./git-7bywvmr6.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./bus-h10yp9cw.js";
17
+ } from "./git-ae9f6qbf.js";
18
18
  import {
19
- Service8
20
- } from "./bus-g31erja1.js";
19
+ Service7
20
+ } from "./git-3cd9n481.js";
21
21
  import {
22
22
  parse2
23
- } from "./bus-qdr56tr0.js";
23
+ } from "./git-7d711qf4.js";
24
24
  import {
25
25
  __export
26
- } from "./bus-9rqn6x4v.js";
26
+ } from "./git-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin3
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin23
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin3 = define({
39
+ var Plugin23 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service64;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service65;
43
+ const discovery = yield* Service7;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service65;
47
+ const watcher = yield* Service66;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin3 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin3, exports_skill };
179
+ export { Plugin23, exports_skill2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./bus-z5v4ffb3.js";
4
+ } from "./git-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service83,
9
- node87
10
- } from "./bus-3rexwkpe.js";
8
+ Service82,
9
+ node86
10
+ } from "./git-ep44p4pe.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./bus-56yn5gwg.js";
14
+ } from "./git-9bqe0gpf.js";
15
15
  import {
16
16
  create3
17
- } from "./bus-rdw6cm16.js";
17
+ } from "./git-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./git-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID5,
27
- Service: () => Service51,
27
+ Service: () => Service42,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
29
+ node: () => node44,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,18 +36,18 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service51 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service42 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service51, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node54 = makeLocationNode({
144
- service: Service51,
143
+ var node44 = makeLocationNode({
144
+ service: Service42,
145
145
  layer,
146
- deps: [FSUtil.node, node87, Global.node, node84]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service51, Service51.of({
148
+ var noopLayer3 = Layer.succeed(Service42, Service42.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service51, node54, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error2, Service42, node44, noopLayer3, exports_snapshot2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node52
5
- } from "./bus-qfhc4gyc.js";
4
+ node61
5
+ } from "./git-dpq9k9e5.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./bus-4z58m4b4.js";
9
+ } from "./git-gw7cjrad.js";
10
10
  import {
11
- Service71,
12
- node75
13
- } from "./bus-qwjmgwmn.js";
11
+ Service78,
12
+ node82
13
+ } from "./git-tx9w5tca.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./bus-9mm2tben.js";
16
+ } from "./git-t81ffg6r.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./bus-452wmbgb.js";
19
+ } from "./git-9r05nzm2.js";
20
20
  import {
21
- Error4
22
- } from "./bus-8r2stfs9.js";
21
+ Error3
22
+ } from "./git-xpepwwf9.js";
23
23
  import {
24
24
  get5
25
- } from "./bus-54ma36ye.js";
25
+ } from "./git-54ma36ye.js";
26
26
  import {
27
- Service35,
28
- node39
29
- } from "./bus-37wq61k5.js";
27
+ Service33,
28
+ node37
29
+ } from "./git-t01ewf6t.js";
30
30
  import {
31
31
  make16
32
- } from "./bus-g5w8qwbj.js";
32
+ } from "./git-g5w8qwbj.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./bus-3556dn8t.js";
35
+ } from "./git-wxyynt4w.js";
36
36
  import {
37
37
  __export
38
- } from "./bus-9rqn6x4v.js";
38
+ } from "./git-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service34,
43
+ Service: () => Service32,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
47
  layer: () => layer12,
48
- node: () => node38,
48
+ node: () => node36,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
151
151
  });
152
152
  };
153
153
 
154
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
154
+ class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
155
155
  }
156
- var layer12 = Layer.effect(Service34, Effect.gen(function* () {
157
- const hooks = yield* Service71;
158
- const transport = yield* Service35;
156
+ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
157
+ const hooks = yield* Service78;
158
+ const transport = yield* Service33;
159
159
  const app = yield* Metadata2;
160
160
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
161
161
  const session = input.session;
@@ -163,7 +163,7 @@ var layer12 = Layer.effect(Service34, Effect.gen(function* () {
163
163
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
164
164
  const tools = input.tools ?? {
165
165
  definitions: [],
166
- execute: () => new Error4({ message: "Tools are not available for this request" })
166
+ execute: () => new Error3({ message: "Tools are not available for this request" })
167
167
  };
168
168
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
169
169
  const shaped = yield* shape({
@@ -260,17 +260,17 @@ var layer12 = Layer.effect(Service34, Effect.gen(function* () {
260
260
  };
261
261
  });
262
262
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
263
- return Service34.of({
263
+ return Service32.of({
264
264
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
265
265
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
266
266
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
267
267
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
268
268
  });
269
269
  }));
270
- var node38 = makeLocationNode({
271
- service: Service34,
270
+ var node36 = makeLocationNode({
271
+ service: Service32,
272
272
  layer: layer12,
273
- deps: [node75, node39, node52]
273
+ deps: [node82, node37, node61]
274
274
  });
275
275
 
276
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer12, node38, exports_model_request };
276
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer12, node36, exports_model_request };