@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,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-retry-7zhd4cey.js";
3
+ } from "./bus-fbeje3j4.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./model-retry-3v8g72cx.js";
6
+ } from "./bus-3v8g72cx.js";
7
7
  import {
8
8
  MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./model-retry-w2eysc6j.js";
10
+ } from "./bus-w2eysc6j.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin37,
18
+ Plugin: () => Plugin42,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint5
20
+ endpoint: () => endpoint4
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint5 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin37 = define({
54
+ var Plugin42 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin37 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin37 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint5, Plugin37, exports_tinyfish };
123
+ export { endpoint4, Plugin42, exports_tinyfish };
@@ -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/model-retry.ts
6
6
  var exports_model_retry = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
- Service83
6
- } from "./model-retry-mbvs8a24.js";
5
+ Service80
6
+ } from "./bus-5a5619qn.js";
7
7
  import {
8
- Service63
9
- } from "./model-retry-ycqv3yh7.js";
8
+ Service13
9
+ } from "./bus-phpbvyrj.js";
10
10
  import {
11
- Service10
12
- } from "./model-retry-4tpkt9ke.js";
11
+ Service7
12
+ } from "./bus-q9jq76k6.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./model-retry-zkg84ctx.js";
15
+ } from "./bus-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service26
26
- } from "./model-retry-7yj2t834.js";
25
+ Service37
26
+ } from "./bus-cw3xprgn.js";
27
27
  import {
28
28
  __export
29
- } from "./model-retry-9rqn6x4v.js";
29
+ } from "./bus-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input11,
34
+ Input: () => Input10,
35
35
  Plugin: () => Plugin13,
36
36
  ReadTool: () => exports_read,
37
- name: () => name11,
37
+ name: () => name10,
38
38
  toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name11 = "read";
44
+ var name10 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input11 = LocationInput;
55
+ var Input10 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
57
  var Plugin13 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service26;
61
- const access = yield* Service63;
62
- const sessionInstructions = yield* Service10;
60
+ const reader = yield* Service37;
61
+ const access = yield* Service13;
62
+ const sessionInstructions = yield* Service7;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service83;
64
+ const location = yield* Service80;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name11,
66
+ name: name10,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input11,
69
+ input: Input10,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name11, Input11, Plugin13, toModelContent5, exports_read };
182
+ export { name10, Input10, Plugin13, toModelContent5, exports_read };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./model-retry-mbvs8a24.js";
5
+ Service80,
6
+ node84
7
+ } from "./bus-5a5619qn.js";
8
8
  import {
9
- Service44,
10
- node47
11
- } from "./model-retry-wyzx5psy.js";
9
+ Service46,
10
+ node49
11
+ } from "./bus-jbp3fq04.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./model-retry-76cb1hcw.js";
15
+ } from "./bus-76cb1hcw.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service33,
25
- configured: () => configured4,
24
+ Service: () => Service45,
25
+ configured: () => configured5,
26
26
  fffLayer: () => fffLayer2,
27
- node: () => node36
27
+ node: () => node48
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import path from "path";
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
32
32
  import { Fff } from "#fff";
33
33
  import fuzzysort from "fuzzysort";
34
34
  import { FileSystem } from "@opencode/schema/filesystem";
35
- class Service33 extends Context.Service()("@opencode/FileSystem/Search") {
35
+ class Service45 extends Context.Service()("@opencode/FileSystem/Search") {
36
36
  }
37
37
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
38
38
  function emptyIndex() {
@@ -51,9 +51,9 @@ function search(index, input) {
51
51
  });
52
52
  });
53
53
  }
