@opencode/core 0.0.0-dev-21047 → 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 (788) 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 +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{reference-rqf4m8aw.js → tool-09qqh49h.js} +25 -25
  8. package/dist/chunks/{reference-zgkz7fqw.js → tool-0dy26cax.js} +31 -31
  9. package/dist/chunks/{reference-g7m13ce8.js → tool-0eyv36ts.js} +36 -36
  10. package/dist/chunks/{reference-pyg4v0b6.js → tool-0n5ns49k.js} +4 -4
  11. package/dist/chunks/{reference-5vxqm9q6.js → tool-0nxben1n.js} +45 -45
  12. package/dist/chunks/{reference-w4wr1etb.js → tool-0qrpzpdx.js} +11 -11
  13. package/dist/chunks/{reference-3emwttkv.js → tool-0spfg2bb.js} +14 -14
  14. package/dist/chunks/{reference-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{reference-s5yya818.js → tool-11w9b7qd.js} +22 -22
  16. package/dist/chunks/{reference-85nhzk7w.js → tool-12t6z3cz.js} +1 -1
  17. package/dist/chunks/{reference-ss358qx3.js → tool-143qq2q9.js} +3 -3
  18. package/dist/chunks/{reference-6gjn20d2.js → tool-15qc111y.js} +11 -11
  19. package/dist/chunks/{reference-ym1z1sce.js → tool-15zrfa03.js} +3 -3
  20. package/dist/chunks/{reference-fqmb1432.js → tool-1b7ejmxt.js} +8 -8
  21. package/dist/chunks/{reference-n3kdjaet.js → tool-1gjkdexd.js} +13 -13
  22. package/dist/chunks/{reference-6rbe1m5x.js → tool-1hz0wgam.js} +29 -29
  23. package/dist/chunks/{reference-ahz9yk24.js → tool-1w2t7fyn.js} +18 -18
  24. package/dist/chunks/{reference-9ja41e76.js → tool-230ecda4.js} +9 -9
  25. package/dist/chunks/{reference-8pedcj79.js → tool-29eykq4v.js} +19 -19
  26. package/dist/chunks/{reference-njp0gf2a.js → tool-2bekqz3a.js} +17 -17
  27. package/dist/chunks/{reference-rxbse8cr.js → tool-2th9fvys.js} +22 -22
  28. package/dist/chunks/{reference-zzdwtnvj.js → tool-2z796rds.js} +22 -22
  29. package/dist/chunks/{reference-65cg4f0c.js → tool-376dj1j3.js} +10 -10
  30. package/dist/chunks/{reference-kenxh6gd.js → tool-3cdf983x.js} +45 -39
  31. package/dist/chunks/{reference-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{reference-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{reference-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{reference-vacxjxj3.js → tool-3pytycam.js} +6 -6
  35. package/dist/chunks/{reference-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{reference-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{reference-kpdmttv2.js → tool-3wfexhse.js} +13 -13
  38. package/dist/chunks/{reference-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{reference-kprxdv5r.js → tool-4704tty5.js} +2 -2
  40. package/dist/chunks/{reference-s6vxrzhc.js → tool-47bgsghd.js} +5 -5
  41. package/dist/chunks/{reference-b674v2dg.js → tool-47jkzegy.js} +5 -5
  42. package/dist/chunks/{reference-676ffxyw.js → tool-49zdgxhw.js} +35 -35
  43. package/dist/chunks/{reference-y4ny2pth.js → tool-4fjma7m8.js} +15 -15
  44. package/dist/chunks/{reference-rx2dg2kh.js → tool-4k48dskj.js} +46 -46
  45. package/dist/chunks/{reference-pr1m8j7y.js → tool-4ka8hhjj.js} +8 -8
  46. package/dist/chunks/{reference-w15h4m28.js → tool-52zr48d6.js} +18 -18
  47. package/dist/chunks/{reference-54ma36ye.js → tool-54ma36ye.js} +1 -1
  48. package/dist/chunks/{reference-dqdg7a0v.js → tool-560byads.js} +4 -4
  49. package/dist/chunks/{reference-6wg64ttk.js → tool-5714egxe.js} +3 -3
  50. package/dist/chunks/{reference-drwq78ky.js → tool-57b9ws8p.js} +5 -5
  51. package/dist/chunks/{reference-vvtb55nw.js → tool-5ds65g7m.js} +192 -192
  52. package/dist/chunks/{reference-g51r3c4s.js → tool-5ezpm4ww.js} +18 -18
  53. package/dist/chunks/{reference-80c1z9kc.js → tool-5gq9j52j.js} +20 -20
  54. package/dist/chunks/{reference-bt0njgmc.js → tool-5kmqhqkx.js} +17 -17
  55. package/dist/chunks/{reference-67prdeth.js → tool-5kpd3qqk.js} +5 -5
  56. package/dist/chunks/{reference-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{reference-xx6qpep6.js → tool-61xwzbr6.js} +35 -35
  58. package/dist/chunks/{reference-sa7t01dg.js → tool-62jddv0q.js} +94 -94
  59. package/dist/chunks/{reference-v0es1rhs.js → tool-6g7e4dd5.js} +7 -7
  60. package/dist/chunks/{reference-6hh8tjw2.js → tool-6hh8tjw2.js} +1 -1
  61. package/dist/chunks/{reference-xwxft369.js → tool-6jpn1xds.js} +1 -1
  62. package/dist/chunks/{reference-n0ve5gdb.js → tool-6mvkgxje.js} +5 -5
  63. package/dist/chunks/{reference-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{reference-qdtbhe1n.js → tool-6yybhc5e.js} +5 -5
  65. package/dist/chunks/{reference-g6yfr6ja.js → tool-6yz0wx8n.js} +5 -5
  66. package/dist/chunks/{reference-djvxnjg8.js → tool-70h0erza.js} +35 -35
  67. package/dist/chunks/{reference-2k20t02z.js → tool-70qn9w1v.js} +22 -22
  68. package/dist/chunks/{reference-775gj3j1.js → tool-775gj3j1.js} +2 -2
  69. package/dist/chunks/{reference-2e24zj1v.js → tool-7b2ys08c.js} +5 -5
  70. package/dist/chunks/{reference-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{reference-2yn5t4yf.js → tool-7grdpmn4.js} +34 -34
  72. package/dist/chunks/{reference-88bhjm42.js → tool-7kfb2kjh.js} +14 -14
  73. package/dist/chunks/{reference-74gjv7rp.js → tool-7myztyss.js} +50 -50
  74. package/dist/chunks/{reference-q1m8dxm9.js → tool-8022akpp.js} +32 -32
  75. package/dist/chunks/{reference-84txncab.js → tool-84txncab.js} +1 -1
  76. package/dist/chunks/{reference-132ycjkv.js → tool-87b0tycv.js} +24 -24
  77. package/dist/chunks/{reference-cqy527p5.js → tool-87t3sg69.js} +10 -10
  78. package/dist/chunks/{reference-q2kevabj.js → tool-8f721ffb.js} +4 -4
  79. package/dist/chunks/{reference-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{reference-dfswxmta.js → tool-92jqywd0.js} +20 -20
  81. package/dist/chunks/{reference-n61013np.js → tool-93jnn70z.js} +8 -8
  82. package/dist/chunks/{reference-zt9b6e62.js → tool-95f8ca4q.js} +17 -17
  83. package/dist/chunks/{reference-y179arr5.js → tool-98wwwshm.js} +31 -31
  84. package/dist/chunks/{reference-7der4bj9.js → tool-99va16k7.js} +22 -22
  85. package/dist/chunks/{reference-7xyrrtj6.js → tool-9b00c1fb.js} +5 -5
  86. package/dist/chunks/{reference-63db42yp.js → tool-9pa8tak9.js} +2 -2
  87. package/dist/chunks/{reference-f66eae49.js → tool-9rpqzg1a.js} +19 -19
  88. package/dist/chunks/{reference-r83ag541.js → tool-9z41w441.js} +9 -9
  89. package/dist/chunks/{reference-dxr3qdqn.js → tool-9zt3hyj2.js} +34 -34
  90. package/dist/chunks/{reference-7qen6kzn.js → tool-a6j5r86g.js} +5 -5
  91. package/dist/chunks/{reference-axjfn32c.js → tool-a79qvj6d.js} +22 -22
  92. package/dist/chunks/{reference-h90v2x9d.js → tool-afrtgck4.js} +4 -4
  93. package/dist/chunks/{reference-wkqr0wp4.js → tool-axr9kwmj.js} +50 -50
  94. package/dist/chunks/{reference-7f4pctag.js → tool-b44y2phb.js} +27 -27
  95. package/dist/chunks/{reference-crn6sf7s.js → tool-b92e8n45.js} +6 -6
  96. package/dist/chunks/{reference-w1s7mmem.js → tool-bhwamkf8.js} +15 -15
  97. package/dist/chunks/{reference-qtq7qc2w.js → tool-bnpshxh6.js} +10 -10
  98. package/dist/chunks/{reference-3fxqyn52.js → tool-btsvt50k.js} +8 -8
  99. package/dist/chunks/{reference-pjm3t1ca.js → tool-c00bz1vb.js} +15 -15
  100. package/dist/chunks/{reference-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{reference-7kcbr8xv.js → tool-c29z7hcx.js} +29 -29
  102. package/dist/chunks/{reference-256smw24.js → tool-cdb4d5hn.js} +8 -8
  103. package/dist/chunks/{reference-2ktf0ed2.js → tool-cmmdg65p.js} +8 -8
  104. package/dist/chunks/{reference-q5ewyrx0.js → tool-cnrvnbz5.js} +28 -28
  105. package/dist/chunks/{reference-vd7cyv2z.js → tool-cqw1m3c7.js} +29 -29
  106. package/dist/chunks/{reference-5ttccjpc.js → tool-cwq5cw92.js} +6 -6
  107. package/dist/chunks/{reference-0sgp6vrq.js → tool-cyt5dtwd.js} +12 -12
  108. package/dist/chunks/{reference-vbm38ps9.js → tool-d0ge418f.js} +5 -5
  109. package/dist/chunks/{reference-2zmfhp2c.js → tool-d43tgzm4.js} +9 -9
  110. package/dist/chunks/{reference-h45tnvxx.js → tool-d9rb3zvs.js} +66 -66
  111. package/dist/chunks/{reference-wqvnp2kw.js → tool-djs19gy2.js} +4 -4
  112. package/dist/chunks/{reference-2sc3sc4p.js → tool-dp9e102f.js} +16 -16
  113. package/dist/chunks/{reference-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
  114. package/dist/chunks/{reference-0170kczj.js → tool-dvr9mxdx.js} +11 -11
  115. package/dist/chunks/{reference-6vrtx8fp.js → tool-dx4kydrk.js} +6 -6
  116. package/dist/chunks/{reference-whrbz81v.js → tool-e0f7tvrt.js} +29 -29
  117. package/dist/chunks/{reference-yak3hf0z.js → tool-e0yqexzb.js} +55 -55
  118. package/dist/chunks/{reference-3q9g49xq.js → tool-e58xrjgm.js} +18 -18
  119. package/dist/chunks/{reference-dq5fx745.js → tool-e8ajjxsc.js} +26 -26
  120. package/dist/chunks/{reference-y72zmemf.js → tool-eeaf82dq.js} +8 -8
  121. package/dist/chunks/{reference-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{reference-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{reference-zjtrsxny.js → tool-eh6ej367.js} +5 -5
  124. package/dist/chunks/{reference-1311jqsc.js → tool-ehyjreag.js} +12 -12
  125. package/dist/chunks/{reference-5527nycg.js → tool-en4jjy2t.js} +25 -25
  126. package/dist/chunks/{reference-1fq98kjr.js → tool-enceqnms.js} +11 -11
  127. package/dist/chunks/{reference-wa9g86nq.js → tool-espax8zg.js} +4 -4
  128. package/dist/chunks/{reference-vm7c5k2y.js → tool-exasynrg.js} +3 -3
  129. package/dist/chunks/{reference-dpkg50ah.js → tool-f0nz223j.js} +4 -4
  130. package/dist/chunks/{reference-e9mw71vf.js → tool-f8a4hwr2.js} +11 -11
  131. package/dist/chunks/{reference-zy8qbqak.js → tool-f8c51dk5.js} +13 -13
  132. package/dist/chunks/{reference-7dqw4kz8.js → tool-fcrkznn8.js} +5 -5
  133. package/dist/chunks/{reference-jwyrdafh.js → tool-fdv8dmm1.js} +16 -16
  134. package/dist/chunks/{reference-x8h454cx.js → tool-fkpfeb1d.js} +27 -27
  135. package/dist/chunks/{reference-rsz0h36s.js → tool-fmabef4g.js} +33 -33
  136. package/dist/chunks/{reference-jfzdx66h.js → tool-fprpd8rr.js} +9 -9
  137. package/dist/chunks/{reference-r8f59mgg.js → tool-fr6f0teb.js} +26 -26
  138. package/dist/chunks/{reference-z4h9wx76.js → tool-fwa0h3zy.js} +28 -28
  139. package/dist/chunks/{reference-azemn7z6.js → tool-g5j27e7f.js} +9 -9
  140. package/dist/chunks/{reference-d7x0sh0y.js → tool-g686f6pq.js} +9 -9
  141. package/dist/chunks/{reference-y41eqcyh.js → tool-g6q255vp.js} +25 -25
  142. package/dist/chunks/{reference-wx7k6370.js → tool-g8a3dkpa.js} +23 -23
  143. package/dist/chunks/{reference-3njtpr6j.js → tool-ga7mt0se.js} +9 -9
  144. package/dist/chunks/{reference-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{reference-9dtek7rd.js → tool-gg52rjyc.js} +30 -30
  146. package/dist/chunks/{reference-gn5tm0bv.js → tool-gpvphjq8.js} +7 -7
  147. package/dist/chunks/{reference-48s9929f.js → tool-gv51xe32.js} +18 -18
  148. package/dist/chunks/{reference-ec56ww6f.js → tool-h28ky92f.js} +24 -24
  149. package/dist/chunks/{reference-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{reference-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
  151. package/dist/chunks/{reference-7zt5x37y.js → tool-he27pt63.js} +1 -1
  152. package/dist/chunks/{reference-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{reference-91qna3x0.js → tool-j09zfasm.js} +3 -3
  154. package/dist/chunks/{reference-rpz1svrt.js → tool-j49xa6cy.js} +1 -1
  155. package/dist/chunks/{reference-hy1n1we9.js → tool-jabbs2pc.js} +47 -47
  156. package/dist/chunks/{reference-kph0xsh6.js → tool-jb4mrxfg.js} +17 -17
  157. package/dist/chunks/{reference-f8p265gv.js → tool-jc5z6esd.js} +11 -11
  158. package/dist/chunks/{reference-aad9zq7v.js → tool-jcc9efy7.js} +15 -15
  159. package/dist/chunks/{reference-t4p70czd.js → tool-jgxf7b5z.js} +11 -11
  160. package/dist/chunks/{reference-5697ag0y.js → tool-jh7q4nc1.js} +23 -23
  161. package/dist/chunks/{reference-9cjp3vjk.js → tool-jjw2fst0.js} +11 -11
  162. package/dist/chunks/{reference-d1bka95m.js → tool-jmsw07fh.js} +6 -6
  163. package/dist/chunks/{reference-fvgfymht.js → tool-jpakg8mx.js} +11 -11
  164. package/dist/chunks/{reference-p37hdxy1.js → tool-jqsqbmjz.js} +46 -46
  165. package/dist/chunks/{reference-jvf3yq6v.js → tool-jvf3yq6v.js} +1 -1
  166. package/dist/chunks/{reference-y456k0gx.js → tool-jvtxec42.js} +24 -24
  167. package/dist/chunks/{reference-agvdfdvn.js → tool-k7b35hhb.js} +5 -5
  168. package/dist/chunks/{reference-khmqacep.js → tool-khmqacep.js} +1 -1
  169. package/dist/chunks/{reference-vz1ztd4p.js → tool-kkcq69qv.js} +24 -24
  170. package/dist/chunks/{reference-ys0m66b2.js → tool-kp9fp1hg.js} +28 -28
  171. package/dist/chunks/{reference-e8vwfchq.js → tool-ktw141zw.js} +6 -6
  172. package/dist/chunks/{reference-ve45bn9x.js → tool-kwh0g9yr.js} +6 -6
  173. package/dist/chunks/{reference-p474d7yp.js → tool-m01k28hg.js} +11 -11
  174. package/dist/chunks/{reference-axfvp7va.js → tool-m1z5ek08.js} +8 -8
  175. package/dist/chunks/{reference-x7qcbpvq.js → tool-m22hh5g2.js} +36 -36
  176. package/dist/chunks/{reference-cnzx7642.js → tool-m6vhnv41.js} +13 -13
  177. package/dist/chunks/{reference-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{reference-maspj1v3.js → tool-maspj1v3.js} +1 -1
  179. package/dist/chunks/{reference-nywhfaw1.js → tool-mbdexebc.js} +9 -9
  180. package/dist/chunks/{reference-jk540des.js → tool-mcgg1rg4.js} +14 -6
  181. package/dist/chunks/{reference-97aeaand.js → tool-mqqhst8y.js} +4 -4
  182. package/dist/chunks/{reference-51f5btjf.js → tool-mx9vqzsb.js} +6 -6
  183. package/dist/chunks/{reference-hfbyhya8.js → tool-n19kh25r.js} +9 -9
  184. package/dist/chunks/{reference-drqqcwyg.js → tool-n721bpxh.js} +57 -57
  185. package/dist/chunks/{reference-sy99d12a.js → tool-n9asf4py.js} +21 -21
  186. package/dist/chunks/{reference-drqybash.js → tool-n9axg7zh.js} +4 -4
  187. package/dist/chunks/{reference-rtg68wpk.js → tool-nck54nhp.js} +23 -23
  188. package/dist/chunks/{reference-1kwkgjs8.js → tool-nncsyyge.js} +12 -12
  189. package/dist/chunks/{reference-p42hj8p8.js → tool-pa8pe2x7.js} +8 -8
  190. package/dist/chunks/{reference-q53541n0.js → tool-pbzbjmff.js} +34 -34
  191. package/dist/chunks/{reference-wwh6ay7x.js → tool-pf9eybg4.js} +22 -22
  192. package/dist/chunks/{reference-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{reference-pknna89w.js → tool-pknna89w.js} +1 -1
  194. package/dist/chunks/{reference-7m8vhqjz.js → tool-pr04h4tn.js} +3 -3
  195. package/dist/chunks/{reference-krdwghjp.js → tool-prg7pynr.js} +5 -5
  196. package/dist/chunks/{reference-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  197. package/dist/chunks/{reference-gn31e51v.js → tool-q9099wq0.js} +11 -11
  198. package/dist/chunks/{reference-8d801c91.js → tool-qa5pp94n.js} +8 -8
  199. package/dist/chunks/{reference-3jxt0407.js → tool-qbxqra2w.js} +4 -4
  200. package/dist/chunks/tool-qc068m1q.js +18 -0
  201. package/dist/chunks/{reference-ew5jdcsq.js → tool-qdafbg7b.js} +91 -91
  202. package/dist/chunks/{reference-g6q9qykm.js → tool-qmqgtz8f.js} +9 -9
  203. package/dist/chunks/{reference-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{reference-qsdy395h.js → tool-qsdy395h.js} +1 -1
  205. package/dist/chunks/tool-qtqva6ax.js +253 -0
  206. package/dist/chunks/{reference-4cqhq9mq.js → tool-r0b0zdb7.js} +19 -19
  207. package/dist/chunks/{reference-4jfm27c9.js → tool-r6ewd7yw.js} +11 -11
  208. package/dist/chunks/{reference-nkqw9m3h.js → tool-r9z49qnw.js} +22 -22
  209. package/dist/chunks/{reference-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{reference-tkb22qbm.js → tool-rert0e01.js} +2 -2
  211. package/dist/chunks/{reference-c41wscbt.js → tool-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{reference-g7y6ccmm.js → tool-rxva3spn.js} +20 -20
  213. package/dist/chunks/{reference-dz85ej5f.js → tool-s1s9gt8f.js} +16 -16
  214. package/dist/chunks/{reference-gw8exty3.js → tool-s2b5phw1.js} +19 -19
  215. package/dist/chunks/{reference-p70m11t7.js → tool-s2j6jbe4.js} +11 -11
  216. package/dist/chunks/{reference-3ec2hwya.js → tool-s43hmkm2.js} +13 -13
  217. package/dist/chunks/{reference-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{reference-s0kdr57z.js → tool-sgs6tqcg.js} +18 -18
  219. package/dist/chunks/{reference-ed1g29hy.js → tool-sxcaecc0.js} +3 -3
  220. package/dist/chunks/{reference-syv4x271.js → tool-syv4x271.js} +1 -1
  221. package/dist/chunks/{reference-hvg0snfm.js → tool-t0stdxg1.js} +16 -16
  222. package/dist/chunks/{reference-78824m1b.js → tool-t27cpqqf.js} +14 -14
  223. package/dist/chunks/{reference-azpyr670.js → tool-t3zshges.js} +11 -11
  224. package/dist/chunks/{reference-eaj1djv9.js → tool-t550f9t1.js} +8 -8
  225. package/dist/chunks/{reference-vcp5fwvv.js → tool-t7t1s02j.js} +19 -19
  226. package/dist/chunks/{reference-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{reference-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{reference-tdstcens.js → tool-tdstcens.js} +1 -1
  229. package/dist/chunks/{reference-q5423ys8.js → tool-teddrkej.js} +36 -36
  230. package/dist/chunks/{reference-1qqmef8y.js → tool-tkwrxyh9.js} +35 -35
  231. package/dist/chunks/{reference-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{reference-01es0w8g.js → tool-tp63ett8.js} +11 -11
  233. package/dist/chunks/{reference-htrk4y28.js → tool-twvynhvt.js} +9 -9
  234. package/dist/chunks/{reference-j58c5xyq.js → tool-tyjrg911.js} +9 -9
  235. package/dist/chunks/{reference-tyytaxap.js → tool-tyytaxap.js} +1 -1
  236. package/dist/chunks/{reference-cxy0as94.js → tool-v42hp0t0.js} +50 -50
  237. package/dist/chunks/{reference-rygkxn9n.js → tool-v4cvsrx9.js} +44 -44
  238. package/dist/chunks/{reference-1fmrbde1.js → tool-v4nfzjvf.js} +8 -8
  239. package/dist/chunks/{reference-rqraeqvr.js → tool-v5qvjexb.js} +4 -4
  240. package/dist/chunks/{reference-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{reference-9v5dq8n9.js → tool-vb6sw3y2.js} +21 -21
  242. package/dist/chunks/{reference-nsxf7brj.js → tool-vdnkbznm.js} +36 -36
  243. package/dist/chunks/{reference-veqvce7d.js → tool-veqvce7d.js} +1 -1
  244. package/dist/chunks/{reference-k4fxrsyq.js → tool-vgsjm2js.js} +15 -15
  245. package/dist/chunks/{reference-4f65x4ny.js → tool-vn4qg1y1.js} +334 -334
  246. package/dist/chunks/{reference-1wws9p1z.js → tool-vq6g8cn6.js} +15 -15
  247. package/dist/chunks/{reference-51vcra35.js → tool-vsp43hx6.js} +11 -11
  248. package/dist/chunks/{reference-36nn25hb.js → tool-vw9027f9.js} +32 -32
  249. package/dist/chunks/{reference-qxzvmfjp.js → tool-vx1yezxz.js} +4 -4
  250. package/dist/chunks/{reference-1n7cf0zt.js → tool-vzjqqmke.js} +13 -13
  251. package/dist/chunks/{reference-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{reference-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{reference-f7b5ncsd.js → tool-w6v0a0a0.js} +23 -23
  254. package/dist/chunks/{reference-rkprpv83.js → tool-w92k2e0p.js} +8 -8
  255. package/dist/chunks/{reference-n1shqbp3.js → tool-wd141nz2.js} +22 -22
  256. package/dist/chunks/{reference-wd87259q.js → tool-wd87259q.js} +1 -1
  257. package/dist/chunks/{reference-jhzvven8.js → tool-wn04sytp.js} +7 -7
  258. package/dist/chunks/{reference-c74bvw4q.js → tool-wpvb0vtd.js} +13 -13
  259. package/dist/chunks/{reference-84d4sta2.js → tool-wqm3ja7g.js} +40 -40
  260. package/dist/chunks/{reference-vt08q70p.js → tool-wwx93a2b.js} +14 -14
  261. package/dist/chunks/{reference-nm3w2d7y.js → tool-wyszaa0p.js} +23 -23
  262. package/dist/chunks/{reference-qs0nx109.js → tool-x2a7tbvm.js} +25 -25
  263. package/dist/chunks/{reference-gqtdsdt7.js → tool-x661k3y3.js} +4 -4
  264. package/dist/chunks/{reference-n5esxn5z.js → tool-xa2yqved.js} +32 -32
  265. package/dist/chunks/{reference-63zg3mg5.js → tool-xahevxwt.js} +22 -22
  266. package/dist/chunks/{reference-rtdaykpn.js → tool-xcd5qje4.js} +20 -20
  267. package/dist/chunks/{reference-d9zmkgd4.js → tool-xjjxg6fg.js} +20 -20
  268. package/dist/chunks/{reference-gwf8vbvc.js → tool-xkgdf0k8.js} +20 -20
  269. package/dist/chunks/{reference-n5xpsxq8.js → tool-xkskqrtp.js} +44 -44
  270. package/dist/chunks/{reference-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/tool-y7mkpdv1.js +26 -0
  272. package/dist/chunks/{reference-je5d3c79.js → tool-yd6x1vtb.js} +17 -17
  273. package/dist/chunks/{reference-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{reference-wjr9rjd7.js → tool-ywt8jp22.js} +6 -6
  275. package/dist/chunks/{reference-4t88j5bp.js → tool-yy7ctzsd.js} +26 -26
  276. package/dist/chunks/{reference-mpssfq2q.js → tool-yyptd6zt.js} +8 -8
  277. package/dist/chunks/{reference-gm24xgn7.js → tool-z082bpte.js} +28 -28
  278. package/dist/chunks/{reference-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{reference-55t5gfwz.js → tool-z44d18ne.js} +9 -9
  280. package/dist/chunks/{reference-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{reference-gw7cjrad.js → tool-zsr4wwhv.js} +4 -4
  282. package/dist/chunks/{reference-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{reference-hdkng2sj.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 +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  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 +116 -116
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  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 +120 -120
  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 +115 -115
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  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 +87 -87
  318. package/dist/database/database.js +72 -72
  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 +81 -81
  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 +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  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 +88 -88
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +107 -107
  428. package/dist/git.js +10 -10
  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 +93 -93
  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 +80 -80
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  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 +133 -133
  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 +89 -89
  465. package/dist/managed-policy.js +6 -6
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +131 -131
  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 +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +105 -105
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  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 +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  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 +4 -4
  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 +125 -125
  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 +120 -120
  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 +127 -127
  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 +72 -72
  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 +6 -6
  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 +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +90 -90
  557. package/dist/provider.js +103 -103
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +97 -97
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +91 -91
  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 +215 -215
  578. package/dist/session/execution.js +121 -121
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +86 -86
  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 +120 -120
  589. package/dist/session/model-transport.js +7 -7
  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 +1 -1
  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 +77 -77
  610. package/dist/session/store.js +89 -89
  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 +3 -3
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +218 -218
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  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 +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +91 -91
  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 +128 -128
  632. package/dist/tool/plugin/edit.js +120 -120
  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 +126 -126
  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 +212 -212
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +208 -208
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +116 -116
  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 +1 -1
  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 +91 -91
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  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 +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/reference-9r6rs471.js +0 -26
  685. package/dist/chunks/reference-by5v678g.js +0 -18
  686. package/dist/chunks/reference-sm5yn6ps.js +0 -253
  687. /package/dist/chunks/{reference-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{reference-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{reference-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{reference-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{reference-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{reference-24dcb14g.js → tool-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{reference-2710q6r3.js → tool-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{reference-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{reference-2bv980vf.js → tool-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{reference-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{reference-359p4xyc.js → tool-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{reference-3asan66x.js → tool-3asan66x.js} +0 -0
  699. /package/dist/chunks/{reference-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{reference-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{reference-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{reference-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{reference-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{reference-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{reference-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{reference-53557ph1.js → tool-53557ph1.js} +0 -0
  707. /package/dist/chunks/{reference-550bvhaj.js → tool-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{reference-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{reference-6prwharc.js → tool-6prwharc.js} +0 -0
  710. /package/dist/chunks/{reference-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{reference-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{reference-7m9af43g.js → tool-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{reference-822emrt2.js → tool-822emrt2.js} +0 -0
  714. /package/dist/chunks/{reference-84wd9syh.js → tool-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{reference-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{reference-8n3pysct.js → tool-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{reference-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{reference-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{reference-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{reference-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{reference-af5trqkr.js → tool-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{reference-afrmfg78.js → tool-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{reference-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{reference-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{reference-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{reference-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{reference-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{reference-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{reference-d9fn303g.js → tool-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{reference-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{reference-dajrwvna.js → tool-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{reference-dap0rakb.js → tool-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{reference-df08tz66.js → tool-df08tz66.js} +0 -0
  734. /package/dist/chunks/{reference-dy18nga0.js → tool-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{reference-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{reference-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{reference-ec1grn59.js → tool-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{reference-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{reference-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{reference-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{reference-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{reference-faypxj3z.js → tool-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{reference-fd410y7t.js → tool-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{reference-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{reference-g86h250q.js → tool-g86h250q.js} +0 -0
  746. /package/dist/chunks/{reference-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{reference-gftt206x.js → tool-gftt206x.js} +0 -0
  748. /package/dist/chunks/{reference-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{reference-hk9envan.js → tool-hk9envan.js} +0 -0
  750. /package/dist/chunks/{reference-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{reference-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{reference-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{reference-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{reference-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{reference-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{reference-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{reference-m18g726c.js → tool-m18g726c.js} +0 -0
  758. /package/dist/chunks/{reference-mp448xyj.js → tool-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{reference-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{reference-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{reference-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{reference-njntx4h6.js → tool-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{reference-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{reference-pyv0edze.js → tool-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{reference-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{reference-q74kybfr.js → tool-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{reference-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{reference-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{reference-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{reference-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{reference-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{reference-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{reference-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{reference-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{reference-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{reference-w803qqfp.js → tool-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{reference-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{reference-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{reference-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{reference-wtztk69x.js → tool-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{reference-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{reference-x61499pn.js → tool-x61499pn.js} +0 -0
  783. /package/dist/chunks/{reference-y44na4kk.js → tool-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{reference-y8f7s663.js → tool-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{reference-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{reference-ym463w8f.js → tool-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{reference-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{reference-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-p70m11t7.js";
3
+ } from "./tool-s2j6jbe4.js";
4
4
  import {
5
- Service83
6
- } from "./reference-3q9g49xq.js";
5
+ Service82
6
+ } from "./tool-e58xrjgm.js";
7
7
  import {
8
- ID11,
9
- Event17,
10
- Service74
11
- } from "./reference-q5423ys8.js";
8
+ ID14,
9
+ Event19,
10
+ Service77
11
+ } from "./tool-teddrkej.js";
12
12
  import {
13
13
  key2
14
- } from "./reference-gqtdsdt7.js";
14
+ } from "./tool-x661k3y3.js";
15
15
  import {
16
- ID9,
16
+ ID13,
17
17
  MethodID2
18
- } from "./reference-rsz0h36s.js";
18
+ } from "./tool-fmabef4g.js";
19
19
  import {
20
20
  which2
21
- } from "./reference-qaymkmh1.js";
21
+ } from "./tool-qaymkmh1.js";
22
22
  import {
23
- ID8,
24
- Service71
25
- } from "./reference-676ffxyw.js";
23
+ ID12,
24
+ Service75
25
+ } from "./tool-49zdgxhw.js";
26
26
  import {
27
- ID7
28
- } from "./reference-kenxh6gd.js";
27
+ ID8
28
+ } from "./tool-3cdf983x.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./reference-d1bka95m.js";
31
+ } from "./tool-jmsw07fh.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -70,11 +70,11 @@ function make7(endpoints = {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID8.azure);
73
+ const configured = yield* configuredSettings2(ID12.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service83;
76
- const credentials = yield* Service74;
77
- const providers = yield* Service71;
75
+ const bus = yield* Service82;
76
+ const credentials = yield* Service77;
77
+ const providers = yield* Service75;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make7(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID8.azure,
103
+ integrationID: ID12.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID8.azure,
107
+ integrationID: ID12.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make7(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID8.azure,
125
+ integrationID: ID12.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make7(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID8.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make7(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID8.azure))?.settings;
185
+ const settings = (yield* providers.get(ID12.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make7(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make7(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make7(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID8.azure);
243
+ const item = evt.get(ID12.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make7(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make7(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID8.azure);
266
+ const catalog = models.list(ID12.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID8.azure, model.id);
270
+ models.remove(ID12.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID8.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make7(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID8.azure)
291
+ if (evt.model.providerID !== ID12.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make7(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID8.azure });
300
+ }), { providerID: ID12.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID8.azure)
302
+ if (evt.model.providerID !== ID12.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,7 +308,7 @@ function make7(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID8.azure });
311
+ }), { providerID: ID12.azure });
312
312
  })
313
313
  });
314
314
  }
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID7.make(deployment.name.toLowerCase());
345
+ const id = ID8.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID7.make(deployment.name),
349
+ modelID: ID8.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node70,
13
+ make: () => make18,
14
+ node: () => node62,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make18 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node70 = registryNode2({});
47
+ var node62 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node70, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node62, exports_driver };
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./reference-tm0kqsz3.js";
5
+ } from "./tool-tm0kqsz3.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./reference-676ffxyw.js";
9
+ } from "./tool-49zdgxhw.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./reference-kenxh6gd.js";
13
+ } from "./tool-3cdf983x.js";
14
14
  import {
15
15
  __export
16
- } from "./reference-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./reference-hgz4x7wa.js";
5
+ } from "./tool-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./reference-9rqn6x4v.js";
8
+ } from "./tool-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service84
3
- } from "./reference-t4p70czd.js";
2
+ Service85
3
+ } from "./tool-jgxf7b5z.js";
4
4
  import {
5
- Service83
6
- } from "./reference-3q9g49xq.js";
5
+ Service82
6
+ } from "./tool-e58xrjgm.js";
7
7
  import {
8
- Service44
9
- } from "./reference-51f5btjf.js";
8
+ Service45
9
+ } from "./tool-mx9vqzsb.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./reference-z5v4ffb3.js";
12
+ } from "./tool-z5v4ffb3.js";
13
13
  import {
14
14
  ID5,
15
- Service63
16
- } from "./reference-6rbe1m5x.js";
15
+ Service52
16
+ } from "./tool-1hz0wgam.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./reference-ec1grn59.js";
19
+ } from "./tool-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./reference-gftt206x.js";
22
+ } from "./tool-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./reference-e8vwfchq.js";
25
+ } from "./tool-ktw141zw.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./reference-es1vcfrp.js";
28
+ } from "./tool-c1fqxshp.js";
29
29
  import {
30
30
  __export
31
- } from "./reference-9rqn6x4v.js";
31
+ } from "./tool-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,11 +41,11 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service44;
45
- const database = yield* Service84;
46
- const bus = yield* Service83;
44
+ const instances = yield* Service45;
45
+ const database = yield* Service85;
46
+ const bus = yield* Service82;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service63;
48
+ const snapshot = yield* Service52;
49
49
  const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service44;
77
- const bus = yield* Service83;
76
+ const instances = yield* Service45;
77
+ const bus = yield* Service82;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service63;
79
+ const snapshot = yield* Service52;
80
80
  if (!session.revert)
81
81
  return;
82
82
  const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
@@ -1,49 +1,49 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./reference-3q9g49xq.js";
2
+ Service82,
3
+ node85
4
+ } from "./tool-e58xrjgm.js";
5
5
  import {
6
- node57
7
- } from "./reference-2k20t02z.js";
6
+ node66
7
+ } from "./tool-70qn9w1v.js";
8
8
  import {
9
9
  Service4,
10
10
  node6
11
- } from "./reference-w1s7mmem.js";
11
+ } from "./tool-bhwamkf8.js";
12
12
  import {
13
- Service15
14
- } from "./reference-hfbyhya8.js";
13
+ Service17
14
+ } from "./tool-n19kh25r.js";
15
15
  import {
16
- Service34
17
- } from "./reference-by5v678g.js";
16
+ Service37
17
+ } from "./tool-qc068m1q.js";
18
18
  import {
19
- node26,
20
- ID3
21
- } from "./reference-63zg3mg5.js";
19
+ node16,
20
+ ID2
21
+ } from "./tool-xahevxwt.js";
22
22
  import {
23
- Service9,
24
- node11
25
- } from "./reference-p42hj8p8.js";
23
+ Service6,
24
+ node8
25
+ } from "./tool-pa8pe2x7.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./reference-4f65x4ny.js";
30
+ } from "./tool-vn4qg1y1.js";
31
31
  import {
32
- make4,
32
+ make10,
33
33
  LoadError2
34
- } from "./reference-78824m1b.js";
34
+ } from "./tool-t27cpqqf.js";
35
35
  import {
36
36
  Updated2,
37
37
  Service5,
38
38
  node7
39
- } from "./reference-crn6sf7s.js";
39
+ } from "./tool-b92e8n45.js";
40
40
  import {
41
- Service10,
42
- node12
43
- } from "./reference-j58c5xyq.js";
41
+ Service7,
42
+ node9
43
+ } from "./tool-tyjrg911.js";
44
44
  import {
45
45
  __export
46
- } from "./reference-9rqn6x4v.js";
46
+ } from "./tool-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID3.make(plugin.id),
130
+ id: ID2.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service15;
141
- const registry = yield* Service34;
140
+ const managed = yield* Service17;
141
+ const registry = yield* Service37;
142
142
  const sdk = yield* Service5;
143
- const instance = yield* Service9;
143
+ const instance = yield* Service6;
144
144
  const sources = yield* Service4;
145
- const modules = yield* make4();
146
- const bus = yield* Service83;
147
- const updates = yield* Service10;
145
+ const modules = yield* make10();
146
+ const bus = yield* Service82;
147
+ const updates = yield* Service7;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node26,
223
+ node16,
224
224
  node7,
225
- node11,
225
+ node8,
226
226
  node6,
227
- node12,
228
- node87,
227
+ node9,
228
+ node85,
229
229
  Npm.node,
230
- node57,
230
+ node66,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./reference-ym463w8f.js";
3
+ } from "./tool-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./reference-z5v4ffb3.js";
5
+ } from "./tool-z5v4ffb3.js";
6
6
  import {
7
- Service65,
8
- node68
9
- } from "./reference-132ycjkv.js";
7
+ Service58,
8
+ node60
9
+ } from "./tool-87b0tycv.js";
10
10
  import {
11
11
  Content2
12
- } from "./reference-n5esxn5z.js";
12
+ } from "./tool-xa2yqved.js";
13
13
  import {
14
14
  detect2
15
- } from "./reference-3smtnn6g.js";
15
+ } from "./tool-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./reference-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service14,
36
+ Service: () => Service8,
37
37
  TextPage: () => TextPage2,
38
- node: () => node16,
38
+ node: () => node10,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service14 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service14, Effect.gen(function* () {
334
- const environment = yield* Service65;
335
- return Service14.of({
333
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
334
+ const environment = yield* Service58;
335
+ return Service8.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node16 = makeLocationNode({ service: Service14, layer, deps: [node68] });
340
+ var node10 = makeLocationNode({ service: Service8, layer, deps: [node60] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service14, read2, node16, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };