@opencode/core 0.0.0-dev-21559 → 0.0.0-dev-21561

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/model-resolver-0207mz92.js +523 -0
  8. package/dist/chunks/{agent-034tev2y.js → model-resolver-034tev2y.js} +2 -2
  9. package/dist/chunks/{agent-cwa6csj7.js → model-resolver-0421tmwc.js} +2 -2
  10. package/dist/chunks/{agent-v71mf45a.js → model-resolver-08ftexb4.js} +17 -17
  11. package/dist/chunks/{agent-zwxs4smc.js → model-resolver-0anhksjf.js} +13 -13
  12. package/dist/chunks/{agent-xgyvc81b.js → model-resolver-0jqtqcam.js} +13 -13
  13. package/dist/chunks/{agent-b60a0p85.js → model-resolver-0pkr6qt9.js} +57 -57
  14. package/dist/chunks/{agent-d5h0167e.js → model-resolver-0rq01gt9.js} +5 -5
  15. package/dist/chunks/{agent-2vd2ww1t.js → model-resolver-0s4gbdd0.js} +11 -11
  16. package/dist/chunks/{agent-q20pbgba.js → model-resolver-0sd3e6sm.js} +9 -9
  17. package/dist/chunks/{agent-tjsfqyz1.js → model-resolver-158zhnz6.js} +10 -10
  18. package/dist/chunks/{agent-y8k9ntag.js → model-resolver-1dpax7s7.js} +28 -28
  19. package/dist/chunks/{agent-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{agent-8423s3gk.js → model-resolver-1mznh3r2.js} +29 -29
  21. package/dist/chunks/{agent-zg5n0cvz.js → model-resolver-1sdsfpt0.js} +35 -35
  22. package/dist/chunks/{agent-6827pfxn.js → model-resolver-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{agent-nyxdgnr4.js → model-resolver-2hdav3qx.js} +7 -7
  24. package/dist/chunks/{agent-9jtgc0ag.js → model-resolver-2jk202a8.js} +35 -35
  25. package/dist/chunks/model-resolver-2vwdzrer.js +26 -0
  26. package/dist/chunks/{agent-zk2rfxgs.js → model-resolver-2yjk1ef9.js} +18 -18
  27. package/dist/chunks/{agent-9wev2pgg.js → model-resolver-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{agent-n4bxf1bq.js → model-resolver-361xprba.js} +16 -16
  29. package/dist/chunks/{agent-0e181atj.js → model-resolver-362tp65q.js} +8 -8
  30. package/dist/chunks/{agent-c2ym5zbg.js → model-resolver-3f2dq5js.js} +32 -32
  31. package/dist/chunks/{agent-zwhbkwqf.js → model-resolver-3gs3gk71.js} +18 -18
  32. package/dist/chunks/{agent-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{agent-ktqrr5j9.js → model-resolver-3j7gb19e.js} +12 -12
  34. package/dist/chunks/{agent-54ma36ye.js → model-resolver-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{agent-aw089k6n.js → model-resolver-3tvx83bq.js} +27 -27
  36. package/dist/chunks/{agent-e654tkxv.js → model-resolver-3vvx3qkg.js} +16 -16
  37. package/dist/chunks/{agent-0cn9gq1n.js → model-resolver-40fhy2zt.js} +15 -15
  38. package/dist/chunks/{agent-bjx1sjef.js → model-resolver-40za9wsf.js} +2 -2
  39. package/dist/chunks/{agent-j1eznksd.js → model-resolver-42pj4rzv.js} +25 -25
  40. package/dist/chunks/{agent-76cxhb07.js → model-resolver-4755v7r3.js} +9 -9
  41. package/dist/chunks/{agent-yf6cfcxz.js → model-resolver-4anvj0nz.js} +88 -88
  42. package/dist/chunks/{agent-g2zwajds.js → model-resolver-4c6mfys4.js} +1 -1
  43. package/dist/chunks/{agent-rhrndxa2.js → model-resolver-4kxf6a3x.js} +35 -31
  44. package/dist/chunks/{agent-jnpb6kqk.js → model-resolver-4m6zstw0.js} +3 -3
  45. package/dist/chunks/{agent-zr2ceqn5.js → model-resolver-4v008n1t.js} +1 -1
  46. package/dist/chunks/{agent-qp7m8750.js → model-resolver-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/model-resolver-53mdf58s.js +257 -0
  48. package/dist/chunks/{agent-b9312sca.js → model-resolver-56fqbvhs.js} +2 -2
  49. package/dist/chunks/{agent-b2gqg30f.js → model-resolver-57y02hse.js} +16 -16
  50. package/dist/chunks/{agent-rm3b56at.js → model-resolver-5brge8v8.js} +50 -50
  51. package/dist/chunks/{agent-svdvx995.js → model-resolver-5defca7t.js} +32 -32
  52. package/dist/chunks/{agent-ntcam9rv.js → model-resolver-5df887yz.js} +19 -19
  53. package/dist/chunks/{agent-8vd89vx3.js → model-resolver-5f9n2b02.js} +4 -4
  54. package/dist/chunks/{agent-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{agent-3zewz7xc.js → model-resolver-5ttwsr6z.js} +3 -3
  56. package/dist/chunks/{agent-c9scfykt.js → model-resolver-5w7y85jn.js} +12 -12
  57. package/dist/chunks/{agent-ndn5nttk.js → model-resolver-66rk6f56.js} +9 -9
  58. package/dist/chunks/{agent-64abga9g.js → model-resolver-6a4kxdj8.js} +24 -24
  59. package/dist/chunks/{agent-sk5011s6.js → model-resolver-6czmj677.js} +4 -4
  60. package/dist/chunks/{agent-zxq2ej10.js → model-resolver-6esdw8yj.js} +1 -1
  61. package/dist/chunks/{agent-7m0k4634.js → model-resolver-6gsynj7k.js} +15 -15
  62. package/dist/chunks/{agent-qsdy395h.js → model-resolver-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{agent-54cckf1a.js → model-resolver-6xqtcmxs.js} +5 -5
  64. package/dist/chunks/{agent-h22kh94c.js → model-resolver-71ne8d3w.js} +6 -6
  65. package/dist/chunks/{agent-c484vbkt.js → model-resolver-7454dw3e.js} +11 -11
  66. package/dist/chunks/{agent-89znhe33.js → model-resolver-76cb1hcw.js} +4 -4
  67. package/dist/chunks/{agent-1ep4rre3.js → model-resolver-770pw0s1.js} +1 -1
  68. package/dist/chunks/{agent-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{agent-sp2b9xzv.js → model-resolver-7crfef3m.js} +28 -28
  70. package/dist/chunks/{agent-1wy3gn7h.js → model-resolver-7p0hmyjt.js} +4 -4
  71. package/dist/chunks/{agent-hkd76wam.js → model-resolver-7s9p8b5q.js} +19 -19
  72. package/dist/chunks/{agent-z4dyzcgg.js → model-resolver-7sjdmqaj.js} +15 -15
  73. package/dist/chunks/{agent-n9kd73fy.js → model-resolver-7v23t0sn.js} +5 -5
  74. package/dist/chunks/{agent-xrt977hg.js → model-resolver-7vwgx2kr.js} +3 -3
  75. package/dist/chunks/{agent-kwb1v3vj.js → model-resolver-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{agent-dkase1ea.js → model-resolver-7we14xxk.js} +31 -31
  77. package/dist/chunks/{agent-92zns5dy.js → model-resolver-7wxq9ndj.js} +25 -25
  78. package/dist/chunks/{agent-y9793g9a.js → model-resolver-817tby3n.js} +6 -6
  79. package/dist/chunks/{agent-3spbe93k.js → model-resolver-81veg7gk.js} +20 -20
  80. package/dist/chunks/{agent-6scxdq94.js → model-resolver-84pze0j7.js} +21 -21
  81. package/dist/chunks/{agent-ev0vvt40.js → model-resolver-873tmn1d.js} +11 -11
  82. package/dist/chunks/{agent-n9tqm6c9.js → model-resolver-8eay0v1g.js} +8 -8
  83. package/dist/chunks/{agent-39n3vqkw.js → model-resolver-8h5ae6e1.js} +3 -3
  84. package/dist/chunks/{agent-h6vf3j39.js → model-resolver-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{agent-h8vwnyd8.js → model-resolver-91rj84md.js} +1 -1
  86. package/dist/chunks/{agent-998yhzzq.js → model-resolver-998yhzzq.js} +3 -3
  87. package/dist/chunks/{agent-k7mbsg3c.js → model-resolver-9afz5xhg.js} +29 -29
  88. package/dist/chunks/{agent-bc7q5vrg.js → model-resolver-9tj4b67g.js} +13 -13
  89. package/dist/chunks/{agent-8bf1vej8.js → model-resolver-9ts33eg0.js} +32 -32
  90. package/dist/chunks/{agent-bhj7yhfp.js → model-resolver-9ygq16qa.js} +28 -28
  91. package/dist/chunks/{agent-zhj7pt8s.js → model-resolver-a0v55zen.js} +25 -25
  92. package/dist/chunks/{agent-xshm6x7r.js → model-resolver-a3em8wep.js} +22 -22
  93. package/dist/chunks/{agent-twy6e1pt.js → model-resolver-acmwnmb8.js} +22 -22
  94. package/dist/chunks/{agent-tascwatk.js → model-resolver-ad0b5xxd.js} +12 -12
  95. package/dist/chunks/{agent-g3b65czc.js → model-resolver-ag809kpc.js} +22 -22
  96. package/dist/chunks/{agent-p8vnz59a.js → model-resolver-aj85frbb.js} +11 -11
  97. package/dist/chunks/{agent-g72yd4k4.js → model-resolver-an85mpdk.js} +12 -12
  98. package/dist/chunks/{agent-ng3918dk.js → model-resolver-asaqahta.js} +6 -6
  99. package/dist/chunks/{agent-277eer69.js → model-resolver-atkwrhtv.js} +4 -4
  100. package/dist/chunks/{agent-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{agent-3hwn7j4h.js → model-resolver-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{agent-cr9hweqv.js → model-resolver-b6vsg801.js} +2 -2
  103. package/dist/chunks/{agent-5rr2xw51.js → model-resolver-b6x45btx.js} +8 -8
  104. package/dist/chunks/{agent-wb1k0b0z.js → model-resolver-b7gsrj05.js} +9 -9
  105. package/dist/chunks/{agent-8k49cjh1.js → model-resolver-bbv4y6ft.js} +31 -31
  106. package/dist/chunks/{agent-06xye173.js → model-resolver-bgqkkabj.js} +11 -11
  107. package/dist/chunks/{agent-krdey6nc.js → model-resolver-bh1et42v.js} +6 -6
  108. package/dist/chunks/{agent-ahd542yp.js → model-resolver-bm4gstpq.js} +8 -8
  109. package/dist/chunks/{agent-btchm180.js → model-resolver-bnjwp1w3.js} +31 -28
  110. package/dist/chunks/{agent-vcykmhej.js → model-resolver-c1526x78.js} +14 -14
  111. package/dist/chunks/{agent-n9xp8ka0.js → model-resolver-c7pkf0mg.js} +35 -35
  112. package/dist/chunks/{agent-e7gxy7fd.js → model-resolver-c9t2ty9q.js} +1 -1
  113. package/dist/chunks/{agent-gvk2e4nv.js → model-resolver-cbeaw478.js} +14 -14
  114. package/dist/chunks/{agent-pq7ehxfq.js → model-resolver-cex2vn28.js} +18 -18
  115. package/dist/chunks/{agent-b0nwj2n5.js → model-resolver-cf9s935f.js} +41 -41
  116. package/dist/chunks/{agent-sb9w5nny.js → model-resolver-cn7xf0c3.js} +3 -3
  117. package/dist/chunks/{agent-1gfgk62c.js → model-resolver-cs87y13h.js} +8 -8
  118. package/dist/chunks/{agent-qcsawjgq.js → model-resolver-cxrgknsm.js} +9 -9
  119. package/dist/chunks/{agent-xenxtz2r.js → model-resolver-d2b9tqdk.js} +18 -18
  120. package/dist/chunks/{agent-0vbcp93d.js → model-resolver-d4v9tmah.js} +2 -2
  121. package/dist/chunks/{agent-b0xapsmc.js → model-resolver-d6dkcx5p.js} +8 -8
  122. package/dist/chunks/{agent-yfb8499c.js → model-resolver-d9jnkx5k.js} +1 -1
  123. package/dist/chunks/{agent-8x019s04.js → model-resolver-dfks5x0x.js} +13 -13
  124. package/dist/chunks/{agent-9ava3as1.js → model-resolver-dgebqdnd.js} +36 -36
  125. package/dist/chunks/{agent-pc1v25hk.js → model-resolver-dh62xe4r.js} +3 -3
  126. package/dist/chunks/{agent-h5btj78v.js → model-resolver-dnenxkzx.js} +7 -7
  127. package/dist/chunks/{agent-f06p7v79.js → model-resolver-dp37p1r3.js} +1 -1
  128. package/dist/chunks/{agent-0bg0bx69.js → model-resolver-dqgvvwe0.js} +9 -9
  129. package/dist/chunks/{agent-y1twntmg.js → model-resolver-dr3grpx5.js} +13 -13
  130. package/dist/chunks/{agent-8a61520m.js → model-resolver-dv7jmtr8.js} +11 -11
  131. package/dist/chunks/{agent-pjtv5xgn.js → model-resolver-dvg82dp6.js} +33 -33
  132. package/dist/chunks/{agent-nwg5v2wf.js → model-resolver-dx2tr0e6.js} +11 -11
  133. package/dist/chunks/{agent-djb6c8mr.js → model-resolver-dx6zzgj2.js} +24 -24
  134. package/dist/chunks/{agent-fmjx2h3e.js → model-resolver-dy267r6z.js} +2 -2
  135. package/dist/chunks/{agent-60ds0mnt.js → model-resolver-dy9wt3zt.js} +74 -74
  136. package/dist/chunks/{agent-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  137. package/dist/chunks/{agent-t550f9t1.js → model-resolver-e5dqjz6v.js} +4 -4
  138. package/dist/chunks/{agent-8m6m0r52.js → model-resolver-e834z07m.js} +1 -1
  139. package/dist/chunks/{agent-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{agent-zgq2zk3m.js → model-resolver-ehfx068x.js} +15 -15
  141. package/dist/chunks/{agent-j414fcmn.js → model-resolver-etxseyds.js} +17 -17
  142. package/dist/chunks/{agent-97gt6j6v.js → model-resolver-evdtckst.js} +4 -4
  143. package/dist/chunks/{agent-8w9gpa2a.js → model-resolver-exrjm4ta.js} +4 -4
  144. package/dist/chunks/{agent-ws4pm92m.js → model-resolver-f6j7cyhq.js} +20 -20
  145. package/dist/chunks/{agent-f4wgghpj.js → model-resolver-f6mq62gx.js} +15 -15
  146. package/dist/chunks/{agent-30y6nqd9.js → model-resolver-fae4enn1.js} +13 -13
  147. package/dist/chunks/{agent-ypxwtm4x.js → model-resolver-fchqce7y.js} +37 -37
  148. package/dist/chunks/{agent-tr99e1w1.js → model-resolver-fe8knzhs.js} +4 -4
  149. package/dist/chunks/{agent-n6mrmtb3.js → model-resolver-fffv3p7h.js} +1 -1
  150. package/dist/chunks/{agent-0rtpdasm.js → model-resolver-frxcbkbz.js} +26 -26
  151. package/dist/chunks/{agent-qnzjvx7w.js → model-resolver-fvyt5ase.js} +3 -3
  152. package/dist/chunks/{agent-93yh5dc7.js → model-resolver-fxhha7v6.js} +11 -11
  153. package/dist/chunks/{agent-sq7qz21n.js → model-resolver-fywxn8yw.js} +50 -50
  154. package/dist/chunks/{agent-h9pnpq88.js → model-resolver-g1e2r5aa.js} +1 -1
  155. package/dist/chunks/{agent-eej6y6fw.js → model-resolver-g5h9c0rr.js} +2 -2
  156. package/dist/chunks/{agent-xfkkasph.js → model-resolver-g7esga4v.js} +7 -8
  157. package/dist/chunks/{agent-g3jry2r0.js → model-resolver-gaxzewmp.js} +35 -35
  158. package/dist/chunks/{agent-tnypmhpx.js → model-resolver-gcw2976b.js} +9 -9
  159. package/dist/chunks/{agent-g6yfr6ja.js → model-resolver-gj8x1tda.js} +5 -5
  160. package/dist/chunks/model-resolver-grzehpz7.js +18 -0
  161. package/dist/chunks/{agent-1wcsaky3.js → model-resolver-gs6sdnbe.js} +12 -12
  162. package/dist/chunks/{agent-a3gjs1qw.js → model-resolver-gtxeab11.js} +25 -25
  163. package/dist/chunks/{agent-b5efm14a.js → model-resolver-gw73nvw6.js} +6 -6
  164. package/dist/chunks/{agent-x395z3h3.js → model-resolver-gzrpk3yh.js} +7 -7
  165. package/dist/chunks/{agent-smqp6h5x.js → model-resolver-h3c848hf.js} +19 -19
  166. package/dist/chunks/{agent-h3hta0fv.js → model-resolver-h7r3kzq2.js} +52 -52
  167. package/dist/chunks/{agent-a5x7x9kw.js → model-resolver-hhs2jvjz.js} +20 -20
  168. package/dist/chunks/{agent-8ww2gede.js → model-resolver-hqr24qw0.js} +5 -5
  169. package/dist/chunks/{agent-72ynmsqb.js → model-resolver-hrwraf01.js} +160 -160
  170. package/dist/chunks/{agent-m2bbs62m.js → model-resolver-hs0nkh4s.js} +15 -15
  171. package/dist/chunks/{agent-b11a7tx7.js → model-resolver-j113cymg.js} +1 -1
  172. package/dist/chunks/{agent-4bqcy7j7.js → model-resolver-j9hjqqep.js} +29 -29
  173. package/dist/chunks/{agent-r70na3yp.js → model-resolver-jcqm84fr.js} +9 -9
  174. package/dist/chunks/{agent-xe9rh51h.js → model-resolver-jdgy95a6.js} +2 -2
  175. package/dist/chunks/{agent-mq3tyw2r.js → model-resolver-jf5na7rx.js} +5 -5
  176. package/dist/chunks/{agent-nd3tx038.js → model-resolver-jg26tebj.js} +23 -23
  177. package/dist/chunks/{agent-658y71pm.js → model-resolver-jm58kwny.js} +25 -25
  178. package/dist/chunks/{agent-gx42yg2y.js → model-resolver-k2x2dsy8.js} +9 -9
  179. package/dist/chunks/{agent-vzs5sf6e.js → model-resolver-k814nvkf.js} +1 -1
  180. package/dist/chunks/{agent-fs73a89a.js → model-resolver-k9drn87y.js} +27 -27
  181. package/dist/chunks/{agent-gqc3hykc.js → model-resolver-k9ms0q72.js} +6 -6
  182. package/dist/chunks/{agent-b0b1syqq.js → model-resolver-kmjzn6q1.js} +50 -50
  183. package/dist/chunks/{agent-9hn6k4tm.js → model-resolver-kmzgegqq.js} +8 -8
  184. package/dist/chunks/{agent-vgfdpj26.js → model-resolver-ky0p85ga.js} +15 -15
  185. package/dist/chunks/{agent-xj13yeyq.js → model-resolver-m0k609qs.js} +8 -8
  186. package/dist/chunks/{agent-3zsf4n22.js → model-resolver-m1714858.js} +1 -1
  187. package/dist/chunks/{agent-k6hwnssb.js → model-resolver-m4cw13px.js} +32 -32
  188. package/dist/chunks/{agent-qkdq18ke.js → model-resolver-m4eq7axd.js} +17 -17
  189. package/dist/chunks/{agent-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{agent-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  191. package/dist/chunks/{agent-p9gx55xe.js → model-resolver-maxw8zgf.js} +20 -20
  192. package/dist/chunks/{agent-8mywswrd.js → model-resolver-me5bcav6.js} +1 -1
  193. package/dist/chunks/{agent-vgn4papj.js → model-resolver-mhs2q8b0.js} +38 -38
  194. package/dist/chunks/{agent-2gs5rnc2.js → model-resolver-mrejt0vx.js} +6 -6
  195. package/dist/chunks/{agent-hzrfc1p4.js → model-resolver-my4zabxr.js} +3 -3
  196. package/dist/chunks/{agent-fcy631f0.js → model-resolver-n0p0277s.js} +1 -1
  197. package/dist/chunks/{agent-4w15n2v0.js → model-resolver-nbz0maqw.js} +20 -20
  198. package/dist/chunks/{agent-b3gp8cby.js → model-resolver-ng4advcs.js} +35 -35
  199. package/dist/chunks/{agent-cre9sv7v.js → model-resolver-ntz68qz4.js} +11 -11
  200. package/dist/chunks/{agent-5mx90py9.js → model-resolver-nwnd66fk.js} +3 -3
  201. package/dist/chunks/{agent-775gj3j1.js → model-resolver-p015t6z3.js} +2 -2
  202. package/dist/chunks/{agent-v5dkyp31.js → model-resolver-p0tsr9h6.js} +4 -4
  203. package/dist/chunks/{agent-qgn6gcr1.js → model-resolver-p7vhpwh8.js} +1 -1
  204. package/dist/chunks/{agent-7qh4aqtb.js → model-resolver-parpa42j.js} +2 -2
  205. package/dist/chunks/{agent-hfbyhya8.js → model-resolver-pb2pfffb.js} +10 -10
  206. package/dist/chunks/{agent-c4jysj7e.js → model-resolver-pja7jmt2.js} +11 -11
  207. package/dist/chunks/{agent-bqwheb6v.js → model-resolver-pkam9c76.js} +11 -11
  208. package/dist/chunks/{agent-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  209. package/dist/chunks/{agent-vak4j5e1.js → model-resolver-psq9ew9c.js} +9 -9
  210. package/dist/chunks/{agent-r2g6g664.js → model-resolver-q1fncbax.js} +10 -10
  211. package/dist/chunks/{agent-e0tmjqd2.js → model-resolver-qc854yns.js} +16 -16
  212. package/dist/chunks/{agent-qrpk9c9k.js → model-resolver-qeaqse4k.js} +45 -45
  213. package/dist/chunks/{agent-pfmyemp7.js → model-resolver-qecz1syp.js} +86 -86
  214. package/dist/chunks/{agent-y71avatq.js → model-resolver-qjgzc4b4.js} +1 -1
  215. package/dist/chunks/{agent-f8rdyd8z.js → model-resolver-qqe3xj9j.js} +10 -10
  216. package/dist/chunks/{agent-tyytaxap.js → model-resolver-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{agent-8sze2n9a.js → model-resolver-r1k9m3eb.js} +4 -4
  218. package/dist/chunks/{agent-9tcm4z7n.js → model-resolver-r1rcp1a5.js} +2 -2
  219. package/dist/chunks/{agent-v3sm3b29.js → model-resolver-r2q802mc.js} +10 -10
  220. package/dist/chunks/{agent-zmjze8as.js → model-resolver-r3jydfqs.js} +13 -13
  221. package/dist/chunks/{agent-tazgh4e4.js → model-resolver-rb9dy4dg.js} +1 -1
  222. package/dist/chunks/{agent-2rczfdfv.js → model-resolver-rg8m9xd0.js} +13 -13
  223. package/dist/chunks/{agent-gpnk9bds.js → model-resolver-rkxhwyxc.js} +9 -9
  224. package/dist/chunks/{agent-3tvqynh2.js → model-resolver-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{agent-aq6ssqh8.js → model-resolver-s67gnmqz.js} +37 -37
  226. package/dist/chunks/{agent-0c04ntqn.js → model-resolver-s8pwnmrf.js} +37 -37
  227. package/dist/chunks/{agent-tcay1cqt.js → model-resolver-sq4s6wq1.js} +6 -6
  228. package/dist/chunks/{agent-6xb47vfp.js → model-resolver-sqjzf8x2.js} +1 -1
  229. package/dist/chunks/{agent-zk8c4w5t.js → model-resolver-sznyev98.js} +5 -5
  230. package/dist/chunks/{agent-01kz1ps7.js → model-resolver-t5x9tta9.js} +16 -16
  231. package/dist/chunks/{agent-t93swj6g.js → model-resolver-t9pmjw8g.js} +9 -9
  232. package/dist/chunks/{agent-hbb7npd7.js → model-resolver-tasvem1v.js} +6 -6
  233. package/dist/chunks/{agent-gd4qta3r.js → model-resolver-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{agent-6dxqerh2.js → model-resolver-tetf7hhs.js} +14 -14
  235. package/dist/chunks/{agent-cxchh17q.js → model-resolver-tm49z4r5.js} +21 -21
  236. package/dist/chunks/{agent-xs09rgb4.js → model-resolver-tn41ynre.js} +21 -21
  237. package/dist/chunks/{agent-zk00g8zz.js → model-resolver-tpbnagbb.js} +30 -30
  238. package/dist/chunks/{agent-xcs1qr88.js → model-resolver-tvxppb48.js} +27 -27
  239. package/dist/chunks/{agent-tdstcens.js → model-resolver-tw8zr1ps.js} +1 -1
  240. package/dist/chunks/{agent-v7p4zvkq.js → model-resolver-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{agent-xaq53c1m.js → model-resolver-tyxn5m2z.js} +4 -4
  242. package/dist/chunks/{agent-sj1zydaf.js → model-resolver-v7vzjxxh.js} +23 -23
  243. package/dist/chunks/{agent-rdw6cm16.js → model-resolver-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/{agent-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  245. package/dist/chunks/{agent-p8z5pjn4.js → model-resolver-vnfvdagd.js} +35 -35
  246. package/dist/chunks/{agent-0gcad0bv.js → model-resolver-vsgt0m8t.js} +6 -6
  247. package/dist/chunks/{agent-dys7k0s0.js → model-resolver-vxxaf4jx.js} +11 -11
  248. package/dist/chunks/{agent-ne0dd1rk.js → model-resolver-vywmmb7d.js} +21 -21
  249. package/dist/chunks/{agent-fdms3n6w.js → model-resolver-vzmjdaw1.js} +9 -9
  250. package/dist/chunks/{agent-ttxw2dcy.js → model-resolver-w26t1m11.js} +11 -11
  251. package/dist/chunks/{agent-waskdk5r.js → model-resolver-w35wzz9x.js} +9 -9
  252. package/dist/chunks/{agent-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{agent-1qbbqxat.js → model-resolver-w5zwfkq2.js} +51 -51
  254. package/dist/chunks/{agent-hq3c8me3.js → model-resolver-w687dnns.js} +4 -4
  255. package/dist/chunks/{agent-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{agent-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  257. package/dist/chunks/{agent-8gvnjk36.js → model-resolver-we1tgvvb.js} +3 -3
  258. package/dist/chunks/{agent-re229bga.js → model-resolver-wekz2jy3.js} +12 -12
  259. package/dist/chunks/{agent-y1gbkt6d.js → model-resolver-xaqh7jtr.js} +27 -27
  260. package/dist/chunks/{agent-w1eejvng.js → model-resolver-xd9cc171.js} +1 -1
  261. package/dist/chunks/{agent-87bdh2h2.js → model-resolver-xezg9szt.js} +10 -10
  262. package/dist/chunks/{agent-7623g4n6.js → model-resolver-xf4p2pg0.js} +16 -16
  263. package/dist/chunks/{agent-6tphdy7g.js → model-resolver-xj1dzt64.js} +4 -4
  264. package/dist/chunks/{agent-bnq8ffg3.js → model-resolver-xr3sacq2.js} +32 -32
  265. package/dist/chunks/{agent-vbgzaw66.js → model-resolver-xxak8n2f.js} +4 -4
  266. package/dist/chunks/{agent-9g9xrmrw.js → model-resolver-y8mr6xph.js} +11 -11
  267. package/dist/chunks/{agent-awzqkd9p.js → model-resolver-y9w21xdh.js} +9 -9
  268. package/dist/chunks/{agent-pjvnvgmy.js → model-resolver-yb20nhc3.js} +1 -1
  269. package/dist/chunks/{agent-gabnxzjb.js → model-resolver-yh0hw7we.js} +10 -10
  270. package/dist/chunks/{agent-4rc13h46.js → model-resolver-yk9kn8z0.js} +18 -18
  271. package/dist/chunks/{agent-1waxmwv9.js → model-resolver-ymn1zp0c.js} +48 -48
  272. package/dist/chunks/{agent-4cpvsvst.js → model-resolver-ypwr9vv7.js} +41 -41
  273. package/dist/chunks/{agent-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{agent-kby49ynp.js → model-resolver-z0edr6gj.js} +22 -22
  275. package/dist/chunks/{agent-e0qjs091.js → model-resolver-z2bchc84.js} +17 -17
  276. package/dist/chunks/{agent-y1fvbwt7.js → model-resolver-z38nccrw.js} +1 -1
  277. package/dist/chunks/{agent-s59cy3r3.js → model-resolver-z3ac7gyp.js} +21 -21
  278. package/dist/chunks/{agent-b1wrcdv1.js → model-resolver-z8zh1sht.js} +24 -24
  279. package/dist/chunks/{agent-wez96qer.js → model-resolver-zadgmz3x.js} +21 -21
  280. package/dist/chunks/{agent-addxnjmp.js → model-resolver-zba5tm1j.js} +4 -4
  281. package/dist/chunks/{agent-mvd2y75j.js → model-resolver-zgy84aax.js} +20 -20
  282. package/dist/chunks/{agent-hgz4x7wa.js → model-resolver-zkg84ctx.js} +1 -1
  283. package/dist/chunks/{agent-rxrz6b15.js → model-resolver-zmwx25fz.js} +2 -2
  284. package/dist/chunks/{agent-snvy5g5t.js → model-resolver-zp466xy7.js} +10 -10
  285. package/dist/chunks/{agent-nw3tt376.js → model-resolver-zrbv4gdq.js} +13 -13
  286. package/dist/chunks/{agent-kt55wntw.js → model-resolver-zsw153cf.js} +18 -18
  287. package/dist/chunks/{agent-dhmh7aw6.js → model-resolver-ztf6n3de.js} +4 -4
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +133 -133
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +74 -74
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +115 -115
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +163 -163
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +220 -220
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +89 -89
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +76 -76
  679. package/dist/wellknown.js +81 -81
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +96 -96
  688. package/package.json +9 -9
  689. package/dist/chunks/agent-5d10wpg8.js +0 -257
  690. package/dist/chunks/agent-9sbwc68p.js +0 -523
  691. package/dist/chunks/agent-gyce5qg1.js +0 -18
  692. package/dist/chunks/agent-m3gkkj97.js +0 -26
  693. /package/dist/chunks/{agent-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{agent-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{agent-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{agent-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{agent-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{agent-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{agent-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{agent-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{agent-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{agent-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  703. /package/dist/chunks/{agent-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{agent-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{agent-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{agent-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{agent-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{agent-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{agent-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  710. /package/dist/chunks/{agent-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{agent-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{agent-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  713. /package/dist/chunks/{agent-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{agent-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{agent-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{agent-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  717. /package/dist/chunks/{agent-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{agent-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{agent-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{agent-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{agent-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{agent-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{agent-a058387c.js → model-resolver-a058387c.js} +0 -0
  724. /package/dist/chunks/{agent-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{agent-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{agent-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{agent-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{agent-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{agent-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{agent-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{agent-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{agent-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{agent-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{agent-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{agent-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{agent-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{agent-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  738. /package/dist/chunks/{agent-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{agent-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{agent-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{agent-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{agent-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{agent-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{agent-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{agent-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{agent-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{agent-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{agent-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{agent-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  750. /package/dist/chunks/{agent-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{agent-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  752. /package/dist/chunks/{agent-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{agent-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  754. /package/dist/chunks/{agent-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{agent-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{agent-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{agent-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{agent-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{agent-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{agent-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{agent-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  762. /package/dist/chunks/{agent-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{agent-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{agent-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{agent-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{agent-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{agent-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{agent-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{agent-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{agent-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{agent-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{agent-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{agent-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{agent-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{agent-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{agent-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{agent-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{agent-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{agent-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{agent-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{agent-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{agent-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{agent-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{agent-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{agent-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  786. /package/dist/chunks/{agent-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{agent-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{agent-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{agent-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{agent-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{agent-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service6,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node10
13
+ node: () => node7
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service6.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node10, exports_discovery };
155
+ export { Service6, node7, exports_discovery };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID12
3
- } from "./agent-rhrndxa2.js";
3
+ } from "./model-resolver-4kxf6a3x.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./agent-gqc3hykc.js";
6
+ } from "./model-resolver-k9ms0q72.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-workers-ai.ts
9
9
  import { Effect } from "effect";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./agent-krdey6nc.js";
4
+ } from "./model-resolver-bh1et42v.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./agent-rm3b56at.js";
8
+ } from "./model-resolver-5brge8v8.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./agent-64abga9g.js";
11
+ } from "./model-resolver-6a4kxdj8.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./agent-b3gp8cby.js";
19
+ } from "./model-resolver-ng4advcs.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./agent-zmjze8as.js";
23
+ } from "./model-resolver-r3jydfqs.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make20,
5
5
  diffByKey2
6
- } from "./agent-t550f9t1.js";
6
+ } from "./model-resolver-e5dqjz6v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./agent-rm3b56at.js";
9
+ } from "./model-resolver-5brge8v8.js";
10
10
  import {
11
- Service31,
12
- node34
13
- } from "./agent-h3hta0fv.js";
11
+ Service41,
12
+ node44
13
+ } from "./model-resolver-h7r3kzq2.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./agent-vgn4papj.js";
16
+ name15
17
+ } from "./model-resolver-mhs2q8b0.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./model-resolver-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service23,
27
- layer: () => layer10,
28
- node: () => node26
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service37,
27
+ layer: () => layer16,
28
+ node: () => node40
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,13 +65,13 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service23 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service37 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer10 = Layer.effect(Service23, Effect.gen(function* () {
71
- const mcp = yield* Service31;
72
- return Service23.of({
70
+ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
71
+ const mcp = yield* Service41;
72
+ return Service37.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
- const source = (value) => make19({
74
+ const source = (value) => make20({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node26 = makeLocationNode({ service: Service23, layer: layer10, deps: [node34] });
103
+ var node40 = makeLocationNode({ service: Service37, layer: layer16, deps: [node44] });
104
104
 
105
- export { Service23, layer10, node26, exports_instructions2 };
105
+ export { Service37, layer16, node40, exports_instructions4 };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./agent-tascwatk.js";
2
+ Service84,
3
+ node88
4
+ } from "./model-resolver-ad0b5xxd.js";
5
5
  import {
6
6
  create3
7
- } from "./agent-rdw6cm16.js";
7
+ } from "./model-resolver-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./agent-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
18
- ID: () => ID11,
19
- Info: () => Info21,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info13,
20
20
  Name: () => Name3,
21
- Service: () => Service75,
21
+ Service: () => Service60,
22
22
  defaultID: () => defaultID2,
23
- node: () => node78
23
+ node: () => node63
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event15 } from "@opencode/schema/agent";
29
- var ID11 = Agent.ID;
28
+ import { Event as Event12 } from "@opencode/schema/agent";
29
+ var ID9 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID11.make("build");
31
+ var defaultID2 = ID9.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info21 = Agent.Info;
33
+ var Info13 = Agent.Info;
34
34
 
35
- class Service75 extends Context.Service()("@opencode/Agent") {
35
+ class Service60 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service75, Effect.gen(function* () {
38
- const bus = yield* Service85;
37
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
38
+ const bus = yield* Service84;
39
39
  const state = create3({
40
40
  name: "agent",
41
41
  initial: () => ({ agents: new Map }),
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info21.default(id);
49
+ const current = editor.agents.get(id) ?? Info13.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service75.of({
76
+ return Service60.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID11.make(id));
84
+ return state.get().agents.get(ID9.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
99
99
  })
100
100
  });
101
101
  }));
102
- var node78 = makeLocationNode({ service: Service75, layer, deps: [node89] });
102
+ var node63 = makeLocationNode({ service: Service60, layer, deps: [node88] });
103
103
 
104
- export { ID11, Name3, defaultID2, Color2, Info21, Service75, node78, exports_agent4, Event15 };
104
+ export { ID9, Name3, defaultID2, Color2, Info13, Service60, node63, exports_agent3, Event12 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./agent-e0tmjqd2.js";
3
+ } from "./model-resolver-qc854yns.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service50,
12
+ Service: () => Service53,
13
13
  canonical: () => canonical3,
14
- node: () => node52,
14
+ node: () => node55,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service53 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service53, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node52 = LayerNode.unbound(Service50, Node.tags.values.global);
27
+ var node55 = LayerNode.unbound(Service53, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service50;
29
+ const locations = yield* Service53;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service50, node52, reload2, canonical3, exports_location_service_map };
48
+ export { Service53, node55, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./agent-e0tmjqd2.js";
5
+ Service80
6
+ } from "./model-resolver-qc854yns.js";
7
7
  import {
8
- Service13
9
- } from "./agent-zk2rfxgs.js";
8
+ Service27
9
+ } from "./model-resolver-2yjk1ef9.js";
10
10
  import {
11
- Service6
12
- } from "./agent-kby49ynp.js";
11
+ Service7
12
+ } from "./model-resolver-z0edr6gj.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./agent-hgz4x7wa.js";
15
+ } from "./model-resolver-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service28
26
- } from "./agent-0cn9gq1n.js";
25
+ Service39
26
+ } from "./model-resolver-40fhy2zt.js";
27
27
  import {
28
28
  __export
29
- } from "./agent-9rqn6x4v.js";
29
+ } from "./model-resolver-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input9,
35
- Plugin: () => Plugin28,
34
+ Input: () => Input4,
35
+ Plugin: () => Plugin22,
36
36
  ReadTool: () => exports_read,
37
- name: () => name9,
38
- toModelContent: () => toModelContent5
37
+ name: () => name4,
38
+ toModelContent: () => toModelContent4
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name9 = "read";
44
+ var name4 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input9 = LocationInput;
55
+ var Input4 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin28 = {
57
+ var Plugin22 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service28;
61
- const access = yield* Service13;
62
- const sessionInstructions = yield* Service6;
60
+ const reader = yield* Service39;
61
+ const access = yield* Service27;
62
+ const sessionInstructions = yield* Service7;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service82;
64
+ const location = yield* Service80;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name9,
66
+ name: name4,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input9,
69
+ input: Input4,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin28 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent5(result.path, input.offset, result.output),
113
+ content: toModelContent4(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent5 = (path, offset, output) => {
146
+ var toModelContent4 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name9, Input9, Plugin28, toModelContent5, exports_read };
182
+ export { name4, Input4, Plugin22, toModelContent4, exports_read };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service76
4
- } from "./agent-rhrndxa2.js";
3
+ Service75
4
+ } from "./model-resolver-4kxf6a3x.js";
5
5
  import {
6
- Service52
7
- } from "./agent-1qbbqxat.js";
6
+ Service68
7
+ } from "./model-resolver-w5zwfkq2.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service76;
12
+ const providers = yield* Service75;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service52);
14
+ const service = yield* Effect.serviceOption(Service68);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./agent-tascwatk.js";
2
+ Service84,
3
+ node88
4
+ } from "./model-resolver-ad0b5xxd.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./agent-e0tmjqd2.js";
6
+ Service80,
7
+ node84
8
+ } from "./model-resolver-qc854yns.js";
9
9
  import {
10
- Service69,
11
- node71
12
- } from "./agent-btchm180.js";
10
+ Service78,
11
+ node81
12
+ } from "./model-resolver-bnjwp1w3.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./agent-gd4qta3r.js";
15
+ } from "./model-resolver-tczq8hjw.js";
16
16
  import {
17
- Service58,
17
+ Service71,
18
18
  args2,
19
- node60
20
- } from "./agent-nw3tt376.js";
19
+ node74
20
+ } from "./model-resolver-zrbv4gdq.js";
21
21
  import {
22
- Service67,
23
- node69
24
- } from "./agent-1gfgk62c.js";
22
+ Service73,
23
+ node76
24
+ } from "./model-resolver-cs87y13h.js";
25
25
  import {
26
- Service35,
27
- node38
28
- } from "./agent-ahd542yp.js";
26
+ Service67,
27
+ node70
28
+ } from "./model-resolver-bm4gstpq.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./agent-hzrfc1p4.js";
31
+ } from "./model-resolver-my4zabxr.js";
32
32
  import {
33
33
  latest2,
34
- Service52,
35
- node54
36
- } from "./agent-1qbbqxat.js";
34
+ Service68,
35
+ node71
36
+ } from "./model-resolver-w5zwfkq2.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./agent-ttxw2dcy.js";
40
+ } from "./model-resolver-w26t1m11.js";
41
41
  import {
42
42
  __export
43
- } from "./agent-9rqn6x4v.js";
43
+ } from "./model-resolver-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError10,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service34,
51
+ Service: () => Service66,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node37
54
+ node: () => node69
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service34 extends Context.Service()("@opencode/Shell") {
74
+ class Service66 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service34, Effect.gen(function* () {
91
- const bus = yield* Service85;
92
- const location = yield* Service82;
90
+ var layer = () => Layer.effect(Service66, Effect.gen(function* () {
91
+ const bus = yield* Service84;
92
+ const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service58;
95
- const environment = yield* Service69;
96
- const hooks = yield* Service67;
97
- const environments = yield* Service35;
98
- const config = yield* Service52;
94
+ const shell = yield* Service71;
95
+ const environment = yield* Service78;
96
+ const hooks = yield* Service73;
97
+ const environments = yield* Service67;
98
+ const config = yield* Service68;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError10({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError10({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service34.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service66.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node37 = makeLocationNode({
342
- service: Service34,
341
+ var node69 = makeLocationNode({
342
+ service: Service66,
343
343
  layer: layer(),
344
344
  deps: [
345
- node89,
346
- node86,
345
+ node88,
346
+ node84,
347
347
  Global.node,
348
- node60,
348
+ node74,
349
+ node81,
350
+ node76,
351
+ node70,
349
352
  node71,
350
- node69,
351
- node38,
352
- node54,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service34, cleanup2, node37, exports_shell4 };
357
+ export { NotFoundError10, RETENTION2, DIRECTORY2, Service66, cleanup2, node69, exports_shell4 };