@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,26 +1,26 @@
1
1
  import {
2
- Service46
3
- } from "./model-retry-cyyydscs.js";
2
+ Service70
3
+ } from "./bus-jsfyz6c7.js";
4
4
  import {
5
- Service45,
5
+ Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./model-retry-9t2bhtr4.js";
8
+ } from "./bus-mkzms3ra.js";
9
9
  import {
10
- Service67
11
- } from "./model-retry-xynhjj0h.js";
10
+ Service14
11
+ } from "./bus-9n059q0a.js";
12
12
  import {
13
- Service72
14
- } from "./model-retry-8p97zz9p.js";
13
+ Service61
14
+ } from "./bus-yth42b8q.js";
15
15
  import {
16
- Service63
17
- } from "./model-retry-ycqv3yh7.js";
16
+ Service13
17
+ } from "./bus-phpbvyrj.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./model-retry-6prwharc.js";
20
+ } from "./bus-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./bus-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
@@ -52,11 +52,11 @@ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file
52
52
  var Plugin2 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service63;
56
- const fileMutation = yield* Service45;
57
- const environment = yield* Service46;
58
- const formatter = yield* Service67;
59
- const permission = yield* Service72;
55
+ const access = yield* Service13;
56
+ const fileMutation = yield* Service15;
57
+ const environment = yield* Service70;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service61;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
61
  name: name2,
62
62
  options: { codemode: false, permission: "edit" },
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./model-retry-f0mxakyp.js";
3
+ } from "./bus-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./model-retry-w3wsvvr9.js";
6
+ } from "./bus-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./model-retry-7bmhse3q.js";
9
+ } from "./bus-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./model-retry-cf4snx6d.js";
12
+ } from "./bus-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./model-retry-822emrt2.js";
15
+ } from "./bus-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./model-retry-wd87259q.js";
18
+ } from "./bus-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./model-retry-m9w0rfyh.js";
21
+ } from "./bus-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-retry-7zhd4cey.js";
3
+ } from "./bus-fbeje3j4.js";
4
4
  import {
5
5
  Service86
6
- } from "./model-retry-b5sxz6p8.js";
6
+ } from "./bus-8sz8b50m.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./model-retry-cxy24jbt.js";
9
+ Event19
10
+ } from "./bus-5p32nay5.js";
11
11
  import {
12
- ID14,
12
+ ID16,
13
13
  MethodID2
14
- } from "./model-retry-gs55zvzx.js";
14
+ } from "./bus-f29p2v8h.js";
15
15
  import {
16
16
  ID13
17
- } from "./model-retry-hks9h3jz.js";
17
+ } from "./bus-qzw8kg5z.js";
18
18
  import {
19
19
  ID12,
20
20
  Family2
21
- } from "./model-retry-ng3brtr7.js";
21
+ } from "./bus-trgp8ev6.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./model-retry-yb20nhc3.js";
24
+ } from "./bus-yb20nhc3.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
30
  var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
31
+ var integrationID = ID16.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-b5sxz6p8.js";
4
+ } from "./bus-8sz8b50m.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-retry-vd3b3yk9.js";
8
+ } from "./bus-vd3b3yk9.js";
9
9
  import {
10
- Service83,
11
- node87
12
- } from "./model-retry-mbvs8a24.js";
10
+ Service80,
11
+ node84
12
+ } from "./bus-5a5619qn.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service78,
20
- node82,
19
+ Service79,
20
+ node83,
21
21
  Event16
22
- } from "./model-retry-hks9h3jz.js";
22
+ } from "./bus-qzw8kg5z.js";
23
23
  import {
24
24
  __export
25
- } from "./model-retry-9rqn6x4v.js";
25
+ } from "./bus-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -33,15 +33,15 @@ __export(exports_model2, {
33
33
  Event: () => Event15,
34
34
  Family: () => Family2,
35
35
  ID: () => ID12,
36
- Info: () => Info21,
36
+ Info: () => Info22,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service77,
40
+ Service: () => Service78,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node81,
44
+ node: () => node82,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info21 = Model.Info;
70
+ var Info22 = Model.Info;
71
71
 
72
- class Service77 extends Context.Service()("@opencode/Model") {
72
+ class Service78 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service77, Effect.gen(function* () {
75
- const providers = yield* Service78;
74
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
75
+ const providers = yield* Service79;
76
76
  const bus = yield* Service86;
77
- const location = yield* Service83;
77
+ const location = yield* Service80;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
217
217
  });
218
218
  });
219
219
  yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service77.of({
220
+ return Service78.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node90, node87] });
239
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [node83, node90, node84] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -268,4 +268,4 @@ function parse5(input) {
268
268
  };
269
269
  }
270
270
 
