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

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 (790) 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 +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-034tev2y.js → generate-034tev2y.js} +2 -2
  8. package/dist/chunks/{model-resolver-81veg7gk.js → generate-0443psqk.js} +30 -30
  9. package/dist/chunks/{model-resolver-7s9p8b5q.js → generate-06e0dsx1.js} +16 -16
  10. package/dist/chunks/{model-resolver-m0k609qs.js → generate-07phzgjg.js} +14 -14
  11. package/dist/chunks/{model-resolver-vzmjdaw1.js → generate-0bke9tpm.js} +9 -9
  12. package/dist/chunks/{model-resolver-1mznh3r2.js → generate-0cmwyhaq.js} +31 -31
  13. package/dist/chunks/{model-resolver-xf4p2pg0.js → generate-0cs5dcs0.js} +15 -15
  14. package/dist/chunks/{model-resolver-z2bchc84.js → generate-0m6b3axq.js} +17 -17
  15. package/dist/chunks/{model-resolver-5f9n2b02.js → generate-0mcrt4fa.js} +4 -4
  16. package/dist/chunks/{model-resolver-0rq01gt9.js → generate-0rq01gt9.js} +2 -2
  17. package/dist/chunks/{model-resolver-7vwgx2kr.js → generate-1e4tspje.js} +3 -3
  18. package/dist/chunks/{model-resolver-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{model-resolver-ymn1zp0c.js → generate-1mtcyeq8.js} +48 -48
  20. package/dist/chunks/{model-resolver-y9w21xdh.js → generate-1q324bgk.js} +7 -7
  21. package/dist/chunks/{model-resolver-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{model-resolver-tetf7hhs.js → generate-231jaqzt.js} +14 -14
  23. package/dist/chunks/{model-resolver-9tj4b67g.js → generate-24e7end9.js} +13 -13
  24. package/dist/chunks/{model-resolver-xxak8n2f.js → generate-268wp9v4.js} +4 -4
  25. package/dist/chunks/{model-resolver-d2b9tqdk.js → generate-280dayrs.js} +22 -22
  26. package/dist/chunks/{model-resolver-psq9ew9c.js → generate-2hr5rmqc.js} +9 -9
  27. package/dist/chunks/{model-resolver-5df887yz.js → generate-2jgkbkn1.js} +19 -19
  28. package/dist/chunks/{model-resolver-dy267r6z.js → generate-2tfwfzen.js} +2 -2
  29. package/dist/chunks/{model-resolver-2z1j29yd.js → generate-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{model-resolver-bgqkkabj.js → generate-2zqqmjez.js} +11 -11
  31. package/dist/chunks/{model-resolver-7v23t0sn.js → generate-38heweg8.js} +5 -5
  32. package/dist/chunks/{model-resolver-xaqh7jtr.js → generate-3dg2krd3.js} +27 -27
  33. package/dist/chunks/{model-resolver-1sdsfpt0.js → generate-3dvwpjdr.js} +35 -35
  34. package/dist/chunks/{model-resolver-2yjk1ef9.js → generate-3g4pre0h.js} +18 -18
  35. package/dist/chunks/{model-resolver-2jk202a8.js → generate-3g7vrncj.js} +32 -32
  36. package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-resolver-k9ms0q72.js → generate-3jp652nn.js} +6 -6
  38. package/dist/chunks/{model-resolver-we1tgvvb.js → generate-3jzb0r2n.js} +5 -5
  39. package/dist/chunks/{model-resolver-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{model-resolver-z3ac7gyp.js → generate-3ntmh1g8.js} +21 -21
  41. package/dist/chunks/{model-resolver-56fqbvhs.js → generate-3xk26rw4.js} +5 -5
  42. package/dist/chunks/{model-resolver-40za9wsf.js → generate-40za9wsf.js} +2 -2
  43. package/dist/chunks/{model-resolver-08ftexb4.js → generate-48h67ern.js} +21 -21
  44. package/dist/chunks/{model-resolver-7sjdmqaj.js → generate-4c4eb9w2.js} +18 -18
  45. package/dist/chunks/{model-resolver-etxseyds.js → generate-4eed2b0j.js} +17 -17
  46. package/dist/chunks/{model-resolver-k9drn87y.js → generate-4hhvtbzy.js} +27 -27
  47. package/dist/chunks/{model-resolver-acmwnmb8.js → generate-4kdcmdga.js} +24 -24
  48. package/dist/chunks/{model-resolver-362tp65q.js → generate-4mkdw68v.js} +4 -4
  49. package/dist/chunks/generate-4svnxzqq.js +257 -0
  50. package/dist/chunks/{model-resolver-4v008n1t.js → generate-4v008n1t.js} +1 -1
  51. package/dist/chunks/{model-resolver-4xvmh7wp.js → generate-4xvmh7wp.js} +3 -3
  52. package/dist/chunks/{model-resolver-3tvx83bq.js → generate-56m9f56v.js} +25 -25
  53. package/dist/chunks/{model-resolver-zrbv4gdq.js → generate-5emr5dp8.js} +19 -19
  54. package/dist/chunks/{model-resolver-an85mpdk.js → generate-5gk89hyb.js} +12 -12
  55. package/dist/chunks/{model-resolver-cf9s935f.js → generate-5knrbc6f.js} +43 -43
  56. package/dist/chunks/{model-resolver-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{model-resolver-b6vsg801.js → generate-5nnwax6m.js} +5 -5
  58. package/dist/chunks/{model-resolver-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{model-resolver-zgy84aax.js → generate-5xepaxvw.js} +20 -20
  60. package/dist/chunks/{model-resolver-cex2vn28.js → generate-5xwxezg3.js} +18 -18
  61. package/dist/chunks/{model-resolver-t9pmjw8g.js → generate-64pwmkab.js} +9 -9
  62. package/dist/chunks/{model-resolver-xr3sacq2.js → generate-67b48yf1.js} +32 -32
  63. package/dist/chunks/{model-resolver-jm58kwny.js → generate-6c8j4tbz.js} +25 -25
  64. package/dist/chunks/{model-resolver-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{model-resolver-z0edr6gj.js → generate-6g08cwsb.js} +22 -22
  66. package/dist/chunks/{model-resolver-gcw2976b.js → generate-6gddga0x.js} +20 -20
  67. package/dist/chunks/{model-resolver-0anhksjf.js → generate-6mw0z9b9.js} +11 -11
  68. package/dist/chunks/{model-resolver-6pjqjmy2.js → generate-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{model-resolver-4c6mfys4.js → generate-6qkfs1hq.js} +1 -1
  70. package/dist/chunks/{model-resolver-dx6zzgj2.js → generate-6v7f1yd0.js} +27 -27
  71. package/dist/chunks/{model-resolver-xezg9szt.js → generate-6zfxg6c6.js} +10 -10
  72. package/dist/chunks/{model-resolver-71ne8d3w.js → generate-6ztc4jbn.js} +8 -8
  73. package/dist/chunks/{model-resolver-r1rcp1a5.js → generate-7a9ph374.js} +4 -4
  74. package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{model-resolver-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{model-resolver-6xqtcmxs.js → generate-7xg2jm5b.js} +5 -5
  77. package/dist/chunks/{model-resolver-yh0hw7we.js → generate-87982064.js} +10 -10
  78. package/dist/chunks/{model-resolver-4kxf6a3x.js → generate-883rwgqp.js} +30 -30
  79. package/dist/chunks/{model-resolver-my4zabxr.js → generate-8n9x2wf6.js} +2 -2
  80. package/dist/chunks/{model-resolver-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
  81. package/dist/chunks/{model-resolver-vsgt0m8t.js → generate-8wvgy420.js} +6 -6
  82. package/dist/chunks/{model-resolver-91rj84md.js → generate-91rj84md.js} +1 -1
  83. package/dist/chunks/{model-resolver-pkam9c76.js → generate-94j4dkqe.js} +11 -11
  84. package/dist/chunks/{model-resolver-5ttwsr6z.js → generate-973hqt29.js} +3 -3
  85. package/dist/chunks/{model-resolver-998yhzzq.js → generate-998yhzzq.js} +3 -3
  86. package/dist/chunks/{model-resolver-tyxn5m2z.js → generate-9awrcxz4.js} +4 -4
  87. package/dist/chunks/{model-resolver-gj8x1tda.js → generate-9b28cy4d.js} +5 -5
  88. package/dist/chunks/{model-resolver-bnjwp1w3.js → generate-9ra49ptr.js} +24 -24
  89. package/dist/chunks/{model-resolver-b7gsrj05.js → generate-a1phgnt9.js} +14 -14
  90. package/dist/chunks/{model-resolver-ng4advcs.js → generate-a3t7zwft.js} +43 -43
  91. package/dist/chunks/{model-resolver-zmwx25fz.js → generate-a5g15581.js} +2 -2
  92. package/dist/chunks/{model-resolver-8h5ae6e1.js → generate-a5znd7ce.js} +3 -3
  93. package/dist/chunks/{model-resolver-873tmn1d.js → generate-a7zxg0bg.js} +11 -11
  94. package/dist/chunks/{model-resolver-rkxhwyxc.js → generate-acamw3g0.js} +12 -12
  95. package/dist/chunks/{model-resolver-m4cw13px.js → generate-agtp4d9h.js} +30 -30
  96. package/dist/chunks/{model-resolver-ky0p85ga.js → generate-ah1m9kg9.js} +15 -15
  97. package/dist/chunks/{model-resolver-c7pkf0mg.js → generate-apkkjdpa.js} +38 -38
  98. package/dist/chunks/{model-resolver-asaqahta.js → generate-asaqahta.js} +2 -2
  99. package/dist/chunks/{model-resolver-d9jnkx5k.js → generate-axmhfv8p.js} +5 -5
  100. package/dist/chunks/{model-resolver-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{model-resolver-kmjzn6q1.js → generate-az4hfc8s.js} +50 -50
  102. package/dist/chunks/{model-resolver-b0mv4wxm.js → generate-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{model-resolver-7crfef3m.js → generate-b17b73pv.js} +28 -28
  104. package/dist/chunks/{model-resolver-fywxn8yw.js → generate-b5p5nngv.js} +50 -50
  105. package/dist/chunks/{model-resolver-dgebqdnd.js → generate-ba7ngyz7.js} +36 -36
  106. package/dist/chunks/{model-resolver-nwnd66fk.js → generate-bbym2bqy.js} +3 -3
  107. package/dist/chunks/{model-resolver-0s4gbdd0.js → generate-bkjvw32t.js} +14 -14
  108. package/dist/chunks/{model-resolver-xd9cc171.js → generate-bstexjd6.js} +5 -5
  109. package/dist/chunks/{model-resolver-cs87y13h.js → generate-c1a686j5.js} +8 -8
  110. package/dist/chunks/{model-resolver-dqgvvwe0.js → generate-c3cfh5w6.js} +9 -9
  111. package/dist/chunks/{model-resolver-gtxeab11.js → generate-c8ar4m6j.js} +44 -44
  112. package/dist/chunks/{model-resolver-c9t2ty9q.js → generate-c9t2ty9q.js} +1 -1
  113. package/dist/chunks/{model-resolver-jf5na7rx.js → generate-cf7jrmsj.js} +5 -5
  114. package/dist/chunks/{model-resolver-2hdav3qx.js → generate-cr6fwty7.js} +7 -7
  115. package/dist/chunks/{model-resolver-bm4gstpq.js → generate-crfddmzc.js} +8 -8
  116. package/dist/chunks/{model-resolver-tm49z4r5.js → generate-ctf5g10g.js} +38 -38
  117. package/dist/chunks/{model-resolver-w35wzz9x.js → generate-d2dx6a7h.js} +9 -9
  118. package/dist/chunks/{model-resolver-dv7jmtr8.js → generate-d326b540.js} +9 -9
  119. package/dist/chunks/{model-resolver-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
  120. package/dist/chunks/{model-resolver-jg26tebj.js → generate-d86va4wf.js} +21 -21
  121. package/dist/chunks/{model-resolver-vxxaf4jx.js → generate-d8qd4w10.js} +11 -11
  122. package/dist/chunks/{model-resolver-3vvx3qkg.js → generate-d9p590j3.js} +19 -19
  123. package/dist/chunks/{model-resolver-fe8knzhs.js → generate-df0hqdma.js} +4 -4
  124. package/dist/chunks/{model-resolver-yk9kn8z0.js → generate-dg96ektr.js} +18 -18
  125. package/dist/chunks/{model-resolver-r1k9m3eb.js → generate-dkq45v8d.js} +4 -4
  126. package/dist/chunks/{model-resolver-mhs2q8b0.js → generate-dq2enhqf.js} +34 -34
  127. package/dist/chunks/{model-resolver-4anvj0nz.js → generate-drqhczqs.js} +89 -89
  128. package/dist/chunks/{model-resolver-mrejt0vx.js → generate-ds4c1w6p.js} +6 -6
  129. package/dist/chunks/{model-resolver-atkwrhtv.js → generate-dtjdv03g.js} +4 -4
  130. package/dist/chunks/{model-resolver-fvyt5ase.js → generate-dw02th3g.js} +3 -3
  131. package/dist/chunks/{model-resolver-sq4s6wq1.js → generate-dwwyec8z.js} +6 -6
  132. package/dist/chunks/{model-resolver-0421tmwc.js → generate-dz8hhvgv.js} +9 -9
  133. package/dist/chunks/{model-resolver-dx2tr0e6.js → generate-e4dtt5ff.js} +11 -11
  134. package/dist/chunks/{model-resolver-361xprba.js → generate-e4nrxrzc.js} +16 -16
  135. package/dist/chunks/{model-resolver-e834z07m.js → generate-e834z07m.js} +1 -1
  136. package/dist/chunks/{model-resolver-5brge8v8.js → generate-ecfrjnaf.js} +48 -48
  137. package/dist/chunks/{model-resolver-nbz0maqw.js → generate-ecq052tn.js} +23 -23
  138. package/dist/chunks/{model-resolver-w5zwfkq2.js → generate-eez2jsbe.js} +51 -51
  139. package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{model-resolver-evdtckst.js → generate-f1xnqdyr.js} +4 -4
  141. package/dist/chunks/{model-resolver-6a4kxdj8.js → generate-f5k7224w.js} +30 -30
  142. package/dist/chunks/{model-resolver-pb2pfffb.js → generate-f6wfqyz7.js} +10 -10
  143. package/dist/chunks/{model-resolver-3j7gb19e.js → generate-fcz54ycx.js} +19 -19
  144. package/dist/chunks/{model-resolver-ehfx068x.js → generate-fdp97wc0.js} +19 -19
  145. package/dist/chunks/{model-resolver-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{model-resolver-bh1et42v.js → generate-ffxnyj3q.js} +3 -3
  147. package/dist/chunks/{model-resolver-a3em8wep.js → generate-fq4px9zp.js} +18 -18
  148. package/dist/chunks/{model-resolver-fae4enn1.js → generate-fwjbw8c3.js} +13 -13
  149. package/dist/chunks/{model-resolver-hs0nkh4s.js → generate-fwt74e85.js} +15 -15
  150. package/dist/chunks/{model-resolver-bbv4y6ft.js → generate-fx06c4yw.js} +29 -29
  151. package/dist/chunks/{model-resolver-w687dnns.js → generate-fznmdakp.js} +4 -4
  152. package/dist/chunks/{model-resolver-maxw8zgf.js → generate-g1jpy47d.js} +22 -22
  153. package/dist/chunks/{model-resolver-a0v55zen.js → generate-g2895gq7.js} +22 -22
  154. package/dist/chunks/{model-resolver-g5h9c0rr.js → generate-g5h9c0rr.js} +2 -2
  155. package/dist/chunks/{model-resolver-cbeaw478.js → generate-g6p5rgqz.js} +14 -14
  156. package/dist/chunks/{model-resolver-g1e2r5aa.js → generate-g9ndtp1p.js} +4 -4
  157. package/dist/chunks/{model-resolver-dp37p1r3.js → generate-gd9xqwfz.js} +1 -1
  158. package/dist/chunks/{model-resolver-qqe3xj9j.js → generate-gfftbxav.js} +20 -20
  159. package/dist/chunks/{model-resolver-rg8m9xd0.js → generate-gfj1dh2k.js} +13 -13
  160. package/dist/chunks/{model-resolver-ag809kpc.js → generate-gn5bzjhx.js} +17 -17
  161. package/dist/chunks/{model-resolver-gw73nvw6.js → generate-gsyd3cda.js} +11 -11
  162. package/dist/chunks/{model-resolver-5defca7t.js → generate-gv9rxcjs.js} +19 -19
  163. package/dist/chunks/{model-resolver-0jqtqcam.js → generate-gxfvg231.js} +13 -13
  164. package/dist/chunks/{model-resolver-dvg82dp6.js → generate-h9q9d3sq.js} +24 -24
  165. package/dist/chunks/{model-resolver-ztf6n3de.js → generate-hd3k4wz8.js} +4 -4
  166. package/dist/chunks/{model-resolver-c1526x78.js → generate-hmmgtkw5.js} +11 -11
  167. package/dist/chunks/{model-resolver-57y02hse.js → generate-hq3462wm.js} +16 -16
  168. package/dist/chunks/{model-resolver-gaxzewmp.js → generate-hsdcm9m6.js} +35 -35
  169. package/dist/chunks/{model-resolver-7wxq9ndj.js → generate-hv0c9xjm.js} +28 -28
  170. package/dist/chunks/{model-resolver-j113cymg.js → generate-j113cymg.js} +1 -1
  171. package/dist/chunks/{model-resolver-zp466xy7.js → generate-j8p3npgm.js} +10 -10
  172. package/dist/chunks/{model-resolver-40fhy2zt.js → generate-jcbtawrq.js} +15 -15
  173. package/dist/chunks/{model-resolver-0pkr6qt9.js → generate-jddh4vgn.js} +54 -54
  174. package/dist/chunks/{model-resolver-qeaqse4k.js → generate-jgt5st1g.js} +45 -45
  175. package/dist/chunks/generate-jh346mvv.js +523 -0
  176. package/dist/chunks/{model-resolver-ypwr9vv7.js → generate-jj998gzn.js} +39 -39
  177. package/dist/chunks/{model-resolver-qecz1syp.js → generate-jzdfcbw4.js} +84 -84
  178. package/dist/chunks/generate-jztn5z23.js +18 -0
  179. package/dist/chunks/{model-resolver-k814nvkf.js → generate-k814nvkf.js} +1 -1
  180. package/dist/chunks/{model-resolver-h3c848hf.js → generate-ka2n5pfv.js} +33 -33
  181. package/dist/chunks/{model-resolver-ad0b5xxd.js → generate-kdx3nhfk.js} +12 -12
  182. package/dist/chunks/{model-resolver-1dpax7s7.js → generate-kmj6meg3.js} +37 -37
  183. package/dist/chunks/{model-resolver-cn7xf0c3.js → generate-kywaegby.js} +5 -5
  184. package/dist/chunks/{model-resolver-m1714858.js → generate-m1714858.js} +1 -1
  185. package/dist/chunks/{model-resolver-g7esga4v.js → generate-m37sd98t.js} +7 -7
  186. package/dist/chunks/{model-resolver-pja7jmt2.js → generate-m416erh4.js} +11 -11
  187. package/dist/chunks/{model-resolver-gs6sdnbe.js → generate-m6n3gz95.js} +21 -21
  188. package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{model-resolver-maspj1v3.js → generate-maspj1v3.js} +1 -1
  190. package/dist/chunks/{model-resolver-me5bcav6.js → generate-me5bcav6.js} +1 -1
  191. package/dist/chunks/{model-resolver-7p0hmyjt.js → generate-mfmv0kv1.js} +7 -7
  192. package/dist/chunks/{model-resolver-tn41ynre.js → generate-mpjcpqpe.js} +21 -21
  193. package/dist/chunks/{model-resolver-tasvem1v.js → generate-mt3ysty9.js} +6 -6
  194. package/dist/chunks/{model-resolver-w26t1m11.js → generate-mtyjk5mv.js} +11 -11
  195. package/dist/chunks/{model-resolver-n0p0277s.js → generate-n0p0277s.js} +1 -1
  196. package/dist/chunks/{model-resolver-6czmj677.js → generate-n1pz9w08.js} +4 -4
  197. package/dist/chunks/{model-resolver-dy9wt3zt.js → generate-n521w511.js} +70 -70
  198. package/dist/chunks/{model-resolver-3gs3gk71.js → generate-naa9f1yr.js} +14 -14
  199. package/dist/chunks/{model-resolver-770pw0s1.js → generate-nah043kf.js} +4 -4
  200. package/dist/chunks/{model-resolver-5w7y85jn.js → generate-nc0t5309.js} +20 -20
  201. package/dist/chunks/{model-resolver-f6j7cyhq.js → generate-np41maqj.js} +18 -18
  202. package/dist/chunks/{model-resolver-p015t6z3.js → generate-p015t6z3.js} +2 -2
  203. package/dist/chunks/{model-resolver-p0tsr9h6.js → generate-p0tsr9h6.js} +1 -1
  204. package/dist/chunks/{model-resolver-aj85frbb.js → generate-p1bnnv0d.js} +11 -11
  205. package/dist/chunks/{model-resolver-gzrpk3yh.js → generate-p3my5sye.js} +12 -12
  206. package/dist/chunks/{model-resolver-p7vhpwh8.js → generate-p7vhpwh8.js} +1 -1
  207. package/dist/chunks/{model-resolver-exrjm4ta.js → generate-p910tjw3.js} +4 -4
  208. package/dist/chunks/{model-resolver-dh62xe4r.js → generate-pc1v25hk.js} +3 -3
  209. package/dist/chunks/{model-resolver-v7vzjxxh.js → generate-pdsqxfs4.js} +29 -29
  210. package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
  211. package/dist/chunks/{model-resolver-jdgy95a6.js → generate-ps3ej18z.js} +4 -4
  212. package/dist/chunks/{model-resolver-3f2dq5js.js → generate-q60vxn6h.js} +30 -30
  213. package/dist/chunks/{model-resolver-fchqce7y.js → generate-q62c5m1h.js} +40 -40
  214. package/dist/chunks/{model-resolver-0sd3e6sm.js → generate-qd7381sw.js} +9 -9
  215. package/dist/chunks/{model-resolver-4755v7r3.js → generate-qe8930r1.js} +14 -14
  216. package/dist/chunks/{model-resolver-qjgzc4b4.js → generate-qjgzc4b4.js} +1 -1
  217. package/dist/chunks/{model-resolver-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{model-resolver-dr3grpx5.js → generate-r3zyq36m.js} +13 -13
  219. package/dist/chunks/{model-resolver-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{model-resolver-zadgmz3x.js → generate-rdhjazzg.js} +24 -24
  221. package/dist/chunks/{model-resolver-q1fncbax.js → generate-rky3kepx.js} +10 -10
  222. package/dist/chunks/{model-resolver-jcqm84fr.js → generate-rmt6m6se.js} +9 -9
  223. package/dist/chunks/{model-resolver-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{model-resolver-cxrgknsm.js → generate-rv8w38an.js} +9 -9
  225. package/dist/chunks/{model-resolver-r3jydfqs.js → generate-s3sx9mn6.js} +13 -13
  226. package/dist/chunks/{model-resolver-4m6zstw0.js → generate-s84dsypd.js} +6 -6
  227. package/dist/chunks/{model-resolver-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{model-resolver-vywmmb7d.js → generate-srcm619j.js} +13 -13
  229. package/dist/chunks/{model-resolver-f6mq62gx.js → generate-t6x4gq5g.js} +15 -15
  230. package/dist/chunks/{model-resolver-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
  231. package/dist/chunks/{model-resolver-kmzgegqq.js → generate-tg1vr1qt.js} +8 -8
  232. package/dist/chunks/{model-resolver-tw8zr1ps.js → generate-tw8zr1ps.js} +1 -1
  233. package/dist/chunks/{model-resolver-twv2r8f4.js → generate-twv2r8f4.js} +2 -2
  234. package/dist/chunks/{model-resolver-9ts33eg0.js → generate-tycew84m.js} +32 -32
  235. package/dist/chunks/{model-resolver-817tby3n.js → generate-v1n51q4a.js} +9 -9
  236. package/dist/chunks/{model-resolver-d6dkcx5p.js → generate-v2ekcwaa.js} +8 -8
  237. package/dist/chunks/{model-resolver-k2x2dsy8.js → generate-v52mmt0f.js} +5 -5
  238. package/dist/chunks/{model-resolver-66rk6f56.js → generate-v5prxdmf.js} +9 -9
  239. package/dist/chunks/{model-resolver-vd3b3yk9.js → generate-vd3b3yk9.js} +1 -1
  240. package/dist/chunks/{model-resolver-t5x9tta9.js → generate-vehp2e4d.js} +16 -16
  241. package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
  242. package/dist/chunks/{model-resolver-9afz5xhg.js → generate-vfgay4tf.js} +19 -19
  243. package/dist/chunks/{model-resolver-fxhha7v6.js → generate-vfn6hbth.js} +9 -9
  244. package/dist/chunks/{model-resolver-b6x45btx.js → generate-vhwf8nac.js} +8 -8
  245. package/dist/chunks/{model-resolver-frxcbkbz.js → generate-vhy1jp8z.js} +27 -27
  246. package/dist/chunks/{model-resolver-wekz2jy3.js → generate-vrhy8dh6.js} +6 -6
  247. package/dist/chunks/{model-resolver-vnfvdagd.js → generate-vwz214c8.js} +35 -35
  248. package/dist/chunks/{model-resolver-42pj4rzv.js → generate-vzy7qmck.js} +25 -25
  249. package/dist/chunks/{model-resolver-parpa42j.js → generate-w3d65hzj.js} +2 -2
  250. package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{model-resolver-84pze0j7.js → generate-w4pz5j85.js} +21 -21
  252. package/dist/chunks/{model-resolver-dnenxkzx.js → generate-w72jy28c.js} +7 -7
  253. package/dist/chunks/{model-resolver-76cb1hcw.js → generate-w8qtt4th.js} +4 -4
  254. package/dist/chunks/{model-resolver-j9hjqqep.js → generate-w923jztq.js} +20 -20
  255. package/dist/chunks/{model-resolver-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
  257. package/dist/chunks/{model-resolver-dfks5x0x.js → generate-wmwt0t0m.js} +17 -17
  258. package/dist/chunks/{model-resolver-z8zh1sht.js → generate-wnv14c0b.js} +22 -22
  259. package/dist/chunks/{model-resolver-s67gnmqz.js → generate-wybahy8v.js} +32 -32
  260. package/dist/chunks/{model-resolver-tvxppb48.js → generate-x06crd5t.js} +27 -27
  261. package/dist/chunks/{model-resolver-ntz68qz4.js → generate-x774aw49.js} +8 -8
  262. package/dist/chunks/{model-resolver-hhs2jvjz.js → generate-x7fdz9fh.js} +20 -20
  263. package/dist/chunks/{model-resolver-s8pwnmrf.js → generate-x8hhwygw.js} +34 -34
  264. package/dist/chunks/{model-resolver-h7r3kzq2.js → generate-xatr71eh.js} +47 -47
  265. package/dist/chunks/{model-resolver-y8mr6xph.js → generate-xevjgmtb.js} +14 -14
  266. package/dist/chunks/{model-resolver-zsw153cf.js → generate-xf011dtc.js} +16 -16
  267. package/dist/chunks/{model-resolver-8eay0v1g.js → generate-xjq3zqqg.js} +11 -11
  268. package/dist/chunks/{model-resolver-7454dw3e.js → generate-xk77ac0a.js} +14 -14
  269. package/dist/chunks/{model-resolver-m4eq7axd.js → generate-xs6sb18z.js} +17 -17
  270. package/dist/chunks/{model-resolver-tpbnagbb.js → generate-y1bsf4pc.js} +30 -30
  271. package/dist/chunks/{model-resolver-e5dqjz6v.js → generate-y2tacs4v.js} +6 -6
  272. package/dist/chunks/{model-resolver-6gsynj7k.js → generate-y6wjeqxz.js} +15 -15
  273. package/dist/chunks/{model-resolver-xj1dzt64.js → generate-y8j3s4v0.js} +4 -4
  274. package/dist/chunks/{model-resolver-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{model-resolver-r2q802mc.js → generate-ybwdqt9k.js} +10 -10
  276. package/dist/chunks/{model-resolver-hqr24qw0.js → generate-yhjes8yv.js} +5 -5
  277. package/dist/chunks/{model-resolver-7we14xxk.js → generate-ynm9hr00.js} +34 -34
  278. package/dist/chunks/{model-resolver-9ygq16qa.js → generate-yx31kd0w.js} +20 -20
  279. package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-resolver-158zhnz6.js → generate-z2a2ye1r.js} +12 -12
  281. package/dist/chunks/{model-resolver-qc854yns.js → generate-z37k9505.js} +16 -16
  282. package/dist/chunks/{model-resolver-z38nccrw.js → generate-z38nccrw.js} +1 -1
  283. package/dist/chunks/{model-resolver-hrwraf01.js → generate-zax9hrrj.js} +182 -182
  284. package/dist/chunks/{model-resolver-zba5tm1j.js → generate-zba5tm1j.js} +1 -1
  285. package/dist/chunks/{model-resolver-2vwdzrer.js → generate-zgcf70k7.js} +12 -12
  286. package/dist/chunks/{model-resolver-zkg84ctx.js → generate-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{model-resolver-sznyev98.js → generate-zw4pk1bw.js} +5 -5
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  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 +135 -135
  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 +118 -118
  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 +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  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 +117 -117
  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 +367 -367
  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 +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  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 +86 -86
  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 +101 -101
  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 +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +157 -157
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +86 -86
  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 +105 -105
  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 +101 -101
  478. package/dist/model-resolver.js +99 -99
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +103 -103
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +80 -80
  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 +84 -84
  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 +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  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 +114 -114
  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 +72 -72
  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 +349 -349
  546. package/dist/plugin/tool-input-repair.js +2 -2
  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 +3 -3
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  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 +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  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 +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  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 +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  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 +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  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 +4 -4
  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 +3 -3
  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 +162 -162
  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 +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +91 -91
  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 +137 -137
  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 +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +213 -213
  648. package/dist/tool/plugin/skill.js +115 -115
  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 +109 -109
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +116 -116
  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 +12 -12
  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 +1 -1
  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 +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +81 -81
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +80 -80
  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 +94 -94
  688. package/package.json +8 -8
  689. package/dist/chunks/model-resolver-0207mz92.js +0 -523
  690. package/dist/chunks/model-resolver-53mdf58s.js +0 -257
  691. package/dist/chunks/model-resolver-grzehpz7.js +0 -18
  692. /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2bv980vf.js → generate-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
  709. /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{model-resolver-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
  716. /package/dist/chunks/{model-resolver-84wd9syh.js → generate-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{model-resolver-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{model-resolver-a058387c.js → generate-a058387c.js} +0 -0
  723. /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
  737. /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
  749. /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
  751. /package/dist/chunks/{model-resolver-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
  753. /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{model-resolver-m18g726c.js → generate-m18g726c.js} +0 -0
  761. /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{model-resolver-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{model-resolver-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-vd3b3yk9.js";
3
+ } from "./generate-vd3b3yk9.js";
4
4
  import {
5
5
  which2
6
- } from "./model-resolver-qaymkmh1.js";
6
+ } from "./generate-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./generate-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options8,
15
- Service: () => Service71,
14
+ Options: () => Options5,
15
+ Service: () => Service46,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured6,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node74,
24
+ node: () => node49,
25
25
  ps: () => ps2,
26
- resolve: () => resolve4
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options8 = Schema.Struct({
46
+ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service71 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service46 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve4(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve4.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service71.of({
202
+ return Service46.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service71, layer: layer(options), deps: [Global.node] });
209
+ function configured6(options) {
210
+ return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node74 = configured10();
212
+ var node49 = configured6();
213
213
 
214
- export { Options8, Service71, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured10, node74, exports_select };
214
+ export { Options5, Service46, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list4, configured6, node49, exports_select };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-z5v4ffb3.js";
4
+ } from "./generate-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-qjgzc4b4.js";
7
+ } from "./generate-qjgzc4b4.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./model-resolver-rb9dy4dg.js";
12
+ } from "./generate-rb9dy4dg.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./model-resolver-ef5x83kb.js";
15
+ } from "./generate-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./generate-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service82,
26
+ Service: () => Service84,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node86
30
+ node: () => node88
31
31
  });
32
32
  import path from "path";
33
33
  import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
100
100
  }) {
101
101
  }
102
102
 
103
- class Service82 extends Context.Service()("@opencode/Git") {
103
+ class Service84 extends Context.Service()("@opencode/Git") {
104
104
  }
105
- var layer = Layer.effect(Service82, Effect.gen(function* () {
105
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
107
  const proc = yield* AppProcess.Service;
108
108
  const locks = makeUnsafe2();
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
722
722
  kind: index === 0 ? "main" : "linked"
723
723
  }));
724
724
  });
725
- return Service82.of({
725
+ return Service84.of({
726
726
  repo: { discover, clone, create },
727
727
  remote: { get: remote },
728
728
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
739
739
  objects: { pack: packObjects }
740
740
  });
741
741
  }));
742
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
742
+ var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
743
743
  function run(cwd, proc, args) {
744
744
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
745
745
  }
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
806
806
  return path.resolve(cwd, normalized);
807
807
  }
808
808
 
809
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
809
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service60
3
- } from "./model-resolver-jm58kwny.js";
2
+ Service59
3
+ } from "./generate-6c8j4tbz.js";
4
4
  import {
5
5
  Ref2,
6
- Service74
7
- } from "./model-resolver-7we14xxk.js";
6
+ Service71
7
+ } from "./generate-ynm9hr00.js";
8
8
  import {
9
9
  latest2,
10
- Service68
11
- } from "./model-resolver-w5zwfkq2.js";
10
+ Service49
11
+ } from "./generate-eez2jsbe.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./model-resolver-my4zabxr.js";
14
+ } from "./generate-8n9x2wf6.js";
15
15
  import {
16
- Service51
17
- } from "./model-resolver-m0k609qs.js";
16
+ Service41
17
+ } from "./generate-07phzgjg.js";
18
18
  import {
19
19
  evaluate2,
20
- Service57
21
- } from "./model-resolver-5brge8v8.js";
20
+ Service56
21
+ } from "./generate-ecfrjnaf.js";
22
22
  import {
23
- Service28
24
- } from "./model-resolver-qecz1syp.js";
23
+ Service20
24
+ } from "./generate-jzdfcbw4.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./model-resolver-sqjzf8x2.js";
27
+ } from "./generate-sqjzf8x2.js";
28
28
  import {
29
- Service9
30
- } from "./model-resolver-3vvx3qkg.js";
29
+ Service12
30
+ } from "./generate-d9p590j3.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./generate-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input7,
39
- Output: () => Output5,
40
- Plugin: () => Plugin26,
38
+ Input: () => Input12,
39
+ Output: () => Output9,
40
+ Plugin: () => Plugin49,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description3,
43
- name: () => name7
42
+ description: () => description4,
43
+ name: () => name12
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name7 = "subagent";
47
+ var name12 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
55
55
  ].join(`
56
56
  `)
57
57
  });
58
- var Input7 = Schema.Struct({
58
+ var Input12 = Schema.Struct({
59
59
  agent: Schema.String.annotate({
60
60
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
61
  }),
@@ -71,12 +71,12 @@ var Input7 = Schema.Struct({
71
71
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
72
  })
73
73
  });
74
- var Output5 = Schema.Struct({
74
+ var Output9 = Schema.Struct({
75
75
  sessionID: SessionSchema2.ID,
76
76
  status: Schema.Literals(["completed", "running"]),
77
77
  output: Schema.String
78
78
  });
79
- var description3 = [
79
+ var description4 = [
80
80
  "Spawns an agent in a child session to work on the specified task.",
81
81
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
82
82
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -85,16 +85,16 @@ var description3 = [
85
85
  "Use background only for independent work that can run while you continue elsewhere."
86
86
  ].join(`
87
87
  `);
88
- var Plugin26 = {
88
+ var Plugin49 = {
89
89
  id: "opencode.tool.subagent",
90
90
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service28;
92
- const jobs = yield* Service51;
93
- const agents = yield* Service60;
94
- const config = yield* Service68;
95
- const permission = yield* Service57;
96
- const models = yield* Service74;
97
- const subagents = yield* Service9;
91
+ const sessions = yield* Service20;
92
+ const jobs = yield* Service41;
93
+ const agents = yield* Service59;
94
+ const config = yield* Service49;
95
+ const permission = yield* Service56;
96
+ const models = yield* Service71;
97
+ const subagents = yield* Service12;
98
98
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
99
  const ref = yield* Effect.try({
100
100
  try: () => Ref2.parse(input),
@@ -114,11 +114,11 @@ var Plugin26 = {
114
114
  return ref;
115
115
  });
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name7,
117
+ name: name12,
118
118
  options: { codemode: false },
119
- description: description3,
120
- input: Input7,
121
- output: Output5,
119
+ description: description4,
120
+ input: Input12,
121
+ output: Output9,
122
122
  execute: (input, context) => Effect.gen(function* () {
123
123
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
124
  let current = parent;
@@ -138,7 +138,7 @@ var Plugin26 = {
138
138
  if (agent.mode === "primary")
139
139
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
140
  yield* permission.assert({
141
- action: name7,
141
+ action: name12,
142
142
  resources: [agent.id],
143
143
  save: [agent.id],
144
144
  sessionID: context.sessionID,
@@ -217,7 +217,7 @@ ${output.output}
217
217
  })))
218
218
  })).pipe(Effect.orDie);
219
219
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name7 || !Predicate.isObject(event.input))
220
+ if (event.tool !== name12 || !Predicate.isObject(event.input))
221
221
  return;
222
222
  if (event.input.model !== "" && event.input.sessionID !== "")
223
223
  return;
@@ -229,13 +229,13 @@ ${output.output}
229
229
  event.input = input;
230
230
  }));
231
231
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name7];
232
+ const tool = event.tools[name12];
233
233
  if (!tool)
234
234
  return;
235
235
  const selected = yield* agents.resolve(event.agent);
236
236
  if (!selected)
237
237
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
238
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
239
  if (available.length === 0)
240
240
  return;
241
241
  tool.description = [
@@ -252,4 +252,4 @@ ${output.output}
252
252
  })
253
253
  };
254
254
 
255
- export { name7, Input7, Output5, description3, Plugin26, exports_subagent };
255
+ export { name12, Input12, Output9, description4, Plugin49, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-resolver-6q2bdcd1.js";
3
+ } from "./generate-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-resolver-gftt206x.js";
3
+ } from "./generate-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
22
22
  files: event.data.files ? Array.from(event.data.files) : undefined
23
23
  };
24
24
  };
25
- function update2(adapter, event) {
25
+ function update3(adapter, event) {
26
26
  const created = DateTime.makeUnsafe(event.created);
27
27
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
28
28
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -403,4 +403,4 @@ function update2(adapter, event) {
403
403
  return project(event);
404
404
  }
405
405
 
406
- export { update2, exports_message_updater };
406
+ export { update3, exports_message_updater };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load5() {
3
+ function load4() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load5 };
9
+ export { load4 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-resolver-88xbtdfr.js";
3
+ } from "./generate-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./model-resolver-e3qxr5gk.js";
5
+ load4
6
+ } from "./generate-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./generate-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service69,
15
+ Service: () => Service50,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured9,
18
+ configured: () => configured8,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer26,
20
+ layer: () => layer22,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node72,
22
+ node: () => node53,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load5());
34
+ return createWrapper(load4());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service69 extends Context.Service()("@opencode/Watcher") {
52
+ class Service50 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer26 = (options) => Layer.effect(Service69, Effect.gen(function* () {
57
+ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service50.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service69, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service69.of({ subscribe });
100
+ return Service50.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service69).subscribe,
126
+ subscribe: Context.get(context, Service50).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service50, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured9(options) {
160
- return makeGlobalNode({ service: Service69, layer: layer26(options), deps: [nativeNode] });
159
+ function configured8(options) {
160
+ return makeGlobalNode({ service: Service50, layer: layer22(options), deps: [nativeNode] });
161
161
  }
162
- var node72 = configured9();
162
+ var node53 = configured8();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service69, Test3, layer26, testLayer3, nativeLayer2, configured9, node72, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service50, Test3, layer22, testLayer3, nativeLayer2, configured8, node53, exports_watcher };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service55,
3
- node58
4
- } from "./model-resolver-1mznh3r2.js";
2
+ Service40,
3
+ node42
4
+ } from "./generate-0cmwyhaq.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
8
  make20,
9
9
  diffByKey2
10
- } from "./model-resolver-e5dqjz6v.js";
10
+ } from "./generate-y2tacs4v.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service32,
20
- node: () => node36
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service26,
20
+ node: () => node28
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,11 +61,11 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
64
+ class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
65
65
  }
