@opencode/core 0.0.0-dev-20410 → 0.0.0-dev-20412

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{wellknown-94xk6992.js → form-00yta6ex.js} +29 -29
  8. package/dist/chunks/{wellknown-8950yhm7.js → form-04sex2km.js} +9 -9
  9. package/dist/chunks/{wellknown-72npc2f6.js → form-0e132phk.js} +24 -24
  10. package/dist/chunks/{wellknown-44w561qj.js → form-0e79vxqb.js} +5 -5
  11. package/dist/chunks/{wellknown-0paq2nw3.js → form-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{wellknown-afdq2nq0.js → form-0sc0s359.js} +31 -31
  13. package/dist/chunks/{wellknown-j2598mjc.js → form-0vjtp4ym.js} +10 -10
  14. package/dist/chunks/{wellknown-hy7bhjnd.js → form-1383tqcj.js} +11 -11
  15. package/dist/chunks/{wellknown-14ty0bgn.js → form-19va3w8g.js} +74 -74
  16. package/dist/chunks/{wellknown-1dazxqgg.js → form-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{wellknown-g1096q0s.js → form-1hgw54pr.js} +28 -28
  18. package/dist/chunks/{wellknown-290gn2nz.js → form-1k324b4w.js} +27 -27
  19. package/dist/chunks/{wellknown-tf4x7bac.js → form-1kr046vj.js} +6 -6
  20. package/dist/chunks/{wellknown-21r38tys.js → form-21r38tys.js} +1 -1
  21. package/dist/chunks/{wellknown-wz6t5by9.js → form-28r9wvkk.js} +13 -13
  22. package/dist/chunks/{wellknown-2a5m3afh.js → form-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{wellknown-3a83a0n4.js → form-2eegacq4.js} +8 -8
  24. package/dist/chunks/{wellknown-bk7jaeqh.js → form-2mhsvxbb.js} +4 -4
  25. package/dist/chunks/{wellknown-jkxcgs8q.js → form-2whkppae.js} +28 -28
  26. package/dist/chunks/{wellknown-wasjttrh.js → form-2zrrr7fc.js} +25 -25
  27. package/dist/chunks/{wellknown-t2tmd77d.js → form-32j0vqhw.js} +28 -28
  28. package/dist/chunks/{wellknown-1ygqh575.js → form-33w4ejhs.js} +6 -6
  29. package/dist/chunks/{wellknown-hbdbv0wt.js → form-38f2syfx.js} +40 -40
  30. package/dist/chunks/{wellknown-y8xa2k4j.js → form-3dpqgcjw.js} +11 -11
  31. package/dist/chunks/{wellknown-3fc6dm20.js → form-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{wellknown-d2q97jrn.js → form-3gzvsdmq.js} +9 -9
  33. package/dist/chunks/{wellknown-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{wellknown-radmxtwt.js → form-3jbe2gtq.js} +9 -9
  35. package/dist/chunks/{wellknown-w1d6802m.js → form-3k1e7ny9.js} +3 -3
  36. package/dist/chunks/{wellknown-zyr433b0.js → form-3pbjq009.js} +7 -7
  37. package/dist/chunks/{wellknown-6vqdytr6.js → form-3pzn6v07.js} +57 -57
  38. package/dist/chunks/{wellknown-hbyhqfhs.js → form-3qaj82j9.js} +5 -5
  39. package/dist/chunks/{wellknown-gke7xfxw.js → form-3s9sjvsa.js} +15 -15
  40. package/dist/chunks/{wellknown-3smtnn6g.js → form-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{wellknown-3tvqynh2.js → form-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{wellknown-2qp6y8xf.js → form-3w0fmcng.js} +5 -5
  43. package/dist/chunks/{wellknown-3zsf4n22.js → form-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{wellknown-yh1s390g.js → form-43pca6ma.js} +11 -11
  45. package/dist/chunks/{wellknown-ap74y1kn.js → form-43qs6h8y.js} +16 -16
  46. package/dist/chunks/{wellknown-dbv05mm3.js → form-4eq8w0dz.js} +4 -4
  47. package/dist/chunks/{wellknown-en2jb2v2.js → form-4gjgdck3.js} +30 -30
  48. package/dist/chunks/{wellknown-1n8pm4fs.js → form-4r7zj1cp.js} +17 -17
  49. package/dist/chunks/{wellknown-abjnfqr5.js → form-4rf4qvsy.js} +9 -9
  50. package/dist/chunks/{wellknown-xcqptzhp.js → form-4wt6k2af.js} +11 -11
  51. package/dist/chunks/{wellknown-w718jc0k.js → form-51379vbm.js} +11 -11
  52. package/dist/chunks/{wellknown-vrf00v9y.js → form-52p6jhb7.js} +5 -5
  53. package/dist/chunks/{wellknown-mt2wpz7r.js → form-54k1807y.js} +19 -19
  54. package/dist/chunks/{wellknown-54ma36ye.js → form-54ma36ye.js} +1 -1
  55. package/dist/chunks/{wellknown-t5y73egm.js → form-57b7p6ef.js} +23 -23
  56. package/dist/chunks/{wellknown-57ez7d0k.js → form-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{wellknown-5daktx2q.js → form-5daktx2q.js} +1 -1
  58. package/dist/chunks/{wellknown-614y8yz0.js → form-5hb4d5x3.js} +14 -14
  59. package/dist/chunks/{wellknown-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{wellknown-5t3nmthw.js → form-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{wellknown-qq8x5mwt.js → form-5yeq06a0.js} +7 -7
  62. package/dist/chunks/{wellknown-cke2b7t7.js → form-607q5haz.js} +12 -12
  63. package/dist/chunks/{wellknown-p320bp61.js → form-62c6kc7y.js} +26 -26
  64. package/dist/chunks/{wellknown-0rpx8wc5.js → form-63hm0962.js} +20 -20
  65. package/dist/chunks/{wellknown-669tq793.js → form-669tq793.js} +1 -1
  66. package/dist/chunks/{wellknown-vakvjtqr.js → form-6b8zegd2.js} +3 -3
  67. package/dist/chunks/{wellknown-3hxdjh5w.js → form-6fmbwa3g.js} +5 -5
  68. package/dist/chunks/{wellknown-be434b93.js → form-6gv3fntv.js} +41 -41
  69. package/dist/chunks/{wellknown-ybzspq0s.js → form-6hej3tez.js} +46 -46
  70. package/dist/chunks/{wellknown-6msgmcgs.js → form-6msgmcgs.js} +1 -1
  71. package/dist/chunks/form-6rv6cs98.js +252 -0
  72. package/dist/chunks/{wellknown-m76ak856.js → form-6s622yr1.js} +12 -12
  73. package/dist/chunks/{wellknown-gmf6wyfv.js → form-771qc15n.js} +9 -9
  74. package/dist/chunks/{wellknown-f3hqkxtk.js → form-7792rvjp.js} +34 -34
  75. package/dist/chunks/{wellknown-4btpfq85.js → form-79srn2sb.js} +29 -29
  76. package/dist/chunks/{wellknown-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{wellknown-vykevjvn.js → form-7d2a7xbs.js} +5 -5
  78. package/dist/chunks/{wellknown-5kcmdkc3.js → form-7ej9eenr.js} +28 -28
  79. package/dist/chunks/{wellknown-sjgknyar.js → form-7gakqv64.js} +5 -5
  80. package/dist/chunks/{wellknown-zanch5yy.js → form-7petwj60.js} +23 -23
  81. package/dist/chunks/{wellknown-d6kf3zw4.js → form-7szbwjj8.js} +7 -7
  82. package/dist/chunks/{wellknown-w1eejvng.js → form-84txncab.js} +5 -5
  83. package/dist/chunks/{wellknown-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{wellknown-ev0saa8z.js → form-8ev75r94.js} +11 -11
  85. package/dist/chunks/{wellknown-xp89vksz.js → form-8f8w3d8v.js} +11 -11
  86. package/dist/chunks/{wellknown-2fwvtqtm.js → form-8znqg4zs.js} +25 -25
  87. package/dist/chunks/{wellknown-vrdgc38a.js → form-93c7xtw2.js} +34 -34
  88. package/dist/chunks/{wellknown-gfvb90ym.js → form-94ek1h2f.js} +2 -2
  89. package/dist/chunks/{wellknown-d04jdsaz.js → form-9nrcf0sp.js} +24 -24
  90. package/dist/chunks/{wellknown-t6e95mzg.js → form-9qwadtv4.js} +6 -6
  91. package/dist/chunks/{wellknown-6crwcbc9.js → form-9qwv067a.js} +28 -28
  92. package/dist/chunks/{wellknown-bbsyhe2f.js → form-9t3p1pkk.js} +8 -8
  93. package/dist/chunks/{wellknown-55m9a17k.js → form-a3nf4wda.js} +19 -19
  94. package/dist/chunks/{wellknown-yyk7gbmy.js → form-a47vmbxy.js} +13 -13
  95. package/dist/chunks/{wellknown-4z58m4b4.js → form-a81kfqvn.js} +4 -4
  96. package/dist/chunks/{wellknown-zhr2g1ae.js → form-a8xk5yxc.js} +11 -11
  97. package/dist/chunks/{wellknown-aaet6srn.js → form-aaet6srn.js} +2 -2
  98. package/dist/chunks/{wellknown-mpk0rfs5.js → form-addxnjmp.js} +4 -4
  99. package/dist/chunks/{wellknown-rsbn0fcn.js → form-ak8g251a.js} +23 -23
  100. package/dist/chunks/{wellknown-dzbnv1y8.js → form-aqwx0hpv.js} +16 -16
  101. package/dist/chunks/{wellknown-44mgpfzg.js → form-asa9dae6.js} +32 -32
  102. package/dist/chunks/{wellknown-38qsazbb.js → form-avr0k1wy.js} +44 -44
  103. package/dist/chunks/{wellknown-7xpt23fr.js → form-axjapqw2.js} +4 -4
  104. package/dist/chunks/{wellknown-ffhspk0h.js → form-ayx4816r.js} +28 -28
  105. package/dist/chunks/{wellknown-cfsekr6v.js → form-b4twkq7r.js} +6 -6
  106. package/dist/chunks/{wellknown-b6gygkdw.js → form-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{wellknown-0xgfr3a5.js → form-bhfv8e6g.js} +5 -5
  108. package/dist/chunks/{wellknown-f4f6dec5.js → form-bhpnxcqw.js} +34 -34
  109. package/dist/chunks/{wellknown-164an6e8.js → form-br9w0y1f.js} +20 -20
  110. package/dist/chunks/{wellknown-j70evk53.js → form-c7wag7sh.js} +32 -32
  111. package/dist/chunks/{wellknown-r9qax4y8.js → form-ck6p27qv.js} +24 -24
  112. package/dist/chunks/{wellknown-54tcyq79.js → form-ckecvw8r.js} +2 -2
  113. package/dist/chunks/{wellknown-0na27aqw.js → form-cwth8e8t.js} +21 -21
  114. package/dist/chunks/{wellknown-h9k0myby.js → form-cx6mjm4v.js} +31 -31
  115. package/dist/chunks/{wellknown-1mbawdqw.js → form-d1asadna.js} +32 -32
  116. package/dist/chunks/{wellknown-6cfd75hy.js → form-d216944b.js} +4 -4
  117. package/dist/chunks/{wellknown-09e215wj.js → form-d8tfsqjy.js} +20 -20
  118. package/dist/chunks/{wellknown-haahk2j0.js → form-da5sjmfn.js} +5 -5
  119. package/dist/chunks/{wellknown-dw1xb9j8.js → form-dbr18nsg.js} +4 -4
  120. package/dist/chunks/{wellknown-94cgg493.js → form-dcs973ce.js} +33 -33
  121. package/dist/chunks/{wellknown-ydqn5d54.js → form-dffw36jk.js} +18 -18
  122. package/dist/chunks/{wellknown-hs5cnsfg.js → form-dfx6jyd2.js} +36 -36
  123. package/dist/chunks/{wellknown-vbfgae2j.js → form-dj68pnee.js} +4 -4
  124. package/dist/chunks/{wellknown-kxv0pnw6.js → form-dkk57f18.js} +11 -11
  125. package/dist/chunks/{wellknown-cngh3wnk.js → form-dm3fephj.js} +17 -17
  126. package/dist/chunks/{wellknown-xkntkrq7.js → form-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{wellknown-nxm207yx.js → form-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{wellknown-stmrx373.js → form-dxemrf9g.js} +10 -10
  129. package/dist/chunks/form-dxj72tfx.js +18 -0
  130. package/dist/chunks/{wellknown-qcaxezzb.js → form-e53jq037.js} +38 -38
  131. package/dist/chunks/{wellknown-x65pzh39.js → form-eeeg1rx2.js} +10 -10
  132. package/dist/chunks/{wellknown-ef5x83kb.js → form-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{wellknown-z8qjm4kc.js → form-egtsvpcy.js} +51 -51
  134. package/dist/chunks/{wellknown-wh8dp25y.js → form-em4dwj0d.js} +11 -11
  135. package/dist/chunks/{wellknown-a1gpj94z.js → form-eq1pz5kg.js} +3 -3
  136. package/dist/chunks/{wellknown-m8gd39et.js → form-eth69rd9.js} +34 -34
  137. package/dist/chunks/{wellknown-etq0c3wd.js → form-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{wellknown-q615bh5j.js → form-ew3waz83.js} +15 -15
  139. package/dist/chunks/{wellknown-a9w2502q.js → form-f0pb03rr.js} +1 -1
  140. package/dist/chunks/{wellknown-2pnhn36q.js → form-f3ngv102.js} +19 -19
  141. package/dist/chunks/{wellknown-8c9nwzfv.js → form-f4jcb7yd.js} +2 -2
  142. package/dist/chunks/{wellknown-m2bk3f14.js → form-f5mz60ba.js} +17 -17
  143. package/dist/chunks/{wellknown-dp18k49k.js → form-f7emxd7s.js} +22 -22
  144. package/dist/chunks/{wellknown-spev15wm.js → form-f91nsgjm.js} +12 -12
  145. package/dist/chunks/{wellknown-pdzttwzv.js → form-fbk04ngm.js} +13 -13
  146. package/dist/chunks/{wellknown-7dqw4kz8.js → form-fcrkznn8.js} +5 -5
  147. package/dist/chunks/{wellknown-2p2ksper.js → form-fnvjx1z3.js} +3 -3
  148. package/dist/chunks/{wellknown-eg0775ss.js → form-fw93tx3k.js} +12 -12
  149. package/dist/chunks/{wellknown-6hmwwa40.js → form-fwg5rckv.js} +11 -11
  150. package/dist/chunks/form-fxdttn5n.js +507 -0
  151. package/dist/chunks/{wellknown-xmgh8e8k.js → form-g1m5tprf.js} +178 -178
  152. package/dist/chunks/{wellknown-g5w8qwbj.js → form-g5w8qwbj.js} +1 -1
  153. package/dist/chunks/{wellknown-gd4qta3r.js → form-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{wellknown-3556dn8t.js → form-gg3hnhsj.js} +1 -1
  155. package/dist/chunks/{wellknown-we2x3x45.js → form-gkbrtqmq.js} +4 -4
  156. package/dist/chunks/{wellknown-1s1t9db3.js → form-gnm7qbc7.js} +23 -23
  157. package/dist/chunks/{wellknown-zvt5dnpc.js → form-gst7axd9.js} +4 -4
  158. package/dist/chunks/{wellknown-gv6a8nnw.js → form-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{wellknown-2r2n6yth.js → form-gwxfwpyp.js} +21 -21
  160. package/dist/chunks/{wellknown-4y3x9j2a.js → form-h1na462b.js} +21 -21
  161. package/dist/chunks/{wellknown-9zj2t9wy.js → form-h26y7kpm.js} +20 -20
  162. package/dist/chunks/{wellknown-n57qrn3a.js → form-h5b4kcx3.js} +6 -6
  163. package/dist/chunks/{wellknown-zzn5c76v.js → form-h5jy7nq7.js} +2 -2
  164. package/dist/chunks/{wellknown-h6vf3j39.js → form-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{wellknown-zn5188kg.js → form-h8sp7vvb.js} +10 -10
  166. package/dist/chunks/{wellknown-b3hxsf30.js → form-hkwpwydv.js} +9 -9
  167. package/dist/chunks/{wellknown-d1khqved.js → form-hnr5yq9h.js} +5 -5
  168. package/dist/chunks/{wellknown-ksgwj901.js → form-hwpr0vav.js} +11 -11
  169. package/dist/chunks/{wellknown-szrbzcjd.js → form-hx33e937.js} +24 -24
  170. package/dist/chunks/{wellknown-hzcr34ks.js → form-hz178y59.js} +8 -8
  171. package/dist/chunks/{wellknown-j56e64zr.js → form-j56e64zr.js} +1 -1
  172. package/dist/chunks/{wellknown-jkna1137.js → form-j7gkndj2.js} +6 -6
  173. package/dist/chunks/{wellknown-p7vmt0vr.js → form-j7mrpw8s.js} +23 -23
  174. package/dist/chunks/{wellknown-g97bb4fb.js → form-jca4demv.js} +2 -2
  175. package/dist/chunks/{wellknown-s2hc5wjj.js → form-jpgdy5me.js} +4 -4
  176. package/dist/chunks/{wellknown-trdgkbgm.js → form-k3bnpv1c.js} +30 -30
  177. package/dist/chunks/{wellknown-k3c624dm.js → form-k3c624dm.js} +3 -3
  178. package/dist/chunks/{wellknown-xswzb4kc.js → form-k5qvh5pk.js} +32 -32
  179. package/dist/chunks/{wellknown-2336b01z.js → form-k8dasee7.js} +8 -8
  180. package/dist/chunks/{wellknown-94sexpec.js → form-kn3sd7pb.js} +30 -30
  181. package/dist/chunks/{wellknown-632q0zdk.js → form-kng42ehz.js} +33 -33
  182. package/dist/chunks/{wellknown-f65gvspq.js → form-ktq6eaza.js} +3 -3
  183. package/dist/chunks/{wellknown-8zj1wa93.js → form-ktqfvxkf.js} +27 -27
  184. package/dist/chunks/{wellknown-ggh48w3t.js → form-kwhcmn7t.js} +54 -54
  185. package/dist/chunks/{wellknown-d7r387ef.js → form-kx4bd44t.js} +6 -6
  186. package/dist/chunks/{wellknown-16z2jb6t.js → form-m0h7q6tr.js} +20 -20
  187. package/dist/chunks/{wellknown-m3fdjcah.js → form-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{wellknown-m58kmhef.js → form-m58kmhef.js} +2 -2
  189. package/dist/chunks/{wellknown-nx4bp6rh.js → form-m9n4tjvj.js} +17 -17
  190. package/dist/chunks/{wellknown-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{wellknown-92h9fms8.js → form-mf3vnbqj.js} +15 -15
  192. package/dist/chunks/{wellknown-f1vyh6xp.js → form-mkpw75cb.js} +16 -16
  193. package/dist/chunks/{wellknown-r9tj242d.js → form-mrfy9381.js} +11 -11
  194. package/dist/chunks/{wellknown-e8c7tdgy.js → form-mtr4f1sg.js} +23 -23
  195. package/dist/chunks/{wellknown-e7cyz2n2.js → form-mwka6n0f.js} +22 -22
  196. package/dist/chunks/{wellknown-edfps4tk.js → form-myrr4y6j.js} +5 -5
  197. package/dist/chunks/{wellknown-kkj1mgts.js → form-n1bvmjr0.js} +11 -11
  198. package/dist/chunks/{wellknown-32ndydhr.js → form-n4s80jvf.js} +8 -8
  199. package/dist/chunks/{wellknown-cwkg0kwh.js → form-n6t8az49.js} +14 -14
  200. package/dist/chunks/{wellknown-12zc50tf.js → form-negn6anr.js} +33 -33
  201. package/dist/chunks/{wellknown-14czrspb.js → form-p1sxxgam.js} +18 -18
  202. package/dist/chunks/{wellknown-rc5hc0js.js → form-p2f1mjmn.js} +90 -90
  203. package/dist/chunks/{wellknown-p37cw4rj.js → form-p37cw4rj.js} +1 -1
  204. package/dist/chunks/{wellknown-4hqqpt46.js → form-p3nas0b7.js} +8 -8
  205. package/dist/chunks/{wellknown-sra9araw.js → form-pecb0brz.js} +5 -5
  206. package/dist/chunks/{wellknown-6anwy9fs.js → form-pf2hb43r.js} +4 -4
  207. package/dist/chunks/{wellknown-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{wellknown-pknna89w.js → form-pknna89w.js} +1 -1
  209. package/dist/chunks/{wellknown-qk9gfppg.js → form-pmb5sqpk.js} +7 -7
  210. package/dist/chunks/{wellknown-0v53mg2y.js → form-pmr4s4kc.js} +4 -4
  211. package/dist/chunks/{wellknown-8ard0xnh.js → form-pqwkrn1n.js} +3 -3
  212. package/dist/chunks/{wellknown-5epte933.js → form-q3t37ft6.js} +3 -3
  213. package/dist/chunks/{wellknown-s7vss6zf.js → form-q5kg28rm.js} +13 -13
  214. package/dist/chunks/{wellknown-909p1r3q.js → form-qfzde7bh.js} +6 -6
  215. package/dist/chunks/{wellknown-qsdy395h.js → form-qsdy395h.js} +1 -1
  216. package/dist/chunks/{wellknown-p5hcw2cx.js → form-qtde90xr.js} +14 -14
  217. package/dist/chunks/{wellknown-cwa6csj7.js → form-r2m716tb.js} +9 -9
  218. package/dist/chunks/{wellknown-1kkt2vva.js → form-r5e7g86y.js} +31 -31
  219. package/dist/chunks/{wellknown-ps96thee.js → form-r84c3qcq.js} +27 -27
  220. package/dist/chunks/{wellknown-jz0ehkkx.js → form-r9h1t8dg.js} +8 -8
  221. package/dist/chunks/{wellknown-k88fwccj.js → form-r9wzjhcd.js} +17 -17
  222. package/dist/chunks/{wellknown-p7yarm9w.js → form-rbrwwrvt.js} +9 -9
  223. package/dist/chunks/{wellknown-0zdym56s.js → form-rdvtzkt5.js} +9 -9
  224. package/dist/chunks/{wellknown-rdw6cm16.js → form-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{wellknown-fhs97t90.js → form-rhafb4aa.js} +5 -5
  226. package/dist/chunks/{wellknown-r8xr0va3.js → form-rhraev7y.js} +4 -4
  227. package/dist/chunks/{wellknown-4rem7hjf.js → form-rhvyazt2.js} +18 -18
  228. package/dist/chunks/{wellknown-y54hr7f3.js → form-rpjgfq5s.js} +9 -9
  229. package/dist/chunks/{wellknown-ssdq1t99.js → form-s2vhc7se.js} +10 -10
  230. package/dist/chunks/{wellknown-e7rr3zef.js → form-s3hxg0yz.js} +12 -12
  231. package/dist/chunks/{wellknown-6qsyht78.js → form-sbfyssrk.js} +39 -39
  232. package/dist/chunks/{wellknown-rrxsaae4.js → form-snhgx2yx.js} +12 -12
  233. package/dist/chunks/{wellknown-fwtnydp1.js → form-sz9cex58.js} +11 -11
  234. package/dist/chunks/{wellknown-beebazzm.js → form-szq0718r.js} +7 -7
  235. package/dist/chunks/{wellknown-1fkkc2q4.js → form-t9vtkxys.js} +12 -12
  236. package/dist/chunks/{wellknown-tazgh4e4.js → form-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{wellknown-tcezcvh9.js → form-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{wellknown-tdstcens.js → form-tdstcens.js} +1 -1
  239. package/dist/chunks/{wellknown-nvk3p1p4.js → form-tn5p6gy2.js} +23 -23
  240. package/dist/chunks/{wellknown-etk0206k.js → form-tppyfh15.js} +9 -9
  241. package/dist/chunks/{wellknown-tvtrv512.js → form-tvtrv512.js} +1 -1
  242. package/dist/chunks/{wellknown-j5g32akq.js → form-twwe5s8t.js} +4 -4
  243. package/dist/chunks/{wellknown-stk7aj9c.js → form-tx9a90rw.js} +9 -9
  244. package/dist/chunks/{wellknown-g5agzp2h.js → form-vd7rzxqf.js} +5 -5
  245. package/dist/chunks/{wellknown-veqvce7d.js → form-veqvce7d.js} +1 -1
  246. package/dist/chunks/{wellknown-zz2gve7a.js → form-vf1famjq.js} +12 -12
  247. package/dist/chunks/{wellknown-44ak30pa.js → form-vfjhn2wd.js} +4 -4
  248. package/dist/chunks/{wellknown-gq3f4pq9.js → form-vgjktpc6.js} +28 -28
  249. package/dist/chunks/{wellknown-vzcthcp8.js → form-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{wellknown-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{wellknown-s2ew5zhm.js → form-w29whswb.js} +84 -84
  252. package/dist/chunks/{wellknown-x2qdxhwm.js → form-w3tzych1.js} +8 -8
  253. package/dist/chunks/{wellknown-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{wellknown-t2j7eqzx.js → form-wb08knpr.js} +35 -35
  255. package/dist/chunks/{wellknown-rys8zzfc.js → form-wc0j6bn5.js} +23 -23
  256. package/dist/chunks/{wellknown-psazpmmj.js → form-wd3x2cqz.js} +2 -2
  257. package/dist/chunks/{wellknown-wd87259q.js → form-wd87259q.js} +1 -1
  258. package/dist/chunks/{wellknown-khn32n8z.js → form-we65tews.js} +7 -7
  259. package/dist/chunks/{wellknown-jcrcn3k8.js → form-web6sm0f.js} +2 -2
  260. package/dist/chunks/{wellknown-v0pw3s3m.js → form-werkkhzn.js} +48 -48
  261. package/dist/chunks/{wellknown-pn2bvya9.js → form-ws804xn1.js} +21 -21
  262. package/dist/chunks/{wellknown-rhjbct0v.js → form-wv396vej.js} +8 -8
  263. package/dist/chunks/{wellknown-dckvf469.js → form-wvrkefak.js} +3 -3
  264. package/dist/chunks/{wellknown-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{wellknown-cymsrqdn.js → form-x3kxdb2m.js} +22 -22
  266. package/dist/chunks/{wellknown-7j4bmeyc.js → form-x57dh78g.js} +45 -45
  267. package/dist/chunks/{wellknown-rzs3gq0x.js → form-x8gz1y8e.js} +8 -8
  268. package/dist/chunks/{wellknown-y6mz8vze.js → form-xcgbk8ac.js} +1 -1
  269. package/dist/chunks/{wellknown-vqmgxh08.js → form-xe8645v7.js} +5 -5
  270. package/dist/chunks/{wellknown-5yxxxe3w.js → form-xfqvn110.js} +11 -11
  271. package/dist/chunks/{wellknown-w552p3va.js → form-xr95ft6x.js} +44 -44
  272. package/dist/chunks/{wellknown-fppza7yp.js → form-xrzqtpt6.js} +10 -10
  273. package/dist/chunks/{wellknown-rxkspqj9.js → form-y0shf03z.js} +11 -11
  274. package/dist/chunks/{wellknown-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{wellknown-w7bd8vdp.js → form-y6c5trjg.js} +5 -5
  276. package/dist/chunks/{wellknown-z606hban.js → form-ydvr5jyf.js} +6 -6
  277. package/dist/chunks/{wellknown-fdqe7t98.js → form-yfbh22ck.js} +27 -27
  278. package/dist/chunks/{wellknown-xq9mxwgm.js → form-ynx0nfek.js} +14 -14
  279. package/dist/chunks/{wellknown-jjfwpmnh.js → form-ypnf7p79.js} +14 -14
  280. package/dist/chunks/form-ypqcm5g1.js +26 -0
  281. package/dist/chunks/{wellknown-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{wellknown-s4enseaf.js → form-yrznvahk.js} +2 -2
  283. package/dist/chunks/{wellknown-sw4z7rqk.js → form-yxsyp4dd.js} +16 -16
  284. package/dist/chunks/{wellknown-2a9pehze.js → form-yy9n328t.js} +8 -8
  285. package/dist/chunks/{wellknown-bjtzbw4r.js → form-z07pqspn.js} +3 -3
  286. package/dist/chunks/{wellknown-9b6f7ytq.js → form-z080dw0v.js} +20 -20
  287. package/dist/chunks/{wellknown-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{wellknown-6b2zjn2e.js → form-z4ztj7g0.js} +9 -9
  289. package/dist/chunks/{wellknown-29x78va6.js → form-z63w68vq.js} +6 -6
  290. package/dist/chunks/{wellknown-zeh9ct20.js → form-zeh9ct20.js} +2 -2
  291. package/dist/chunks/{wellknown-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{wellknown-bhs9pbkj.js → form-zwtk710j.js} +19 -19
  293. package/dist/chunks/{wellknown-zxq2ej10.js → form-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +121 -121
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +100 -100
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +13 -13
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +83 -83
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +101 -101
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +1 -1
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +100 -100
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +218 -218
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +221 -221
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +4 -4
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -126
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +5 -5
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/wellknown-583665fb.js +0 -26
  702. package/dist/chunks/wellknown-pp8ac1gr.js +0 -252
  703. package/dist/chunks/wellknown-rap9a73h.js +0 -18
  704. package/dist/chunks/wellknown-vkfwmpk4.js +0 -507
  705. /package/dist/chunks/{wellknown-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{wellknown-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{wellknown-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{wellknown-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{wellknown-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{wellknown-24dcb14g.js → form-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{wellknown-2710q6r3.js → form-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{wellknown-2axfhc9x.js → form-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{wellknown-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{wellknown-34c7v6d4.js → form-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{wellknown-359p4xyc.js → form-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{wellknown-3asan66x.js → form-3asan66x.js} +0 -0
  717. /package/dist/chunks/{wellknown-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{wellknown-3w5fmr99.js → form-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{wellknown-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{wellknown-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{wellknown-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{wellknown-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{wellknown-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{wellknown-53557ph1.js → form-53557ph1.js} +0 -0
  725. /package/dist/chunks/{wellknown-550bvhaj.js → form-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{wellknown-6prwharc.js → form-6prwharc.js} +0 -0
  727. /package/dist/chunks/{wellknown-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{wellknown-7m9af43g.js → form-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{wellknown-822emrt2.js → form-822emrt2.js} +0 -0
  730. /package/dist/chunks/{wellknown-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{wellknown-8n3pysct.js → form-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{wellknown-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{wellknown-922hggd3.js → form-922hggd3.js} +0 -0
  734. /package/dist/chunks/{wellknown-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{wellknown-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{wellknown-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{wellknown-af5trqkr.js → form-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{wellknown-afrmfg78.js → form-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{wellknown-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{wellknown-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{wellknown-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{wellknown-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{wellknown-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{wellknown-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{wellknown-d9fn303g.js → form-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{wellknown-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{wellknown-dajrwvna.js → form-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{wellknown-dap0rakb.js → form-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{wellknown-df08tz66.js → form-df08tz66.js} +0 -0
  750. /package/dist/chunks/{wellknown-dy18nga0.js → form-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{wellknown-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{wellknown-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{wellknown-ec1grn59.js → form-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{wellknown-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{wellknown-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{wellknown-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{wellknown-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{wellknown-faypxj3z.js → form-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{wellknown-fd410y7t.js → form-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{wellknown-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{wellknown-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{wellknown-g86h250q.js → form-g86h250q.js} +0 -0
  763. /package/dist/chunks/{wellknown-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{wellknown-gftt206x.js → form-gftt206x.js} +0 -0
  765. /package/dist/chunks/{wellknown-hjbc5kem.js → form-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{wellknown-hk9envan.js → form-hk9envan.js} +0 -0
  767. /package/dist/chunks/{wellknown-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{wellknown-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{wellknown-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{wellknown-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{wellknown-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{wellknown-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{wellknown-mp448xyj.js → form-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{wellknown-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{wellknown-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{wellknown-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{wellknown-njntx4h6.js → form-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{wellknown-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{wellknown-q74kybfr.js → form-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{wellknown-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{wellknown-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{wellknown-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{wellknown-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{wellknown-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{wellknown-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{wellknown-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{wellknown-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{wellknown-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{wellknown-w803qqfp.js → form-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{wellknown-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{wellknown-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{wellknown-wtztk69x.js → form-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{wellknown-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{wellknown-x61499pn.js → form-x61499pn.js} +0 -0
  795. /package/dist/chunks/{wellknown-y44na4kk.js → form-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{wellknown-y8cydn3q.js → form-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{wellknown-y8f7s663.js → form-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{wellknown-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{wellknown-ym463w8f.js → form-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{wellknown-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./wellknown-922hggd3.js";
4
+ } from "./form-922hggd3.js";
5
5
  import {
6
6
  Info18
7
- } from "./wellknown-2pnhn36q.js";
7
+ } from "./form-f3ngv102.js";
8
8
  import {
9
9
  Info17
10
- } from "./wellknown-zyr433b0.js";
10
+ } from "./form-3pbjq009.js";
11
11
  import {
12
- Info20
13
- } from "./wellknown-2qp6y8xf.js";
12
+ Info15
13
+ } from "./form-3w0fmcng.js";
14
14
  import {
15
- Info22
16
- } from "./wellknown-6cfd75hy.js";
15
+ Info11
16
+ } from "./form-d216944b.js";
17
17
  import {
18
- Info19
19
- } from "./wellknown-qq8x5mwt.js";
18
+ Info14
19
+ } from "./form-5yeq06a0.js";
20
20
  import {
21
21
  Layout2
22
- } from "./wellknown-21r38tys.js";
22
+ } from "./form-21r38tys.js";
23
23
  import {
24
- Info16
25
- } from "./wellknown-6anwy9fs.js";
24
+ Info12
25
+ } from "./form-pf2hb43r.js";
26
26
  import {
27
- Info21
28
- } from "./wellknown-sra9araw.js";
27
+ Info10
28
+ } from "./form-pecb0brz.js";
29
29
  import {
30
30
  Spec2
31
- } from "./wellknown-7dqw4kz8.js";
31
+ } from "./form-fcrkznn8.js";
32
32
  import {
33
- Info23
34
- } from "./wellknown-d1khqved.js";
33
+ Info16
34
+ } from "./form-hnr5yq9h.js";
35
35
  import {
36
36
  Server2
37
- } from "./wellknown-zeh9ct20.js";
37
+ } from "./form-zeh9ct20.js";
38
38
  import {
39
- Info15
40
- } from "./wellknown-0v53mg2y.js";
39
+ Info13
40
+ } from "./form-pmr4s4kc.js";
41
41
  import {
42
42
  __export
43
- } from "./wellknown-9rqn6x4v.js";
43
+ } from "./form-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info14,
49
+ Info: () => Info9,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info14 = Schema.Struct({
62
+ var Info9 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info14 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info22)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -123,14 +123,14 @@ var Info14 = Schema.Struct({
123
123
  summary: Schema.optional(Info17),
124
124
  compaction: Schema.optional(Info17)
125
125
  }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info23)).annotate({
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info21, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info19).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info10, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info14).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info16).annotate({
133
+ lsp: Schema.optional(Info12).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
@@ -139,7 +139,7 @@ var Info14 = Schema.Struct({
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
140
  permission: Schema.optional(Info18),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info20).annotate({
142
+ attachment: Schema.optional(Info15).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info14 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info14, exports_config2 };
194
+ export { WellKnown2, Info9, exports_config2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./wellknown-e7rr3zef.js";
2
+ Service83,
3
+ node87
4
+ } from "./form-s3hxg0yz.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./wellknown-rdw6cm16.js";
8
+ } from "./form-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./wellknown-zzn5c76v.js";
12
+ } from "./form-h5jy7nq7.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID9,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service73,
20
- node76,
21
- Event17
22
- } from "./wellknown-xswzb4kc.js";
19
+ Service67,
20
+ node71,
21
+ Event15
22
+ } from "./form-k5qvh5pk.js";
23
23
  import {
24
24
  __export
25
- } from "./wellknown-9rqn6x4v.js";
25
+ } from "./form-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
- ID: () => ID11,
36
- Info: () => Info24,
35
+ ID: () => ID8,
36
+ Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service69,
40
+ Service: () => Service65,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node72,
44
- parse: () => parse4
43
+ node: () => node69,
44
+ parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event15 } from "@opencode/schema/model";
51
- var ID11 = Model.ID;
50
+ import { Event as Event14 } from "@opencode/schema/model";
51
+ var ID8 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,13 +56,13 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info24 = Model.Info;
59
+ var Info21 = Model.Info;
60
60
 
61
- class Service69 extends Context.Service()("@opencode/Model") {
61
+ class Service65 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service69, Effect.gen(function* () {
64
- const providers = yield* Service73;
65
- const bus = yield* Service82;
63
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
64
+ const providers = yield* Service67;
65
+ const bus = yield* Service83;
66
66
  const location = yield* Service80;
67
67
  let input;
68
68
  const state = create3({
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service69.of({
200
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service65.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node72 = makeLocationNode({ service: Service69, layer, deps: [node76, node86, node84] });
220
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [node71, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse4(input) {
228
+ function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info24, Service69, node72, compatibility2, parse4, exports_model2, Event15 };
236
+ export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service65, node69, compatibility2, parse5, exports_model2, Event14 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command4 = {};
7
7
  __export(exports_command4, {
8
8
  ConfigCommandV1: () => exports_command4,
9
- Info: () => Info22
9
+ Info: () => Info11
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info22 = Schema.Struct({
12
+ var Info11 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info22 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info22, exports_command4 };
21
+ export { Info11, exports_command4 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./wellknown-5t3nmthw.js";
3
+ } from "./form-5t3nmthw.js";
4
4
  import {
5
- Service67,
6
- node70
7
- } from "./wellknown-38qsazbb.js";
5
+ Service41,
6
+ node44
7
+ } from "./form-avr0k1wy.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./form-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service23,
18
- UnavailableError: () => UnavailableError3,
17
+ Service: () => Service20,
18
+ UnavailableError: () => UnavailableError2,
19
19
  layer: () => layer10,
20
- node: () => node26
20
+ node: () => node23
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service23 extends Context.Service()("@opencode/Generate") {
37
+ class Service20 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer10 = Layer.effect(Service23, Effect.gen(function* () {
39
+ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service67;
41
+ const resolver = yield* Service41;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError3({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError2({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service23.of({ text });
71
+ return Service20.of({ text });
72
72
  }));
73
- var node26 = makeLocationNode({
74
- service: Service23,
73
+ var node23 = makeLocationNode({
74
+ service: Service20,
75
75
  layer: layer10,
76
- deps: [node70, llmClient2]
76
+ deps: [node44, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service23, layer10, node26, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError2, Service20, layer10, node23, exports_generate };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./wellknown-0zdym56s.js";
4
+ } from "./form-rdvtzkt5.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./wellknown-6vqdytr6.js";
8
+ } from "./form-3pzn6v07.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./wellknown-12zc50tf.js";
11
+ } from "./form-negn6anr.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./wellknown-38qsazbb.js";
19
+ } from "./form-avr0k1wy.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./wellknown-wz6t5by9.js";
23
+ } from "./form-28r9wvkk.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID12
3
- } from "./wellknown-xswzb4kc.js";
2
+ ID9
3
+ } from "./form-k5qvh5pk.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./wellknown-tf4x7bac.js";
6
+ } from "./form-1kr046vj.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID12.make("cloudflare-ai-gateway");
13
+ var providerID = ID9.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./wellknown-w1d6802m.js";
4
+ } from "./form-3k1e7ny9.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./wellknown-e7rr3zef.js";
6
+ Service83,
7
+ node87
8
+ } from "./form-s3hxg0yz.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./wellknown-pknna89w.js";
11
+ } from "./form-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./wellknown-3zsf4n22.js";
14
+ } from "./form-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./wellknown-9rqn6x4v.js";
17
+ } from "./form-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID15,
25
- Info: () => Info30,
26
- Key: () => Key4,
23
+ Event: () => Event17,
24
+ ID: () => ID11,
25
+ Info: () => Info25,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service76,
28
+ Service: () => Service69,
29
29
  Value: () => Value2,
30
- node: () => node79
30
+ node: () => node73
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event17 = Credential.Event;
42
42
 
43
- class Info30 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service76 extends Context.Service()("@opencode/Credential") {
51
+ class Service69 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service76, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service82;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info30({
60
+ return new Info25({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service76.of({
71
+ return Service69.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info30({
80
- id: input.id ?? ID15.create(),
79
+ const credential = new Info25({
80
+ id: input.id ?? ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event20.Updated, {}, { global: true });
111
+ yield* bus.publish(Event17.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event20.Updated, {}, { global: true });
165
+ yield* bus.publish(Event17.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event20.Updated, {}, { global: true });
198
+ yield* bus.publish(Event17.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88, node86] });
204
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88, node87] });
205
205
 
206
- export { ID15, OAuth3, Key4, Value2, Event20, Info30, Service76, node79, exports_credential };
206
+ export { ID11, OAuth3, Key3, Value2, Event17, Info25, Service69, node73, exports_credential };