54
- var ripgrepLayer = Layer.effect(Service33, Effect.gen(function* () {
55
- const location = yield* Service83;
56
- const ripgrep = yield* Service44;
54
+ var ripgrepLayer = Layer.effect(Service45, Effect.gen(function* () {
55
+ const location = yield* Service80;
56
+ const ripgrep = yield* Service46;
57
57
  const scope = yield* Scope.Scope;
58
58
  const clock = yield* Clock.Clock;
59
59
  const home = isHome2(location.directory);
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service33, Effect.gen(function* () {
98
98
  Deferred.doneUnsafe(attempt, exit);
99
99
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
100
100
  });
101
- return Service33.of({
101
+ return Service45.of({
102
102
  find: (input) => Effect.gen(function* () {
103
103
  yield* refresh;
104
104
  return search(index, input);
105
105
  })
106
106
  });
107
107
  }));
108
- var fffLayer2 = Layer.effect(Service33, Effect.gen(function* () {
109
- const location = yield* Service83;
108
+ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
109
+ const location = yield* Service80;
110
110
  const result = yield* Effect.try({
111
111
  try: () => Fff.create({
112
112
  basePath: location.directory,
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service33, Effect.gen(function* () {
119
119
  if (!result?.ok) {
120
120
  if (result)
121
121
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
122
- return Service33.of({
122
+ return Service45.of({
123
123
  find: () => Effect.succeed([])
124
124
  });
125
125
  }
126
126
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
127
- return Service33.of({
127
+ return Service45.of({
128
128
  find: (input) => Effect.sync(() => {
129
129
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
130
130
  const items = (() => {
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service33, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
171
- const location = yield* Service83;
171
+ const location = yield* Service80;
172
172
  if (location.workspaceID)
173
173
  return ripgrepLayer;
174
174
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
175
175
  return ripgrepLayer;
176
176
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
177
177
  }));
178
- function configured4(options) {
179
- return makeLocationNode({ service: Service33, layer: layer(options), deps: [node87, node47] });
178
+ function configured5(options) {
179
+ return makeLocationNode({ service: Service45, layer: layer(options), deps: [node84, node49] });
180
180
  }
181
- var node36 = configured4();
181
+ var node48 = configured5();
182
182
 
183
- export { Service33, fffLayer2, configured4, node36, exports_search };
183
+ export { Service45, fffLayer2, configured5, node48, exports_search };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service68
7
- } from "./model-retry-5jzmzpz9.js";
6
+ Service74
7
+ } from "./bus-ybhwsy6b.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./model-retry-zkg84ctx.js";
10
+ } from "./bus-zkg84ctx.js";
11
11
  import {
12
- Service46
13
- } from "./model-retry-cyyydscs.js";
12
+ Service70
13
+ } from "./bus-jsfyz6c7.js";
14
14
  import {
15
- Service55
16
- } from "./model-retry-0jvkxj1w.js";
15
+ Service58
16
+ } from "./bus-prkpw7v5.js";
17
17
  import {
18
- Service72
19
- } from "./model-retry-8p97zz9p.js";
18
+ Service61
19
+ } from "./bus-yth42b8q.js";
20
20
  import {
21
- Service63,
21
+ Service13,
22
22
  resolvePath2
23
- } from "./model-retry-ycqv3yh7.js";
23
+ } from "./bus-phpbvyrj.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./model-retry-k814nvkf.js";
29
+ } from "./bus-k814nvkf.js";
30
30
  import {
31
- Service65,
31
+ Service69,
32
32
  name16
33
- } from "./model-retry-j2pd7159.js";
33
+ } from "./bus-vqjdwf3w.js";
34
34
  import {
35
- NotFoundError6,
36
- Service36
37
- } from "./model-retry-q44gb8fn.js";
35
+ NotFoundError10,
36
+ Service67
37
+ } from "./bus-evxg6w44.js";
38
38
  import {
39
- Service18
40
- } from "./model-retry-phzadmh4.js";
39
+ Service26
40
+ } from "./bus-za8j9kr3.js";
41
41
  import {
42
42
  scan3
43
- } from "./model-retry-x7ey6qtv.js";
43
+ } from "./bus-yy2jcnkw.js";
44
44
  import {
45
45
  __export
46
- } from "./model-retry-9rqn6x4v.js";
46
+ } from "./bus-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin4,
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin14,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name4
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name4 = "shell";
60
+ var name11 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input4 = Schema.Struct({
74
+ var Input11 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin4 = {
120
+ var Plugin14 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service18;
124
- const jobs = yield* Service55;
123
+ const sessions = yield* Service26;
124
+ const jobs = yield* Service58;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service46;
127
- const access = yield* Service63;
128
- const shell = yield* Service36;
129
- const shellSelect = yield* Service65;
126
+ const environment = yield* Service70;
127
+ const access = yield* Service13;
128
+ const shell = yield* Service67;
129
+ const shellSelect = yield* Service69;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service72;
132
- const config = yield* Service68;
131
+ const permission = yield* Service61;
132
+ const config = yield* Service74;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin4 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name4,
151
+ action: name11,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin4 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name4,
188
+ name: name11,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input4,
191
+ input: Input11,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin4 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError6({ id: info.id });
214
+ return yield* new NotFoundError10({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name4,
228
+ type: name11,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name4];
258
+ const tool = event.tools[name11];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
269
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin14, exports_shell };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
@@ -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/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -2,24 +2,24 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./model-retry-hks9h3jz.js";
5
+ } from "./bus-qzw8kg5z.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./model-retry-ng3brtr7.js";
10
+ Info22
11
+ } from "./bus-trgp8ev6.js";
12
12
  import {
13
13
  __export
14
- } from "./model-retry-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID13.githubCopilot, id),
121
+ return Info22.make({
122
+ ...Info22.default(ID13.githubCopilot, id),
123
123
  id,
124
124
  modelID: ID12.make(remote.id),
125
125
  providerID: ID13.githubCopilot,
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./model-retry-t08j0hgd.js";
3
+ } from "./bus-cfbvvs1c.js";
4
4
  import {
5
- Service72
6
- } from "./model-retry-8p97zz9p.js";
5
+ Service61
6
+ } from "./bus-yth42b8q.js";
7
7
  import {
8
- Service63
9
- } from "./model-retry-ycqv3yh7.js";
8
+ Service13
9
+ } from "./bus-phpbvyrj.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./model-retry-d4v9tmah.js";
12
+ } from "./bus-d4v9tmah.js";
13
13
  import {
14
- Info8,
14
+ Info6,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./model-retry-8kw3wj8m.js";
19
+ } from "./bus-pzdmxvfw.js";
20
20
  import {
21
21
  __export
22
- } from "./model-retry-9rqn6x4v.js";
22
+ } from "./bus-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin8,
30
+ Plugin: () => Plugin3,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin8 = {
100
+ var Plugin3 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service63;
104
- const permission = yield* Service72;
103
+ const access = yield* Service13;
104
+ const permission = yield* Service61;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin8 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info8,
156
+ output: Info6,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin8, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin3, exports_opencode };