@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,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./form-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service63
7
- } from "./wellknown-6qsyht78.js";
6
+ Service54
7
+ } from "./form-sbfyssrk.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./wellknown-2a5m3afh.js";
10
+ } from "./form-2a5m3afh.js";
11
11
  import {
12
- Service78
13
- } from "./wellknown-4y3x9j2a.js";
12
+ Service63
13
+ } from "./form-h1na462b.js";
14
14
  import {
15
- Service60
16
- } from "./wellknown-nx4bp6rh.js";
15
+ Service58
16
+ } from "./form-m9n4tjvj.js";
17
17
  import {
18
- Service55
19
- } from "./wellknown-6vqdytr6.js";
18
+ Service73
19
+ } from "./form-3pzn6v07.js";
20
20
  import {
21
21
  Service13,
22
22
  resolvePath2
23
- } from "./wellknown-stk7aj9c.js";
23
+ } from "./form-tx9a90rw.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./wellknown-vzs5sf6e.js";
29
+ } from "./form-vzs5sf6e.js";
30
30
  import {
31
- Service42,
31
+ Service53,
32
32
  name15
33
- } from "./wellknown-ydqn5d54.js";
33
+ } from "./form-dffw36jk.js";
34
34
  import {
35
- NotFoundError4,
36
- Service36
37
- } from "./wellknown-ybzspq0s.js";
35
+ NotFoundError6,
36
+ Service50
37
+ } from "./form-6hej3tez.js";
38
38
  import {
39
- Service26
40
- } from "./wellknown-rc5hc0js.js";
39
+ Service22
40
+ } from "./form-p2f1mjmn.js";
41
41
  import {
42
42
  scan2
43
- } from "./wellknown-we2x3x45.js";
43
+ } from "./form-gkbrtqmq.js";
44
44
  import {
45
45
  __export
46
- } from "./wellknown-9rqn6x4v.js";
46
+ } from "./form-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin19,
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin8,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name2
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name2 = "shell";
59
+ var name7 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input2 = Schema.Struct({
73
+ var Input7 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin19 = {
119
+ var Plugin8 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service26;
123
- const jobs = yield* Service60;
122
+ const sessions = yield* Service22;
123
+ const jobs = yield* Service58;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service78;
125
+ const environment = yield* Service63;
126
126
  const access = yield* Service13;
127
- const shell = yield* Service36;
128
- const shellSelect = yield* Service42;
127
+ const shell = yield* Service50;
128
+ const shellSelect = yield* Service53;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service55;
131
- const config = yield* Service63;
130
+ const permission = yield* Service73;
131
+ const config = yield* Service54;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin19 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name2,
150
+ action: name7,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin19 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name2,
187
+ name: name7,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input2,
190
+ input: Input7,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin19 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError4({ id: info.id });
213
+ return yield* new NotFoundError6({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name2,
227
+ type: name7,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name2];
257
+ const tool = event.tools[name7];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin19, exports_shell };
268
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin8, exports_shell };
@@ -1,57 +1,57 @@
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
  Service80,
7
7
  node84
8
- } from "./wellknown-zzn5c76v.js";
8
+ } from "./form-h5jy7nq7.js";
9
9
  import {
10
- Service78,
11
- node81
12
- } from "./wellknown-4y3x9j2a.js";
10
+ Service63,
11
+ node66
12
+ } from "./form-h1na462b.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./wellknown-gd4qta3r.js";
15
+ } from "./form-gd4qta3r.js";
16
16
  import {
17
- Service42,
17
+ Service53,
18
18
  args2,
19
- node45
20
- } from "./wellknown-ydqn5d54.js";
19
+ node56
20
+ } from "./form-dffw36jk.js";
21
21
  import {
22
- Service59,
23
- node62
24
- } from "./wellknown-3a83a0n4.js";
22
+ Service77,
23
+ node81
24
+ } from "./form-2eegacq4.js";
25
25
  import {
26
- Service37,
27
- node40
28
- } from "./wellknown-rzs3gq0x.js";
26
+ Service51,
27
+ node54
28
+ } from "./form-x8gz1y8e.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./wellknown-5epte933.js";
31
+ } from "./form-q3t37ft6.js";
32
32
  import {
33
33
  latest2,
34
- Service63,
35
- node66
36
- } from "./wellknown-6qsyht78.js";
34
+ Service54,
35
+ node57
36
+ } from "./form-sbfyssrk.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./wellknown-m76ak856.js";
40
+ } from "./form-6s622yr1.js";
41
41
  import {
42
42
  __export
43
- } from "./wellknown-9rqn6x4v.js";
43
+ } from "./form-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service36,
51
+ Service: () => Service50,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node39
54
+ node: () => node53
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service36 extends Context.Service()("@opencode/Shell") {
74
+ class Service50 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service36, Effect.gen(function* () {
91
- const bus = yield* Service82;
90
+ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
91
+ const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service42;
95
- const environment = yield* Service78;
96
- const hooks = yield* Service59;
97
- const environments = yield* Service37;
98
- const config = yield* Service63;
94
+ const shell = yield* Service53;
95
+ const environment = yield* Service63;
96
+ const hooks = yield* Service77;
97
+ const environments = yield* Service51;
98
+ const config = yield* Service54;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service36.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service50.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node39 = makeLocationNode({
329
- service: Service36,
328
+ var node53 = makeLocationNode({
329
+ service: Service50,
330
330
  layer: layer(),
331
331
  deps: [
332
- node86,
332
+ node87,
333
333
  node84,
334
334
  Global.node,
335
- node45,
336
- node81,
337
- node62,
338
- node40,
335
+ node56,
339
336
  node66,
337
+ node81,
338
+ node54,
339
+ node57,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service36, cleanup2, node39, exports_shell4 };
344
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service50, cleanup2, node53, exports_shell4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./form-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -0,0 +1,252 @@
1
+ import {
2
+ node82
3
+ } from "./form-r84c3qcq.js";
4
+ import {
5
+ node83
6
+ } from "./form-57b7p6ef.js";
7
+ import {
8
+ node72
9
+ } from "./form-negn6anr.js";
10
+ import {
11
+ node84,
12
+ boundNode2
13
+ } from "./form-h5jy7nq7.js";
14
+ import {
15
+ node71
16
+ } from "./form-k5qvh5pk.js";
17
+ import {
18
+ node45
19
+ } from "./form-51379vbm.js";
20
+ import {
21
+ node69
22
+ } from "./form-d1asadna.js";
23
+ import {
24
+ node63
25
+ } from "./form-tn5p6gy2.js";
26
+ import {
27
+ configured9,
28
+ node57
29
+ } from "./form-sbfyssrk.js";
30
+ import {
31
+ node66
32
+ } from "./form-h1na462b.js";
33
+ import {
34
+ node65
35
+ } from "./form-a47vmbxy.js";
36
+ import {
37
+ node64
38
+ } from "./form-ynx0nfek.js";
39
+ import {
40
+ node17
41
+ } from "./form-8znqg4zs.js";
42
+ import {
43
+ node16
44
+ } from "./form-1k324b4w.js";
45
+ import {
46
+ node44
47
+ } from "./form-avr0k1wy.js";
48
+ import {
49
+ node23
50
+ } from "./form-d8tfsqjy.js";
51
+ import {
52
+ node49
53
+ } from "./form-rpjgfq5s.js";
54
+ import {
55
+ node37
56
+ } from "./form-egtsvpcy.js";
57
+ import {
58
+ Service40,
59
+ node43
60
+ } from "./form-qfzde7bh.js";
61
+ import {
62
+ node34
63
+ } from "./form-f5mz60ba.js";
64
+ import {
65
+ node81
66
+ } from "./form-2eegacq4.js";
67
+ import {
68
+ node77
69
+ } from "./form-3pzn6v07.js";
70
+ import {
71
+ node42
72
+ } from "./form-28r9wvkk.js";
73
+ import {
74
+ configured7,
75
+ node47
76
+ } from "./form-9qwv067a.js";
77
+ import {
78
+ node28
79
+ } from "./form-43qs6h8y.js";
80
+ import {
81
+ node48
82
+ } from "./form-ck6p27qv.js";
83
+ import {
84
+ node36
85
+ } from "./form-32j0vqhw.js";
86
+ import {
87
+ node51
88
+ } from "./form-yfbh22ck.js";
89
+ import {
90
+ node29
91
+ } from "./form-m0h7q6tr.js";
92
+ import {
93
+ node39
94
+ } from "./form-2whkppae.js";
95
+ import {
96
+ node27
97
+ } from "./form-54k1807y.js";
98
+ import {
99
+ node26
100
+ } from "./form-w29whswb.js";
101
+ import {
102
+ node60
103
+ } from "./form-kn3sd7pb.js";
104
+ import {
105
+ node56
106
+ } from "./form-dffw36jk.js";
107
+ import {
108
+ node55
109
+ } from "./form-6s622yr1.js";
110
+ import {
111
+ node53
112
+ } from "./form-6hej3tez.js";
113
+ import {
114
+ node76
115
+ } from "./form-5hb4d5x3.js";
116
+ import {
117
+ node74
118
+ } from "./form-br9w0y1f.js";
119
+ import {
120
+ node50
121
+ } from "./form-1hgw54pr.js";
122
+ import {
123
+ node22
124
+ } from "./form-aqwx0hpv.js";
125
+ import {
126
+ node20
127
+ } from "./form-f7emxd7s.js";
128
+ import {
129
+ node2
130
+ } from "./form-asa9dae6.js";
131
+ import {
132
+ Service71,
133
+ node75
134
+ } from "./form-4gjgdck3.js";
135
+ import {
136
+ node15
137
+ } from "./form-tx9a90rw.js";
138
+ import {
139
+ node5,
140
+ bound2
141
+ } from "./form-p37cw4rj.js";
142
+ import {
143
+ node13
144
+ } from "./form-kng42ehz.js";
145
+ import {
146
+ node14
147
+ } from "./form-a3nf4wda.js";
148
+ import {
149
+ node4
150
+ } from "./form-dm3fephj.js";
151
+ import {
152
+ node3
153
+ } from "./form-e53jq037.js";
154
+ import {
155
+ node46
156
+ } from "./form-7792rvjp.js";
157
+ import {
158
+ node12
159
+ } from "./form-79srn2sb.js";
160
+ import {
161
+ node11
162
+ } from "./form-19va3w8g.js";
163
+ import {
164
+ __export
165
+ } from "./form-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service40,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node43
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node84,
181
+ node75,
182
+ node66,
183
+ node57,
184
+ node82,
185
+ node63,
186
+ node51,
187
+ node76,
188
+ node50,
189
+ node72,
190
+ node71,
191
+ node69,
192
+ node44,
193
+ node45,
194
+ node20,
195
+ node81,
196
+ node5,
197
+ node3,
198
+ node22,
199
+ node17,
200
+ node16,
201
+ node56,
202
+ node46,
203
+ node53,
204
+ node39,
205
+ node28,
206
+ node47,
207
+ node15,
208
+ node65,
209
+ node64,
210
+ node37,
211
+ node77,
212
+ node48,
213
+ node55,
214
+ node49,
215
+ node27,
216
+ node29,
217
+ node34,
218
+ node83,
219
+ node23,
220
+ node4,
221
+ node36,
222
+ node14,
223
+ node42,
224
+ node13,
225
+ node12,
226
+ node26,
227
+ node60,
228
+ node11,
229
+ node74,
230
+ node2
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node57.replace(configured9({ project: false, global: false })),
235
+ node47.replace(configured7({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node84.replace(boundNode2(ref)),
243
+ node5.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service71).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./wellknown-gd4qta3r.js";
3
+ } from "./form-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./wellknown-tvtrv512.js";
6
+ } from "./form-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./wellknown-rdw6cm16.js";
9
+ } from "./form-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./form-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service50,
21
+ Service: () => Service52,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node52
23
+ node: () => node55
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service50 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service52 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service50, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service50.of({
119
+ return Service52.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node52 = makeLocationNode({
137
- service: Service50,
136
+ var node55 = makeLocationNode({
137
+ service: Service52,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node52, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service52, node55, exports_tool_output2 };