@opencode/core 0.0.0-dev-21048 → 0.0.0-dev-21049

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{instruction-discovery-va1nha5r.js → tool-09qqh49h.js} +25 -25
  8. package/dist/chunks/{instruction-discovery-n8bv0sa4.js → tool-0dy26cax.js} +23 -23
  9. package/dist/chunks/{instruction-discovery-waq2gve3.js → tool-0eyv36ts.js} +31 -31
  10. package/dist/chunks/{instruction-discovery-d3y6n0b6.js → tool-0n5ns49k.js} +4 -4
  11. package/dist/chunks/{instruction-discovery-wca6rppr.js → tool-0nxben1n.js} +39 -39
  12. package/dist/chunks/{instruction-discovery-3fcjan8b.js → tool-0qrpzpdx.js} +11 -11
  13. package/dist/chunks/{instruction-discovery-7bwjw7wy.js → tool-0spfg2bb.js} +11 -11
  14. package/dist/chunks/{instruction-discovery-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{instruction-discovery-fxataexq.js → tool-11w9b7qd.js} +19 -19
  16. package/dist/chunks/{instruction-discovery-39p519kw.js → tool-12t6z3cz.js} +4 -4
  17. package/dist/chunks/{instruction-discovery-rrt0a0ha.js → tool-143qq2q9.js} +3 -3
  18. package/dist/chunks/{instruction-discovery-n9jssr68.js → tool-15qc111y.js} +11 -11
  19. package/dist/chunks/{instruction-discovery-wt9anvpp.js → tool-15zrfa03.js} +3 -3
  20. package/dist/chunks/{instruction-discovery-gdd5b309.js → tool-1b7ejmxt.js} +8 -8
  21. package/dist/chunks/{instruction-discovery-t23q2gqf.js → tool-1gjkdexd.js} +13 -13
  22. package/dist/chunks/{instruction-discovery-v0hpbr4w.js → tool-1hz0wgam.js} +29 -29
  23. package/dist/chunks/{instruction-discovery-g3y7bjhb.js → tool-1w2t7fyn.js} +18 -18
  24. package/dist/chunks/{instruction-discovery-0gkc12cr.js → tool-230ecda4.js} +7 -7
  25. package/dist/chunks/{instruction-discovery-ts0gh8et.js → tool-29eykq4v.js} +15 -15
  26. package/dist/chunks/{instruction-discovery-qz02d4gv.js → tool-2bekqz3a.js} +15 -15
  27. package/dist/chunks/{instruction-discovery-3pkdza1g.js → tool-2th9fvys.js} +19 -19
  28. package/dist/chunks/{instruction-discovery-zba37znz.js → tool-2z796rds.js} +20 -20
  29. package/dist/chunks/{instruction-discovery-afc89ade.js → tool-376dj1j3.js} +10 -10
  30. package/dist/chunks/{instruction-discovery-9gegnqrt.js → tool-3cdf983x.js} +41 -35
  31. package/dist/chunks/{instruction-discovery-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{instruction-discovery-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{instruction-discovery-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{instruction-discovery-gzwa2jyh.js → tool-3pytycam.js} +6 -6
  35. package/dist/chunks/{instruction-discovery-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{instruction-discovery-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{instruction-discovery-4ybyq5fk.js → tool-3wfexhse.js} +11 -11
  38. package/dist/chunks/{instruction-discovery-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{instruction-discovery-5q5baksb.js → tool-4704tty5.js} +2 -2
  40. package/dist/chunks/{instruction-discovery-hbs3tas6.js → tool-47bgsghd.js} +5 -5
  41. package/dist/chunks/{instruction-discovery-6kzp9tjq.js → tool-47jkzegy.js} +5 -5
  42. package/dist/chunks/{instruction-discovery-nm6k19tz.js → tool-49zdgxhw.js} +25 -25
  43. package/dist/chunks/{instruction-discovery-fhneg79x.js → tool-4fjma7m8.js} +16 -16
  44. package/dist/chunks/{instruction-discovery-vp80wfjs.js → tool-4k48dskj.js} +43 -43
  45. package/dist/chunks/{instruction-discovery-wtww1gdk.js → tool-4ka8hhjj.js} +8 -8
  46. package/dist/chunks/{instruction-discovery-a0t017ph.js → tool-52zr48d6.js} +16 -16
  47. package/dist/chunks/{instruction-discovery-54ma36ye.js → tool-54ma36ye.js} +1 -1
  48. package/dist/chunks/{instruction-discovery-fesr6daw.js → tool-560byads.js} +1 -1
  49. package/dist/chunks/{instruction-discovery-3x2mfa6x.js → tool-5714egxe.js} +3 -3
  50. package/dist/chunks/{instruction-discovery-xfkkasph.js → tool-57b9ws8p.js} +7 -7
  51. package/dist/chunks/{instruction-discovery-cvpgerb4.js → tool-5ds65g7m.js} +174 -174
  52. package/dist/chunks/{instruction-discovery-r17nf67x.js → tool-5ezpm4ww.js} +18 -18
  53. package/dist/chunks/{instruction-discovery-5keqaf2g.js → tool-5gq9j52j.js} +18 -18
  54. package/dist/chunks/{instruction-discovery-0383yw56.js → tool-5kmqhqkx.js} +12 -12
  55. package/dist/chunks/{instruction-discovery-ygj6d1q8.js → tool-5kpd3qqk.js} +5 -5
  56. package/dist/chunks/{instruction-discovery-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{instruction-discovery-3rr193fp.js → tool-61xwzbr6.js} +33 -33
  58. package/dist/chunks/{instruction-discovery-zntnh37a.js → tool-62jddv0q.js} +92 -92
  59. package/dist/chunks/{instruction-discovery-0bg0bx69.js → tool-6g7e4dd5.js} +9 -9
  60. package/dist/chunks/{instruction-discovery-t6vsspdg.js → tool-6hh8tjw2.js} +7 -7
  61. package/dist/chunks/{instruction-discovery-vcskyzb7.js → tool-6jpn1xds.js} +1 -1
  62. package/dist/chunks/{instruction-discovery-tp8w4ggf.js → tool-6mvkgxje.js} +5 -5
  63. package/dist/chunks/{instruction-discovery-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{instruction-discovery-wdy1g13m.js → tool-6yybhc5e.js} +5 -5
  65. package/dist/chunks/{instruction-discovery-vrrq7v3g.js → tool-6yz0wx8n.js} +5 -5
  66. package/dist/chunks/{instruction-discovery-5tmmj2ep.js → tool-70h0erza.js} +35 -35
  67. package/dist/chunks/{instruction-discovery-cqwer3tv.js → tool-70qn9w1v.js} +22 -22
  68. package/dist/chunks/{instruction-discovery-775gj3j1.js → tool-775gj3j1.js} +2 -2
  69. package/dist/chunks/{instruction-discovery-674019k8.js → tool-7b2ys08c.js} +3 -3
  70. package/dist/chunks/{instruction-discovery-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{instruction-discovery-d0sm7wyd.js → tool-7grdpmn4.js} +32 -32
  72. package/dist/chunks/{instruction-discovery-s97ptryn.js → tool-7kfb2kjh.js} +12 -12
  73. package/dist/chunks/{instruction-discovery-vywgnqw5.js → tool-7myztyss.js} +45 -45
  74. package/dist/chunks/{instruction-discovery-d8zg3xw8.js → tool-8022akpp.js} +35 -35
  75. package/dist/chunks/{instruction-discovery-84txncab.js → tool-84txncab.js} +1 -1
  76. package/dist/chunks/{instruction-discovery-cn5f6y8n.js → tool-87b0tycv.js} +22 -22
  77. package/dist/chunks/{instruction-discovery-jdywrghb.js → tool-87t3sg69.js} +8 -8
  78. package/dist/chunks/{instruction-discovery-d44g346f.js → tool-8f721ffb.js} +4 -4
  79. package/dist/chunks/{instruction-discovery-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{instruction-discovery-wnr73e5f.js → tool-92jqywd0.js} +15 -15
  81. package/dist/chunks/{instruction-discovery-am6f2qjv.js → tool-93jnn70z.js} +8 -8
  82. package/dist/chunks/{instruction-discovery-26xa0t1s.js → tool-95f8ca4q.js} +15 -15
  83. package/dist/chunks/{instruction-discovery-b4ea2vqv.js → tool-98wwwshm.js} +28 -28
  84. package/dist/chunks/{instruction-discovery-07ypw4px.js → tool-99va16k7.js} +20 -20
  85. package/dist/chunks/{instruction-discovery-fyjp43ss.js → tool-9b00c1fb.js} +5 -5
  86. package/dist/chunks/{instruction-discovery-mbnxefga.js → tool-9pa8tak9.js} +2 -2
  87. package/dist/chunks/{instruction-discovery-b0j129rr.js → tool-9rpqzg1a.js} +15 -15
  88. package/dist/chunks/{instruction-discovery-5ykfhzjf.js → tool-9z41w441.js} +9 -9
  89. package/dist/chunks/{instruction-discovery-39ckm3km.js → tool-9zt3hyj2.js} +35 -35
  90. package/dist/chunks/{instruction-discovery-sgd8205n.js → tool-a6j5r86g.js} +5 -5
  91. package/dist/chunks/{instruction-discovery-hwvf8j5p.js → tool-a79qvj6d.js} +27 -27
  92. package/dist/chunks/{instruction-discovery-s26hbv8p.js → tool-afrtgck4.js} +4 -4
  93. package/dist/chunks/{instruction-discovery-dk8zk830.js → tool-axr9kwmj.js} +50 -50
  94. package/dist/chunks/{instruction-discovery-6r28svve.js → tool-b44y2phb.js} +25 -25
  95. package/dist/chunks/{instruction-discovery-te5rt75t.js → tool-b92e8n45.js} +9 -9
  96. package/dist/chunks/{instruction-discovery-8qv4x6hf.js → tool-bhwamkf8.js} +25 -25
  97. package/dist/chunks/{instruction-discovery-26msm9mf.js → tool-bnpshxh6.js} +13 -13
  98. package/dist/chunks/{instruction-discovery-nsprr89q.js → tool-btsvt50k.js} +8 -8
  99. package/dist/chunks/{instruction-discovery-zw16ksqp.js → tool-c00bz1vb.js} +15 -15
  100. package/dist/chunks/{instruction-discovery-c1fqxshp.js → tool-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{instruction-discovery-gbnkk931.js → tool-c29z7hcx.js} +33 -33
  102. package/dist/chunks/{instruction-discovery-w9d4qx3c.js → tool-cdb4d5hn.js} +8 -8
  103. package/dist/chunks/{instruction-discovery-zrq8kphx.js → tool-cmmdg65p.js} +8 -8
  104. package/dist/chunks/{instruction-discovery-dn60m14v.js → tool-cnrvnbz5.js} +32 -32
  105. package/dist/chunks/{instruction-discovery-rk5a64xw.js → tool-cqw1m3c7.js} +14 -14
  106. package/dist/chunks/{instruction-discovery-bdz9ry1p.js → tool-cwq5cw92.js} +6 -6
  107. package/dist/chunks/{instruction-discovery-nnekz5nz.js → tool-cyt5dtwd.js} +8 -8
  108. package/dist/chunks/{instruction-discovery-7v4674rz.js → tool-d0ge418f.js} +5 -5
  109. package/dist/chunks/{instruction-discovery-wwajdw47.js → tool-d43tgzm4.js} +9 -9
  110. package/dist/chunks/{instruction-discovery-tbj4gm0g.js → tool-d9rb3zvs.js} +65 -65
  111. package/dist/chunks/{instruction-discovery-545ygv0m.js → tool-djs19gy2.js} +4 -4
  112. package/dist/chunks/{instruction-discovery-ngnpdf4h.js → tool-dp9e102f.js} +9 -9
  113. package/dist/chunks/{instruction-discovery-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
  114. package/dist/chunks/{instruction-discovery-mw3hxzp4.js → tool-dvr9mxdx.js} +11 -11
  115. package/dist/chunks/{instruction-discovery-4ae7g3jr.js → tool-dx4kydrk.js} +9 -9
  116. package/dist/chunks/{instruction-discovery-pcdt4n7h.js → tool-e0f7tvrt.js} +30 -30
  117. package/dist/chunks/{instruction-discovery-ed38js2d.js → tool-e0yqexzb.js} +56 -56
  118. package/dist/chunks/{instruction-discovery-wqfpt31c.js → tool-e58xrjgm.js} +14 -14
  119. package/dist/chunks/{instruction-discovery-er5c7pdw.js → tool-e8ajjxsc.js} +24 -24
  120. package/dist/chunks/{instruction-discovery-w3x9v1nk.js → tool-eeaf82dq.js} +8 -8
  121. package/dist/chunks/{instruction-discovery-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{instruction-discovery-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{instruction-discovery-9bbnj2zh.js → tool-eh6ej367.js} +5 -5
  124. package/dist/chunks/{instruction-discovery-yjagzrbw.js → tool-ehyjreag.js} +23 -23
  125. package/dist/chunks/{instruction-discovery-hztdefgr.js → tool-en4jjy2t.js} +17 -17
  126. package/dist/chunks/{instruction-discovery-5cg0q5wd.js → tool-enceqnms.js} +11 -11
  127. package/dist/chunks/{instruction-discovery-41czef58.js → tool-espax8zg.js} +4 -4
  128. package/dist/chunks/{instruction-discovery-n36cz2kn.js → tool-exasynrg.js} +3 -3
  129. package/dist/chunks/{instruction-discovery-dpkg50ah.js → tool-f0nz223j.js} +4 -4
  130. package/dist/chunks/{instruction-discovery-gf48kp7h.js → tool-f8a4hwr2.js} +7 -7
  131. package/dist/chunks/{instruction-discovery-99r6wgs9.js → tool-f8c51dk5.js} +14 -14
  132. package/dist/chunks/{instruction-discovery-2k8khapm.js → tool-fcrkznn8.js} +5 -5
  133. package/dist/chunks/{instruction-discovery-tw6ga7pb.js → tool-fdv8dmm1.js} +16 -16
  134. package/dist/chunks/{instruction-discovery-8zknfaqf.js → tool-fkpfeb1d.js} +25 -25
  135. package/dist/chunks/{instruction-discovery-nx8grar1.js → tool-fmabef4g.js} +24 -24
  136. package/dist/chunks/{instruction-discovery-56dxv453.js → tool-fprpd8rr.js} +9 -9
  137. package/dist/chunks/{instruction-discovery-deztckzr.js → tool-fr6f0teb.js} +21 -21
  138. package/dist/chunks/{instruction-discovery-tnzkad2a.js → tool-fwa0h3zy.js} +40 -40
  139. package/dist/chunks/{instruction-discovery-eaeaap33.js → tool-g5j27e7f.js} +9 -9
  140. package/dist/chunks/{instruction-discovery-g686f6pq.js → tool-g686f6pq.js} +2 -2
  141. package/dist/chunks/{instruction-discovery-ppyys8tk.js → tool-g6q255vp.js} +21 -21
  142. package/dist/chunks/{instruction-discovery-gvq71yfv.js → tool-g8a3dkpa.js} +21 -21
  143. package/dist/chunks/{instruction-discovery-p2c3safp.js → tool-ga7mt0se.js} +7 -7
  144. package/dist/chunks/{instruction-discovery-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{instruction-discovery-r0ygj1jg.js → tool-gg52rjyc.js} +26 -26
  146. package/dist/chunks/{instruction-discovery-89zm7n8n.js → tool-gpvphjq8.js} +7 -7
  147. package/dist/chunks/{instruction-discovery-r659b7sp.js → tool-gv51xe32.js} +12 -12
  148. package/dist/chunks/{instruction-discovery-g76hbfwx.js → tool-h28ky92f.js} +24 -24
  149. package/dist/chunks/{instruction-discovery-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{instruction-discovery-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
  151. package/dist/chunks/{instruction-discovery-5w9yjztw.js → tool-he27pt63.js} +1 -1
  152. package/dist/chunks/{instruction-discovery-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{instruction-discovery-91qna3x0.js → tool-j09zfasm.js} +3 -3
  154. package/dist/chunks/{instruction-discovery-p5erqdfk.js → tool-j49xa6cy.js} +1 -1
  155. package/dist/chunks/{instruction-discovery-c2f194xb.js → tool-jabbs2pc.js} +42 -42
  156. package/dist/chunks/{instruction-discovery-myvxdkkw.js → tool-jb4mrxfg.js} +20 -20
  157. package/dist/chunks/{instruction-discovery-0xe61swr.js → tool-jc5z6esd.js} +14 -14
  158. package/dist/chunks/{instruction-discovery-bxn8npdm.js → tool-jcc9efy7.js} +13 -13
  159. package/dist/chunks/{instruction-discovery-kksb4y7r.js → tool-jgxf7b5z.js} +3 -3
  160. package/dist/chunks/{instruction-discovery-6zdc443m.js → tool-jh7q4nc1.js} +12 -12
  161. package/dist/chunks/{instruction-discovery-xpbc9swk.js → tool-jjw2fst0.js} +11 -11
  162. package/dist/chunks/{instruction-discovery-dnnn3g48.js → tool-jmsw07fh.js} +4 -4
  163. package/dist/chunks/{instruction-discovery-5h4cx8zn.js → tool-jpakg8mx.js} +11 -11
  164. package/dist/chunks/{instruction-discovery-d05e2dpj.js → tool-jqsqbmjz.js} +41 -41
  165. package/dist/chunks/{instruction-discovery-rpg9c19m.js → tool-jvf3yq6v.js} +4 -4
  166. package/dist/chunks/{instruction-discovery-redv2w84.js → tool-jvtxec42.js} +19 -19
  167. package/dist/chunks/{instruction-discovery-xqf30h8h.js → tool-k7b35hhb.js} +5 -5
  168. package/dist/chunks/{instruction-discovery-fxaymqdw.js → tool-khmqacep.js} +4 -4
  169. package/dist/chunks/{instruction-discovery-pah2hahp.js → tool-kkcq69qv.js} +24 -24
  170. package/dist/chunks/{instruction-discovery-k25jrs0g.js → tool-kp9fp1hg.js} +20 -20
  171. package/dist/chunks/{instruction-discovery-r21g991y.js → tool-ktw141zw.js} +6 -6
  172. package/dist/chunks/{instruction-discovery-w667zm0d.js → tool-kwh0g9yr.js} +6 -6
  173. package/dist/chunks/{instruction-discovery-jd2tz9j2.js → tool-m01k28hg.js} +22 -22
  174. package/dist/chunks/{instruction-discovery-tm6m41eq.js → tool-m1z5ek08.js} +8 -8
  175. package/dist/chunks/{instruction-discovery-5w0a3j8n.js → tool-m22hh5g2.js} +34 -34
  176. package/dist/chunks/{instruction-discovery-66yxf7f5.js → tool-m6vhnv41.js} +10 -10
  177. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{instruction-discovery-maspj1v3.js → tool-maspj1v3.js} +1 -1
  179. package/dist/chunks/{instruction-discovery-arkcm2ny.js → tool-mbdexebc.js} +9 -9
  180. package/dist/chunks/{instruction-discovery-mcgg1rg4.js → tool-mcgg1rg4.js} +2 -2
  181. package/dist/chunks/{instruction-discovery-97aeaand.js → tool-mqqhst8y.js} +4 -4
  182. package/dist/chunks/{instruction-discovery-d0k1g5nx.js → tool-mx9vqzsb.js} +6 -6
  183. package/dist/chunks/{instruction-discovery-5rethk9q.js → tool-n19kh25r.js} +10 -10
  184. package/dist/chunks/{instruction-discovery-xn3ttaks.js → tool-n721bpxh.js} +51 -51
  185. package/dist/chunks/{instruction-discovery-ttbszg9w.js → tool-n9asf4py.js} +17 -17
  186. package/dist/chunks/{instruction-discovery-yzadaxk8.js → tool-n9axg7zh.js} +4 -4
  187. package/dist/chunks/{instruction-discovery-0qaza0kh.js → tool-nck54nhp.js} +20 -20
  188. package/dist/chunks/{instruction-discovery-wyhtzqkq.js → tool-nncsyyge.js} +12 -12
  189. package/dist/chunks/{instruction-discovery-1ajx6rf5.js → tool-pa8pe2x7.js} +8 -8
  190. package/dist/chunks/{instruction-discovery-1gwacf78.js → tool-pbzbjmff.js} +36 -36
  191. package/dist/chunks/{instruction-discovery-3qeqpf55.js → tool-pf9eybg4.js} +18 -18
  192. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{instruction-discovery-pknna89w.js → tool-pknna89w.js} +1 -1
  194. package/dist/chunks/{instruction-discovery-4dkatwf4.js → tool-pr04h4tn.js} +3 -3
  195. package/dist/chunks/{instruction-discovery-fhm98gwr.js → tool-prg7pynr.js} +3 -3
  196. package/dist/chunks/{instruction-discovery-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  197. package/dist/chunks/{instruction-discovery-mek16e5d.js → tool-q9099wq0.js} +11 -11
  198. package/dist/chunks/{instruction-discovery-8x421jqn.js → tool-qa5pp94n.js} +11 -11
  199. package/dist/chunks/{instruction-discovery-s6cvh2py.js → tool-qbxqra2w.js} +4 -4
  200. package/dist/chunks/tool-qc068m1q.js +18 -0
  201. package/dist/chunks/{instruction-discovery-anwhnb2d.js → tool-qdafbg7b.js} +77 -77
  202. package/dist/chunks/{instruction-discovery-2sejkfem.js → tool-qmqgtz8f.js} +9 -9
  203. package/dist/chunks/{instruction-discovery-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{instruction-discovery-qsdy395h.js → tool-qsdy395h.js} +1 -1
  205. package/dist/chunks/tool-qtqva6ax.js +253 -0
  206. package/dist/chunks/{instruction-discovery-m98n21m1.js → tool-r0b0zdb7.js} +19 -19
  207. package/dist/chunks/{instruction-discovery-9qzav5ez.js → tool-r6ewd7yw.js} +11 -11
  208. package/dist/chunks/{instruction-discovery-kx590b7g.js → tool-r9z49qnw.js} +23 -23
  209. package/dist/chunks/{instruction-discovery-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{instruction-discovery-rert0e01.js → tool-rert0e01.js} +2 -2
  211. package/dist/chunks/{instruction-discovery-rj3eygr5.js → tool-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{instruction-discovery-69tmba6b.js → tool-rxva3spn.js} +15 -15
  213. package/dist/chunks/{instruction-discovery-zbmrnc37.js → tool-s1s9gt8f.js} +16 -16
  214. package/dist/chunks/{instruction-discovery-dtvpbkqr.js → tool-s2b5phw1.js} +14 -14
  215. package/dist/chunks/{instruction-discovery-w84sncwb.js → tool-s2j6jbe4.js} +11 -11
  216. package/dist/chunks/{instruction-discovery-wqrfg65e.js → tool-s43hmkm2.js} +13 -13
  217. package/dist/chunks/{instruction-discovery-sa8ekw3f.js → tool-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{instruction-discovery-k1n9ytqj.js → tool-sgs6tqcg.js} +15 -15
  219. package/dist/chunks/{instruction-discovery-e80seqcp.js → tool-sxcaecc0.js} +3 -3
  220. package/dist/chunks/{instruction-discovery-syv4x271.js → tool-syv4x271.js} +1 -1
  221. package/dist/chunks/{instruction-discovery-r3w64s9s.js → tool-t0stdxg1.js} +18 -18
  222. package/dist/chunks/{instruction-discovery-tvkrxetj.js → tool-t27cpqqf.js} +14 -14
  223. package/dist/chunks/{instruction-discovery-4b9sa3r1.js → tool-t3zshges.js} +11 -11
  224. package/dist/chunks/{instruction-discovery-rhjbct0v.js → tool-t550f9t1.js} +4 -4
  225. package/dist/chunks/{instruction-discovery-p9hg9hcj.js → tool-t7t1s02j.js} +19 -19
  226. package/dist/chunks/{instruction-discovery-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{instruction-discovery-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{instruction-discovery-tdstcens.js → tool-tdstcens.js} +1 -1
  229. package/dist/chunks/{instruction-discovery-9j9yh4s0.js → tool-teddrkej.js} +23 -23
  230. package/dist/chunks/{instruction-discovery-6ngppndb.js → tool-tkwrxyh9.js} +26 -26
  231. package/dist/chunks/{instruction-discovery-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{instruction-discovery-dm1rwr2p.js → tool-tp63ett8.js} +8 -8
  233. package/dist/chunks/{instruction-discovery-0z67tkav.js → tool-twvynhvt.js} +9 -9
  234. package/dist/chunks/{instruction-discovery-n37c4crj.js → tool-tyjrg911.js} +9 -9
  235. package/dist/chunks/{instruction-discovery-tyytaxap.js → tool-tyytaxap.js} +1 -1
  236. package/dist/chunks/{instruction-discovery-d79e138d.js → tool-v42hp0t0.js} +45 -45
  237. package/dist/chunks/{instruction-discovery-08vm096y.js → tool-v4cvsrx9.js} +41 -41
  238. package/dist/chunks/{instruction-discovery-mvfdckk2.js → tool-v4nfzjvf.js} +8 -8
  239. package/dist/chunks/{instruction-discovery-qykkc67d.js → tool-v5qvjexb.js} +4 -4
  240. package/dist/chunks/{instruction-discovery-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{instruction-discovery-jrzmnkg9.js → tool-vb6sw3y2.js} +23 -23
  242. package/dist/chunks/{instruction-discovery-f4whfjde.js → tool-vdnkbznm.js} +37 -37
  243. package/dist/chunks/{instruction-discovery-veqvce7d.js → tool-veqvce7d.js} +1 -1
  244. package/dist/chunks/{instruction-discovery-bmyepz0x.js → tool-vgsjm2js.js} +15 -15
  245. package/dist/chunks/tool-vn4qg1y1.js +513 -0
  246. package/dist/chunks/{instruction-discovery-an1jv1pa.js → tool-vq6g8cn6.js} +13 -13
  247. package/dist/chunks/{instruction-discovery-sjggpmq3.js → tool-vsp43hx6.js} +11 -11
  248. package/dist/chunks/{instruction-discovery-hvsbwkzx.js → tool-vw9027f9.js} +45 -45
  249. package/dist/chunks/{instruction-discovery-gj5mxq9j.js → tool-vx1yezxz.js} +4 -4
  250. package/dist/chunks/{instruction-discovery-0kd67hfw.js → tool-vzjqqmke.js} +13 -13
  251. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{instruction-discovery-2msx844e.js → tool-w6v0a0a0.js} +20 -20
  254. package/dist/chunks/{instruction-discovery-8sze2n9a.js → tool-w92k2e0p.js} +4 -4
  255. package/dist/chunks/{instruction-discovery-z4cgyzjc.js → tool-wd141nz2.js} +18 -18
  256. package/dist/chunks/{instruction-discovery-wd87259q.js → tool-wd87259q.js} +1 -1
  257. package/dist/chunks/{instruction-discovery-dk8f0wjs.js → tool-wn04sytp.js} +7 -7
  258. package/dist/chunks/{instruction-discovery-sf96nt6v.js → tool-wpvb0vtd.js} +13 -13
  259. package/dist/chunks/{instruction-discovery-y9h20586.js → tool-wqm3ja7g.js} +39 -39
  260. package/dist/chunks/{instruction-discovery-e1djpaqy.js → tool-wwx93a2b.js} +15 -15
  261. package/dist/chunks/{instruction-discovery-zccg1gv6.js → tool-wyszaa0p.js} +20 -20
  262. package/dist/chunks/{instruction-discovery-j0nh1mgf.js → tool-x2a7tbvm.js} +26 -26
  263. package/dist/chunks/{instruction-discovery-addxnjmp.js → tool-x661k3y3.js} +4 -4
  264. package/dist/chunks/{instruction-discovery-3xt25322.js → tool-xa2yqved.js} +30 -30
  265. package/dist/chunks/{instruction-discovery-p0jkddme.js → tool-xahevxwt.js} +18 -18
  266. package/dist/chunks/{instruction-discovery-mqqva4dz.js → tool-xcd5qje4.js} +29 -29
  267. package/dist/chunks/{instruction-discovery-gh1cfzqe.js → tool-xjjxg6fg.js} +18 -18
  268. package/dist/chunks/{instruction-discovery-qyeykpda.js → tool-xkgdf0k8.js} +18 -18
  269. package/dist/chunks/{instruction-discovery-g7d6kkwh.js → tool-xkskqrtp.js} +38 -38
  270. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/tool-y7mkpdv1.js +26 -0
  272. package/dist/chunks/{instruction-discovery-gmtsgm6h.js → tool-yd6x1vtb.js} +15 -15
  273. package/dist/chunks/{instruction-discovery-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{instruction-discovery-1ffvrpkg.js → tool-ywt8jp22.js} +6 -6
  275. package/dist/chunks/{instruction-discovery-5z3dn9de.js → tool-yy7ctzsd.js} +21 -21
  276. package/dist/chunks/{instruction-discovery-34kq85ks.js → tool-yyptd6zt.js} +3 -3
  277. package/dist/chunks/{instruction-discovery-aynn7abp.js → tool-z082bpte.js} +15 -15
  278. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{instruction-discovery-975jjne0.js → tool-z44d18ne.js} +11 -11
  280. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{instruction-discovery-3sj8yt8v.js → tool-zsr4wwhv.js} +4 -4
  282. package/dist/chunks/{instruction-discovery-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{instruction-discovery-scgrse2b.js → tool-zyk1yjk8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +78 -78
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +103 -103
  428. package/dist/git.js +8 -8
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +125 -125
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +218 -218
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +88 -88
  557. package/dist/provider.js +99 -99
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +89 -89
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +132 -132
  624. package/dist/skill/discovery.js +2 -2
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +110 -110
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +122 -122
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +107 -107
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +108 -108
  645. package/dist/tool/plugin/websearch.js +112 -112
  646. package/dist/tool/plugin/write.js +122 -122
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +89 -89
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +100 -100
  683. package/package.json +8 -8
  684. package/dist/chunks/instruction-discovery-0aj7h19t.js +0 -253
  685. package/dist/chunks/instruction-discovery-7fj5dwt0.js +0 -18
  686. package/dist/chunks/instruction-discovery-8m5b1yna.js +0 -26
  687. package/dist/chunks/instruction-discovery-ttge26p3.js +0 -513
  688. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{instruction-discovery-24dcb14g.js → tool-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{instruction-discovery-2710q6r3.js → tool-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{instruction-discovery-2bv980vf.js → tool-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{instruction-discovery-359p4xyc.js → tool-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{instruction-discovery-3asan66x.js → tool-3asan66x.js} +0 -0
  700. /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-53557ph1.js → tool-53557ph1.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-550bvhaj.js → tool-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-6prwharc.js → tool-6prwharc.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-7m9af43g.js → tool-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-822emrt2.js → tool-822emrt2.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-84wd9syh.js → tool-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-8n3pysct.js → tool-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-af5trqkr.js → tool-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-afrmfg78.js → tool-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-d9fn303g.js → tool-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-dajrwvna.js → tool-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-dap0rakb.js → tool-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-df08tz66.js → tool-df08tz66.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-dy18nga0.js → tool-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-ec1grn59.js → tool-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-faypxj3z.js → tool-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-fd410y7t.js → tool-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-g86h250q.js → tool-g86h250q.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-gftt206x.js → tool-gftt206x.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-hk9envan.js → tool-hk9envan.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-m18g726c.js → tool-m18g726c.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-mp448xyj.js → tool-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-njntx4h6.js → tool-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-pyv0edze.js → tool-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-q74kybfr.js → tool-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-w803qqfp.js → tool-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-wtztk69x.js → tool-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-x61499pn.js → tool-x61499pn.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-y44na4kk.js → tool-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-y8f7s663.js → tool-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-ym463w8f.js → tool-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service84
3
- } from "./instruction-discovery-wqfpt31c.js";
2
+ Service82
3
+ } from "./tool-e58xrjgm.js";
4
4
  import {
5
- Service83
6
- } from "./instruction-discovery-66yxf7f5.js";
5
+ Service84
6
+ } from "./tool-m6vhnv41.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./instruction-discovery-rdw6cm16.js";
12
+ } from "./tool-rdw6cm16.js";
13
13
  import {
14
- Service38,
14
+ Service37,
15
15
  awaitActivation2
16
- } from "./instruction-discovery-7fj5dwt0.js";
16
+ } from "./tool-qc068m1q.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./instruction-discovery-cvpgerb4.js";
21
+ } from "./tool-5ds65g7m.js";
22
22
  import {
23
23
  __export
24
- } from "./instruction-discovery-9rqn6x4v.js";
24
+ } from "./tool-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
30
30
  ID: () => ID2,
31
31
  Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service38,
33
+ Service: () => Service37,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node17
37
+ node: () => node16
38
38
  });
39
39
  import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service38, Effect.gen(function* () {
44
- const bus = yield* Service84;
45
- const kv = yield* Service83;
43
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
44
+ const bus = yield* Service82;
45
+ const kv = yield* Service84;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service38.of({
208
+ return Service37.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node17 = Node.makeLocationNode({
226
- service: Service38,
225
+ var node16 = Node.makeLocationNode({
226
+ service: Service37,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service70
3
- } from "./instruction-discovery-cn5f6y8n.js";
2
+ Service58
3
+ } from "./tool-87b0tycv.js";
4
4
  import {
5
- Service69,
5
+ Service20,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./instruction-discovery-wqrfg65e.js";
8
+ } from "./tool-s43hmkm2.js";
9
9
  import {
10
- Service14
11
- } from "./instruction-discovery-an1jv1pa.js";
10
+ Service25
11
+ } from "./tool-vq6g8cn6.js";
12
12
  import {
13
- Service61
14
- } from "./instruction-discovery-xn3ttaks.js";
13
+ Service69
14
+ } from "./tool-n721bpxh.js";
15
15
  import {
16
- Service28
17
- } from "./instruction-discovery-a0t017ph.js";
16
+ Service24
17
+ } from "./tool-52zr48d6.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./instruction-discovery-6prwharc.js";
20
+ } from "./tool-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./instruction-discovery-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input11,
29
- Output: () => Output7,
30
- Plugin: () => Plugin13,
28
+ Input: () => Input12,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin14,
31
31
  WriteTool: () => exports_write,
32
- name: () => name11,
32
+ name: () => name12,
33
33
  toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name11 = "write";
39
- var Input11 = Schema.Struct({
38
+ var name12 = "write";
39
+ var Input12 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin13 = {
52
+ var Plugin14 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service28;
56
- const fileMutation = yield* Service69;
57
- const environment = yield* Service70;
58
- const formatter = yield* Service14;
59
- const permission = yield* Service61;
55
+ const access = yield* Service24;
56
+ const fileMutation = yield* Service20;
57
+ const environment = yield* Service58;
58
+ const formatter = yield* Service25;
59
+ const permission = yield* Service69;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name11,
61
+ name: name12,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input11,
69
- output: Output7,
68
+ input: Input12,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name11, Input11, Output7, toModelContent6, Plugin13, exports_write };
101
+ export { name12, Input12, Output8, toModelContent6, Plugin14, exports_write };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service84
3
- } from "./instruction-discovery-wqfpt31c.js";
2
+ Service82
3
+ } from "./tool-e58xrjgm.js";
4
4
  import {
5
- ID16,
5
+ ID14,
6
6
  Event19,
7
- Service78
8
- } from "./instruction-discovery-9j9yh4s0.js";
7
+ Service77
8
+ } from "./tool-teddrkej.js";
9
9
  import {
10
- ID13
11
- } from "./instruction-discovery-nm6k19tz.js";
10
+ ID12
11
+ } from "./tool-49zdgxhw.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./instruction-discovery-dnnn3g48.js";
14
+ } from "./tool-jmsw07fh.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ 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* Service78;
45
- const bus = yield* Service84;
44
+ const credentials = yield* Service77;
45
+ const bus = yield* Service82;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.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 };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID12.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID12.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  Service81,
6
- node85
7
- } from "./instruction-discovery-nnekz5nz.js";
6
+ node84
7
+ } from "./tool-cyt5dtwd.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./instruction-discovery-84txncab.js";
13
+ } from "./tool-84txncab.js";
14
14
  import {
15
- Service83,
16
- node87
17
- } from "./instruction-discovery-66yxf7f5.js";
15
+ Service84,
16
+ node88
17
+ } from "./tool-m6vhnv41.js";
18
18
  import {
19
19
  __export
20
- } from "./instruction-discovery-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service59,
33
+ Service: () => Service53,
34
34
  isError: () => isError2,
35
- node: () => node62,
35
+ node: () => node55,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service59 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service53 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service59, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service83;
110
- return Service59.of({
109
+ const kv = yield* Service84;
110
+ return Service53.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node62 = makeGlobalNode({
171
- service: Service59,
170
+ var node55 = makeGlobalNode({
171
+ service: Service53,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node87]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node88]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node62, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service53, isError2, validateBranch2, node55, exports_repository_cache };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./instruction-discovery-kksb4y7r.js";
7
+ } from "./tool-jgxf7b5z.js";
8
8
  import {
9
- Service84,
10
- node88
11
- } from "./instruction-discovery-wqfpt31c.js";
9
+ Service82,
10
+ node85
11
+ } from "./tool-e58xrjgm.js";
12
12
  import {
13
13
  Service81,
14
- node85
15
- } from "./instruction-discovery-nnekz5nz.js";
14
+ node84
15
+ } from "./tool-cyt5dtwd.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info29,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./instruction-discovery-0bg0bx69.js";
23
+ } from "./tool-6g7e4dd5.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./instruction-discovery-rj3eygr5.js";
27
+ } from "./tool-rj3eygr5.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./instruction-discovery-sa8ekw3f.js";
30
+ } from "./tool-sa8ekw3f.js";
31
31
  import {
32
32
  __export
33
- } from "./instruction-discovery-9rqn6x4v.js";
33
+ } from "./tool-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,
39
+ ID: () => ID16,
40
+ Info: () => Info27,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
43
  Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node83,
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 ID16 = ID17;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info28 = Info29;
62
+ var Info27 = Info28;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
65
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID17
66
+ projectID: ID16
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -102,7 +102,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const git = yield* Service81;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service84;
105
+ const bus = yield* Service82;
106
106
  const db = (yield* Service85).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service80, 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(Event20.Updated, fromRow(changed));
115
+ yield* bus.publish(Event21.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service80, 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 ?? ID16.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)
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
173
173
  if (!row)
174
174
  return yield* new NotFoundError11({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event20.Updated, project);
176
+ yield* bus.publish(Event21.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service80, 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(Event20.Updated, fromRow(row));
187
+ yield* bus.publish(Event21.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 ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service80, 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 ID16.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(Service80, 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 ? ID16.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(Service80, 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 ? ID16.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(Service80, 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 ?? ID16.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service80, 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 ?? ID16.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(Service80, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID17.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service80, 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, ID16.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,15 +301,15 @@ var layer = Layer.effect(Service80, 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(Event20.Updated, fromRow(row));
304
+ yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
307
  return Service80.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node84 = makeGlobalNode({
309
+ var node83 = makeGlobalNode({
310
310
  service: Service80,
311
311
  layer,
312
- deps: [node88, node89, FSUtil.node, node85, AppProcess.node]
312
+ deps: [node85, node89, FSUtil.node, node84, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
@@ -317,7 +317,7 @@ var sweepNode2 = makeGlobalNode({
317
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: [node84]
320
+ deps: [node83]
321
321
  });
322
322
 
323
- export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service80, node84, sweepNode2, exports_project };
323
+ export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service80, node83, sweepNode2, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin40
3
+ } from "./tool-m1z5ek08.js";
4
+ import {
5
+ Plugin41
6
+ } from "./tool-dx4kydrk.js";
7
+ import {
8
+ Plugin37
9
+ } from "./tool-fprpd8rr.js";
10
+ import {
11
+ Plugin39
12
+ } from "./tool-4ka8hhjj.js";
13
+ import {
14
+ Plugin38
15
+ } from "./tool-ga7mt0se.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin40,
20
+ Plugin41,
21
+ Plugin37,
22
+ Plugin39,
23
+ Plugin38
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };