@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,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-ntz68qz4.js";
3
+ } from "./generate-x774aw49.js";
4
4
  import {
5
- Service84
6
- } from "./model-resolver-ad0b5xxd.js";
5
+ Service85
6
+ } from "./generate-kdx3nhfk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18,
10
- Service77
11
- } from "./model-resolver-bbv4y6ft.js";
9
+ Event16,
10
+ Service74
11
+ } from "./generate-fx06c4yw.js";
12
12
  import {
13
- ID13,
13
+ ID12,
14
14
  MethodID2
15
- } from "./model-resolver-6a4kxdj8.js";
15
+ } from "./generate-f5k7224w.js";
16
16
  import {
17
- ID12,
17
+ ID11,
18
18
  mergeOverlay2
19
- } from "./model-resolver-4kxf6a3x.js";
19
+ } from "./generate-883rwgqp.js";
20
20
  import {
21
- ID11,
21
+ ID10,
22
22
  VariantID2,
23
23
  Info20
24
- } from "./model-resolver-7we14xxk.js";
24
+ } from "./generate-ynm9hr00.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./model-resolver-yb20nhc3.js";
28
+ } from "./generate-yb20nhc3.js";
29
29
  import {
30
30
  get5
31
- } from "./model-resolver-3nnrz6f6.js";
31
+ } from "./generate-3nnrz6f6.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./model-resolver-k9ms0q72.js";
34
+ } from "./generate-3jp652nn.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID12.openai;
47
- var integrationID = ID13.make("openai");
46
+ var providerID = ID11.openai;
47
+ var integrationID = ID12.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -179,8 +179,8 @@ function listen(server) {
179
179
  var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
- const bus = yield* Service84;
183
- const credentials = yield* Service77;
182
+ const bus = yield* Service85;
183
+ const credentials = yield* Service74;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID12.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID11.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID11.openai, ID10.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service47
3
- } from "./model-resolver-sq4s6wq1.js";
2
+ Service36
3
+ } from "./generate-dwwyec8z.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-resolver-grzehpz7.js";
6
+ } from "./generate-jztn5z23.js";
7
7
  import {
8
- Service66
9
- } from "./model-resolver-kmjzn6q1.js";
8
+ Service43
9
+ } from "./generate-az4hfc8s.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./model-resolver-k814nvkf.js";
12
+ } from "./generate-k814nvkf.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./generate-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service47;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service66), instances.provide(input.session));
25
+ const instances = yield* Service36;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
- node86
6
- } from "./model-resolver-an85mpdk.js";
5
+ node88
6
+ } from "./generate-5gk89hyb.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./model-resolver-qc854yns.js";
8
+ Service82,
9
+ node86
10
+ } from "./generate-z37k9505.js";
11
11
  import {
12
12
  create3
13
- } from "./model-resolver-vd3b3yk9.js";
13
+ } from "./generate-vd3b3yk9.js";
14
14
  import {
15
15
  make12
16
- } from "./model-resolver-hqr24qw0.js";
16
+ } from "./generate-yhjes8yv.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service15,
24
+ Service: () => Service18,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node18
26
+ node: () => node21
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service15 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service18 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service15, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
37
+ const location = yield* Service82;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make12;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service15.of({ ...state, directory: location.directory });
58
+ return Service18.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node18 = makeLocationNode({
61
- service: Service15,
60
+ var node21 = makeLocationNode({
61
+ service: Service18,
62
62
  layer,
63
- deps: [node84, Global.node, node86, FSUtil.node]
63
+ deps: [node86, Global.node, node88, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service15, node18, exports_strategies };
66
+ export { Service18, node21, exports_strategies };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./generate-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./model-resolver-dnenxkzx.js";
7
+ } from "./generate-w72jy28c.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./model-resolver-w5zwfkq2.js";
3
+ Service49
4
+ } from "./generate-eez2jsbe.js";
5
5
  import {
6
- Service72
7
- } from "./model-resolver-w26t1m11.js";
6
+ Service45
7
+ } from "./generate-mtyjk5mv.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-resolver-6pjqjmy2.js";
10
+ } from "./generate-6pjqjmy2.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin42
19
+ Plugin: () => Plugin32
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin42 = define({
23
+ var Plugin32 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service68;
27
- const output = yield* Service72;
26
+ const config = yield* Service49;
27
+ const output = yield* Service45;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin42 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin42, exports_tool_output };
41
+ export { Plugin32, exports_tool_output };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./model-resolver-5brge8v8.js";
3
+ } from "./generate-ecfrjnaf.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin17
12
+ Plugin: () => Plugin12
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin17 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin17, exports_plan };
108
+ export { Plugin12, exports_plan };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service69,
3
- node72
4
- } from "./model-resolver-zgy84aax.js";
2
+ Service50,
3
+ node53
4
+ } from "./generate-5xepaxvw.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./model-resolver-qc854yns.js";
6
+ Service82,
7
+ node86
8
+ } from "./generate-z37k9505.js";
9
9
  import {
10
- Service68,
11
- node71
12
- } from "./model-resolver-w5zwfkq2.js";
10
+ Service49,
11
+ node52
12
+ } from "./generate-eez2jsbe.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./model-resolver-6esdw8yj.js";
16
+ } from "./generate-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service5,
25
+ Service: () => Service7,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer6,
28
+ node: () => node8
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
39
- const config = yield* Service68;
40
- const watcher = yield* Service69;
38
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
39
+ const config = yield* Service49;
40
+ const watcher = yield* Service50;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
42
+ const location = yield* Service82;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service5.of({
61
+ return Service7.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service5,
75
- layer: layer5,
76
- deps: [node71, FSUtil.node, node72, node84]
73
+ var node8 = makeLocationNode({
74
+ service: Service7,
75
+ layer: layer6,
76
+ deps: [node52, FSUtil.node, node53, node86]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service5,
80
- layer: Layer.succeed(Service5, Service5.of({
79
+ service: Service7,
80
+ layer: Layer.succeed(Service7, Service7.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service5, layer5, node6, empty2, exports_source };
140
+ export { Service7, layer6, node8, empty2, exports_source };
@@ -1,59 +1,59 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-resolver-ad0b5xxd.js";
2
+ Service85,
3
+ node89
4
+ } from "./generate-kdx3nhfk.js";
5
+ import {
6
+ Service75,
7
+ node78
8
+ } from "./generate-vhy1jp8z.js";
5
9
  import {
6
10
  Service83,
7
11
  node87
8
- } from "./model-resolver-frxcbkbz.js";
9
- import {
10
- Service81,
11
- node85
12
- } from "./model-resolver-ymn1zp0c.js";
12
+ } from "./generate-1mtcyeq8.js";
13
13
  import {
14
14
  Ref4,
15
- Service80,
16
- node84
17
- } from "./model-resolver-qc854yns.js";
15
+ Service82,
16
+ node86
17
+ } from "./generate-z37k9505.js";
18
18
  import {
19
19
  canonical3
20
- } from "./model-resolver-k2x2dsy8.js";
20
+ } from "./generate-v52mmt0f.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./model-resolver-ec1grn59.js";
23
+ } from "./generate-ec1grn59.js";
24
24
  import {
25
- Service57,
26
- node60
27
- } from "./model-resolver-5brge8v8.js";
25
+ Service56,
26
+ node59
27
+ } from "./generate-ecfrjnaf.js";
28
28
  import {
29
- Service26,
30
- node29
31
- } from "./model-resolver-yk9kn8z0.js";
29
+ Service63,
30
+ node66
31
+ } from "./generate-dg96ektr.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./generate-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service22,
41
- node: () => node25
40
+ Service: () => Service52,
41
+ node: () => node55
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service52 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service22, Effect.gen(function* () {
51
- const bus = yield* Service84;
52
- const location = yield* Service80;
53
- const permission = yield* Service57;
54
- const forms = yield* Service83;
55
- const rpc = yield* Service26;
56
- const project = yield* Service81;
50
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
51
+ const bus = yield* Service85;
52
+ const location = yield* Service82;
53
+ const permission = yield* Service56;
54
+ const forms = yield* Service75;
55
+ const rpc = yield* Service63;
56
+ const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service22.of({
83
+ return Service52.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node25 = makeLocationNode({
89
- service: Service22,
88
+ var node55 = makeLocationNode({
89
+ service: Service52,
90
90
  layer,
91
- deps: [node88, node84, node60, node85, node87, node29]
91
+ deps: [node89, node86, node59, node87, node78, node66]
92
92
  });
93
93
 
94
- export { Service22, node25, exports_location_lifecycle };
94
+ export { Service52, node55, exports_location_lifecycle };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./model-resolver-ymn1zp0c.js";
6
+ } from "./generate-1mtcyeq8.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./model-resolver-qc854yns.js";
8
+ Service82,
9
+ node86
10
+ } from "./generate-z37k9505.js";
11
11
  import {
12
- Service57,
13
- node60
14
- } from "./model-resolver-5brge8v8.js";
12
+ Service56,
13
+ node59
14
+ } from "./generate-ecfrjnaf.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./generate-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service27,
26
- node: () => node30,
25
+ Service: () => Service48,
26
+ node: () => node51,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service27 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service48 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service27, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service80;
55
- const permission = yield* Service57;
54
+ const location = yield* Service82;
55
+ const permission = yield* Service56;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service27.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service48.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node30 = makeLocationNode({ service: Service27, layer, deps: [FSUtil.node, node84, node60] });
106
+ var node51 = makeLocationNode({ service: Service48, layer, deps: [FSUtil.node, node86, node59] });
107
107
 
108
- export { Kind2, ResolveInput2, Service27, resolvePath2, node30, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service48, resolvePath2, node51, exports_file_access };