66
- var layer = Layer.effect(Service32, Effect.gen(function* () {
67
- const references = yield* Service55;
68
- return Service32.of({
66
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
67
+ const references = yield* Service40;
68
+ return Service26.of({
69
69
  load: Effect.fn("ReferenceInstructions.load")(function* () {
70
70
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
71
71
  name: reference.name,
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
73
73
  description: reference.description
74
74
  })).toSorted((a, b) => a.name.localeCompare(b.name));
75
75
  return make20({
76
- key: Key3.make("core/reference-guidance"),
76
+ key: Key4.make("core/reference-guidance"),
77
77
  codec: Schema.toCodecJson(Schema.Array(Summary)),
78
78
  read: Effect.succeed(available.length === 0 ? removed2 : available),
79
79
  render: {
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node58] });
88
+ var node28 = makeLocationNode({ service: Service26, layer, deps: [node42] });
89
89
 
90
- export { Service32, node36, exports_instructions3 };
90
+ export { Service26, node28, exports_instructions5 };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./model-resolver-rb9dy4dg.js";
10
+ } from "./generate-rb9dy4dg.js";
11
11
  import {
12
- Service80
13
- } from "./model-resolver-qc854yns.js";
12
+ Service82
13
+ } from "./generate-z37k9505.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./model-resolver-zadgmz3x.js";
16
+ } from "./generate-rdhjazzg.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin8,
24
+ Plugin: () => Plugin9,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin8 = define({
33
+ var Plugin9 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service82;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin8, exports_hg };
201
+ export { Plugin9, exports_hg };