271
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service77, node81, supportsText2, compatibility2, parse5, exports_model2, Event15 };
271
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info22, Service78, node82, supportsText2, compatibility2, parse5, exports_model2, Event15 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-retry-zkg84ctx.js";
5
+ } from "./bus-zkg84ctx.js";
6
6
  import {
7
7
  __export
8
- } from "./model-retry-9rqn6x4v.js";
8
+ } from "./bus-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-retry-hks9h3jz.js";
4
+ } from "./bus-qzw8kg5z.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -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/session/recent-text.ts
6
6
  var exports_recent_text = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-b5sxz6p8.js";
4
+ } from "./bus-8sz8b50m.js";
5
5
  import {
6
6
  create3
7
- } from "./model-retry-vd3b3yk9.js";
7
+ } from "./bus-vd3b3yk9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-retry-8p97zz9p.js";
10
+ } from "./bus-yth42b8q.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event11,
21
- ID: () => ID7,
22
- Info: () => Info11,
20
+ Event: () => Event8,
21
+ ID: () => ID4,
22
+ Info: () => Info10,
23
23
  Name: () => Name2,
24
- Service: () => Service59,
24
+ Service: () => Service42,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
- available: () => available2,
29
- node: () => node63,
28
+ available: () => available3,
29
+ node: () => node45,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
35
35
  import path from "path";
36
36
  import { Context, Effect, Layer } from "effect";
37
37
  import { Skill } from "@opencode/schema/skill";
38
- import { Event as Event11 } from "@opencode/schema/skill";
38
+ import { Event as Event8 } from "@opencode/schema/skill";
39
39
  var DirectorySource2 = Skill.DirectorySource;
40
40
  var UrlSource2 = Skill.UrlSource;
41
41
  var EmbeddedSource2 = Skill.EmbeddedSource;
42
42
  var Source4 = Skill.Source;
43
- var Info11 = Skill.Info;
44
- var ID7 = Skill.ID;
43
+ var Info10 = Skill.Info;
44
+ var ID4 = Skill.ID;
45
45
  var Name2 = Skill.Name;
46
- var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
+ var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
47
47
  var toModelOutput3 = (skill, files) => {
48
48
  const directory = path.dirname(skill.path);
49
49
  return [
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
78
78
  };
79
79
  });
80
80
 
