@opencode/core 0.0.0-dev-21798 → 0.0.0-dev-21799

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-retry-aj7mw0zk.js → bus-034tev2y.js} +2 -2
  8. package/dist/chunks/{model-retry-7bk0syww.js → bus-0fpq4f58.js} +11 -11
  9. package/dist/chunks/{model-retry-tasvem1v.js → bus-0ks2n9jf.js} +6 -6
  10. package/dist/chunks/{model-retry-5p205wab.js → bus-0p88zpcm.js} +4 -4
  11. package/dist/chunks/{model-retry-dh62xe4r.js → bus-0ss1ygn7.js} +3 -3
  12. package/dist/chunks/{model-retry-zmwx25fz.js → bus-0w2jttgf.js} +2 -2
  13. package/dist/chunks/{model-retry-gchkqpys.js → bus-0washmxq.js} +3 -3
  14. package/dist/chunks/{model-retry-tg1vr1qt.js → bus-160yv0cs.js} +8 -8
  15. package/dist/chunks/{model-retry-twpa8r42.js → bus-1bfxbsya.js} +30 -30
  16. package/dist/chunks/{model-retry-27w5k9zf.js → bus-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{model-retry-d51kxexq.js → bus-1j9syxkg.js} +2 -2
  18. package/dist/chunks/{model-retry-r7qbvbca.js → bus-1k7qz9q5.js} +12 -12
  19. package/dist/chunks/{model-retry-5z33grs6.js → bus-1kashhxp.js} +20 -20
  20. package/dist/chunks/{model-retry-yk6hg7py.js → bus-1njsdcyp.js} +16 -16
  21. package/dist/chunks/{model-retry-pbb834xc.js → bus-1pszgch9.js} +6 -6
  22. package/dist/chunks/{model-retry-wcbhfjrd.js → bus-1w9k09te.js} +22 -22
  23. package/dist/chunks/{model-retry-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{model-retry-1yq9hg58.js → bus-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{model-retry-3vz2yars.js → bus-21g64681.js} +32 -32
  26. package/dist/chunks/{model-retry-qnm4ee5f.js → bus-21pdxbx2.js} +3 -3
  27. package/dist/chunks/{model-retry-9rm0bcgy.js → bus-2665jbwr.js} +15 -15
  28. package/dist/chunks/{model-retry-8kcbfhnp.js → bus-2bev0qfp.js} +11 -11
  29. package/dist/chunks/{model-retry-khgyexzf.js → bus-2d6j2x8s.js} +46 -46
  30. package/dist/chunks/{model-retry-c5ncm6k8.js → bus-2eq3kb9b.js} +26 -26
  31. package/dist/chunks/{model-retry-050d3ay8.js → bus-2hsj2n0v.js} +21 -21
  32. package/dist/chunks/{model-retry-64t4yar7.js → bus-2jrcf1tj.js} +9 -9
  33. package/dist/chunks/{model-retry-jd2vyc00.js → bus-2jtphcac.js} +17 -17
  34. package/dist/chunks/{model-retry-1y0wdj51.js → bus-2kg89srt.js} +9 -9
  35. package/dist/chunks/{model-retry-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
  36. package/dist/chunks/{model-retry-v6h5bgwd.js → bus-31wms35x.js} +8 -8
  37. package/dist/chunks/{model-retry-rvbz23xa.js → bus-32dt8sm6.js} +10 -10
  38. package/dist/chunks/{model-retry-799ckdtf.js → bus-32s59e8p.js} +9 -9
  39. package/dist/chunks/{model-retry-mn4sstjx.js → bus-33zxs5g9.js} +4 -4
  40. package/dist/chunks/{model-retry-rs3s0t58.js → bus-34mc4f69.js} +24 -24
  41. package/dist/chunks/{model-retry-ewr5k9wg.js → bus-38xznjs4.js} +5 -5
  42. package/dist/chunks/bus-39h0ag18.js +26 -0
  43. package/dist/chunks/{model-retry-d0pkz9h4.js → bus-3amawdtd.js} +14 -14
  44. package/dist/chunks/{model-retry-pg8x00ch.js → bus-3f2zwfeg.js} +4 -4
  45. package/dist/chunks/{model-retry-17r689qp.js → bus-3f6xt6nq.js} +30 -30
  46. package/dist/chunks/{model-retry-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{model-retry-tmc7xdjs.js → bus-3nnrz6f6.js} +4 -4
  48. package/dist/chunks/{model-retry-8gbe608w.js → bus-45szfbjt.js} +14 -14
  49. package/dist/chunks/{model-retry-5v8dvpa5.js → bus-4a6yhs14.js} +2 -2
  50. package/dist/chunks/{model-retry-b8d6cdec.js → bus-4gr5td8y.js} +17 -17
  51. package/dist/chunks/{model-retry-nrch4egb.js → bus-4hmqv3dg.js} +25 -25
  52. package/dist/chunks/{model-retry-88kypjvy.js → bus-4tqs0jzk.js} +4 -4
  53. package/dist/chunks/{model-retry-4v008n1t.js → bus-4v008n1t.js} +1 -1
  54. package/dist/chunks/{model-retry-7yp67vww.js → bus-4vh1jrr3.js} +16 -16
  55. package/dist/chunks/{model-retry-376fvw41.js → bus-50gfh4d7.js} +16 -16
  56. package/dist/chunks/{model-retry-0wwnb14f.js → bus-575d3vht.js} +22 -22
  57. package/dist/chunks/{model-retry-mbvs8a24.js → bus-5a5619qn.js} +17 -17
  58. package/dist/chunks/{model-retry-ynqg5bhp.js → bus-5gxhssq1.js} +6 -6
  59. package/dist/chunks/{model-retry-vqbn6xdq.js → bus-5jyzdfdp.js} +1 -1
  60. package/dist/chunks/{model-retry-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{model-retry-cxy24jbt.js → bus-5p32nay5.js} +28 -28
  62. package/dist/chunks/{model-retry-7emqhgyb.js → bus-5wp410p3.js} +18 -18
  63. package/dist/chunks/{model-retry-jzgdpz6y.js → bus-6020gc76.js} +35 -35
  64. package/dist/chunks/{model-retry-4xkwq58b.js → bus-623n6t0x.js} +24 -24
  65. package/dist/chunks/bus-6bshxcsx.js +18 -0
  66. package/dist/chunks/{model-retry-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{model-retry-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
  68. package/dist/chunks/{model-retry-wy6akpvc.js → bus-6r1jx35z.js} +7 -7
  69. package/dist/chunks/{model-retry-jcqm84fr.js → bus-6twykydk.js} +9 -9
  70. package/dist/chunks/{model-retry-3kdbrncp.js → bus-6xqtcmxs.js} +5 -5
  71. package/dist/chunks/{model-retry-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
  72. package/dist/chunks/{model-retry-kvzw13zf.js → bus-7asyzf2g.js} +3 -3
  73. package/dist/chunks/{model-retry-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{model-retry-7wy00epp.js → bus-7gvxqv4d.js} +26 -26
  75. package/dist/chunks/{model-retry-da6nt20h.js → bus-7j2sygsw.js} +9 -9
  76. package/dist/chunks/{model-retry-3rvfd2p4.js → bus-7nvnk78q.js} +33 -33
  77. package/dist/chunks/{model-retry-3459c4aq.js → bus-7nw9b7yf.js} +17 -17
  78. package/dist/chunks/{model-retry-etshtsr8.js → bus-7rag2784.js} +5 -5
  79. package/dist/chunks/{model-retry-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
  80. package/dist/chunks/{model-retry-ayrf2aj2.js → bus-828gze2h.js} +18 -18
  81. package/dist/chunks/{model-retry-3j5fsnm8.js → bus-8314gx8s.js} +67 -67
  82. package/dist/chunks/{model-retry-cxnqxqrv.js → bus-878x64va.js} +85 -85
  83. package/dist/chunks/{model-retry-hhmywts7.js → bus-87bd8ecw.js} +8 -8
  84. package/dist/chunks/{model-retry-z1n0gzr1.js → bus-8czeycrx.js} +12 -12
  85. package/dist/chunks/{model-retry-1v37p8m9.js → bus-8dg1xc6q.js} +3 -3
  86. package/dist/chunks/{model-retry-x1q34xva.js → bus-8dh0vs4v.js} +2 -2
  87. package/dist/chunks/{model-retry-xj5efqxa.js → bus-8fwy8ndr.js} +8 -8
  88. package/dist/chunks/{model-retry-w92g60gw.js → bus-8k2rgs9p.js} +21 -21
  89. package/dist/chunks/{model-retry-y6haqydp.js → bus-8mgvafr1.js} +5 -5
  90. package/dist/chunks/{model-retry-b5sxz6p8.js → bus-8sz8b50m.js} +4 -4
  91. package/dist/chunks/{model-retry-1cmbb7v6.js → bus-8tgysywa.js} +35 -35
  92. package/dist/chunks/{model-retry-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
  93. package/dist/chunks/{model-retry-pkyxh230.js → bus-8xq71q48.js} +2 -2
  94. package/dist/chunks/{model-retry-91rj84md.js → bus-91rj84md.js} +1 -1
  95. package/dist/chunks/{model-retry-0ht9hdz1.js → bus-92kck2y6.js} +17 -17
  96. package/dist/chunks/{model-retry-3qxfjpzy.js → bus-938aw1cc.js} +24 -24
  97. package/dist/chunks/{model-retry-g211t61s.js → bus-944chywr.js} +1 -1
  98. package/dist/chunks/{model-retry-dvj9ct8m.js → bus-998yhzzq.js} +3 -3
  99. package/dist/chunks/{model-retry-szchc02d.js → bus-9bhv2far.js} +8 -8
  100. package/dist/chunks/{model-retry-fwhyb0gq.js → bus-9ewhr0ht.js} +16 -16
  101. package/dist/chunks/{model-retry-xynhjj0h.js → bus-9n059q0a.js} +15 -15
  102. package/dist/chunks/{model-retry-zd3qvcwp.js → bus-9n0km4x2.js} +11 -11
  103. package/dist/chunks/{model-retry-0xhfrmwt.js → bus-9qx86p98.js} +23 -23
  104. package/dist/chunks/{model-retry-p79cjfbn.js → bus-9s68rp0p.js} +19 -19
  105. package/dist/chunks/{model-retry-nhe1yga1.js → bus-a93vqh6w.js} +21 -21
  106. package/dist/chunks/{model-retry-73rh2vq1.js → bus-acb1b57m.js} +22 -22
  107. package/dist/chunks/{model-retry-e3fssm85.js → bus-aemg0w6p.js} +17 -17
  108. package/dist/chunks/{model-retry-hdfrs5mg.js → bus-af0k6e03.js} +9 -9
  109. package/dist/chunks/{model-retry-36qx82yz.js → bus-agqd6nxz.js} +2 -2
  110. package/dist/chunks/{model-retry-5h6jm490.js → bus-akqrtxca.js} +9 -9
  111. package/dist/chunks/{model-retry-tvf154dx.js → bus-an9c9kb2.js} +12 -12
  112. package/dist/chunks/{model-retry-3cbjf1nt.js → bus-ayjs7tqn.js} +2 -2
  113. package/dist/chunks/{model-retry-vhqwr51r.js → bus-az9wb5vh.js} +11 -11
  114. package/dist/chunks/{model-retry-j9gz35am.js → bus-b0bk1qcn.js} +20 -20
  115. package/dist/chunks/{model-retry-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
  116. package/dist/chunks/{model-retry-kzhqem7y.js → bus-b6a9raah.js} +27 -27
  117. package/dist/chunks/{model-retry-5nnwax6m.js → bus-b6vsg801.js} +5 -5
  118. package/dist/chunks/{model-retry-bstexjd6.js → bus-bstexjd6.js} +1 -1
  119. package/dist/chunks/{model-retry-z7ttk5hb.js → bus-bxet2tb6.js} +5 -5
  120. package/dist/chunks/{model-retry-qqg9c0kv.js → bus-c6x7d2ts.js} +4 -4
  121. package/dist/chunks/{model-retry-cnhc66rt.js → bus-c75w93q9.js} +42 -42
  122. package/dist/chunks/{model-retry-7xj3j87d.js → bus-cb2ed4nn.js} +24 -24
  123. package/dist/chunks/{model-retry-t08j0hgd.js → bus-cfbvvs1c.js} +12 -12
  124. package/dist/chunks/{model-retry-vewr63hq.js → bus-cg98qzes.js} +25 -25
  125. package/dist/chunks/{model-retry-mykzpx85.js → bus-ck5p2rrt.js} +6 -6
  126. package/dist/chunks/{model-retry-x6w9baef.js → bus-cmqmfdz6.js} +19 -19
  127. package/dist/chunks/{model-retry-7yj2t834.js → bus-cw3xprgn.js} +21 -21
  128. package/dist/chunks/{model-retry-r621r93h.js → bus-d2r03a97.js} +3 -3
  129. package/dist/chunks/{model-retry-a7hcemwv.js → bus-d390zwf3.js} +11 -11
  130. package/dist/chunks/{model-retry-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
  131. package/dist/chunks/{model-retry-g4hhz492.js → bus-d7ke2zsv.js} +35 -35
  132. package/dist/chunks/{model-retry-e4159ryx.js → bus-dbx6pzfq.js} +8 -8
  133. package/dist/chunks/{model-retry-6g7mppbr.js → bus-djxd8yth.js} +9 -9
  134. package/dist/chunks/{model-retry-m5vt6my1.js → bus-ds7crdch.js} +4 -4
  135. package/dist/chunks/{model-retry-3njs8ewd.js → bus-dt400r1m.js} +5 -5
  136. package/dist/chunks/{model-retry-d2p1wmw4.js → bus-dwasj5q9.js} +1 -1
  137. package/dist/chunks/{model-retry-k60f6tvy.js → bus-dyjhv7x6.js} +22 -22
  138. package/dist/chunks/{model-retry-z9x3jvcw.js → bus-e1ebsv1y.js} +10 -10
  139. package/dist/chunks/{model-retry-5qd3pb7m.js → bus-e3qxr5gk.js} +2 -2
  140. package/dist/chunks/{model-retry-jneg3k74.js → bus-e5dqjz6v.js} +4 -4
  141. package/dist/chunks/{model-retry-pr8acd8t.js → bus-e5qvdp4b.js} +36 -36
  142. package/dist/chunks/{model-retry-z1ydadez.js → bus-e76r8gh4.js} +9 -9
  143. package/dist/chunks/{model-retry-e834z07m.js → bus-e834z07m.js} +1 -1
  144. package/dist/chunks/{model-retry-wrhwm553.js → bus-ehpc9aq8.js} +20 -20
  145. package/dist/chunks/{model-retry-17tax46a.js → bus-era634b9.js} +16 -16
  146. package/dist/chunks/{model-retry-yk4w5znd.js → bus-evk4ejbw.js} +10 -10
  147. package/dist/chunks/{model-retry-q44gb8fn.js → bus-evxg6w44.js} +46 -46
  148. package/dist/chunks/{model-retry-hhnqmbew.js → bus-f026ckt4.js} +175 -175
  149. package/dist/chunks/{model-retry-gs55zvzx.js → bus-f29p2v8h.js} +28 -28
  150. package/dist/chunks/{model-retry-8tm9bnq5.js → bus-f2e2a0hz.js} +11 -11
  151. package/dist/chunks/{model-retry-7zhd4cey.js → bus-fbeje3j4.js} +10 -10
  152. package/dist/chunks/{model-retry-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{model-retry-j8e92swm.js → bus-fj5cqmpq.js} +41 -41
  154. package/dist/chunks/{model-retry-z18nf20h.js → bus-frvfbmdp.js} +9 -9
  155. package/dist/chunks/{model-retry-e207k1f0.js → bus-fya0vmjt.js} +10 -10
  156. package/dist/chunks/{model-retry-sn0f3s8q.js → bus-g1tbcgaf.js} +15 -15
  157. package/dist/chunks/{model-retry-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
  158. package/dist/chunks/{model-retry-sp6zazaz.js → bus-gq5fh3wz.js} +20 -20
  159. package/dist/chunks/{model-retry-3rc6xfjm.js → bus-gs8m0426.js} +10 -10
  160. package/dist/chunks/{model-retry-nm0eb3mq.js → bus-gyz363jb.js} +20 -20
  161. package/dist/chunks/{model-retry-67q20rmp.js → bus-h7qqxn3z.js} +5 -5
  162. package/dist/chunks/{model-retry-9nn8g4z9.js → bus-h8vhq97h.js} +21 -21
  163. package/dist/chunks/{model-retry-y7qvxgn7.js → bus-hew6naq5.js} +11 -11
  164. package/dist/chunks/{model-retry-hgyk1m6z.js → bus-hj7n8j55.js} +3 -3
  165. package/dist/chunks/{model-retry-8krtskbq.js → bus-hxbrq7ky.js} +15 -15
  166. package/dist/chunks/{model-retry-pkv4aqak.js → bus-hyqz6d44.js} +8 -8
  167. package/dist/chunks/{model-retry-msz72xyj.js → bus-j01hj8py.js} +2 -2
  168. package/dist/chunks/{model-retry-j113cymg.js → bus-j113cymg.js} +1 -1
  169. package/dist/chunks/{model-retry-shbma2nf.js → bus-j7naznmb.js} +15 -15
  170. package/dist/chunks/{model-retry-wyzx5psy.js → bus-jbp3fq04.js} +14 -14
  171. package/dist/chunks/{model-retry-r2r52ss0.js → bus-jmwryt6t.js} +8 -8
  172. package/dist/chunks/{model-retry-xrc3640n.js → bus-jphwvgs8.js} +8 -8
  173. package/dist/chunks/{model-retry-cyyydscs.js → bus-jsfyz6c7.js} +24 -24
  174. package/dist/chunks/{model-retry-hwdnhv43.js → bus-k2abm4dq.js} +30 -30
  175. package/dist/chunks/{model-retry-6nwz34t5.js → bus-k7dpec9v.js} +14 -14
  176. package/dist/chunks/{model-retry-k814nvkf.js → bus-k814nvkf.js} +1 -1
  177. package/dist/chunks/{model-retry-456hh3yw.js → bus-ka01146j.js} +6 -6
  178. package/dist/chunks/{model-retry-n2crsrfc.js → bus-kasrxtf2.js} +32 -32
  179. package/dist/chunks/{model-retry-2kw25s9z.js → bus-kd5rhgxk.js} +10 -10
  180. package/dist/chunks/bus-kf47bq4t.js +517 -0
  181. package/dist/chunks/{model-retry-kgmyqp0y.js → bus-kjh8rrq6.js} +4 -4
  182. package/dist/chunks/{model-retry-10jcw8d8.js → bus-ksrgejfs.js} +27 -27
  183. package/dist/chunks/{model-retry-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{model-retry-9vfx6p45.js → bus-kwxbdf35.js} +36 -36
  185. package/dist/chunks/{model-retry-m1714858.js → bus-m1714858.js} +1 -1
  186. package/dist/chunks/{model-retry-vmfhgzt5.js → bus-m37sd98t.js} +4 -4
  187. package/dist/chunks/{model-retry-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{model-retry-maspj1v3.js → bus-maspj1v3.js} +1 -1
  189. package/dist/chunks/{model-retry-jm1rj8kh.js → bus-mef2v0hb.js} +42 -42
  190. package/dist/chunks/{model-retry-c361hsxc.js → bus-mjftkp2a.js} +25 -25
  191. package/dist/chunks/{model-retry-kqerj9ke.js → bus-mkcsh4cz.js} +9 -9
  192. package/dist/chunks/{model-retry-xxbj3jbs.js → bus-mkdbjcmh.js} +4 -4
  193. package/dist/chunks/{model-retry-9t2bhtr4.js → bus-mkzms3ra.js} +13 -13
  194. package/dist/chunks/{model-retry-100payr0.js → bus-mzhk1ssh.js} +12 -12
  195. package/dist/chunks/{model-retry-n0p0277s.js → bus-n0p0277s.js} +1 -1
  196. package/dist/chunks/{model-retry-nkr11kdx.js → bus-n2gw1p1h.js} +22 -22
  197. package/dist/chunks/{model-retry-37sdb7g6.js → bus-n6mnvtfa.js} +26 -26
  198. package/dist/chunks/{model-retry-4nff539t.js → bus-n8mjpvcm.js} +43 -43
  199. package/dist/chunks/{model-retry-n9p72mjb.js → bus-n9p72mjb.js} +2 -2
  200. package/dist/chunks/{model-retry-nah043kf.js → bus-nah043kf.js} +1 -1
  201. package/dist/chunks/{model-retry-nhqzsk2y.js → bus-nb9f99as.js} +17 -17
  202. package/dist/chunks/{model-retry-72at9y79.js → bus-nex2766x.js} +15 -15
  203. package/dist/chunks/{model-retry-yw1ck7zb.js → bus-njsc6rzh.js} +8 -8
  204. package/dist/chunks/{model-retry-2emwncdy.js → bus-ny95kkac.js} +29 -29
  205. package/dist/chunks/{model-retry-pes7pnh1.js → bus-nym9wyb3.js} +6 -6
  206. package/dist/chunks/{model-retry-5snh3nsf.js → bus-nypgcgf3.js} +53 -53
  207. package/dist/chunks/{model-retry-p015t6z3.js → bus-p015t6z3.js} +2 -2
  208. package/dist/chunks/{model-retry-9hn5wjvr.js → bus-p4stbfde.js} +23 -23
  209. package/dist/chunks/bus-paz7j9b8.js +261 -0
  210. package/dist/chunks/{model-retry-ajxt18t2.js → bus-petq1ecb.js} +10 -10
  211. package/dist/chunks/{model-retry-72anbrp0.js → bus-pf3djhp1.js} +32 -32
  212. package/dist/chunks/{model-retry-tf6tm6wa.js → bus-phgcvxz9.js} +11 -11
  213. package/dist/chunks/{model-retry-ycqv3yh7.js → bus-phpbvyrj.js} +18 -18
  214. package/dist/chunks/{model-retry-pknna89w.js → bus-pknna89w.js} +1 -1
  215. package/dist/chunks/{model-retry-ykrn0qsh.js → bus-pnwjjc01.js} +14 -14
  216. package/dist/chunks/{model-retry-0jvkxj1w.js → bus-prkpw7v5.js} +16 -16
  217. package/dist/chunks/{model-retry-xhywq8xw.js → bus-pxj2herr.js} +19 -19
  218. package/dist/chunks/{model-retry-8kw3wj8m.js → bus-pzdmxvfw.js} +40 -40
  219. package/dist/chunks/{model-retry-zjxxcmzt.js → bus-q2w5xen3.js} +10 -10
  220. package/dist/chunks/{model-retry-4tpkt9ke.js → bus-q9jq76k6.js} +19 -19
  221. package/dist/chunks/{model-retry-v0yxjjsz.js → bus-qbhbqa7t.js} +52 -52
  222. package/dist/chunks/{model-retry-mya9fhc3.js → bus-qd8axg02.js} +15 -15
  223. package/dist/chunks/{model-retry-qjgzc4b4.js → bus-qjgzc4b4.js} +1 -1
  224. package/dist/chunks/{model-retry-hqdkncv9.js → bus-qygd4nc5.js} +8 -8
  225. package/dist/chunks/{model-retry-hks9h3jz.js → bus-qzw8kg5z.js} +26 -26
  226. package/dist/chunks/{model-retry-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
  227. package/dist/chunks/{model-retry-r542h3bh.js → bus-r542h3bh.js} +1 -1
  228. package/dist/chunks/{model-retry-67szgq6z.js → bus-r8hpns5j.js} +13 -13
  229. package/dist/chunks/{model-retry-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
  230. package/dist/chunks/{model-retry-gjzc59g1.js → bus-rgwqxpz0.js} +21 -21
  231. package/dist/chunks/{model-retry-856d8532.js → bus-rmwg6517.js} +20 -20
  232. package/dist/chunks/{model-retry-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
  233. package/dist/chunks/{model-retry-5j9j26xw.js → bus-s78fym6c.js} +11 -11
  234. package/dist/chunks/{model-retry-qfdd46e5.js → bus-s7cwnsdq.js} +51 -51
  235. package/dist/chunks/{model-retry-125y49va.js → bus-s9f1b4gk.js} +11 -11
  236. package/dist/chunks/{model-retry-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
  237. package/dist/chunks/{model-retry-qzbrb55n.js → bus-skdc7twy.js} +26 -26
  238. package/dist/chunks/{model-retry-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
  239. package/dist/chunks/{model-retry-b1pn0vxn.js → bus-ssfehs1z.js} +4 -4
  240. package/dist/chunks/{model-retry-w59prh0j.js → bus-sy8wf0bt.js} +20 -20
  241. package/dist/chunks/{model-retry-sm74gnkv.js → bus-syn3ds3q.js} +14 -14
  242. package/dist/chunks/{model-retry-3vdwfrk9.js → bus-t0w4g24n.js} +5 -5
  243. package/dist/chunks/{model-retry-q9xwq0xc.js → bus-t3z4fh6a.js} +11 -11
  244. package/dist/chunks/{model-retry-a5pdx5y6.js → bus-ta7bxye8.js} +17 -17
  245. package/dist/chunks/{model-retry-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
  246. package/dist/chunks/{model-retry-d22k01at.js → bus-thj7kx78.js} +7 -7
  247. package/dist/chunks/{model-retry-xzya39d9.js → bus-tkhnpy0n.js} +11 -11
  248. package/dist/chunks/{model-retry-ng3brtr7.js → bus-trgp8ev6.js} +21 -21
  249. package/dist/chunks/{model-retry-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
  250. package/dist/chunks/{model-retry-faa8s968.js → bus-tz3qh6bj.js} +1 -1
  251. package/dist/chunks/{model-retry-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{model-retry-z08m45c2.js → bus-v6a3varz.js} +23 -23
  253. package/dist/chunks/{model-retry-h5yq12sk.js → bus-vb1053xg.js} +5 -5
  254. package/dist/chunks/{model-retry-vd3b3yk9.js → bus-vd3b3yk9.js} +1 -1
  255. package/dist/chunks/{model-retry-vrsa97jg.js → bus-vdsw612c.js} +24 -24
  256. package/dist/chunks/{model-retry-veqvce7d.js → bus-veqvce7d.js} +1 -1
  257. package/dist/chunks/{model-retry-44kmfwta.js → bus-vjtwvj7e.js} +16 -16
  258. package/dist/chunks/{model-retry-j2pd7159.js → bus-vqjdwf3w.js} +17 -17
  259. package/dist/chunks/{model-retry-xsact9zs.js → bus-vsnnaxjq.js} +4 -4
  260. package/dist/chunks/{model-retry-7r0r50e5.js → bus-vxp3kcg3.js} +5 -5
  261. package/dist/chunks/{model-retry-w2eysc6j.js → bus-w2eysc6j.js} +2 -2
  262. package/dist/chunks/{model-retry-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{model-retry-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{model-retry-wd87259q.js → bus-wd87259q.js} +1 -1
  265. package/dist/chunks/{model-retry-61g7nd3s.js → bus-wdv0vama.js} +10 -10
  266. package/dist/chunks/{model-retry-y6s9gp4k.js → bus-wfcfzn3b.js} +28 -28
  267. package/dist/chunks/{model-retry-3m5yrge5.js → bus-wqn1yeqd.js} +9 -9
  268. package/dist/chunks/{model-retry-fznmdakp.js → bus-wr3re1en.js} +4 -4
  269. package/dist/chunks/{model-retry-n82jt8hg.js → bus-x4kknryj.js} +13 -13
  270. package/dist/chunks/{model-retry-s499zzzn.js → bus-xbewfx7c.js} +6 -6
  271. package/dist/chunks/{model-retry-06vpm9gp.js → bus-xdz0a60a.js} +5 -5
  272. package/dist/chunks/{model-retry-xkfczkpn.js → bus-xkfczkpn.js} +3 -3
  273. package/dist/chunks/{model-retry-hyyhzzxx.js → bus-xvk38nmq.js} +20 -20
  274. package/dist/chunks/{model-retry-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{model-retry-5jzmzpz9.js → bus-ybhwsy6b.js} +39 -39
  276. package/dist/chunks/{model-retry-krw5ejhg.js → bus-ydwpppea.js} +5 -5
  277. package/dist/chunks/{model-retry-8p97zz9p.js → bus-yth42b8q.js} +48 -48
  278. package/dist/chunks/{model-retry-x7ey6qtv.js → bus-yy2jcnkw.js} +4 -4
  279. package/dist/chunks/{model-retry-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-retry-z38nccrw.js → bus-z38nccrw.js} +1 -1
  281. package/dist/chunks/{model-retry-mr3sax3v.js → bus-z3jsq4rh.js} +16 -16
  282. package/dist/chunks/{model-retry-zhbxds4j.js → bus-z6w87tzw.js} +16 -16
  283. package/dist/chunks/{model-retry-phzadmh4.js → bus-za8j9kr3.js} +84 -84
  284. package/dist/chunks/{model-retry-my4zabxr.js → bus-zb5gs1ba.js} +3 -3
  285. package/dist/chunks/{model-retry-zgphpnk4.js → bus-zgctp3t4.js} +5 -5
  286. package/dist/chunks/{model-retry-zwnm9ync.js → bus-zj8y7a4j.js} +4 -4
  287. package/dist/chunks/{model-retry-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{model-retry-99y4khf1.js → bus-ztjhcqny.js} +34 -34
  289. package/dist/chunks/{model-retry-xc7j2c4d.js → bus-zysm0ng8.js} +15 -15
  290. package/dist/chunks/{model-retry-bjhzkqyk.js → bus-zzdv5d93.js} +4 -4
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +87 -87
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +104 -104
  299. package/dist/config/plugin/agent.js +118 -118
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +157 -157
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +119 -119
  305. package/dist/config/plugin/image.js +118 -118
  306. package/dist/config/plugin/instruction.js +118 -118
  307. package/dist/config/plugin/location-watcher.js +118 -118
  308. package/dist/config/plugin/mcp.js +125 -125
  309. package/dist/config/plugin/policy.js +119 -119
  310. package/dist/config/plugin/provider.js +118 -118
  311. package/dist/config/plugin/reference.js +118 -118
  312. package/dist/config/plugin/shell.js +118 -118
  313. package/dist/config/plugin/skill-file.js +107 -107
  314. package/dist/config/plugin/skill-scan.js +1 -1
  315. package/dist/config/plugin/skill.js +138 -138
  316. package/dist/config/plugin/snapshot.js +118 -118
  317. package/dist/config/plugin/source.js +121 -121
  318. package/dist/config/plugin/tool-output.js +119 -119
  319. package/dist/config/plugin/websearch.js +117 -117
  320. package/dist/config/plugin/worktree.js +120 -120
  321. package/dist/config/variable.js +1 -1
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +117 -117
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +87 -87
  327. package/dist/database/database.js +70 -70
  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/20261007190000_azure_cli_external_credential.js +1 -1
  393. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  394. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  395. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  396. package/dist/database/migration.gen.js +53 -53
  397. package/dist/database/migration.js +55 -55
  398. package/dist/database/path.js +2 -2
  399. package/dist/database/schema.gen.js +1 -1
  400. package/dist/database/schema.sql.js +1 -1
  401. package/dist/database/sqlite.bun.js +1 -1
  402. package/dist/database/sqlite.js +1 -1
  403. package/dist/database/sqlite.node.js +1 -1
  404. package/dist/database/sqlite.workerd.js +1 -1
  405. package/dist/database/v1-migration.bun.js +97 -97
  406. package/dist/database/v1-migration.js +1 -1
  407. package/dist/effect/app-node-builder.js +374 -374
  408. package/dist/effect/app-node-platform.js +2 -2
  409. package/dist/effect/keyed-mutex.js +1 -1
  410. package/dist/effect/websocket-constructor.js +1 -1
  411. package/dist/environment/driver.js +1 -1
  412. package/dist/environment/environment.js +98 -98
  413. package/dist/environment/exec-defaults.js +2 -2
  414. package/dist/environment/files.js +1 -1
  415. package/dist/environment/index.js +100 -100
  416. package/dist/environment/local.js +2 -2
  417. package/dist/environment/memory.js +2 -2
  418. package/dist/environment/unavailable.js +3 -3
  419. package/dist/event/sql.js +1 -1
  420. package/dist/event-logger.js +74 -74
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +99 -99
  423. package/dist/file-retention.js +1 -1
  424. package/dist/filesystem/fff.bun.js +2 -2
  425. package/dist/filesystem/fff.js +1 -1
  426. package/dist/filesystem/fff.node.js +2 -2
  427. package/dist/filesystem/fff.workerd.js +2 -2
  428. package/dist/filesystem/location-watcher-policy.js +6 -6
  429. package/dist/filesystem/location-watcher.js +227 -227
  430. package/dist/filesystem/protected.js +1 -1
  431. package/dist/filesystem/search.js +104 -104
  432. package/dist/filesystem/watcher-binding.js +3 -3
  433. package/dist/filesystem/watcher.js +7 -7
  434. package/dist/filesystem.js +109 -109
  435. package/dist/form.js +86 -86
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +92 -92
  438. package/dist/generate.js +112 -112
  439. package/dist/git.js +11 -11
  440. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  441. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  442. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  444. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  446. package/dist/github-copilot/copilot-provider.js +17 -17
  447. package/dist/github-copilot/models.js +104 -104
  448. package/dist/github-copilot/openai-compatible-error.js +1 -1
  449. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  450. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  451. package/dist/github-copilot/responses/openai-error.js +1 -1
  452. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  453. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  454. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  455. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  456. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +365 -365
  463. package/dist/instruction-discovery.js +88 -88
  464. package/dist/instructions/builtins.js +92 -92
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +93 -93
  468. package/dist/job.js +82 -82
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +77 -77
  471. package/dist/location-activity.js +158 -158
  472. package/dist/location-lifecycle.js +112 -112
  473. package/dist/location-service-map.js +91 -91
  474. package/dist/location-services.js +362 -362
  475. package/dist/location.js +94 -94
  476. package/dist/managed-policy.js +8 -8
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +114 -114
  479. package/dist/mcp/instructions.js +141 -141
  480. package/dist/mcp/oauth.js +82 -82
  481. package/dist/mcp/socket-client.js +1 -1
  482. package/dist/mcp/stdio.js +95 -95
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +104 -104
  485. package/dist/model-resolver.js +104 -104
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +101 -101
  488. package/dist/models-dev.js +106 -106
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +86 -86
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +118 -118
  493. package/dist/persistent-pty/binary.bun.js +1 -1
  494. package/dist/persistent-pty/daemon.js +1 -1
  495. package/dist/persistent-pty/index.js +92 -92
  496. package/dist/persistent-pty/pty-binding.js +1 -1
  497. package/dist/persistent-pty.js +79 -79
  498. package/dist/plugin/agent.js +78 -78
  499. package/dist/plugin/command.js +105 -105
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +220 -220
  502. package/dist/plugin/identity.js +5 -5
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +335 -335
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +101 -101
  507. package/dist/plugin/module.js +119 -119
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +107 -107
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  512. package/dist/plugin/provider/azure.js +118 -118
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/chatgpt.js +118 -118
  515. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  516. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  517. package/dist/plugin/provider/cohere.js +2 -2
  518. package/dist/plugin/provider/configured.js +114 -114
  519. package/dist/plugin/provider/databricks.js +1 -1
  520. package/dist/plugin/provider/digitalocean.js +98 -98
  521. package/dist/plugin/provider/dynamic.js +2 -2
  522. package/dist/plugin/provider/factory.js +1 -1
  523. package/dist/plugin/provider/github-copilot.js +100 -100
  524. package/dist/plugin/provider/gitlab.js +98 -98
  525. package/dist/plugin/provider/google-vertex.js +115 -115
  526. package/dist/plugin/provider/kilo.js +1 -1
  527. package/dist/plugin/provider/llmgateway.js +82 -82
  528. package/dist/plugin/provider/lmstudio.js +127 -127
  529. package/dist/plugin/provider/local.js +124 -124
  530. package/dist/plugin/provider/modal.js +97 -97
  531. package/dist/plugin/provider/neon.js +1 -1
  532. package/dist/plugin/provider/nvidia.js +1 -1
  533. package/dist/plugin/provider/ollama.js +127 -127
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +118 -118
  536. package/dist/plugin/provider/opencode.js +104 -104
  537. package/dist/plugin/provider/openrouter.js +96 -96
  538. package/dist/plugin/provider/perplexity.js +2 -2
  539. package/dist/plugin/provider/poe.js +83 -83
  540. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  541. package/dist/plugin/provider/sap-ai-core.js +96 -96
  542. package/dist/plugin/provider/sdk-factory.js +1 -1
  543. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  544. package/dist/plugin/provider/vercel.js +95 -95
  545. package/dist/plugin/provider/vllm.js +127 -127
  546. package/dist/plugin/provider/xai.js +96 -96
  547. package/dist/plugin/provider/zenmux.js +1 -1
  548. package/dist/plugin/provider.js +171 -171
  549. package/dist/plugin/sdk.js +78 -78
  550. package/dist/plugin/service.js +3 -3
  551. package/dist/plugin/skill.js +134 -134
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +354 -354
  554. package/dist/plugin/tool-input-repair.js +4 -4
  555. package/dist/plugin/update.js +6 -6
  556. package/dist/plugin/vcs/git.js +91 -91
  557. package/dist/plugin/vcs/hg.js +91 -91
  558. package/dist/plugin/verbosity.js +96 -96
  559. package/dist/plugin/warming.js +116 -116
  560. package/dist/plugin/websearch/exa.js +5 -5
  561. package/dist/plugin/websearch/firecrawl.js +6 -6
  562. package/dist/plugin/websearch/index.js +9 -9
  563. package/dist/plugin/websearch/mcp.js +2 -2
  564. package/dist/plugin/websearch/parallel.js +8 -8
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +8 -8
  567. package/dist/plugin.js +227 -227
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +95 -95
  571. package/dist/provider.js +100 -100
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +93 -93
  575. package/dist/reference/instructions.js +92 -92
  576. package/dist/reference.js +94 -94
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +1 -1
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +100 -100
  581. package/dist/rpc.js +91 -91
  582. package/dist/schema.js +1 -1
  583. package/dist/session/affinity.js +3 -3
  584. package/dist/session/command.js +78 -78
  585. package/dist/session/compaction.js +139 -139
  586. package/dist/session/context.js +167 -167
  587. package/dist/session/diff.js +93 -93
  588. package/dist/session/environment.js +5 -5
  589. package/dist/session/error.js +3 -3
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +223 -223
  592. package/dist/session/execution.js +131 -131
  593. package/dist/session/generate.js +169 -169
  594. package/dist/session/history.js +15 -15
  595. package/dist/session/inbox.js +97 -97
  596. package/dist/session/info.js +3 -3
  597. package/dist/session/instruction-entry.js +79 -79
  598. package/dist/session/instruction-state.js +8 -8
  599. package/dist/session/instructions.js +102 -102
  600. package/dist/session/message-updater.js +4 -4
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +123 -123
  603. package/dist/session/model-transport.js +5 -5
  604. package/dist/session/move.js +135 -135
  605. package/dist/session/projector.js +93 -93
  606. package/dist/session/prompt.js +110 -110
  607. package/dist/session/recent-text.js +1 -1
  608. package/dist/session/revert.js +99 -99
  609. package/dist/session/run-coordinator.js +3 -3
  610. package/dist/session/runner/index.js +3 -3
  611. package/dist/session/runner/llm.js +233 -233
  612. package/dist/session/runner/max-steps.js +1 -1
  613. package/dist/session/runner/model.js +105 -105
  614. package/dist/session/runner/publish-llm-event.js +118 -118
  615. package/dist/session/runner/retry.js +5 -5
  616. package/dist/session/runner/step.js +131 -131
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +5 -5
  619. package/dist/session/session.js +167 -167
  620. package/dist/session/shell.js +132 -132
  621. package/dist/session/skill.js +110 -110
  622. package/dist/session/sql.js +5 -5
  623. package/dist/session/stats.js +77 -77
  624. package/dist/session/store.js +89 -89
  625. package/dist/session/subagent-completion.js +1 -1
  626. package/dist/session/subagent-job.js +214 -214
  627. package/dist/session/system-prompt.js +3 -3
  628. package/dist/session/title.js +171 -171
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +219 -219
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +216 -216
  633. package/dist/shell/parse.js +6 -6
  634. package/dist/shell/result.js +1 -1
  635. package/dist/shell/scan.js +1 -1
  636. package/dist/shell/select.js +11 -11
  637. package/dist/shell.js +134 -134
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +112 -112
  640. package/dist/skill.js +117 -117
  641. package/dist/snapshot.js +94 -94
  642. package/dist/state.js +1 -1
  643. package/dist/tool/html-markdown.js +1 -1
  644. package/dist/tool/http-body.js +1 -1
  645. package/dist/tool/mcp.js +142 -142
  646. package/dist/tool/plugin/edit.js +125 -125
  647. package/dist/tool/plugin/file-diff.js +1 -1
  648. package/dist/tool/plugin/glob.js +129 -129
  649. package/dist/tool/plugin/grep.js +129 -129
  650. package/dist/tool/plugin/mcp-resource.js +127 -127
  651. package/dist/tool/plugin/opencode.js +114 -114
  652. package/dist/tool/plugin/patch.js +127 -127
  653. package/dist/tool/plugin/question.js +110 -110
  654. package/dist/tool/plugin/read.js +126 -126
  655. package/dist/tool/plugin/shell.js +217 -217
  656. package/dist/tool/plugin/skill.js +114 -114
  657. package/dist/tool/plugin/subagent.js +219 -219
  658. package/dist/tool/plugin/todo.js +138 -138
  659. package/dist/tool/plugin/webfetch.js +116 -116
  660. package/dist/tool/plugin/websearch.js +117 -117
  661. package/dist/tool/plugin/write.js +117 -117
  662. package/dist/tool/read-filesystem.js +107 -107
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +16 -16
  666. package/dist/usage-limits.js +93 -93
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/git-executable.js +3 -3
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +7 -7
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/mcp.js +2 -2
  677. package/dist/v1/config/migrate.js +97 -97
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +98 -98
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +94 -94
  685. package/dist/voice.js +90 -90
  686. package/dist/websearch.js +88 -88
  687. package/dist/wellknown/plugin.js +80 -80
  688. package/dist/wellknown.js +85 -85
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +86 -86
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +11 -11
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +94 -94
  696. package/dist/worktree.js +103 -103
  697. package/package.json +8 -8
  698. package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
  699. package/dist/chunks/model-retry-4eh702yp.js +0 -261
  700. package/dist/chunks/model-retry-gnv5jhj2.js +0 -517
  701. package/dist/chunks/model-retry-zd4c8dy4.js +0 -26
  702. /package/dist/chunks/{model-retry-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{model-retry-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{model-retry-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{model-retry-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{model-retry-24dcb14g.js → bus-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{model-retry-2710q6r3.js → bus-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{model-retry-2bv980vf.js → bus-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{model-retry-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{model-retry-359p4xyc.js → bus-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{model-retry-3asan66x.js → bus-3asan66x.js} +0 -0
  712. /package/dist/chunks/{model-retry-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{model-retry-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{model-retry-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{model-retry-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{model-retry-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{model-retry-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{model-retry-53557ph1.js → bus-53557ph1.js} +0 -0
  719. /package/dist/chunks/{model-retry-550bvhaj.js → bus-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{model-retry-6prwharc.js → bus-6prwharc.js} +0 -0
  721. /package/dist/chunks/{model-retry-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{model-retry-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{model-retry-7m9af43g.js → bus-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{model-retry-822emrt2.js → bus-822emrt2.js} +0 -0
  725. /package/dist/chunks/{model-retry-84wd9syh.js → bus-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{model-retry-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{model-retry-8n3pysct.js → bus-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{model-retry-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{model-retry-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{model-retry-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{model-retry-a058387c.js → bus-a058387c.js} +0 -0
  732. /package/dist/chunks/{model-retry-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{model-retry-af5trqkr.js → bus-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{model-retry-afrmfg78.js → bus-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{model-retry-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{model-retry-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{model-retry-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{model-retry-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{model-retry-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{model-retry-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
  741. /package/dist/chunks/{model-retry-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{model-retry-d9fn303g.js → bus-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{model-retry-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{model-retry-dajrwvna.js → bus-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{model-retry-dap0rakb.js → bus-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{model-retry-df08tz66.js → bus-df08tz66.js} +0 -0
  747. /package/dist/chunks/{model-retry-dy18nga0.js → bus-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{model-retry-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{model-retry-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{model-retry-ec1grn59.js → bus-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{model-retry-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{model-retry-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{model-retry-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{model-retry-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{model-retry-faypxj3z.js → bus-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{model-retry-fd410y7t.js → bus-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{model-retry-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{model-retry-g86h250q.js → bus-g86h250q.js} +0 -0
  759. /package/dist/chunks/{model-retry-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{model-retry-gftt206x.js → bus-gftt206x.js} +0 -0
  761. /package/dist/chunks/{model-retry-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{model-retry-hk9envan.js → bus-hk9envan.js} +0 -0
  763. /package/dist/chunks/{model-retry-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{model-retry-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{model-retry-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{model-retry-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{model-retry-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{model-retry-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
  769. /package/dist/chunks/{model-retry-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
  770. /package/dist/chunks/{model-retry-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{model-retry-m18g726c.js → bus-m18g726c.js} +0 -0
  772. /package/dist/chunks/{model-retry-mp448xyj.js → bus-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{model-retry-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{model-retry-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{model-retry-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{model-retry-njntx4h6.js → bus-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{model-retry-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
  778. /package/dist/chunks/{model-retry-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{model-retry-q74kybfr.js → bus-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{model-retry-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{model-retry-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{model-retry-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{model-retry-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{model-retry-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{model-retry-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{model-retry-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{model-retry-sjmm3wxa.js → bus-sjmm3wxa.js} +0 -0
  788. /package/dist/chunks/{model-retry-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{model-retry-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{model-retry-w803qqfp.js → bus-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{model-retry-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{model-retry-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{model-retry-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{model-retry-wtztk69x.js → bus-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{model-retry-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{model-retry-x61499pn.js → bus-x61499pn.js} +0 -0
  797. /package/dist/chunks/{model-retry-y44na4kk.js → bus-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{model-retry-y8f7s663.js → bus-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{model-retry-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{model-retry-ym463w8f.js → bus-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{model-retry-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{model-retry-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./model-retry-hks9h3jz.js";
4
+ } from "./bus-qzw8kg5z.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
- Info21,
8
+ Info22,
9
9
  compatibility2
10
- } from "./model-retry-ng3brtr7.js";
10
+ } from "./bus-trgp8ev6.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -94,8 +94,8 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info21.make({
98
- ...Info21.default(providerID, id),
97
+ return Info22.make({
98
+ ...Info22.default(providerID, id),
99
99
  id,
100
100
  modelID: ID12.make(remote.id),
101
101
  providerID,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./model-retry-sjmm3wxa.js";
7
+ } from "./bus-sjmm3wxa.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./model-retry-xkfczkpn.js";
11
+ } from "./bus-xkfczkpn.js";
12
12
  import {
13
13
  create3
14
- } from "./model-retry-vd3b3yk9.js";
14
+ } from "./bus-vd3b3yk9.js";
15
15
  import {
16
- Service49,
17
- node54
18
- } from "./model-retry-5h6jm490.js";
16
+ Service52,
17
+ node55
18
+ } from "./bus-akqrtxca.js";
19
19
  import {
20
- Service76,
21
- node80
22
- } from "./model-retry-v6h5bgwd.js";
20
+ Service73,
21
+ node77
22
+ } from "./bus-31wms35x.js";
23
23
  import {
24
24
  match2
25
- } from "./model-retry-z38nccrw.js";
25
+ } from "./bus-z38nccrw.js";
26
26
  import {
27
27
  __export
28
- } from "./model-retry-9rqn6x4v.js";
28
+ } from "./bus-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
35
- Error: () => Error5,
34
+ Content: () => Content2,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service48,
38
+ Service: () => Service43,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node53
41
+ node: () => node46
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service48 extends Context.Service()("@opencode/Tool") {
54
+ class Service43 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service48, Effect.gen(function* () {
57
- const hooks = yield* Service76;
58
- const image = yield* Service49;
56
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
57
+ const hooks = yield* Service73;
58
+ const image = yield* Service52;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service48.of({
187
+ return Service43.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node53 = makeLocationNode({
277
- service: Service48,
276
+ var node46 = makeLocationNode({
277
+ service: Service43,
278
278
  layer,
279
- deps: [node80, node54]
279
+ deps: [node77, node55]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service48, node53, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service43, node46, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin44
9
+ Plugin: () => Plugin46
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin44 = define({
16
+ var Plugin46 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin44 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin44, exports_mcp_codemode_defaults };
41
+ export { Plugin46, exports_mcp_codemode_defaults };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-retry-88xbtdfr.js";
3
+ } from "./bus-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./model-retry-5qd3pb7m.js";
5
+ load5
6
+ } from "./bus-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service69,
15
+ Service: () => Service75,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
18
  configured: () => configured11,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
20
  layer: () => layer27,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node73,
22
+ node: () => node79,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load4());
34
+ return createWrapper(load5());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service69 extends Context.Service()("@opencode/Watcher") {
52
+ class Service75 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer27 = (options) => Layer.effect(Service69, Effect.gen(function* () {
57
+ var layer27 = (options) => Layer.effect(Service75, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service75.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer27 = (options) => Layer.effect(Service69, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service69.of({ subscribe });
100
+ return Service75.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -123,7 +123,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
123
123
  });
124
124
  const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service69).subscribe,
126
+ subscribe: Context.get(context, Service75).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service75, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -157,9 +157,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
159
  function configured11(options) {
160
- return makeGlobalNode({ service: Service69, layer: layer27(options), deps: [nativeNode] });
160
+ return makeGlobalNode({ service: Service75, layer: layer27(options), deps: [nativeNode] });
161
161
  }
162
- var node73 = configured11();
162
+ var node79 = configured11();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service69, Test3, layer27, testLayer3, nativeLayer2, configured11, node73, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service75, Test3, layer27, testLayer3, nativeLayer2, configured11, node79, exports_watcher };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service87
3
- } from "./model-retry-hgyk1m6z.js";
3
+ } from "./bus-hj7n8j55.js";
4
4
  import {
5
5
  Service86
6
- } from "./model-retry-b5sxz6p8.js";
6
+ } from "./bus-8sz8b50m.js";
7
7
  import {
8
- Service53
9
- } from "./model-retry-456hh3yw.js";
8
+ Service57
9
+ } from "./bus-ka01146j.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./model-retry-z5v4ffb3.js";
12
+ } from "./bus-z5v4ffb3.js";
13
13
  import {
14
- Service41
15
- } from "./model-retry-2emwncdy.js";
14
+ Service47
15
+ } from "./bus-ny95kkac.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./model-retry-ec1grn59.js";
18
+ } from "./bus-ec1grn59.js";
19
19
  import {
20
20
  MessageNotFoundError2
21
- } from "./model-retry-qnm4ee5f.js";
21
+ } from "./bus-21pdxbx2.js";
22
22
  import {
23
23
  SessionMessageTable2
24
- } from "./model-retry-dvj9ct8m.js";
24
+ } from "./bus-998yhzzq.js";
25
25
  import {
26
26
  decodeMessageRowSync2
27
- } from "./model-retry-3rc6xfjm.js";
27
+ } from "./bus-gs8m0426.js";
28
28
  import {
29
29
  __export
30
- } from "./model-retry-9rqn6x4v.js";
30
+ } from "./bus-9rqn6x4v.js";
31
31
 
32
32
  // src/session/revert.ts
33
33
  var exports_revert = {};
@@ -40,11 +40,11 @@ __export(exports_revert, {
40
40
  import { and, asc, eq, gt } from "drizzle-orm";
41
41
  import { Effect } from "effect";
42
42
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
43
- const instances = yield* Service53;
43
+ const instances = yield* Service57;
44
44
  const database = yield* Service87;
45
45
  const bus = yield* Service86;
46
46
  return yield* Effect.gen(function* () {
47
- const snapshot = yield* Service41;
47
+ const snapshot = yield* Service47;
48
48
  const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
49
49
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
50
50
  const restore = new Map;
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
72
72
  }).pipe(instances.provide(input.session));
73
73
  });
74
74
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
75
- const instances = yield* Service53;
75
+ const instances = yield* Service57;
76
76
  const bus = yield* Service86;
77
77
  yield* Effect.gen(function* () {
78
- const snapshot = yield* Service41;
78
+ const snapshot = yield* Service47;
79
79
  if (!session.revert)
80
80
  return;
81
81
  const original = session.revert.snapshot;
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./model-retry-p015t6z3.js";
3
+ } from "./bus-p015t6z3.js";
4
4
  import {
5
- ID14,
6
- Service79,
7
- node83
8
- } from "./model-retry-gs55zvzx.js";
5
+ ID16,
6
+ Service83,
7
+ node87
8
+ } from "./bus-f29p2v8h.js";
9
9
  import {
10
10
  __export
11
- } from "./model-retry-9rqn6x4v.js";
11
+ } from "./bus-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service15,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service18,
18
+ UnavailableError: () => UnavailableError3,
19
19
  Voice: () => exports_voice,
20
20
  layer: () => layer10,
21
- node: () => node17
21
+ node: () => node20
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service15 extends Context.Service()("@opencode/Voice") {
40
+ class Service18 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer10 = Layer.effect(Service15, Effect.gen(function* () {
42
+ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service79;
45
- const findConnection = (provider, methods = ["key"]) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
44
+ const integrations = yield* Service83;
45
+ const findConnection = (provider, methods = ["key"]) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
46
46
  const source = Effect.fnUntraced(function* (engine) {
47
47
  const connection = yield* findConnection(engine.provider);
48
48
  if (connection)
@@ -67,10 +67,10 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
67
67
  if (!engine)
68
68
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
69
69
  const found = yield* source(engine);
70
- const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
70
+ const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
71
71
  const access = found && credential && sessionAccess(found.provider, credential);
72
72
  if (found === undefined || access === undefined)
73
- return yield* new UnavailableError2({
73
+ return yield* new UnavailableError3({
74
74
  service: engine.provider,
75
75
  message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
76
76
  });
@@ -79,14 +79,14 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
79
79
  session: input.session,
80
80
  transport: input.transport,
81
81
  ...access
82
- }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
82
+ }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
83
83
  });
84
- return Service15.of({ models, session });
84
+ return Service18.of({ models, session });
85
85
  }));
86
- var node17 = makeLocationNode({
87
- service: Service15,
86
+ var node20 = makeLocationNode({
87
+ service: Service18,
88
88
  layer: layer10,
89
- deps: [node83, requestExecutor2]
89
+ deps: [node87, requestExecutor2]
90
90
  });
91
91
  var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
92
92
  var sessionAccess = (provider, credential) => {
@@ -108,4 +108,4 @@ var missingKeyMessage = {
108
108
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
109
109
  };
110
110
 
111
- export { InvalidRequestError2, UnavailableError2, Service15, layer10, node17, exports_voice };
111
+ export { InvalidRequestError2, UnavailableError3, Service18, layer10, node20, exports_voice };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-retry-khgyexzf.js";
2
+ Service81,
3
+ node85
4
+ } from "./bus-2d6j2x8s.js";
5
5
  import {
6
6
  __export
7
- } from "./model-retry-9rqn6x4v.js";
7
+ } from "./bus-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info28,
12
+ Info: () => Info24,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref4,
15
- Service: () => Service83,
14
+ Ref: () => Ref3,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node87,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info28, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info24, Ref as Ref3, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service83 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node87 = LayerNode.unbound(Service83, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service83, Effect.gen(function* () {
28
- const project = yield* Service84;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service83.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service83, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service83,
38
+ service: Service80,
39
39
  layer: layer(ref),
40
- deps: [node88]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info28, Ref4, response2, Service83, node87, boundNode2, exports_location };
43
+ export { Info24, Ref3, response2, Service80, node84, boundNode2, exports_location };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service78
4
- } from "./model-retry-hks9h3jz.js";
3
+ Service79
4
+ } from "./bus-qzw8kg5z.js";
5
5
  import {
6
- Service68
7
- } from "./model-retry-5jzmzpz9.js";
6
+ Service74
7
+ } from "./bus-ybhwsy6b.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service78;
12
+ const providers = yield* Service79;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service68);
14
+ const service = yield* Effect.serviceOption(Service74);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./model-retry-msz72xyj.js";
5
+ } from "./bus-j01hj8py.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-retry-6q2bdcd1.js";
3
+ } from "./bus-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";