@opencode/core 0.0.0-dev-21105 → 0.0.0-dev-21107

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 (898) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-enfjksvz.js → tool-output-01h3a36h.js} +34 -34
  8. package/dist/chunks/{form-ksghmgr8.js → tool-output-03368f8h.js} +30 -30
  9. package/dist/chunks/{form-0b5g1ynf.js → tool-output-0b5g1ynf.js} +4 -4
  10. package/dist/chunks/{form-jrdn16tm.js → tool-output-0gkagqrr.js} +11 -11
  11. package/dist/chunks/{form-wk5z6jzv.js → tool-output-0jq9fyba.js} +9 -9
  12. package/dist/chunks/{form-arm62a2s.js → tool-output-0m8fs28f.js} +2 -2
  13. package/dist/chunks/{form-0cnk6m96.js → tool-output-0nwc5kee.js} +21 -21
  14. package/dist/chunks/{form-fww2ha2b.js → tool-output-0p78r4x4.js} +10 -10
  15. package/dist/chunks/{form-8d85tyyw.js → tool-output-0r6s63y7.js} +1 -1
  16. package/dist/chunks/{form-0vbcp93d.js → tool-output-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{form-etdkazj2.js → tool-output-0x5yx3bz.js} +9 -9
  18. package/dist/chunks/{form-6yvzt56s.js → tool-output-11zcqr0c.js} +21 -21
  19. package/dist/chunks/{form-901f95hp.js → tool-output-15zejkyp.js} +19 -19
  20. package/dist/chunks/{form-d49tyx67.js → tool-output-1ncy2y84.js} +7 -7
  21. package/dist/chunks/{form-79f3pcaf.js → tool-output-1zmkb8s9.js} +4 -4
  22. package/dist/chunks/{form-jcabavvb.js → tool-output-28fn03bn.js} +15 -15
  23. package/dist/chunks/{form-k4kf9yqz.js → tool-output-2aqr53fq.js} +8 -8
  24. package/dist/chunks/{form-8nhzyrxz.js → tool-output-2c0ahkfh.js} +25 -25
  25. package/dist/chunks/{form-a89e0tac.js → tool-output-2k71kv7p.js} +4 -4
  26. package/dist/chunks/{form-qgn6gcr1.js → tool-output-2k8khapm.js} +5 -5
  27. package/dist/chunks/{form-prs36zqv.js → tool-output-2vk74zb2.js} +15 -15
  28. package/dist/chunks/{form-2w2jw15j.js → tool-output-2z0vpwpb.js} +21 -21
  29. package/dist/chunks/{form-h7s7r6s9.js → tool-output-31xfzrxg.js} +5 -5
  30. package/dist/chunks/{form-a7ksjw1b.js → tool-output-3bazwrz0.js} +10 -10
  31. package/dist/chunks/{form-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{form-pnzf6mjf.js → tool-output-3g8j9he4.js} +1 -1
  33. package/dist/chunks/{form-e04zm3w2.js → tool-output-3gfqta41.js} +15 -15
  34. package/dist/chunks/{form-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{form-3hwn7j4h.js → tool-output-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{form-jej310j1.js → tool-output-3jd31z68.js} +19 -19
  37. package/dist/chunks/{form-jmktzpps.js → tool-output-3rgzm53c.js} +18 -18
  38. package/dist/chunks/{form-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{form-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{form-x661k3y3.js → tool-output-3y377wv9.js} +4 -4
  41. package/dist/chunks/{form-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{form-0vawvjhj.js → tool-output-40jpxat6.js} +6 -6
  43. package/dist/chunks/{form-v0es1rhs.js → tool-output-4434d9q2.js} +9 -9
  44. package/dist/chunks/{form-dsy27fts.js → tool-output-4cczkxn0.js} +3 -3
  45. package/dist/chunks/{form-t5xyb1ja.js → tool-output-4ek1fza7.js} +20 -20
  46. package/dist/chunks/{form-tjtx32p0.js → tool-output-4fey8vza.js} +46 -46
  47. package/dist/chunks/{form-g3tb3bkv.js → tool-output-4py6xhxg.js} +10 -10
  48. package/dist/chunks/{form-2hr5nhwa.js → tool-output-52fpbh6z.js} +8 -8
  49. package/dist/chunks/{form-1sgdx4a3.js → tool-output-533mvt3d.js} +24 -24
  50. package/dist/chunks/{form-xrm6a1t7.js → tool-output-5342vq26.js} +14 -14
  51. package/dist/chunks/{form-54ma36ye.js → tool-output-54ma36ye.js} +1 -1
  52. package/dist/chunks/{form-4ekscj25.js → tool-output-58hng72m.js} +5 -5
  53. package/dist/chunks/{form-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{form-1mw1ka0c.js → tool-output-5n8bzj3g.js} +38 -38
  55. package/dist/chunks/{form-c5j6ww4m.js → tool-output-5qy53gv6.js} +11 -11
  56. package/dist/chunks/{form-h6tscvwz.js → tool-output-5t9vx4rq.js} +11 -11
  57. package/dist/chunks/{form-t1cks73m.js → tool-output-62esjtgn.js} +9 -9
  58. package/dist/chunks/{form-tdch55bj.js → tool-output-65cxbzac.js} +9 -9
  59. package/dist/chunks/{form-7v6bcey3.js → tool-output-6azzqc0z.js} +8 -8
  60. package/dist/chunks/{form-srbwjet0.js → tool-output-6djpdt2h.js} +15 -15
  61. package/dist/chunks/{form-tsbpfnxq.js → tool-output-6g5esjj0.js} +23 -23
  62. package/dist/chunks/{form-gh864679.js → tool-output-6m2fchhq.js} +8 -8
  63. package/dist/chunks/{form-95s8xwj6.js → tool-output-6p9zhm8s.js} +5 -5
  64. package/dist/chunks/{form-6xb47vfp.js → tool-output-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{form-w5h454c3.js → tool-output-7612f9d9.js} +22 -19
  66. package/dist/chunks/{form-775gj3j1.js → tool-output-775gj3j1.js} +2 -2
  67. package/dist/chunks/{form-y82mnqt8.js → tool-output-7b1rpwgp.js} +3 -3
  68. package/dist/chunks/{form-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  69. package/dist/chunks/tool-output-7esqvdrt.js +26 -0
  70. package/dist/chunks/{form-gn31e51v.js → tool-output-7gfgfe5t.js} +11 -11
  71. package/dist/chunks/{form-nkr0z86r.js → tool-output-7gpjaa72.js} +30 -30
  72. package/dist/chunks/{form-ae1d2cnk.js → tool-output-7hjg3qr5.js} +50 -50
  73. package/dist/chunks/{form-1q3h93r0.js → tool-output-7kx77xh0.js} +10 -10
  74. package/dist/chunks/{form-gkkd4eh1.js → tool-output-7skpr4yr.js} +21 -21
  75. package/dist/chunks/{form-84txncab.js → tool-output-84txncab.js} +1 -1
  76. package/dist/chunks/{form-4g66ymys.js → tool-output-87k58gkv.js} +4 -4
  77. package/dist/chunks/{form-2gytb7wg.js → tool-output-896w72mm.js} +14 -14
  78. package/dist/chunks/{form-1gfgk62c.js → tool-output-8ank75fn.js} +8 -8
  79. package/dist/chunks/{form-8gngkb78.js → tool-output-8fkk14fj.js} +11 -11
  80. package/dist/chunks/{form-t4c2ejeg.js → tool-output-8fq9cdtt.js} +9 -9
  81. package/dist/chunks/{form-ejeb2f46.js → tool-output-8j77w7ez.js} +11 -11
  82. package/dist/chunks/{form-8m6m0r52.js → tool-output-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{form-qenf3jww.js → tool-output-8n6avrs4.js} +13 -13
  84. package/dist/chunks/{form-6rm5yzkt.js → tool-output-8wbxkt1z.js} +4 -4
  85. package/dist/chunks/{form-7bdytd2w.js → tool-output-9044jed8.js} +10 -10
  86. package/dist/chunks/{form-91qna3x0.js → tool-output-91qna3x0.js} +3 -3
  87. package/dist/chunks/{form-8w33d7yj.js → tool-output-9296v61x.js} +9 -9
  88. package/dist/chunks/{form-hg42hcse.js → tool-output-9bmm07as.js} +13 -13
  89. package/dist/chunks/{form-w2qf73x2.js → tool-output-9dv1jfw1.js} +20 -17
  90. package/dist/chunks/{form-d4cbjqqc.js → tool-output-9my2x6wz.js} +10 -10
  91. package/dist/chunks/{form-4qa0gxex.js → tool-output-9qh33kv4.js} +8 -8
  92. package/dist/chunks/{form-npc7606s.js → tool-output-9t2yzk0x.js} +8 -8
  93. package/dist/chunks/{form-apds20hx.js → tool-output-9xm2b2ta.js} +5 -5
  94. package/dist/chunks/{form-76njjj1w.js → tool-output-a26ckshg.js} +41 -41
  95. package/dist/chunks/{form-mcpys3nw.js → tool-output-a2kqt7yy.js} +13 -13
  96. package/dist/chunks/{form-kkmzdvsx.js → tool-output-a5ekmvfj.js} +24 -24
  97. package/dist/chunks/{form-1g9yzgxb.js → tool-output-a80hgxqz.js} +21 -21
  98. package/dist/chunks/{form-cdv1e2mm.js → tool-output-ah84bfqd.js} +29 -29
  99. package/dist/chunks/{form-cwcv4v74.js → tool-output-ahf6grxb.js} +19 -19
  100. package/dist/chunks/{form-yx0rmv9r.js → tool-output-ak9msbxp.js} +4 -4
  101. package/dist/chunks/{form-e0g3rkc8.js → tool-output-akfer8xa.js} +1 -1
  102. package/dist/chunks/{form-a6et1nw0.js → tool-output-amce43sf.js} +19 -19
  103. package/dist/chunks/{form-g3ew9s85.js → tool-output-amzat5vn.js} +18 -18
  104. package/dist/chunks/{form-f4a633pw.js → tool-output-b19hasgs.js} +5 -5
  105. package/dist/chunks/{form-qa91yeft.js → tool-output-b5ns35kd.js} +16 -16
  106. package/dist/chunks/{form-g686f6pq.js → tool-output-bacj9t34.js} +9 -9
  107. package/dist/chunks/{form-j4fmqw4y.js → tool-output-benaxzdw.js} +2 -2
  108. package/dist/chunks/{form-0thqkfh6.js → tool-output-bfarv9hj.js} +52 -52
  109. package/dist/chunks/{form-1bmjn0qh.js → tool-output-bfegkxfd.js} +8 -8
  110. package/dist/chunks/{form-wz5ft07p.js → tool-output-bg0ab6ke.js} +4 -4
  111. package/dist/chunks/{form-jgmgg0kd.js → tool-output-bhg3hqkd.js} +26 -26
  112. package/dist/chunks/{form-1ffvrpkg.js → tool-output-bjx1sjef.js} +6 -6
  113. package/dist/chunks/{form-mv3hx7wz.js → tool-output-bmr56wjg.js} +4 -4
  114. package/dist/chunks/{form-gj71zhbs.js → tool-output-bx0gyb4h.js} +5 -5
  115. package/dist/chunks/{form-ya7tddt7.js → tool-output-bxhwdmpf.js} +20 -20
  116. package/dist/chunks/{form-c1fqxshp.js → tool-output-c1fqxshp.js} +3 -3
  117. package/dist/chunks/{form-j4kckz96.js → tool-output-c4jhdyz3.js} +34 -34
  118. package/dist/chunks/{form-wasck064.js → tool-output-cc1d1de7.js} +10 -10
  119. package/dist/chunks/{form-n57xz5tc.js → tool-output-cg27wf5h.js} +318 -318
  120. package/dist/chunks/{form-da9q9y1p.js → tool-output-cmcw90at.js} +39 -39
  121. package/dist/chunks/{form-17xwg79a.js → tool-output-cnvq06kx.js} +4 -4
  122. package/dist/chunks/{form-z501vt5b.js → tool-output-dg8dvwgd.js} +12 -12
  123. package/dist/chunks/{form-x18hf8e6.js → tool-output-dmkhjyd8.js} +7 -7
  124. package/dist/chunks/{form-dqxsqydv.js → tool-output-dqxsqydv.js} +1 -1
  125. package/dist/chunks/{form-re7rb3aw.js → tool-output-dzn6zjdt.js} +32 -32
  126. package/dist/chunks/{form-8akyp47s.js → tool-output-dzwfbtgn.js} +22 -22
  127. package/dist/chunks/{form-wtywgeq9.js → tool-output-e09bbf7h.js} +25 -25
  128. package/dist/chunks/{form-rvh56s2y.js → tool-output-e1armjht.js} +28 -28
  129. package/dist/chunks/{form-e80seqcp.js → tool-output-e80seqcp.js} +1 -1
  130. package/dist/chunks/{form-mhpqhn3p.js → tool-output-e8fsf4jj.js} +27 -27
  131. package/dist/chunks/{form-98n93haa.js → tool-output-e8qq2qb7.js} +4 -4
  132. package/dist/chunks/{form-4kv7khez.js → tool-output-e8re3nba.js} +14 -14
  133. package/dist/chunks/{form-43bw2k76.js → tool-output-ec3zzpe3.js} +30 -30
  134. package/dist/chunks/{form-epy0rrb9.js → tool-output-ed65qe44.js} +13 -13
  135. package/dist/chunks/{form-eej6y6fw.js → tool-output-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{form-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{form-xbeqzkq0.js → tool-output-f0mzc1a5.js} +31 -31
  138. package/dist/chunks/{form-erd65f1s.js → tool-output-f6nm7q73.js} +27 -27
  139. package/dist/chunks/{form-8c12240n.js → tool-output-fbr2cbta.js} +31 -31
  140. package/dist/chunks/tool-output-fcy631f0.js +62 -0
  141. package/dist/chunks/tool-output-fn9t717r.js +59 -0
  142. package/dist/chunks/{form-djszqvmq.js → tool-output-ft3hqk2c.js} +9 -9
  143. package/dist/chunks/{form-ghp9faw8.js → tool-output-fteeg136.js} +11 -11
  144. package/dist/chunks/{form-tpw6cwsb.js → tool-output-g0445xdp.js} +8 -8
  145. package/dist/chunks/{form-srshcccg.js → tool-output-g3z8fmgm.js} +2 -2
  146. package/dist/chunks/{form-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{form-12a633mt.js → tool-output-gmm8fkqt.js} +3 -3
  148. package/dist/chunks/tool-output-grnq534p.js +257 -0
  149. package/dist/chunks/{form-na2mqbmn.js → tool-output-gtyp3v7n.js} +33 -33
  150. package/dist/chunks/{form-1gyqrq6p.js → tool-output-gx2rmat0.js} +16 -16
  151. package/dist/chunks/{form-sqmzwr9m.js → tool-output-h04zhhvt.js} +9 -9
  152. package/dist/chunks/{form-nvmcdg7v.js → tool-output-h43vj0zt.js} +16 -16
  153. package/dist/chunks/{form-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{form-vdwbg7py.js → tool-output-hc42tqs2.js} +6 -6
  155. package/dist/chunks/{form-ak3qsp58.js → tool-output-hcfbb8m3.js} +4 -4
  156. package/dist/chunks/{form-hgz4x7wa.js → tool-output-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{form-hq3c8me3.js → tool-output-hq3c8me3.js} +1 -1
  158. package/dist/chunks/{form-c2sed5cq.js → tool-output-hzrfc1p4.js} +2 -2
  159. package/dist/chunks/{form-z0tkdgf1.js → tool-output-j0hekj3x.js} +18 -18
  160. package/dist/chunks/{form-g5j39fp8.js → tool-output-j55j0vay.js} +7 -7
  161. package/dist/chunks/{form-hgwjhw5g.js → tool-output-jb1yd8b6.js} +10 -10
  162. package/dist/chunks/{form-1ae71dfs.js → tool-output-jb9mn43j.js} +15 -15
  163. package/dist/chunks/{form-0tww4wex.js → tool-output-jkx9kfq8.js} +33 -33
  164. package/dist/chunks/tool-output-jqh9b0xq.js +18 -0
  165. package/dist/chunks/{form-60qrxp7p.js → tool-output-k5hxj8k3.js} +51 -51
  166. package/dist/chunks/{form-0js0xjhh.js → tool-output-k6n9r6x9.js} +3 -3
  167. package/dist/chunks/{form-9p9gtwv3.js → tool-output-kacxkzp8.js} +41 -41
  168. package/dist/chunks/{form-8cms378j.js → tool-output-kafx12aa.js} +8 -8
  169. package/dist/chunks/{form-7gdkps73.js → tool-output-kdsq7b80.js} +15 -15
  170. package/dist/chunks/{form-7eenkzgj.js → tool-output-kjsrb11v.js} +3 -3
  171. package/dist/chunks/{form-v99yejb3.js → tool-output-kq9sgcg8.js} +13 -13
  172. package/dist/chunks/{form-3yt14ahe.js → tool-output-krdey6nc.js} +6 -6
  173. package/dist/chunks/{form-kwb1v3vj.js → tool-output-kwb1v3vj.js} +1 -1
  174. package/dist/chunks/{form-v871hv85.js → tool-output-ky8tb5p2.js} +3 -3
  175. package/dist/chunks/{form-pwtnz7b5.js → tool-output-m6n8cqg4.js} +24 -24
  176. package/dist/chunks/{form-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{form-mjagy123.js → tool-output-ma15yhyh.js} +5 -5
  178. package/dist/chunks/{form-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
  179. package/dist/chunks/{form-3n8x12gt.js → tool-output-mdee9cge.js} +18 -18
  180. package/dist/chunks/{form-2a813mr4.js → tool-output-mqbd7g5r.js} +11 -11
  181. package/dist/chunks/{form-yrcj3v3g.js → tool-output-n1n192bv.js} +4 -4
  182. package/dist/chunks/{form-56301932.js → tool-output-n64rk8nt.js} +3 -3
  183. package/dist/chunks/{form-sxzvkvgj.js → tool-output-n8dykrk6.js} +6 -6
  184. package/dist/chunks/{form-88h1x7q7.js → tool-output-n8s6b8z8.js} +12 -12
  185. package/dist/chunks/{form-pn0jkhpq.js → tool-output-nqt17azn.js} +11 -11
  186. package/dist/chunks/{form-5az94262.js → tool-output-p4djwky6.js} +22 -22
  187. package/dist/chunks/{form-f8t4d16m.js → tool-output-phb9r7tb.js} +28 -28
  188. package/dist/chunks/{form-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{form-pknna89w.js → tool-output-pknna89w.js} +1 -1
  190. package/dist/chunks/{form-q6atrn4y.js → tool-output-pqxnwpek.js} +4 -4
  191. package/dist/chunks/{form-6pc27hjz.js → tool-output-py3kkmfq.js} +6 -6
  192. package/dist/chunks/{form-2vs2nh1n.js → tool-output-q5asdkn4.js} +4 -4
  193. package/dist/chunks/{form-qfwkm3zm.js → tool-output-qefxx717.js} +160 -160
  194. package/dist/chunks/{form-f25jab1e.js → tool-output-qgpdbx62.js} +15 -15
  195. package/dist/chunks/{form-qnc92qwc.js → tool-output-qnc92qwc.js} +1 -1
  196. package/dist/chunks/{form-w0t5s28e.js → tool-output-qr8m035q.js} +11 -11
  197. package/dist/chunks/{form-8pe5aa2t.js → tool-output-qre1cjed.js} +6 -6
  198. package/dist/chunks/{form-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
  199. package/dist/chunks/{form-r0fd0dmv.js → tool-output-qsh63st8.js} +11 -11
  200. package/dist/chunks/{form-p7ns44ff.js → tool-output-r2wxtxw6.js} +16 -16
  201. package/dist/chunks/{form-319ctarb.js → tool-output-r4hp03yv.js} +1 -1
  202. package/dist/chunks/{form-bbgghgw2.js → tool-output-r7nqe98r.js} +27 -27
  203. package/dist/chunks/{form-qa2wssbs.js → tool-output-r9bv3gpp.js} +86 -86
  204. package/dist/chunks/{form-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{form-rert0e01.js → tool-output-rert0e01.js} +2 -2
  206. package/dist/chunks/{form-rj3eygr5.js → tool-output-rj3eygr5.js} +2 -2
  207. package/dist/chunks/{form-5sdmzxjs.js → tool-output-rqqrckg0.js} +26 -26
  208. package/dist/chunks/{form-9e6jq2sd.js → tool-output-s0q9dz9s.js} +65 -65
  209. package/dist/chunks/{form-jcjsg0yw.js → tool-output-sa7bb2tp.js} +1 -1
  210. package/dist/chunks/{form-sa8ekw3f.js → tool-output-sa8ekw3f.js} +2 -2
  211. package/dist/chunks/{form-dr0qdjyn.js → tool-output-sacqkzdh.js} +24 -24
  212. package/dist/chunks/{form-pkywwt6e.js → tool-output-sd53vgfk.js} +14 -14
  213. package/dist/chunks/{form-2qb81z4b.js → tool-output-sfgkfzbx.js} +18 -18
  214. package/dist/chunks/{form-5atndy4c.js → tool-output-sm1zwwqr.js} +20 -20
  215. package/dist/chunks/{form-645n92dz.js → tool-output-sqg3zcxb.js} +13 -13
  216. package/dist/chunks/{form-c2r6z7pt.js → tool-output-ssh3qp3e.js} +5 -5
  217. package/dist/chunks/{form-7g33d3vx.js → tool-output-swps22qz.js} +8 -8
  218. package/dist/chunks/{form-syv4x271.js → tool-output-syv4x271.js} +1 -1
  219. package/dist/chunks/{form-1xw87vn2.js → tool-output-t01je07b.js} +6 -6
  220. package/dist/chunks/{form-fnvzehws.js → tool-output-t46q35ac.js} +32 -32
  221. package/dist/chunks/{form-t550f9t1.js → tool-output-t550f9t1.js} +1 -1
  222. package/dist/chunks/{form-ntmr2xz8.js → tool-output-t760r0v7.js} +17 -17
  223. package/dist/chunks/{form-0wws6hjz.js → tool-output-t7xh5d6v.js} +11 -11
  224. package/dist/chunks/{form-mwa48nkk.js → tool-output-tahwk2yc.js} +17 -17
  225. package/dist/chunks/{form-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{form-89znhe33.js → tool-output-tcezcvh9.js} +4 -4
  227. package/dist/chunks/{form-tdstcens.js → tool-output-tdstcens.js} +1 -1
  228. package/dist/chunks/{form-y23yj848.js → tool-output-tfgdn8y4.js} +20 -20
  229. package/dist/chunks/{form-db0xh7a7.js → tool-output-tgycnz6r.js} +26 -26
  230. package/dist/chunks/{form-y3446w5g.js → tool-output-thvynrj3.js} +7 -7
  231. package/dist/chunks/{form-ykmtdm3w.js → tool-output-tkc9kv8c.js} +31 -31
  232. package/dist/chunks/{form-8rqycdgd.js → tool-output-tkmwgdpd.js} +4 -4
  233. package/dist/chunks/{form-tm0kqsz3.js → tool-output-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{form-tyytaxap.js → tool-output-tyytaxap.js} +1 -1
  235. package/dist/chunks/{form-dvhv3b5e.js → tool-output-v24zhtzr.js} +17 -17
  236. package/dist/chunks/{form-j0rkyft6.js → tool-output-v29b0dxv.js} +17 -17
  237. package/dist/chunks/{form-v7p4zvkq.js → tool-output-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{form-xex3azfv.js → tool-output-v9ngkz6k.js} +20 -20
  239. package/dist/chunks/{form-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  240. package/dist/chunks/{form-jjjszhzk.js → tool-output-vfvywm3n.js} +24 -24
  241. package/dist/chunks/{form-mb14aw74.js → tool-output-vjjaysxc.js} +2 -2
  242. package/dist/chunks/{form-q1he1383.js → tool-output-vvpskrme.js} +32 -32
  243. package/dist/chunks/{form-148jjfyp.js → tool-output-vwbadyhr.js} +4 -4
  244. package/dist/chunks/{form-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{form-z3t7mm12.js → tool-output-vzynrrjd.js} +16 -16
  246. package/dist/chunks/{form-24q4p3nw.js → tool-output-w1qs94fw.js} +34 -34
  247. package/dist/chunks/{form-g6yfr6ja.js → tool-output-w39jehkq.js} +5 -5
  248. package/dist/chunks/{form-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{form-0bj3nf4q.js → tool-output-w4a8jmgt.js} +5 -5
  250. package/dist/chunks/{form-rh9s7fne.js → tool-output-w921dxx8.js} +45 -45
  251. package/dist/chunks/{form-0y5h5hqm.js → tool-output-wa8vv1fs.js} +8 -8
  252. package/dist/chunks/{form-wd87259q.js → tool-output-wd87259q.js} +1 -1
  253. package/dist/chunks/{form-scvg7r3v.js → tool-output-wr5f0mpr.js} +12 -12
  254. package/dist/chunks/{form-eawn7k72.js → tool-output-wt1xcks8.js} +18 -18
  255. package/dist/chunks/{form-ekd234cw.js → tool-output-wt41kpwr.js} +80 -80
  256. package/dist/chunks/{form-0j6p9vqs.js → tool-output-x5psnpj7.js} +19 -19
  257. package/dist/chunks/{form-965qm7dd.js → tool-output-x82db1es.js} +11 -11
  258. package/dist/chunks/{form-eb2ky45d.js → tool-output-x8rs868f.js} +27 -27
  259. package/dist/chunks/{form-2pdg46mn.js → tool-output-xdjq0qq8.js} +10 -10
  260. package/dist/chunks/{form-8ywxhbtv.js → tool-output-xf64mr7k.js} +8 -8
  261. package/dist/chunks/{form-drwq78ky.js → tool-output-xfkkasph.js} +4 -4
  262. package/dist/chunks/{form-deefrv65.js → tool-output-xk048zvw.js} +4 -4
  263. package/dist/chunks/{form-gtv92395.js → tool-output-xnfeye1a.js} +20 -20
  264. package/dist/chunks/{form-beh5shbh.js → tool-output-xtx6j1wk.js} +44 -44
  265. package/dist/chunks/{form-2qy1ne1f.js → tool-output-xvjnyne3.js} +21 -21
  266. package/dist/chunks/{form-j6ktnsbj.js → tool-output-xw6avn3p.js} +12 -12
  267. package/dist/chunks/{form-924pcbt5.js → tool-output-y168q3qk.js} +4 -4
  268. package/dist/chunks/{form-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{form-01a0dr57.js → tool-output-y1n4p2mq.js} +15 -15
  270. package/dist/chunks/{form-14hxsfdw.js → tool-output-y1p34exz.js} +9 -9
  271. package/dist/chunks/{form-y71avatq.js → tool-output-y71avatq.js} +1 -1
  272. package/dist/chunks/{form-jtsn5x2a.js → tool-output-y9ecf5vt.js} +11 -11
  273. package/dist/chunks/{form-6nhx3y9w.js → tool-output-y9s9xvs6.js} +8 -8
  274. package/dist/chunks/{form-1z57bhj8.js → tool-output-ydjc2qnb.js} +13 -13
  275. package/dist/chunks/{form-h4pp1fb1.js → tool-output-ykxnpq60.js} +13 -13
  276. package/dist/chunks/{form-yp2x3t23.js → tool-output-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{form-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{form-cdjk4qrs.js → tool-output-z6nff98x.js} +41 -41
  279. package/dist/chunks/{form-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{form-xxzne356.js → tool-output-zrqcsdz0.js} +12 -12
  281. package/dist/chunks/{form-b36rn7vd.js → tool-output-zt8s8fb6.js} +18 -18
  282. package/dist/chunks/{form-9v2kfm1y.js → tool-output-zwz7qm57.js} +25 -25
  283. package/dist/chunks/{form-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{form-7erbtyx3.js → tool-output-zz2n01x7.js} +11 -11
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +204 -203
  295. package/dist/config/plugin/compaction.js +155 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +116 -116
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +1 -1
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -367
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +219 -218
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +106 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -358
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +91 -91
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +130 -130
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -355
  465. package/dist/location.js +91 -91
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model-retry.js +10 -0
  476. package/dist/model.js +98 -98
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +105 -105
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +212 -211
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +330 -329
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +117 -117
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +114 -114
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +116 -116
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +112 -112
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +113 -113
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +125 -125
  518. package/dist/plugin/provider/local.js +122 -122
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +125 -125
  523. package/dist/plugin/provider/openai.js +118 -118
  524. package/dist/plugin/provider/opencode.js +100 -100
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +168 -168
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +349 -348
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +114 -114
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +4 -4
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +219 -218
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +92 -92
  559. package/dist/provider.js +97 -97
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +89 -89
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +138 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +212 -211
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +157 -156
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +225 -224
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +3 -2
  604. package/dist/session/runner/step.js +128 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +164 -164
  608. package/dist/session/shell.js +130 -130
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +85 -85
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +206 -205
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +211 -210
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +210 -209
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +11 -11
  625. package/dist/shell.js +132 -132
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +106 -106
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +124 -124
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +209 -208
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +213 -212
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +114 -114
  648. package/dist/tool/plugin/write.js +122 -122
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/types/account/sql.d.ts +3 -3
  654. package/dist/types/codemode/tool.d.ts +9 -9
  655. package/dist/types/config/discovery.d.ts +2 -2
  656. package/dist/types/config/plugin/entry-observer.d.ts +1 -1
  657. package/dist/types/config/plugin/instruction.d.ts +1 -1
  658. package/dist/types/config.d.ts +1 -1
  659. package/dist/types/credential/sql.d.ts +1 -1
  660. package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
  661. package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
  662. package/dist/types/database/path.d.ts +16 -16
  663. package/dist/types/database/sqlite.bun.d.ts +1 -1
  664. package/dist/types/database/sqlite.node.d.ts +1 -1
  665. package/dist/types/database/sqlite.workerd.d.ts +1 -1
  666. package/dist/types/effect/websocket-constructor.d.ts +2 -1
  667. package/dist/types/environment/files.d.ts +1 -1
  668. package/dist/types/event/sql.d.ts +2 -2
  669. package/dist/types/file-mutation.d.ts +4 -3
  670. package/dist/types/filesystem.d.ts +1 -1
  671. package/dist/types/form.d.ts +55 -55
  672. package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +27 -27
  673. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +80 -80
  674. package/dist/types/github-copilot/responses/tool/file-search.d.ts +1 -1
  675. package/dist/types/github-copilot/responses/tool/image-generation.d.ts +5 -5
  676. package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +1 -1
  677. package/dist/types/github-copilot/responses/tool/web-search.d.ts +1 -1
  678. package/dist/types/image/photon-wasm.workerd.d.ts +1 -1
  679. package/dist/types/image/photon.d.ts +5 -5
  680. package/dist/types/instance.d.ts +1 -1
  681. package/dist/types/integration.d.ts +257 -257
  682. package/dist/types/kv/sql.d.ts +1 -1
  683. package/dist/types/managed-policy.d.ts +2 -2
  684. package/dist/types/mcp/client.d.ts +74 -74
  685. package/dist/types/mcp/index.d.ts +1 -1
  686. package/dist/types/mime.d.ts +1 -1
  687. package/dist/types/model-resolver.d.ts +1 -1
  688. package/dist/types/model-retry.d.ts +14 -0
  689. package/dist/types/model.d.ts +73 -73
  690. package/dist/types/permission/sql.d.ts +1 -1
  691. package/dist/types/permission.d.ts +1 -1
  692. package/dist/types/plugin/command.d.ts +1 -1
  693. package/dist/types/plugin/host.d.ts +2 -2
  694. package/dist/types/plugin/internal.d.ts +1 -1
  695. package/dist/types/plugin/module.d.ts +7 -7
  696. package/dist/types/plugin/provider/azure.d.ts +2 -2
  697. package/dist/types/plugin/provider/chatgpt.d.ts +2 -2
  698. package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
  699. package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
  700. package/dist/types/plugin/provider/gitlab.d.ts +1 -1
  701. package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
  702. package/dist/types/plugin/provider/local.d.ts +3 -3
  703. package/dist/types/plugin/provider/ollama.d.ts +2 -2
  704. package/dist/types/plugin/provider/opencode.d.ts +1 -1
  705. package/dist/types/plugin/provider/poe.d.ts +1 -1
  706. package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
  707. package/dist/types/plugin/provider/vllm.d.ts +2 -2
  708. package/dist/types/plugin/supervisor.d.ts +2 -2
  709. package/dist/types/plugin/websearch/exa.d.ts +1 -1
  710. package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
  711. package/dist/types/plugin/websearch/index.d.ts +1 -1
  712. package/dist/types/plugin/websearch/mcp.d.ts +1 -1
  713. package/dist/types/plugin/websearch/parallel.d.ts +1 -1
  714. package/dist/types/plugin/websearch/tavily.d.ts +1 -1
  715. package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
  716. package/dist/types/project/sql.d.ts +75 -75
  717. package/dist/types/provider.d.ts +1 -1
  718. package/dist/types/session/command.d.ts +1 -1
  719. package/dist/types/session/compaction.d.ts +1 -1
  720. package/dist/types/session/diff.d.ts +1 -1
  721. package/dist/types/session/execution/restart.d.ts +1 -1
  722. package/dist/types/session/execution.d.ts +2 -2
  723. package/dist/types/session/generate.d.ts +1 -1
  724. package/dist/types/session/history.d.ts +826 -826
  725. package/dist/types/session/inbox.d.ts +110 -110
  726. package/dist/types/session/instruction-entry.d.ts +2 -2
  727. package/dist/types/session/instruction-state.d.ts +1 -1
  728. package/dist/types/session/model-request.d.ts +1 -1
  729. package/dist/types/session/prompt.d.ts +7 -7
  730. package/dist/types/session/revert.d.ts +1 -1
  731. package/dist/types/session/runner/index.d.ts +42 -46
  732. package/dist/types/session/runner/step.d.ts +86 -96
  733. package/dist/types/session/session.d.ts +27 -27
  734. package/dist/types/session/skill.d.ts +1 -1
  735. package/dist/types/session/sql.d.ts +139 -139
  736. package/dist/types/session/stats.d.ts +1 -1
  737. package/dist/types/session/store.d.ts +5 -5
  738. package/dist/types/session/subagent-completion.d.ts +1 -1
  739. package/dist/types/session/title.d.ts +1 -1
  740. package/dist/types/session/transfer.d.ts +26 -26
  741. package/dist/types/session.d.ts +5 -5
  742. package/dist/types/shell/result.d.ts +14 -14
  743. package/dist/types/state.d.ts +1 -1
  744. package/dist/types/tool/plugin/read.d.ts +2 -2
  745. package/dist/types/tool/plugin/shell.d.ts +1 -1
  746. package/dist/types/tool/plugin/skill.d.ts +1 -1
  747. package/dist/types/tool/plugin/webfetch.d.ts +1 -1
  748. package/dist/types/tool/read-filesystem.d.ts +4 -4
  749. package/dist/types/tool/runtime.d.ts +1 -1
  750. package/dist/types/util/error.d.ts +36 -32
  751. package/dist/types/v1/config/agent.d.ts +2 -2
  752. package/dist/types/v1/config/error.d.ts +51 -46
  753. package/dist/types/v1/config/migrate.d.ts +14 -14
  754. package/dist/types/v1/config/permission.d.ts +3 -3
  755. package/dist/types/wellknown.d.ts +4 -6
  756. package/dist/types/workspace/sql.d.ts +1 -1
  757. package/dist/types/worktree/git.d.ts +3 -3
  758. package/dist/types/worktree/sql.d.ts +1 -1
  759. package/dist/util/error-summary.js +1 -1
  760. package/dist/util/error.js +1 -1
  761. package/dist/util/git-executable.js +2 -2
  762. package/dist/util/iife.js +1 -1
  763. package/dist/util/lazy.js +1 -1
  764. package/dist/util/slug.js +1 -1
  765. package/dist/util/token.js +1 -1
  766. package/dist/util/which.js +1 -1
  767. package/dist/util/wildcard.js +1 -1
  768. package/dist/v1/config/agent.js +5 -5
  769. package/dist/v1/config/command.js +3 -3
  770. package/dist/v1/config/error.js +2 -2
  771. package/dist/v1/config/mcp.js +4 -4
  772. package/dist/v1/config/migrate.js +94 -94
  773. package/dist/v1/config/permission.js +3 -3
  774. package/dist/v1/config/plugin.js +3 -3
  775. package/dist/v1/config/provider-options.js +1 -1
  776. package/dist/v1/config/provider.js +4 -4
  777. package/dist/variant.js +95 -95
  778. package/dist/vcs/patch.js +1 -1
  779. package/dist/vcs.js +91 -91
  780. package/dist/voice.js +90 -90
  781. package/dist/websearch.js +82 -82
  782. package/dist/wellknown/plugin.js +78 -78
  783. package/dist/wellknown.js +81 -81
  784. package/dist/workspace/driver.js +3 -3
  785. package/dist/workspace/sql.js +1 -1
  786. package/dist/workspace.js +82 -82
  787. package/dist/worktree/directory.js +2 -2
  788. package/dist/worktree/git.js +10 -10
  789. package/dist/worktree/sql.js +5 -5
  790. package/dist/worktree/strategies.js +91 -91
  791. package/dist/worktree.js +98 -98
  792. package/package.json +9 -9
  793. package/dist/chunks/form-4v7qdvcn.js +0 -18
  794. package/dist/chunks/form-bp1dmp05.js +0 -257
  795. package/dist/chunks/form-e9jspw56.js +0 -26
  796. package/dist/chunks/form-scgrse2b.js +0 -80
  797. /package/dist/chunks/{form-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  798. /package/dist/chunks/{form-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  799. /package/dist/chunks/{form-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  800. /package/dist/chunks/{form-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  801. /package/dist/chunks/{form-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
  802. /package/dist/chunks/{form-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  803. /package/dist/chunks/{form-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  804. /package/dist/chunks/{form-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
  805. /package/dist/chunks/{form-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
  806. /package/dist/chunks/{form-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  807. /package/dist/chunks/{form-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  808. /package/dist/chunks/{form-3asan66x.js → tool-output-3asan66x.js} +0 -0
  809. /package/dist/chunks/{form-3t0ybcrp.js → tool-output-3t0ybcrp.js} +0 -0
  810. /package/dist/chunks/{form-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  811. /package/dist/chunks/{form-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  812. /package/dist/chunks/{form-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  813. /package/dist/chunks/{form-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  814. /package/dist/chunks/{form-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  815. /package/dist/chunks/{form-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  816. /package/dist/chunks/{form-53557ph1.js → tool-output-53557ph1.js} +0 -0
  817. /package/dist/chunks/{form-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  818. /package/dist/chunks/{form-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
  819. /package/dist/chunks/{form-6prwharc.js → tool-output-6prwharc.js} +0 -0
  820. /package/dist/chunks/{form-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
  821. /package/dist/chunks/{form-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  822. /package/dist/chunks/{form-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  823. /package/dist/chunks/{form-822emrt2.js → tool-output-822emrt2.js} +0 -0
  824. /package/dist/chunks/{form-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
  825. /package/dist/chunks/{form-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  826. /package/dist/chunks/{form-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  827. /package/dist/chunks/{form-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  828. /package/dist/chunks/{form-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  829. /package/dist/chunks/{form-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  830. /package/dist/chunks/{form-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  831. /package/dist/chunks/{form-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  832. /package/dist/chunks/{form-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  833. /package/dist/chunks/{form-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  834. /package/dist/chunks/{form-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  835. /package/dist/chunks/{form-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  836. /package/dist/chunks/{form-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  837. /package/dist/chunks/{form-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  838. /package/dist/chunks/{form-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  839. /package/dist/chunks/{form-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  840. /package/dist/chunks/{form-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  841. /package/dist/chunks/{form-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  842. /package/dist/chunks/{form-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  843. /package/dist/chunks/{form-df08tz66.js → tool-output-df08tz66.js} +0 -0
  844. /package/dist/chunks/{form-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  845. /package/dist/chunks/{form-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  846. /package/dist/chunks/{form-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  847. /package/dist/chunks/{form-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  848. /package/dist/chunks/{form-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  849. /package/dist/chunks/{form-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  850. /package/dist/chunks/{form-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  851. /package/dist/chunks/{form-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  852. /package/dist/chunks/{form-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  853. /package/dist/chunks/{form-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  854. /package/dist/chunks/{form-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  855. /package/dist/chunks/{form-g86h250q.js → tool-output-g86h250q.js} +0 -0
  856. /package/dist/chunks/{form-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  857. /package/dist/chunks/{form-gftt206x.js → tool-output-gftt206x.js} +0 -0
  858. /package/dist/chunks/{form-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
  859. /package/dist/chunks/{form-hk9envan.js → tool-output-hk9envan.js} +0 -0
  860. /package/dist/chunks/{form-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  861. /package/dist/chunks/{form-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  862. /package/dist/chunks/{form-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  863. /package/dist/chunks/{form-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  864. /package/dist/chunks/{form-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  865. /package/dist/chunks/{form-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
  866. /package/dist/chunks/{form-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  867. /package/dist/chunks/{form-m18g726c.js → tool-output-m18g726c.js} +0 -0
  868. /package/dist/chunks/{form-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  869. /package/dist/chunks/{form-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  870. /package/dist/chunks/{form-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  871. /package/dist/chunks/{form-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  872. /package/dist/chunks/{form-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  873. /package/dist/chunks/{form-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
  874. /package/dist/chunks/{form-pyv0edze.js → tool-output-pyv0edze.js} +0 -0
  875. /package/dist/chunks/{form-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  876. /package/dist/chunks/{form-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  877. /package/dist/chunks/{form-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  878. /package/dist/chunks/{form-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  879. /package/dist/chunks/{form-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  880. /package/dist/chunks/{form-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  881. /package/dist/chunks/{form-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  882. /package/dist/chunks/{form-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  883. /package/dist/chunks/{form-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  884. /package/dist/chunks/{form-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  885. /package/dist/chunks/{form-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
  886. /package/dist/chunks/{form-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  887. /package/dist/chunks/{form-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  888. /package/dist/chunks/{form-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  889. /package/dist/chunks/{form-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
  890. /package/dist/chunks/{form-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  891. /package/dist/chunks/{form-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  892. /package/dist/chunks/{form-x61499pn.js → tool-output-x61499pn.js} +0 -0
  893. /package/dist/chunks/{form-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  894. /package/dist/chunks/{form-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  895. /package/dist/chunks/{form-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  896. /package/dist/chunks/{form-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  897. /package/dist/chunks/{form-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
  898. /package/dist/chunks/{form-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- ID9,
2
+ ID10,
3
3
  Service66
4
- } from "./form-01a0dr57.js";
4
+ } from "./tool-output-y1n4p2mq.js";
5
5
  import {
6
- Service82
7
- } from "./form-ntmr2xz8.js";
6
+ Service79
7
+ } from "./tool-output-t760r0v7.js";
8
8
  import {
9
- Service50
10
- } from "./form-beh5shbh.js";
9
+ Service49
10
+ } from "./tool-output-xtx6j1wk.js";
11
11
  import {
12
- Service61,
12
+ Service68,
13
13
  args2
14
- } from "./form-1ae71dfs.js";
14
+ } from "./tool-output-jb9mn43j.js";
15
15
  import {
16
- Service21
17
- } from "./form-qa2wssbs.js";
16
+ Service32
17
+ } from "./tool-output-r9bv3gpp.js";
18
18
  import {
19
- Service12
20
- } from "./form-jej310j1.js";
19
+ Service11
20
+ } from "./tool-output-3jd31z68.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./form-8m6m0r52.js";
23
+ } from "./tool-output-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./form-9rqn6x4v.js";
26
+ } from "./tool-output-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
@@ -44,7 +44,7 @@ var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
44
  var Plugin39 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service50;
47
+ const config = yield* Service49;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin39 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service82;
57
+ const location = yield* Service79;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service61;
60
- const sessions = yield* Service21;
59
+ const shell = yield* Service68;
60
+ const sessions = yield* Service32;
61
61
  const agents = yield* Service66;
62
- const subagents = yield* Service12;
62
+ const subagents = yield* Service11;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin39 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./form-56301932.js";
7
+ } from "./tool-output-n64rk8nt.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./form-deefrv65.js";
11
+ } from "./tool-output-xk048zvw.js";
12
12
  import {
13
- Service84,
14
- node88
15
- } from "./form-j6ktnsbj.js";
13
+ Service81,
14
+ node85
15
+ } from "./tool-output-xw6avn3p.js";
16
16
  import {
17
- ID18,
17
+ ID15,
18
18
  Current3,
19
- Info29,
19
+ Info25,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event18,
22
22
  Vcs3
23
- } from "./form-v0es1rhs.js";
23
+ } from "./tool-output-4434d9q2.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./form-rj3eygr5.js";
27
+ } from "./tool-output-rj3eygr5.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./form-sa8ekw3f.js";
30
+ } from "./tool-output-sa8ekw3f.js";
31
31
  import {
32
32
  __export
33
- } from "./form-9rqn6x4v.js";
33
+ } from "./tool-output-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info28,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID14,
40
+ Info: () => Info24,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service83,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node87,
46
+ node: () => node84,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID17 = ID18;
59
+ var ID14 = ID15;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info28 = Info29;
62
+ var Info24 = Info25;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID17
65
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID14
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service83 extends Context.Service()("@opencode/Project") {
77
+ class Service80 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,9 +98,9 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service83, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service84;
103
+ const git = yield* Service81;
104
104
  const proc = yield* AppProcess.Service;
105
105
  const bus = yield* Service85;
106
106
  const db = (yield* Service86).db;
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event21.Updated, fromRow(changed));
115
+ yield* bus.publish(Event18.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID17.global,
151
+ previous: project.previous ?? ID14.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError10({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event21.Updated, project);
176
+ yield* bus.publish(Event18.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event21.Updated, fromRow(row));
187
+ yield* bus.publish(Event18.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID14.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID17.make(root) : undefined;
226
+ return root ? ID14.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID17.make(node) : undefined;
242
+ return node ? ID14.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID17.global,
251
+ id: id ?? ID14.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID17.global,
268
+ id: id ?? ID14.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID17.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID14.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event21.Updated, fromRow(row));
304
+ yield* bus.publish(Event18.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service83.of({ list, update, activate, resolve, sweep });
307
+ return Service80.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node87 = makeGlobalNode({
310
- service: Service83,
309
+ var node84 = makeGlobalNode({
310
+ service: Service80,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
312
+ deps: [node89, node90, FSUtil.node, node85, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service83;
317
+ const project = yield* Service80;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node87]
320
+ deps: [node84]
321
321
  });
322
322
 
323
- export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service83, node87, sweepNode2, exports_project };
323
+ export { ID14, Vcs2, Current2, Info24, UpdateInput3, NotFoundError10, root2, Service80, node84, sweepNode2, exports_project };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85
3
- } from "./form-deefrv65.js";
3
+ } from "./tool-output-xk048zvw.js";
4
4
  import {
5
- ID14,
6
- Event18,
7
- Service75
8
- } from "./form-f8t4d16m.js";
5
+ ID18,
6
+ Event21,
7
+ Service84
8
+ } from "./tool-output-phb9r7tb.js";
9
9
  import {
10
10
  ID12
11
- } from "./form-9v2kfm1y.js";
11
+ } from "./tool-output-zwz7qm57.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./form-vdwbg7py.js";
14
+ } from "./tool-output-hc42tqs2.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service75;
44
+ const credentials = yield* Service84;
45
45
  const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -66,7 +66,7 @@ var GoogleVertexPlugin2 = define({
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
68
  const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event18.Updated, Event18.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service49,
8
+ Service: () => Service47,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node51
10
+ node: () => node50
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service49 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service47 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service49, () => {
17
+ var layer = Layer.sync(Service47, () => {
18
18
  const environments = new Map;
19
- return Service49.of({
19
+ return Service47.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node51 = makeGlobalNode({ service: Service49, layer, deps: [] });
29
+ var node50 = makeGlobalNode({ service: Service47, layer, deps: [] });
30
30
 
31
- export { Service49, node51, exports_environment };
31
+ export { Service47, node50, exports_environment };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./form-hgz4x7wa.js";
6
+ } from "./tool-output-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./form-eej6y6fw.js";
9
+ } from "./tool-output-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./form-3hwn7j4h.js";
12
+ } from "./tool-output-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./form-v7p4zvkq.js";
15
+ } from "./tool-output-v7p4zvkq.js";
16
16
  import {
17
- Service82,
18
- node86
19
- } from "./form-ntmr2xz8.js";
17
+ Service79,
18
+ node83
19
+ } from "./tool-output-t760r0v7.js";
20
20
  import {
21
- Service81,
22
- node84
23
- } from "./form-jgmgg0kd.js";
21
+ Service78,
22
+ node81
23
+ } from "./tool-output-bhg3hqkd.js";
24
24
  import {
25
25
  __export
26
- } from "./form-9rqn6x4v.js";
26
+ } from "./tool-output-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service80,
33
- node: () => node83
32
+ Service: () => Service77,
33
+ node: () => node80
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service80,
46
+ Service: () => Service77,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node83,
52
+ node: () => node80,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service80 extends Context.Service()("@opencode/Environment") {
61
+ class Service77 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service80, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service82;
66
- const workspace = yield* Service81;
65
+ const location = yield* Service79;
66
+ const workspace = yield* Service78;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service80.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service77.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node83 = makeLocationNode({
71
- service: Service80,
70
+ var node80 = makeLocationNode({
71
+ service: Service77,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node86, node84]
73
+ deps: [CrossSpawnSpawner.node, node83, node81]
74
74
  });
75
75
 
76
- export { Service80, node83, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service77, node80, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-y3446w5g.js";
3
+ } from "./tool-output-thvynrj3.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./form-3v8g72cx.js";
6
+ } from "./tool-output-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES3,
8
+ MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./form-1ffvrpkg.js";
10
+ } from "./tool-output-bjx1sjef.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin19,
18
+ Plugin: () => Plugin7,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint4
20
+ endpoint: () => endpoint5
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 endpoint4 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint5 = "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 Plugin19 = define({
54
+ var Plugin7 = 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 Plugin19 = 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, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint5, "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 Plugin19 = 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(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint5).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",
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
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(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
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)({
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 { endpoint4, Plugin19, exports_tinyfish };
123
+ export { endpoint5, Plugin7, exports_tinyfish };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./form-pyv0edze.js";
3
+ } from "./tool-output-pyv0edze.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin29,
11
+ Plugin: () => Plugin11,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin29 = define({
18
+ var Plugin11 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin29, exports_tool_input_repair };
123
+ export { Plugin11, exports_tool_input_repair };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./form-6q2bdcd1.js";
3
+ } from "./tool-output-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";