81
- class Service59 extends Context.Service()("@opencode/Skill") {
81
+ class Service42 extends Context.Service()("@opencode/Skill") {
82
82
  }
83
- var layer = Layer.effect(Service59, Effect.gen(function* () {
83
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
84
84
  const bus = yield* Service86;
85
85
  const state = create3({
86
86
  name: "skill",
87
87
  initial: () => ({ skills: new Map }),
88
88
  editor: (editor) => ({
89
89
  list: () => Array.from(editor.skills.values()),
90
- get: (id) => editor.skills.get(ID7.make(id)),
90
+ get: (id) => editor.skills.get(ID4.make(id)),
91
91
  add: (skill) => {
92
92
  editor.skills.set(skill.id, { ...skill });
93
93
  },
94
94
  update: (id, update) => {
95
- const key = ID7.make(id);
95
+ const key = ID4.make(id);
96
96
  const current = editor.skills.get(key);
97
97
  if (!current)
98
98
  return;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
100
100
  current.id = key;
101
101
  },
102
102
  remove: (id) => {
103
- editor.skills.delete(ID7.make(id));
103
+ editor.skills.delete(ID4.make(id));
104
104
  }
105
105
  }),
106
106
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
107
107
  });
108
- return Service59.of({
108
+ return Service42.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  get: Effect.fn("Skill.get")(function* (id) {
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node63 = makeLocationNode({
120
- service: Service59,
119
+ var node45 = makeLocationNode({
120
+ service: Service42,
121
121
  layer,
122
122
  deps: [node90]
123
123
  });
124
124
 
125
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info11, ID7, Name2, available2, toModelOutput3, prepare3, Service59, node63, exports_skill5, Event11 };
125
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID4, Name2, available3, toModelOutput3, prepare3, Service42, node45, exports_skill5, Event8 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID14,
3
- Service79
4
- } from "./model-retry-gs55zvzx.js";
2
+ ID16,
3
+ Service83
4
+ } from "./bus-f29p2v8h.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service79;
12
+ const integrations = yield* Service83;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID14.make(item.provider.id)))
22
+ if (!configured.has(ID16.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -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/state.ts
6
6
  var exports_state = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-b5sxz6p8.js";
4
+ } from "./bus-8sz8b50m.js";
5
5
  import {
6
6
  environment2
7
- } from "./model-retry-j2pd7159.js";
7
+ } from "./bus-vqjdwf3w.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./model-retry-a058387c.js";
10
+ } from "./bus-a058387c.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError7,
20
- Options: () => Options5,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service64,
22
+ Service: () => Service22,
23
23
  UnavailableError: () => UnavailableError4,
24
- available: () => available3,
25
- configured: () => configured8,
26
- layer: () => layer24,
27
- node: () => node68
24
+ available: () => available2,
25
+ configured: () => configured3,
26
+ layer: () => layer13,
27
+ node: () => node25
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -34,8 +34,8 @@ import { Pty } from "@opencode/schema/pty";
34
34
  import { Global } from "@opencode/util/global";
35
35
  import { resolveBinary } from "#persistent-pty-binary";
36
36
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
37
- import { available as available3 } from "#persistent-pty-binary";
38
- var Options5 = Schema.Struct({
37
+ import { available as available2 } from "#persistent-pty-binary";
38
+ var Options3 = Schema.Struct({
39
39
  handoff: Schema.optional(Handoff),
40
40
  root: Schema.optional(Schema.String)
41
41
  });
@@ -45,14 +45,14 @@ class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableE
45
45
  }) {
46
46
  }
47
47
 
48
- class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
48
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
49
  ptyID: Pty.ID
50
50
  }) {
51
51
  }
52
52
 
53
- class Service64 extends Context.Service()("@opencode/PersistentPty") {
53
+ class Service22 extends Context.Service()("@opencode/PersistentPty") {
54
54
  }
55
- var makeLayer = (options = {}) => Layer.effect(Service64, Effect.gen(function* () {
55
+ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
56
56
  const bus = yield* Service86;
57
57
  const global = yield* Global.Service;
58
58
  const context = yield* Effect.context();
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service64, Effect.gen(function* (
75
75
  const get = Effect.fn("PersistentPty.get")(function* (id) {
76
76
  const found = (yield* list()).find((terminal) => terminal.id === id);
77
77
  if (!found)
78
- return yield* new NotFoundError7({ ptyID: id });
78
+ return yield* new NotFoundError3({ ptyID: id });
79
79
  return found;
80
80
  });
81
81
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service64, Effect.gen(function* (
242
242
  detach: attachment.detach
243
243
  };
244
244
  });
245
- return Service64.of({
245
+ return Service22.of({
246
246
  list,
247
247
  get,
248
248
  create,
@@ -258,13 +258,13 @@ var makeLayer = (options = {}) => Layer.effect(Service64, Effect.gen(function* (
258
258
  attach
259
259
  });
260
260
  }));
261
- var layer24 = makeLayer();
262
- var configured8 = (options) => makeGlobalNode({
263
- service: Service64,
264
- layer: options === undefined ? layer24 : makeLayer(options),
261
+ var layer13 = makeLayer();
262
+ var configured3 = (options) => makeGlobalNode({
263
+ service: Service22,
264
+ layer: options === undefined ? layer13 : makeLayer(options),
265
265
  deps: [node90, Global.node]
266
266
  });
267
- var node68 = configured8();
267
+ var node25 = configured3();
268
268
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
269
269
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
270
270
  var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -300,4 +300,4 @@ function fromID(value) {
300
300
  return parsed;
301
301
  }
302
302
 
303
- export { Options5, UnavailableError4, NotFoundError7, Service64, layer24, configured8, node68, exports_persistent_pty, Handoff2, available3 };
303
+ export { Options3, UnavailableError4, NotFoundError3, Service22, layer13, configured3, node25, exports_persistent_pty, Handoff2, available2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./model-retry-ym463w8f.js";
3
+ } from "./bus-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-retry-7zhd4cey.js";
3
+ } from "./bus-fbeje3j4.js";
4
4
  import {
5
5
  Service86
6
- } from "./model-retry-b5sxz6p8.js";
6
+ } from "./bus-8sz8b50m.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./model-retry-cxy24jbt.js";
9
+ Event19
10
+ } from "./bus-5p32nay5.js";
11
11
  import {
12
12
  key2
13
- } from "./model-retry-bjhzkqyk.js";
13
+ } from "./bus-zzdv5d93.js";
14
14
  import {
15
- ID14,
15
+ ID16,
16
16
  MethodID2
17
- } from "./model-retry-gs55zvzx.js";
17
+ } from "./bus-f29p2v8h.js";
18
18
  import {
19
19
  ID13,
20
20
  aisdk2,
21
- Service78
22
- } from "./model-retry-hks9h3jz.js";
21
+ Service79
22
+ } from "./bus-qzw8kg5z.js";
23
23
  import {
24
24
  ID12,
25
- Info21
26
- } from "./model-retry-ng3brtr7.js";
25
+ Info22
26
+ } from "./bus-trgp8ev6.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./model-retry-yb20nhc3.js";
30
+ } from "./bus-yb20nhc3.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -36,7 +36,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
38
  var providerID = ID13.gitlab;
39
- var integrationID = ID14.make("gitlab");
39
+ var integrationID = ID16.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service78;
60
+ const providers = yield* Service79;
61
61
  const bus = yield* Service86;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info21.default(providerID, ID12.make(model.id)),
188
+ ...Info22.default(providerID, ID12.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")