@opencode/core 0.0.0-dev-20678 → 0.0.0-dev-20679

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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/{worktree-g7px2a66.js → wellknown-04k5f7nv.js} +93 -93
  8. package/dist/chunks/{worktree-0vbcp93d.js → wellknown-0emb60td.js} +2 -2
  9. package/dist/chunks/{worktree-fhr46ct7.js → wellknown-0hkwt15d.js} +172 -172
  10. package/dist/chunks/{worktree-rtbx6p6s.js → wellknown-0ktxm01m.js} +15 -15
  11. package/dist/chunks/{worktree-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{worktree-7ds11y3c.js → wellknown-0pdahkpz.js} +9 -9
  13. package/dist/chunks/{worktree-0ryd0fps.js → wellknown-0ryd0fps.js} +2 -2
  14. package/dist/chunks/{worktree-qkn6xzgz.js → wellknown-173pmgcq.js} +11 -11
  15. package/dist/chunks/{worktree-zyp8ka10.js → wellknown-19c4es28.js} +8 -8
  16. package/dist/chunks/{worktree-5nn9b30n.js → wellknown-1d3hf4vh.js} +21 -21
  17. package/dist/chunks/{worktree-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{worktree-gvwrdnb7.js → wellknown-1f9d60n1.js} +3 -3
  19. package/dist/chunks/{worktree-abze2epy.js → wellknown-1jj26f9v.js} +22 -22
  20. package/dist/chunks/{worktree-jpzbbj13.js → wellknown-1yy47k8t.js} +5 -5
  21. package/dist/chunks/{worktree-4wc52ngv.js → wellknown-255cfpxb.js} +19 -19
  22. package/dist/chunks/{worktree-0ezpynm7.js → wellknown-27fb6cga.js} +19 -19
  23. package/dist/chunks/{worktree-xcbn40rf.js → wellknown-27yha8rt.js} +23 -23
  24. package/dist/chunks/{worktree-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{worktree-ns15zm60.js → wellknown-2hteb5fn.js} +6 -6
  26. package/dist/chunks/{worktree-5hw3kh65.js → wellknown-2wbvtg9h.js} +22 -22
  27. package/dist/chunks/{worktree-z3zxqg9g.js → wellknown-33czt5j7.js} +7 -7
  28. package/dist/chunks/{worktree-t3mstrkb.js → wellknown-346bpdxw.js} +25 -25
  29. package/dist/chunks/{worktree-ype5ssfh.js → wellknown-3542zzsp.js} +16 -16
  30. package/dist/chunks/{worktree-zd8n3m20.js → wellknown-3agt91nk.js} +4 -4
  31. package/dist/chunks/{worktree-5xepet72.js → wellknown-3b1e2t2f.js} +75 -75
  32. package/dist/chunks/{worktree-3cegwx68.js → wellknown-3cegwx68.js} +2 -2
  33. package/dist/chunks/{worktree-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{worktree-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{worktree-yertzaey.js → wellknown-3hw9jnfj.js} +11 -11
  36. package/dist/chunks/{worktree-hnq9bmna.js → wellknown-3n8d9z3h.js} +28 -28
  37. package/dist/chunks/{worktree-g8hmyp2d.js → wellknown-3phfz8pg.js} +13 -13
  38. package/dist/chunks/{worktree-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{worktree-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{worktree-1tbv6vyw.js → wellknown-3w57jhwt.js} +8 -8
  41. package/dist/chunks/{worktree-v60n4k93.js → wellknown-3yjyv8ay.js} +25 -25
  42. package/dist/chunks/{worktree-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{worktree-zdz72ay5.js → wellknown-40ekwggk.js} +4 -4
  44. package/dist/chunks/{worktree-gj71zhbs.js → wellknown-43kvem2p.js} +5 -5
  45. package/dist/chunks/{worktree-4jeef9x8.js → wellknown-48rr034y.js} +48 -48
  46. package/dist/chunks/{worktree-cfbwxe1g.js → wellknown-4bsw698e.js} +1 -1
  47. package/dist/chunks/{worktree-w49382pb.js → wellknown-4c2df9zx.js} +8 -8
  48. package/dist/chunks/{worktree-6gmc3kzw.js → wellknown-4e4hq87t.js} +8 -8
  49. package/dist/chunks/{worktree-5zzwt5g1.js → wellknown-4m6x6rtf.js} +31 -31
  50. package/dist/chunks/{worktree-dejvf9w0.js → wellknown-4tbrzcn8.js} +18 -18
  51. package/dist/chunks/{worktree-4ts7tf6z.js → wellknown-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{worktree-h0mpfvff.js → wellknown-52qyp2rz.js} +327 -327
  53. package/dist/chunks/{worktree-17we2qek.js → wellknown-54f0hksz.js} +13 -13
  54. package/dist/chunks/{worktree-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
  55. package/dist/chunks/{worktree-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{worktree-wn0425kx.js → wellknown-5b9ryv59.js} +5 -5
  57. package/dist/chunks/{worktree-vn3s1ht6.js → wellknown-5cg44s47.js} +13 -13
  58. package/dist/chunks/{worktree-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  59. package/dist/chunks/{worktree-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{worktree-fbv57nyx.js → wellknown-5pbtm9hs.js} +4 -4
  61. package/dist/chunks/{worktree-63db42yp.js → wellknown-5pyjqqve.js} +2 -2
  62. package/dist/chunks/{worktree-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{worktree-w9778aye.js → wellknown-5v630bnm.js} +2 -2
  64. package/dist/chunks/{worktree-9cwy2jha.js → wellknown-68hsqk7p.js} +22 -22
  65. package/dist/chunks/{worktree-6evnp53q.js → wellknown-68yf1gk3.js} +98 -98
  66. package/dist/chunks/{worktree-xqrtg09m.js → wellknown-6cg192sj.js} +15 -15
  67. package/dist/chunks/{worktree-gbzg285s.js → wellknown-6eegp3c0.js} +38 -38
  68. package/dist/chunks/{worktree-zm5574p5.js → wellknown-6tn7jbdw.js} +57 -57
  69. package/dist/chunks/{worktree-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{worktree-tznhj0ze.js → wellknown-73280wea.js} +46 -46
  71. package/dist/chunks/{worktree-ksg1aq7r.js → wellknown-737vdrvj.js} +18 -18
  72. package/dist/chunks/{worktree-d0fqnv22.js → wellknown-73hsgnrh.js} +17 -17
  73. package/dist/chunks/{worktree-mvmnyn7n.js → wellknown-75r8nd2c.js} +36 -36
  74. package/dist/chunks/{worktree-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{worktree-8g79wser.js → wellknown-7d6br3mg.js} +3 -3
  76. package/dist/chunks/{worktree-7gb06545.js → wellknown-7f4g3nej.js} +20 -20
  77. package/dist/chunks/{worktree-ah48gt2j.js → wellknown-7qwq6qbk.js} +42 -42
  78. package/dist/chunks/{worktree-2gec4brg.js → wellknown-7rpkbad3.js} +30 -30
  79. package/dist/chunks/{worktree-qm27jccq.js → wellknown-7t8bdkt7.js} +13 -13
  80. package/dist/chunks/{worktree-d9zcp3x2.js → wellknown-7wy8fz1g.js} +30 -30
  81. package/dist/chunks/{worktree-ex5gm711.js → wellknown-805mqyzz.js} +20 -20
  82. package/dist/chunks/{worktree-59f3e3ff.js → wellknown-80taqy91.js} +17 -17
  83. package/dist/chunks/{worktree-84h8c373.js → wellknown-84h8c373.js} +2 -2
  84. package/dist/chunks/{worktree-w1eejvng.js → wellknown-84txncab.js} +5 -5
  85. package/dist/chunks/{worktree-qhbw5a4b.js → wellknown-89r1t2kw.js} +9 -9
  86. package/dist/chunks/{worktree-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{worktree-j9c73dve.js → wellknown-8gnwkc1b.js} +17 -17
  88. package/dist/chunks/{worktree-ftdt7j28.js → wellknown-8jvfz5h0.js} +16 -16
  89. package/dist/chunks/{worktree-7c77ewax.js → wellknown-8s2p4g23.js} +28 -28
  90. package/dist/chunks/{worktree-f1fpav69.js → wellknown-8s6j0xgj.js} +6 -6
  91. package/dist/chunks/{worktree-gwb0ctjv.js → wellknown-90kht7m5.js} +48 -48
  92. package/dist/chunks/{worktree-we3yb86z.js → wellknown-9ev8g8qb.js} +4 -4
  93. package/dist/chunks/{worktree-8sfbsvhp.js → wellknown-9mt24hjb.js} +20 -20
  94. package/dist/chunks/{worktree-qqrjxc2w.js → wellknown-9s1fef2z.js} +12 -12
  95. package/dist/chunks/{worktree-wv396vej.js → wellknown-9t7a50xb.js} +6 -6
  96. package/dist/chunks/{worktree-hckh89c1.js → wellknown-9vxetrwd.js} +3 -3
  97. package/dist/chunks/{worktree-a2fssteg.js → wellknown-9xg6qs42.js} +3 -3
  98. package/dist/chunks/{worktree-fn9txvmy.js → wellknown-a166dkph.js} +35 -35
  99. package/dist/chunks/{worktree-xk6gwbtw.js → wellknown-a1g6a9yj.js} +5 -5
  100. package/dist/chunks/{worktree-rb0yz7b3.js → wellknown-a25h4jaw.js} +47 -47
  101. package/dist/chunks/{worktree-6rd4tpzh.js → wellknown-a4jk14wf.js} +34 -34
  102. package/dist/chunks/{worktree-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  103. package/dist/chunks/{worktree-db2wf4at.js → wellknown-addxnjmp.js} +4 -4
  104. package/dist/chunks/{worktree-tx92n959.js → wellknown-afjydgk3.js} +4 -4
  105. package/dist/chunks/{worktree-y1dpn6q8.js → wellknown-afrgtbd2.js} +5 -5
  106. package/dist/chunks/{worktree-vj5pc5q1.js → wellknown-ant6vppx.js} +13 -13
  107. package/dist/chunks/{worktree-2eegacq4.js → wellknown-at1kfnmk.js} +8 -8
  108. package/dist/chunks/{worktree-7hctjrk6.js → wellknown-axhkhwr8.js} +23 -23
  109. package/dist/chunks/{worktree-554ppjqe.js → wellknown-az3rkwbe.js} +9 -9
  110. package/dist/chunks/{worktree-8sze2n9a.js → wellknown-b4twkq7r.js} +2 -2
  111. package/dist/chunks/{worktree-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{worktree-c2j3xy4g.js → wellknown-b8j60jjz.js} +8 -8
  113. package/dist/chunks/{worktree-vzhe4zg6.js → wellknown-berpeycn.js} +15 -15
  114. package/dist/chunks/{worktree-zgwqe4kw.js → wellknown-beyp434m.js} +11 -11
  115. package/dist/chunks/{worktree-20k90jn5.js → wellknown-bhypc13x.js} +3 -3
  116. package/dist/chunks/{worktree-cnr2fbcv.js → wellknown-bpz9cye0.js} +11 -11
  117. package/dist/chunks/{worktree-d34h28nh.js → wellknown-bq56amyz.js} +28 -28
  118. package/dist/chunks/{worktree-dqwk5426.js → wellknown-bsgbbmse.js} +40 -40
  119. package/dist/chunks/{worktree-e8vwfchq.js → wellknown-bsprd9wx.js} +6 -6
  120. package/dist/chunks/{worktree-944zhfh4.js → wellknown-bxx1pwwx.js} +14 -14
  121. package/dist/chunks/{worktree-pdf4nf1w.js → wellknown-bzrjq2vy.js} +11 -11
  122. package/dist/chunks/{worktree-x995py8c.js → wellknown-ch7w39rj.js} +10 -10
  123. package/dist/chunks/{worktree-e9ddm36m.js → wellknown-cmmkncq8.js} +10 -10
  124. package/dist/chunks/{worktree-cyczn8d8.js → wellknown-cp4a2zr9.js} +32 -32
  125. package/dist/chunks/wellknown-ctefx7dc.js +18 -0
  126. package/dist/chunks/{worktree-4xpgt2w9.js → wellknown-cxbh1760.js} +5 -5
  127. package/dist/chunks/{worktree-2kn5e7ew.js → wellknown-d8zex0s9.js} +11 -11
  128. package/dist/chunks/{worktree-sqvzcy4n.js → wellknown-dd40s8jk.js} +4 -4
  129. package/dist/chunks/{worktree-6xjbkn91.js → wellknown-dgnn94pr.js} +16 -16
  130. package/dist/chunks/{worktree-w95j1aag.js → wellknown-dn58h0gr.js} +5 -5
  131. package/dist/chunks/{worktree-6nwqebjc.js → wellknown-dp7t54vv.js} +9 -9
  132. package/dist/chunks/{worktree-vgp7e6pk.js → wellknown-drqgrxrt.js} +5 -5
  133. package/dist/chunks/{worktree-v5dkyp31.js → wellknown-edrmdtr5.js} +7 -7
  134. package/dist/chunks/{worktree-kc86bjfa.js → wellknown-eeavwd92.js} +6 -6
  135. package/dist/chunks/{worktree-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{worktree-980jbebj.js → wellknown-ehx3qmqc.js} +11 -11
  137. package/dist/chunks/{worktree-q1d18pxx.js → wellknown-epwn5jzh.js} +20 -20
  138. package/dist/chunks/{worktree-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{worktree-r2t9nb79.js → wellknown-exs3g62t.js} +12 -12
  140. package/dist/chunks/{worktree-97anc7e4.js → wellknown-exzm0cze.js} +11 -11
  141. package/dist/chunks/{worktree-yd1hyy78.js → wellknown-f5abhewx.js} +3 -3
  142. package/dist/chunks/{worktree-k1qrnqst.js → wellknown-f5gy8qwh.js} +8 -8
  143. package/dist/chunks/{worktree-f75zav2x.js → wellknown-f75zav2x.js} +2 -2
  144. package/dist/chunks/{worktree-vtmyt3zh.js → wellknown-fegm0bq6.js} +22 -22
  145. package/dist/chunks/{worktree-ak05m9d7.js → wellknown-fkc7as9m.js} +20 -20
  146. package/dist/chunks/{worktree-8vz7v9xx.js → wellknown-fn6n174a.js} +19 -19
  147. package/dist/chunks/{worktree-tnf1wecr.js → wellknown-fs92dzhy.js} +27 -27
  148. package/dist/chunks/{worktree-khzvsr9n.js → wellknown-ftcs2r5x.js} +16 -16
  149. package/dist/chunks/{worktree-j203rygf.js → wellknown-fvvpstn0.js} +13 -13
  150. package/dist/chunks/{worktree-43g4wmcb.js → wellknown-g5g6qkd8.js} +5 -5
  151. package/dist/chunks/{worktree-xfkkasph.js → wellknown-g5w8qwbj.js} +4 -4
  152. package/dist/chunks/{worktree-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{worktree-8hq66769.js → wellknown-h2d4d765.js} +7 -7
  154. package/dist/chunks/{worktree-mad84jxc.js → wellknown-h6bm7n8h.js} +48 -48
  155. package/dist/chunks/{worktree-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{worktree-8rg4pjtz.js → wellknown-ha0rea1c.js} +6 -6
  157. package/dist/chunks/{worktree-ftw06dxe.js → wellknown-hd32csf9.js} +3 -3
  158. package/dist/chunks/{worktree-q5e7cmwt.js → wellknown-he27pt63.js} +1 -1
  159. package/dist/chunks/{worktree-4tfbnah3.js → wellknown-hptfyq97.js} +8 -8
  160. package/dist/chunks/{worktree-ywvdrxjw.js → wellknown-hwady861.js} +36 -36
  161. package/dist/chunks/{worktree-xfaszaq1.js → wellknown-j27a4emc.js} +13 -13
  162. package/dist/chunks/wellknown-j2e8rp7d.js +253 -0
  163. package/dist/chunks/{worktree-30s1jqhr.js → wellknown-j4ydyyt8.js} +5 -5
  164. package/dist/chunks/{worktree-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  165. package/dist/chunks/{worktree-espax8zg.js → wellknown-j8m1p4p1.js} +4 -4
  166. package/dist/chunks/{worktree-9e73zybw.js → wellknown-jkg43hkq.js} +24 -24
  167. package/dist/chunks/{worktree-kpy4tq5x.js → wellknown-jvjttr1n.js} +21 -21
  168. package/dist/chunks/{worktree-h4aqnj6c.js → wellknown-jz979h27.js} +12 -12
  169. package/dist/chunks/{worktree-7csx5nx0.js → wellknown-k0fb5tp9.js} +11 -11
  170. package/dist/chunks/{worktree-yv32pxkv.js → wellknown-k617rwhp.js} +18 -18
  171. package/dist/chunks/{worktree-a6bra8ct.js → wellknown-k8zgzs4j.js} +7 -7
  172. package/dist/chunks/{worktree-kb9j3d72.js → wellknown-kb9j3d72.js} +3 -3
  173. package/dist/chunks/{worktree-vy6tct52.js → wellknown-kgkz97qg.js} +53 -53
  174. package/dist/chunks/{worktree-da0z8qs1.js → wellknown-kmr16be3.js} +5 -5
  175. package/dist/chunks/{worktree-qr3e8w20.js → wellknown-kqrgzfyx.js} +15 -15
  176. package/dist/chunks/{worktree-50mzsvk4.js → wellknown-kvvk39gs.js} +4 -4
  177. package/dist/chunks/{worktree-vf88kmda.js → wellknown-m1hk3x7f.js} +17 -17
  178. package/dist/chunks/{worktree-pt9pzmkj.js → wellknown-m29c2wsb.js} +29 -29
  179. package/dist/chunks/{worktree-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{worktree-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{worktree-vyfh7cqh.js → wellknown-mb41hxq8.js} +37 -37
  182. package/dist/chunks/{worktree-cftk923j.js → wellknown-mdb6f0mb.js} +6 -6
  183. package/dist/chunks/{worktree-zyk1yjk8.js → wellknown-mha52fg8.js} +5 -5
  184. package/dist/chunks/{worktree-hf0f0s02.js → wellknown-mhs8r3m2.js} +30 -30
  185. package/dist/chunks/{worktree-x73za9sf.js → wellknown-mmzszc8z.js} +35 -35
  186. package/dist/chunks/{worktree-mfg7hkjp.js → wellknown-mqafpt2f.js} +1 -1
  187. package/dist/chunks/{worktree-17m7e5yb.js → wellknown-mqsap6m9.js} +35 -35
  188. package/dist/chunks/{worktree-3t7b0x40.js → wellknown-mtshsn2z.js} +26 -26
  189. package/dist/chunks/{worktree-s29k18d1.js → wellknown-n5wwkbj9.js} +8 -8
  190. package/dist/chunks/{worktree-08em3ee9.js → wellknown-n8gsyc7n.js} +28 -28
  191. package/dist/chunks/{worktree-fqcgpcra.js → wellknown-n9j73x72.js} +9 -9
  192. package/dist/chunks/{worktree-nps7pa21.js → wellknown-nen0rqf3.js} +18 -18
  193. package/dist/chunks/{worktree-yp2x3t23.js → wellknown-nkf980df.js} +4 -4
  194. package/dist/chunks/{worktree-5g5j2e1n.js → wellknown-nvr70z5w.js} +11 -11
  195. package/dist/chunks/{worktree-ryvhqdqz.js → wellknown-nx82gf31.js} +33 -33
  196. package/dist/chunks/{worktree-dpkg50ah.js → wellknown-nxm207yx.js} +4 -4
  197. package/dist/chunks/{worktree-3n65r2sc.js → wellknown-nzym5ntr.js} +62 -62
  198. package/dist/chunks/{worktree-15560esq.js → wellknown-p1nvj8z6.js} +8 -8
  199. package/dist/chunks/{worktree-8v6pyhej.js → wellknown-pa8pe2x7.js} +8 -8
  200. package/dist/chunks/{worktree-qvzmz2hd.js → wellknown-pd2x9kgq.js} +11 -11
  201. package/dist/chunks/{worktree-mvfv6g31.js → wellknown-ph2e6s98.js} +40 -40
  202. package/dist/chunks/{worktree-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{worktree-mp95dmdx.js → wellknown-pkb6p7eb.js} +11 -11
  204. package/dist/chunks/{worktree-pknna89w.js → wellknown-pknna89w.js} +1 -1
  205. package/dist/chunks/{worktree-4mwpykj0.js → wellknown-prmgem5b.js} +6 -6
  206. package/dist/chunks/{worktree-q0xm7vwc.js → wellknown-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{worktree-rk26t4bh.js → wellknown-q5ze5amg.js} +17 -17
  208. package/dist/chunks/{worktree-qcxtzrkv.js → wellknown-q7s4wvq2.js} +18 -18
  209. package/dist/chunks/{worktree-0gapa1rm.js → wellknown-qa7075pb.js} +5 -5
  210. package/dist/chunks/{worktree-jewzahs7.js → wellknown-qbqbaz6q.js} +4 -4
  211. package/dist/chunks/{worktree-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{worktree-gv66gg0x.js → wellknown-qm7jrdpz.js} +8 -8
  213. package/dist/chunks/{worktree-c765mh8b.js → wellknown-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{worktree-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{worktree-xh3pt0hh.js → wellknown-qpsbqnqf.js} +10 -10
  216. package/dist/chunks/{worktree-60ag5qjy.js → wellknown-qpw1s7bc.js} +1 -1
  217. package/dist/chunks/{worktree-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  218. package/dist/chunks/{worktree-qxjc9qry.js → wellknown-qxjc9qry.js} +3 -3
  219. package/dist/chunks/{worktree-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{worktree-124pajz9.js → wellknown-r6jtefwf.js} +35 -35
  221. package/dist/chunks/{worktree-73c0qt40.js → wellknown-r7f7xh9p.js} +9 -9
  222. package/dist/chunks/{worktree-4hwsr2c7.js → wellknown-r92xrcx3.js} +36 -36
  223. package/dist/chunks/{worktree-4p3293aj.js → wellknown-rbe4wvb2.js} +23 -23
  224. package/dist/chunks/{worktree-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{worktree-mfa4e2dy.js → wellknown-rmpjmpw1.js} +29 -29
  226. package/dist/chunks/{worktree-9bbn03rq.js → wellknown-rrjjf3fc.js} +24 -24
  227. package/dist/chunks/{worktree-2vs2nh1n.js → wellknown-rwm5vee1.js} +4 -4
  228. package/dist/chunks/{worktree-fa24ys4h.js → wellknown-s2qetmaw.js} +11 -11
  229. package/dist/chunks/{worktree-gt84n3fs.js → wellknown-s7v01njr.js} +14 -14
  230. package/dist/chunks/{worktree-1sdf2zn9.js → wellknown-srpm7hfx.js} +23 -23
  231. package/dist/chunks/{worktree-ye7asgrj.js → wellknown-t0vq3sxw.js} +33 -33
  232. package/dist/chunks/{worktree-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{worktree-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{worktree-z736p80b.js → wellknown-tcvz6j51.js} +28 -28
  235. package/dist/chunks/{worktree-vrm0t447.js → wellknown-tdcgy60y.js} +11 -11
  236. package/dist/chunks/{worktree-tdstcens.js → wellknown-tdstcens.js} +1 -1
  237. package/dist/chunks/{worktree-f2mw6jyj.js → wellknown-thc15jq6.js} +9 -9
  238. package/dist/chunks/{worktree-fz1ega6x.js → wellknown-tsbm8v4g.js} +11 -11
  239. package/dist/chunks/{worktree-9da98haa.js → wellknown-tyk1x22e.js} +11 -11
  240. package/dist/chunks/{worktree-n143kkat.js → wellknown-v08ftd5w.js} +45 -45
  241. package/dist/chunks/{worktree-d96ycdxj.js → wellknown-v26071zx.js} +30 -30
  242. package/dist/chunks/{worktree-vhxw02v1.js → wellknown-v9rk9z7g.js} +10 -10
  243. package/dist/chunks/{worktree-8w291pm7.js → wellknown-vaawya2s.js} +21 -21
  244. package/dist/chunks/{worktree-pgvafq4z.js → wellknown-ve1xn75q.js} +22 -22
  245. package/dist/chunks/{worktree-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  246. package/dist/chunks/{worktree-s3sb1ad7.js → wellknown-vgvkqx5m.js} +22 -22
  247. package/dist/chunks/{worktree-ss358qx3.js → wellknown-vx3jgdek.js} +3 -3
  248. package/dist/chunks/{worktree-n30jecw5.js → wellknown-vz0xp14q.js} +11 -11
  249. package/dist/chunks/{worktree-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{worktree-5t0megjy.js → wellknown-w0rrsdn6.js} +32 -32
  251. package/dist/chunks/{worktree-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{worktree-3v3tg56d.js → wellknown-w560apy3.js} +17 -17
  253. package/dist/chunks/{worktree-7qq3ahcc.js → wellknown-w5zzhgd0.js} +6 -6
  254. package/dist/chunks/{worktree-k2pcze7v.js → wellknown-w6f70jx8.js} +4 -4
  255. package/dist/chunks/{worktree-bb1b8k90.js → wellknown-wa905199.js} +15 -15
  256. package/dist/chunks/{worktree-wd87259q.js → wellknown-wd87259q.js} +1 -1
  257. package/dist/chunks/{worktree-6gde23dc.js → wellknown-wdz7by7z.js} +29 -29
  258. package/dist/chunks/{worktree-srq8z0b0.js → wellknown-wmz9gz0a.js} +9 -9
  259. package/dist/chunks/{worktree-55dytp5r.js → wellknown-wwswy3cn.js} +22 -22
  260. package/dist/chunks/{worktree-x90t23kx.js → wellknown-x5qes1kq.js} +24 -24
  261. package/dist/chunks/{worktree-v0es1rhs.js → wellknown-xecxzrdp.js} +2 -2
  262. package/dist/chunks/{worktree-vgwdt6gq.js → wellknown-xenw0zak.js} +33 -33
  263. package/dist/chunks/{worktree-xkntkrq7.js → wellknown-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{worktree-20qzy3kz.js → wellknown-xmd7q6j6.js} +21 -21
  265. package/dist/chunks/{worktree-emqscpbc.js → wellknown-xpxptrwk.js} +22 -22
  266. package/dist/chunks/{worktree-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{worktree-cprp9kwr.js → wellknown-y4wym877.js} +35 -35
  268. package/dist/chunks/{worktree-q58mka6k.js → wellknown-y54hr7f3.js} +9 -9
  269. package/dist/chunks/{worktree-9jn3z3yz.js → wellknown-yadpvqa6.js} +46 -46
  270. package/dist/chunks/{worktree-8284y6xq.js → wellknown-yar9by0p.js} +9 -9
  271. package/dist/chunks/{worktree-qtjwvqnb.js → wellknown-ygjkz2v0.js} +4 -4
  272. package/dist/chunks/{worktree-cjtxsq47.js → wellknown-ykgyn99t.js} +18 -18
  273. package/dist/chunks/{worktree-pft5j206.js → wellknown-ytws7ykb.js} +2 -2
  274. package/dist/chunks/{worktree-87bb084g.js → wellknown-yx0rbatw.js} +24 -24
  275. package/dist/chunks/{worktree-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{worktree-1f35zj2n.js → wellknown-z25529q4.js} +21 -21
  277. package/dist/chunks/{worktree-y127w3hy.js → wellknown-z3z4rvt0.js} +4 -4
  278. package/dist/chunks/{worktree-sj5387ee.js → wellknown-z81wjjn1.js} +15 -15
  279. package/dist/chunks/{worktree-j2c9memp.js → wellknown-zbvarpdb.js} +35 -35
  280. package/dist/chunks/{worktree-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{worktree-jqfnw3hv.js → wellknown-zr67nb1x.js} +14 -14
  282. package/dist/chunks/{worktree-f29mbr7f.js → wellknown-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{worktree-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +92 -92
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +114 -114
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +2 -2
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +4 -4
  547. package/dist/plugin/websearch/tavily.js +2 -2
  548. package/dist/plugin/websearch/tinyfish.js +4 -4
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +108 -108
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +120 -120
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +5 -5
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +87 -87
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +98 -98
  679. package/package.json +8 -8
  680. package/dist/chunks/worktree-by5v678g.js +0 -18
  681. package/dist/chunks/worktree-y8fy98eq.js +0 -253
  682. /package/dist/chunks/{worktree-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{worktree-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{worktree-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{worktree-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{worktree-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{worktree-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  688. /package/dist/chunks/{worktree-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{worktree-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{worktree-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{worktree-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
  692. /package/dist/chunks/{worktree-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{worktree-3asan66x.js → wellknown-3asan66x.js} +0 -0
  694. /package/dist/chunks/{worktree-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
  695. /package/dist/chunks/{worktree-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{worktree-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
  697. /package/dist/chunks/{worktree-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{worktree-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{worktree-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{worktree-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  701. /package/dist/chunks/{worktree-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{worktree-53557ph1.js → wellknown-53557ph1.js} +0 -0
  703. /package/dist/chunks/{worktree-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{worktree-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
  705. /package/dist/chunks/{worktree-6prwharc.js → wellknown-6prwharc.js} +0 -0
  706. /package/dist/chunks/{worktree-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{worktree-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{worktree-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{worktree-822emrt2.js → wellknown-822emrt2.js} +0 -0
  710. /package/dist/chunks/{worktree-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{worktree-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{worktree-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{worktree-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{worktree-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{worktree-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{worktree-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{worktree-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{worktree-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{worktree-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{worktree-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{worktree-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{worktree-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{worktree-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{worktree-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{worktree-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{worktree-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{worktree-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{worktree-df08tz66.js → wellknown-df08tz66.js} +0 -0
  729. /package/dist/chunks/{worktree-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{worktree-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{worktree-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{worktree-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{worktree-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{worktree-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{worktree-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{worktree-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{worktree-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{worktree-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{worktree-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{worktree-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{worktree-g86h250q.js → wellknown-g86h250q.js} +0 -0
  742. /package/dist/chunks/{worktree-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{worktree-gftt206x.js → wellknown-gftt206x.js} +0 -0
  744. /package/dist/chunks/{worktree-hk9envan.js → wellknown-hk9envan.js} +0 -0
  745. /package/dist/chunks/{worktree-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{worktree-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{worktree-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{worktree-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{worktree-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{worktree-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{worktree-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{worktree-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{worktree-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{worktree-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{worktree-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{worktree-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{worktree-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{worktree-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{worktree-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{worktree-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{worktree-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{worktree-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{worktree-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{worktree-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{worktree-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{worktree-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{worktree-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{worktree-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{worktree-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{worktree-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{worktree-x61499pn.js → wellknown-x61499pn.js} +0 -0
  772. /package/dist/chunks/{worktree-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{worktree-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{worktree-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{worktree-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{worktree-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{worktree-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{worktree-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-khzvsr9n.js";
2
+ Service82,
3
+ node86
4
+ } from "./wellknown-ftcs2r5x.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./worktree-tazgh4e4.js";
9
+ } from "./wellknown-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./worktree-3t7b0x40.js";
12
+ } from "./wellknown-mtshsn2z.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./worktree-944zhfh4.js";
14
+ Service80,
15
+ node84
16
+ } from "./wellknown-bxx1pwwx.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./worktree-rdw6cm16.js";
20
+ } from "./wellknown-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./worktree-9rqn6x4v.js";
23
+ } from "./wellknown-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,9 +32,9 @@ __export(exports_vcs, {
32
32
  Info: () => Info3,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service20,
35
+ Service: () => Service21,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node23
37
+ node: () => node24
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service20 extends Context.Service()("@opencode/Vcs") {
57
+ class Service21 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service20, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service78;
62
- const bus = yield* Service80;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service82;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service20.of({
132
+ return Service21.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node23 = makeLocationNode({
191
- service: Service20,
190
+ var node24 = makeLocationNode({
191
+ service: Service21,
192
192
  layer,
193
- deps: [FSUtil.node, node82, node84]
193
+ deps: [FSUtil.node, node84, node86]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service20, node23, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./worktree-3w5fmr99.js";
7
+ } from "./wellknown-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./worktree-qxjc9qry.js";
11
+ } from "./wellknown-qxjc9qry.js";
12
12
  import {
13
13
  create3
14
- } from "./worktree-rdw6cm16.js";
14
+ } from "./wellknown-rdw6cm16.js";
15
15
  import {
16
- Service72,
17
- node76
18
- } from "./worktree-q58mka6k.js";
16
+ Service51,
17
+ node54
18
+ } from "./wellknown-y54hr7f3.js";
19
19
  import {
20
- Service77,
21
- node81
22
- } from "./worktree-2eegacq4.js";
20
+ Service74,
21
+ node78
22
+ } from "./wellknown-at1kfnmk.js";
23
23
  import {
24
24
  match2
25
- } from "./worktree-y1fvbwt7.js";
25
+ } from "./wellknown-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./worktree-9rqn6x4v.js";
28
+ } from "./wellknown-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service45,
38
+ Service: () => Service50,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node47
41
+ node: () => node53
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service45 extends Context.Service()("@opencode/Tool") {
54
+ class Service50 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service45, Effect.gen(function* () {
57
- const hooks = yield* Service77;
58
- const image = yield* Service72;
56
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
57
+ const hooks = yield* Service74;
58
+ const image = yield* Service51;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service45.of({
187
+ return Service50.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node47 = makeLocationNode({
277
- service: Service45,
276
+ var node53 = makeLocationNode({
277
+ service: Service50,
278
278
  layer,
279
- deps: [node81, node76]
279
+ deps: [node78, node54]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service45, node47, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service50, node53, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-khzvsr9n.js";
2
+ Service82,
3
+ node86
4
+ } from "./wellknown-ftcs2r5x.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./worktree-rdw6cm16.js";
8
+ } from "./wellknown-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./worktree-db2wf4at.js";
11
+ } from "./wellknown-addxnjmp.js";
12
12
  import {
13
- ID10,
14
- Service69,
15
- node73,
16
- Event16
17
- } from "./worktree-ye7asgrj.js";
13
+ ID14,
14
+ Service77,
15
+ node81,
16
+ Event18
17
+ } from "./wellknown-t0vq3sxw.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./worktree-944zhfh4.js";
19
+ Service80,
20
+ node84
21
+ } from "./wellknown-bxx1pwwx.js";
22
22
  import {
23
23
  __export
24
- } from "./worktree-9rqn6x4v.js";
24
+ } from "./wellknown-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event15,
42
- ID: () => ID9,
43
- Info: () => Info18,
41
+ Event: () => Event17,
42
+ ID: () => ID13,
43
+ Info: () => Info22,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request2,
47
- Service: () => Service68,
46
+ Request: () => Request3,
47
+ Service: () => Service76,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node72,
57
+ node: () => node80,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event15 } from "@opencode/schema/provider";
72
- var ID9 = Provider.ID;
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
+ var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -228,13 +228,13 @@ function mergeHeaders2(base, overlay) {
228
228
  return result;
229
229
  }, new Map).values());
230
230
  }
231
- var Request2 = Provider.Request;
231
+ var Request3 = Provider.Request;
232
232
  var Compaction3 = Provider.Compaction;
233
233
  var Transport2 = Provider.Transport;
234
234
  var Settings2 = Provider.Settings;
235
- var Info18 = Provider.Info;
235
+ var Info22 = Provider.Info;
236
236
 
237
- class Service68 extends Context.Service()("@opencode/Provider") {
237
+ class Service76 extends Context.Service()("@opencode/Provider") {
238
238
  }
239
239
  var definitions = new WeakMap;
240
240
  function index(providerID, models) {
@@ -247,10 +247,10 @@ function index(providerID, models) {
247
247
  definitions.set(models, indexes);
248
248
  return result;
249
249
  }
250
- var layer = Layer.effect(Service68, Effect.gen(function* () {
251
- const bus = yield* Service80;
252
- const integrations = yield* Service69;
253
- const location = yield* Service78;
250
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
251
+ const bus = yield* Service82;
252
+ const integrations = yield* Service77;
253
+ const location = yield* Service80;
254
254
  const state = create3({
255
255
  name: "provider",
256
256
  initial: () => new Map,
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
261
261
  const current = records.get(id);
262
262
  if (current)
263
263
  return current;
264
- const added = { provider: Info18.empty(id), models: new Map };
264
+ const added = { provider: Info22.empty(id), models: new Map };
265
265
  records.set(id, added);
266
266
  maps.add(added.models);
267
267
  return added;
@@ -342,7 +342,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
342
342
  const available = Array.from(records.values()).filter((record) => {
343
343
  if (record.provider.activation === "disabled")
344
344
  return false;
345
- const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
345
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
346
346
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
347
347
  return false;
348
348
  if (record.provider.activation === "enabled")
@@ -368,8 +368,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
368
368
  location: { directory: location.directory, workspaceID: location.workspaceID }
369
369
  });
370
370
  });
371
- yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
- return Service68.of({
371
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
+ return Service76.of({
373
373
  transform: state.transform,
374
374
  reload: state.reload,
375
375
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
378
378
  snapshot
379
379
  });
380
380
  }));
381
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node84, node73, node82] });
381
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node86, node81, node84] });
382
382
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
383
383
  const module = yield* Effect.tryPromise({
384
384
  try: () => {
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
653
653
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
654
654
  var decode = Schema2.decodeUnknownSync(Legacy);
655
655
 
656
- export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service68, node72, exports_provider3, Event15 };
656
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node80, exports_provider3, Event17 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./worktree-rdw6cm16.js";
3
+ } from "./wellknown-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service72,
14
+ Service: () => Service51,
15
15
  SizeError: () => SizeError2,
16
- node: () => node76
16
+ node: () => node54
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service72 extends Context.Service()("@opencode/Image") {
45
+ class Service51 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service72, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service72.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service51.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node76 = makeLocationNode({ service: Service72, layer, deps: [] });
79
+ var node54 = makeLocationNode({ service: Service51, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service72, node76, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service51, node54, exports_image2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-khzvsr9n.js";
2
+ Service82,
3
+ node86
4
+ } from "./wellknown-ftcs2r5x.js";
5
5
  import {
6
- Event17,
7
- Service70,
8
- node74
9
- } from "./worktree-4hwsr2c7.js";
6
+ Event19,
7
+ Service78,
8
+ node82
9
+ } from "./wellknown-r92xrcx3.js";
10
10
  import {
11
- Service55,
12
- node58
13
- } from "./worktree-q1d18pxx.js";
11
+ Service48,
12
+ node51
13
+ } from "./wellknown-epwn5jzh.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./worktree-z5v4ffb3.js";
16
+ } from "./wellknown-z5v4ffb3.js";
17
17
  import {
18
- Service78,
19
- node82
20
- } from "./worktree-944zhfh4.js";
18
+ Service80,
19
+ node84
20
+ } from "./wellknown-bxx1pwwx.js";
21
21
  import {
22
22
  substitute2
23
- } from "./worktree-4ts7tf6z.js";
23
+ } from "./wellknown-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./worktree-qcxtzrkv.js";
26
+ } from "./wellknown-q7s4wvq2.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./worktree-y1dpn6q8.js";
30
+ } from "./wellknown-afrgtbd2.js";
31
31
  import {
32
32
  plan2
33
- } from "./worktree-j56e64zr.js";
33
+ } from "./wellknown-j56e64zr.js";
34
34
  import {
35
- Service56,
36
- Event12,
37
- node59
38
- } from "./worktree-ak05m9d7.js";
35
+ Service59,
36
+ Event13,
37
+ node64
38
+ } from "./wellknown-fkc7as9m.js";
39
39
  import {
40
40
  __export
41
- } from "./worktree-9rqn6x4v.js";
41
+ } from "./wellknown-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service54,
47
+ Options: () => Options6,
48
+ Service: () => Service47,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer21,
53
- node: () => node57,
52
+ layer: () => layer17,
53
+ node: () => node50,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options6 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service54 extends Context.Service()("@opencode/Config") {
74
+ class Service47 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service54, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
93
93
  }));
94
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
94
+ var layer17 = (options) => Layer.effect(Service47, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service78;
97
- const watcher = yield* Service55;
98
- const bus = yield* Service80;
99
- const credentials = yield* Service70;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service48;
98
+ const bus = yield* Service82;
99
+ const credentials = yield* Service78;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service56;
101
+ const wellknown = yield* Service59;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service54.of({
253
+ return Service47.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured8(options) {
265
+ function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service54,
268
- layer: layer21(options),
269
- deps: [node58, node84, FSUtil.node, Global.node, node82, node74, node59]
267
+ service: Service47,
268
+ layer: layer17(options),
269
+ deps: [node51, node86, FSUtil.node, Global.node, node84, node82, node64]
270
270
  });
271
271
  }
272
- var node57 = configured8();
272
+ var node50 = configured6();
273
273
 
274
- export { latest2, Options7, Service54, Test2, testLayer2, layer21, configured8, node57, exports_config };
274
+ export { latest2, Options6, Service47, Test2, testLayer2, layer17, configured6, node50, exports_config };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./worktree-944zhfh4.js";
3
+ } from "./wellknown-bxx1pwwx.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service63,
12
+ Service: () => Service69,
13
13
  canonical: () => canonical3,
14
- node: () => node67,
14
+ node: () => node73,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
27
+ var node73 = LayerNode.unbound(Service69, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service63;
29
+ const locations = yield* Service69;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service63, node67, reload2, canonical3, exports_location_service_map };
48
+ export { Service69, node73, reload2, canonical3, exports_location_service_map };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./worktree-pgvafq4z.js";
4
+ } from "./wellknown-ve1xn75q.js";
5
5
  import {
6
6
  lazy2
7
- } from "./worktree-88xbtdfr.js";
7
+ } from "./wellknown-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./worktree-y1fvbwt7.js";
10
+ } from "./wellknown-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};