@opencode/core 0.0.0-dev-20388 → 0.0.0-dev-20390

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 (799) 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 +69 -69
  7. package/dist/chunks/{git-g7jkrskj.js → wellknown-05b7g57y.js} +17 -17
  8. package/dist/chunks/{git-n8d4mbxn.js → wellknown-06g81ps0.js} +13 -13
  9. package/dist/chunks/{git-bj6x105w.js → wellknown-07ee7ns1.js} +13 -13
  10. package/dist/chunks/{git-wk5z6jzv.js → wellknown-0996nyz8.js} +9 -9
  11. package/dist/chunks/{git-qfgc2m2j.js → wellknown-0brwf2va.js} +20 -20
  12. package/dist/chunks/{git-xzcsrrr7.js → wellknown-0dezf2br.js} +10 -10
  13. package/dist/chunks/{git-hgkqfzfv.js → wellknown-0dsyvfs7.js} +11 -11
  14. package/dist/chunks/{git-a149k0pw.js → wellknown-0jhjd1gq.js} +25 -25
  15. package/dist/chunks/{git-xqq4j1ks.js → wellknown-0nzxcfex.js} +12 -12
  16. package/dist/chunks/{git-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{git-d15sf6mv.js → wellknown-0q2x6qmg.js} +18 -18
  18. package/dist/chunks/{git-6j9qywme.js → wellknown-0zyk4n2k.js} +11 -11
  19. package/dist/chunks/{git-87wwy8za.js → wellknown-1775skzd.js} +15 -15
  20. package/dist/chunks/{git-2fzws0g4.js → wellknown-1a4rgecm.js} +5 -5
  21. package/dist/chunks/{git-8mn6a01z.js → wellknown-1aw4516n.js} +2 -2
  22. package/dist/chunks/{git-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{git-wzyvzam6.js → wellknown-1h4mdrah.js} +24 -24
  24. package/dist/chunks/{git-pztav6qe.js → wellknown-1qeg66rc.js} +16 -16
  25. package/dist/chunks/{git-gss037cc.js → wellknown-1ra9xmx6.js} +32 -32
  26. package/dist/chunks/{git-gh46k75h.js → wellknown-1rz5e418.js} +30 -30
  27. package/dist/chunks/{git-s3dmvxak.js → wellknown-1t7ydh8b.js} +34 -34
  28. package/dist/chunks/{git-m0r31qfn.js → wellknown-1y283654.js} +4 -4
  29. package/dist/chunks/{git-21r38tys.js → wellknown-21r38tys.js} +1 -1
  30. package/dist/chunks/{git-qmwqscpd.js → wellknown-228s744n.js} +28 -28
  31. package/dist/chunks/{git-jexxy024.js → wellknown-256nx13v.js} +3 -3
  32. package/dist/chunks/{git-pq3e229m.js → wellknown-261ys1de.js} +14 -14
  33. package/dist/chunks/{git-z63w68vq.js → wellknown-29x78va6.js} +6 -6
  34. package/dist/chunks/{git-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{git-1pbwcgwx.js → wellknown-2bkwwcyj.js} +297 -297
  36. package/dist/chunks/{git-xa1geypd.js → wellknown-2hmjzy37.js} +32 -32
  37. package/dist/chunks/{git-adzwmyxf.js → wellknown-2mjmz0mr.js} +18 -18
  38. package/dist/chunks/{git-xjqdvhz2.js → wellknown-2s29ksbb.js} +4 -4
  39. package/dist/chunks/{git-ha607pgt.js → wellknown-2wj8n25z.js} +6 -6
  40. package/dist/chunks/{git-wxyynt4w.js → wellknown-3556dn8t.js} +1 -1
  41. package/dist/chunks/{git-qcekwvdg.js → wellknown-369hrgms.js} +10 -10
  42. package/dist/chunks/{git-g04a706a.js → wellknown-36dygsg6.js} +6 -6
  43. package/dist/chunks/{git-ve3qrhhk.js → wellknown-3b485cc9.js} +22 -22
  44. package/dist/chunks/{git-8rgxcejn.js → wellknown-3e19tx24.js} +15 -15
  45. package/dist/chunks/{git-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{git-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{git-pfk2n936.js → wellknown-3hxn65f2.js} +48 -48
  48. package/dist/chunks/{git-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{git-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{git-g2xmb77m.js → wellknown-3v51cv89.js} +63 -63
  51. package/dist/chunks/{git-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{git-a5ttg10t.js → wellknown-47y7a44f.js} +19 -19
  53. package/dist/chunks/{git-mbfyshdn.js → wellknown-48x22dq2.js} +80 -80
  54. package/dist/chunks/{git-gxz3as52.js → wellknown-4k7e8mb5.js} +12 -12
  55. package/dist/chunks/{git-xxhb4jr7.js → wellknown-4sn99hha.js} +9 -9
  56. package/dist/chunks/{git-4w5f3qm5.js → wellknown-4w5f3qm5.js} +1 -1
  57. package/dist/chunks/{git-apyybb6c.js → wellknown-4wj91pfj.js} +24 -24
  58. package/dist/chunks/{git-gw7cjrad.js → wellknown-4z58m4b4.js} +4 -4
  59. package/dist/chunks/{git-cc3z3mm8.js → wellknown-4zgfhp78.js} +15 -15
  60. package/dist/chunks/{git-675a9rqf.js → wellknown-513r3wcj.js} +26 -26
  61. package/dist/chunks/{git-kavy5er9.js → wellknown-54cj3489.js} +8 -8
  62. package/dist/chunks/{git-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
  63. package/dist/chunks/{git-mfqp6xfm.js → wellknown-56gdpj1q.js} +6 -6
  64. package/dist/chunks/{git-3ern9qn7.js → wellknown-57h65f6p.js} +1 -1
  65. package/dist/chunks/{git-t18acs6r.js → wellknown-5cxcqxf9.js} +12 -12
  66. package/dist/chunks/{git-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  67. package/dist/chunks/{git-phesrcgj.js → wellknown-5m8kk3r3.js} +15 -15
  68. package/dist/chunks/{git-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{git-669tq793.js → wellknown-669tq793.js} +1 -1
  70. package/dist/chunks/{git-qjfqjtp6.js → wellknown-67e80970.js} +5 -5
  71. package/dist/chunks/{git-9gm387jw.js → wellknown-69dbdgkc.js} +20 -20
  72. package/dist/chunks/{git-y0k7ncdy.js → wellknown-6jxe02rc.js} +20 -20
  73. package/dist/chunks/{git-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{git-dagryq3b.js → wellknown-6nw0bfx8.js} +14 -14
  75. package/dist/chunks/{git-8m0ba7zt.js → wellknown-6q5ea456.js} +9 -9
  76. package/dist/chunks/{git-dbpe2207.js → wellknown-6r0v0y7g.js} +24 -24
  77. package/dist/chunks/{git-d10sr3ce.js → wellknown-6rc9febg.js} +10 -10
  78. package/dist/chunks/{git-27nk4x6p.js → wellknown-6xgwcjvp.js} +10 -10
  79. package/dist/chunks/{git-m6f3t844.js → wellknown-6ysrkrkr.js} +8 -8
  80. package/dist/chunks/{git-0c0695j7.js → wellknown-6zhb4rr8.js} +11 -11
  81. package/dist/chunks/{git-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{git-2k8khapm.js → wellknown-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{git-btd0ftk7.js → wellknown-7dy0zyqw.js} +42 -42
  84. package/dist/chunks/{git-m11dv875.js → wellknown-7gjvrwbk.js} +24 -24
  85. package/dist/chunks/{git-r2mgmrrq.js → wellknown-7pssjadz.js} +35 -35
  86. package/dist/chunks/{git-gzjdj5j0.js → wellknown-7r6fj376.js} +26 -26
  87. package/dist/chunks/{git-hpfvhvya.js → wellknown-7rwqf82v.js} +8 -8
  88. package/dist/chunks/{git-7v81x33d.js → wellknown-7v81x33d.js} +2 -2
  89. package/dist/chunks/{git-0ft9cg2j.js → wellknown-7yqjxrmz.js} +6 -6
  90. package/dist/chunks/{git-84txncab.js → wellknown-84txncab.js} +1 -1
  91. package/dist/chunks/{git-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{git-640hrwp9.js → wellknown-8e5ge1nk.js} +20 -20
  93. package/dist/chunks/{git-8sze2n9a.js → wellknown-8sze2n9a.js} +2 -2
  94. package/dist/chunks/{git-wt2stqwd.js → wellknown-8zgzy1tp.js} +35 -35
  95. package/dist/chunks/{git-94ek1h2f.js → wellknown-94ek1h2f.js} +2 -2
  96. package/dist/chunks/{git-s7xn4jw7.js → wellknown-9fy0ds0d.js} +20 -20
  97. package/dist/chunks/{git-ra0ft92r.js → wellknown-9jrbrbxe.js} +5 -5
  98. package/dist/chunks/{git-z7agxk7e.js → wellknown-9ky3zqhs.js} +24 -24
  99. package/dist/chunks/{git-02v793tm.js → wellknown-9w5dfm5b.js} +21 -21
  100. package/dist/chunks/{git-7jxfk54w.js → wellknown-a0d5xjwh.js} +15 -15
  101. package/dist/chunks/{git-45y17pkn.js → wellknown-a0vyggs0.js} +2 -2
  102. package/dist/chunks/{git-cv9jj7zm.js → wellknown-a1krfbkp.js} +10 -10
  103. package/dist/chunks/{git-7ty99mn5.js → wellknown-a277y91k.js} +3 -3
  104. package/dist/chunks/{git-8kmdq9aq.js → wellknown-a2ft2sz8.js} +28 -28
  105. package/dist/chunks/{git-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  106. package/dist/chunks/{git-yztfb3pz.js → wellknown-aq3eq1tc.js} +23 -23
  107. package/dist/chunks/{git-0sz4mzf8.js → wellknown-avv3j5cx.js} +27 -27
  108. package/dist/chunks/{git-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{git-vjjxy6yb.js → wellknown-b720ka4c.js} +9 -9
  110. package/dist/chunks/{git-wvjdx0nk.js → wellknown-b9yb71xa.js} +13 -13
  111. package/dist/chunks/{git-esp7reb4.js → wellknown-bc65k2fg.js} +20 -20
  112. package/dist/chunks/{git-bk9c1rhb.js → wellknown-bd79ktjj.js} +36 -36
  113. package/dist/chunks/{git-pk48rez6.js → wellknown-bfvyfxhx.js} +17 -17
  114. package/dist/chunks/{git-97w4v05c.js → wellknown-bfx7zm8c.js} +3 -3
  115. package/dist/chunks/{git-g1bwmzbp.js → wellknown-bn6a02me.js} +3 -3
  116. package/dist/chunks/{git-9snwjxvr.js → wellknown-brqabvnn.js} +42 -42
  117. package/dist/chunks/{git-6t298p2h.js → wellknown-c488s98d.js} +12 -12
  118. package/dist/chunks/{git-t5qhm49b.js → wellknown-c5k5vaz3.js} +1 -1
  119. package/dist/chunks/{git-hg9h6169.js → wellknown-cbkdmecc.js} +6 -6
  120. package/dist/chunks/{git-x8sg340m.js → wellknown-cf7v1ccq.js} +37 -37
  121. package/dist/chunks/{git-zmdb4gxh.js → wellknown-cgeghp4x.js} +5 -5
  122. package/dist/chunks/{git-k0nnq3t9.js → wellknown-cjwramev.js} +6 -6
  123. package/dist/chunks/{git-ckecvw8r.js → wellknown-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{git-8v6pyhej.js → wellknown-cmwkp3r5.js} +8 -8
  125. package/dist/chunks/{git-g6q9qykm.js → wellknown-cwa6csj7.js} +9 -9
  126. package/dist/chunks/{git-gc4fb455.js → wellknown-dbv05mm3.js} +4 -4
  127. package/dist/chunks/{git-ysypevm1.js → wellknown-dk0989xa.js} +10 -10
  128. package/dist/chunks/{git-xkntkrq7.js → wellknown-dmqcgk4z.js} +5 -5
  129. package/dist/chunks/{git-em054f3j.js → wellknown-dn3kcc5f.js} +24 -24
  130. package/dist/chunks/{git-evbgk2k8.js → wellknown-dqmwfghx.js} +5 -5
  131. package/dist/chunks/{git-2wrdwt9m.js → wellknown-ds25bb3f.js} +20 -20
  132. package/dist/chunks/{git-gbhc6ywe.js → wellknown-dsds7ba5.js} +15 -15
  133. package/dist/chunks/{git-f37yrtqa.js → wellknown-dt2nw10q.js} +3 -3
  134. package/dist/chunks/{git-nr9pd330.js → wellknown-dtws4se5.js} +43 -43
  135. package/dist/chunks/{git-9yta650y.js → wellknown-e2d4ea07.js} +10 -10
  136. package/dist/chunks/{git-5qd3pb7m.js → wellknown-e3qxr5gk.js} +2 -2
  137. package/dist/chunks/{git-5bdh3vp3.js → wellknown-ecrprvxr.js} +20 -20
  138. package/dist/chunks/{git-9mv39jdx.js → wellknown-eecs9ykb.js} +4 -4
  139. package/dist/chunks/{git-zfx54h0g.js → wellknown-eezskgcm.js} +9 -9
  140. package/dist/chunks/{git-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{git-dhmh7aw6.js → wellknown-embw8kgh.js} +4 -4
  142. package/dist/chunks/{git-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{git-tm9mtfcm.js → wellknown-ew4hfdhd.js} +17 -17
  144. package/dist/chunks/{git-dk17fbv1.js → wellknown-f6p35gmn.js} +19 -19
  145. package/dist/chunks/wellknown-f81tjggh.js +18 -0
  146. package/dist/chunks/{git-ncqa4rgx.js → wellknown-f910tnft.js} +39 -39
  147. package/dist/chunks/{git-qyj0qkkq.js → wellknown-fkc4ykd0.js} +5 -5
  148. package/dist/chunks/{git-2j9rgn65.js → wellknown-fnqgrzsz.js} +9 -9
  149. package/dist/chunks/{git-v5fh98v6.js → wellknown-fscej6yq.js} +9 -9
  150. package/dist/chunks/{git-qq2m58t1.js → wellknown-fveg7ytq.js} +24 -24
  151. package/dist/chunks/{git-rantnw5e.js → wellknown-g7a3narb.js} +11 -11
  152. package/dist/chunks/{git-eh8a8tjn.js → wellknown-g9c07h1s.js} +11 -11
  153. package/dist/chunks/{git-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{git-3j60ppqf.js → wellknown-gek3qfvx.js} +10 -10
  155. package/dist/chunks/{git-zw63bdmn.js → wellknown-gnkgm0z1.js} +12 -12
  156. package/dist/chunks/{git-09tmqmb5.js → wellknown-gs7kc0p5.js} +16 -16
  157. package/dist/chunks/{git-ts95b2w6.js → wellknown-gsd3mdft.js} +8 -8
  158. package/dist/chunks/{git-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{git-aab22j0c.js → wellknown-gygda7jz.js} +28 -28
  160. package/dist/chunks/{git-7pr2hkwv.js → wellknown-h6b02349.js} +5 -5
  161. package/dist/chunks/{git-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{git-q8gb9q10.js → wellknown-h7h04b1q.js} +32 -32
  163. package/dist/chunks/{git-jkp0d30b.js → wellknown-h896pcm5.js} +6 -6
  164. package/dist/chunks/{git-dbzhd3wq.js → wellknown-heve8mw0.js} +1 -1
  165. package/dist/chunks/{git-52d0p3cg.js → wellknown-hsrzezk5.js} +1 -1
  166. package/dist/chunks/{git-d9s1mk97.js → wellknown-hw212y6x.js} +7 -7
  167. package/dist/chunks/{git-awaee7qt.js → wellknown-j5208yae.js} +6 -6
  168. package/dist/chunks/{git-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  169. package/dist/chunks/{git-y6se903k.js → wellknown-jb0cqpw1.js} +11 -11
  170. package/dist/chunks/{git-sbpew2a6.js → wellknown-jddc43nk.js} +13 -13
  171. package/dist/chunks/{git-fhs97t90.js → wellknown-jjs74g98.js} +9 -9
  172. package/dist/chunks/{git-eg3dg4pc.js → wellknown-jnp901kw.js} +8 -8
  173. package/dist/chunks/{git-wbkyxrgf.js → wellknown-jv01nqvq.js} +5 -5
  174. package/dist/chunks/{git-dcvjtemh.js → wellknown-jyawef8c.js} +12 -12
  175. package/dist/chunks/{git-0kznb05v.js → wellknown-k25s2mcq.js} +20 -20
  176. package/dist/chunks/{git-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
  177. package/dist/chunks/{git-c1ezrmqj.js → wellknown-k94easz1.js} +17 -17
  178. package/dist/chunks/{git-qvreyy9g.js → wellknown-kbqjp078.js} +5 -5
  179. package/dist/chunks/{git-btbmdjwj.js → wellknown-knevfgda.js} +4 -4
  180. package/dist/chunks/wellknown-krpdapnv.js +252 -0
  181. package/dist/chunks/{git-3z8t007d.js → wellknown-kthfrg9e.js} +12 -12
  182. package/dist/chunks/{git-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{git-m58kmhef.js → wellknown-m58kmhef.js} +2 -2
  184. package/dist/chunks/{git-ftq5wxdn.js → wellknown-m6618qx8.js} +8 -8
  185. package/dist/chunks/{git-a3r4dcrj.js → wellknown-m7va1g8x.js} +2 -2
  186. package/dist/chunks/{git-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{git-3g22mkwe.js → wellknown-mab7v7vs.js} +23 -23
  188. package/dist/chunks/{git-48tzy520.js → wellknown-mfbg0rbh.js} +9 -9
  189. package/dist/chunks/{git-yg6nt6v4.js → wellknown-mm5kxf07.js} +5 -5
  190. package/dist/chunks/{git-4ch7j1sz.js → wellknown-mpk0rfs5.js} +4 -4
  191. package/dist/chunks/{git-0kv8bc90.js → wellknown-mvwnxxvk.js} +20 -20
  192. package/dist/chunks/{git-16nrxpzh.js → wellknown-myxb0dhn.js} +15 -15
  193. package/dist/chunks/{git-5xpznt2d.js → wellknown-n1ka8r9d.js} +4 -4
  194. package/dist/chunks/{git-2tv7gqmx.js → wellknown-n46c7act.js} +11 -11
  195. package/dist/chunks/{git-0dzy3033.js → wellknown-nk6wb5bm.js} +32 -32
  196. package/dist/chunks/wellknown-nrhv0bbv.js +26 -0
  197. package/dist/chunks/{git-vptfm5hv.js → wellknown-ntrvrnas.js} +9 -9
  198. package/dist/chunks/{git-awpnsnap.js → wellknown-pbd5n4fm.js} +76 -76
  199. package/dist/chunks/{git-3n913fej.js → wellknown-pjnv1ber.js} +43 -43
  200. package/dist/chunks/{git-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{git-pknna89w.js → wellknown-pknna89w.js} +1 -1
  202. package/dist/chunks/{git-vkf44a78.js → wellknown-pq4nsmc3.js} +3 -3
  203. package/dist/chunks/{git-4v7yaj9r.js → wellknown-q0ap5mzg.js} +52 -52
  204. package/dist/chunks/{git-rf80fxgj.js → wellknown-q17z9dx8.js} +5 -5
  205. package/dist/chunks/{git-rnnxe44a.js → wellknown-q3rsrttg.js} +4 -4
  206. package/dist/chunks/{git-qfm24y6p.js → wellknown-qfm24y6p.js} +7 -7
  207. package/dist/chunks/{git-xnd5ej3q.js → wellknown-qm1kg07s.js} +5 -5
  208. package/dist/chunks/{git-3pbjq009.js → wellknown-qs001aqx.js} +11 -11
  209. package/dist/chunks/{git-yxf2kahc.js → wellknown-qs0bdbv3.js} +9 -9
  210. package/dist/chunks/{git-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  211. package/dist/chunks/{git-d2fqyxj9.js → wellknown-r14dd3yz.js} +25 -25
  212. package/dist/chunks/{git-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{git-bct739vz.js → wellknown-r98e92ep.js} +4 -4
  214. package/dist/chunks/{git-bdp9qg1w.js → wellknown-ra7w5z1n.js} +13 -13
  215. package/dist/chunks/{git-tkmwgdpd.js → wellknown-ratrq7cm.js} +7 -7
  216. package/dist/chunks/{git-ad37gnpt.js → wellknown-raw4myx1.js} +4 -4
  217. package/dist/chunks/{git-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{git-4792e2b2.js → wellknown-rfdxtmp0.js} +32 -32
  219. package/dist/chunks/{git-rd9ts5sq.js → wellknown-rqahb8vc.js} +53 -53
  220. package/dist/chunks/{git-t1t9n6y4.js → wellknown-rqeet6cc.js} +24 -24
  221. package/dist/chunks/{git-mqpkp4kz.js → wellknown-s2jers51.js} +24 -24
  222. package/dist/chunks/{git-yrznvahk.js → wellknown-s4enseaf.js} +2 -2
  223. package/dist/chunks/{git-tpmcqqx3.js → wellknown-s58s3vp7.js} +1 -1
  224. package/dist/chunks/{git-e7fged3g.js → wellknown-s8rn8hj9.js} +23 -23
  225. package/dist/chunks/{git-6etexda4.js → wellknown-seznpkzd.js} +15 -15
  226. package/dist/chunks/{git-s3j81f4a.js → wellknown-shgn2yqr.js} +18 -18
  227. package/dist/chunks/{git-cee3pda0.js → wellknown-sjjn26rq.js} +4 -4
  228. package/dist/chunks/{git-hrtjndpd.js → wellknown-sjxefh2h.js} +11 -11
  229. package/dist/chunks/{git-jy3rwz12.js → wellknown-sq0r8rsm.js} +24 -24
  230. package/dist/chunks/{git-b04b8x2j.js → wellknown-t44e5ekz.js} +5 -5
  231. package/dist/chunks/{git-s8d7rejh.js → wellknown-t550f9t1.js} +4 -4
  232. package/dist/chunks/{git-gcvc8aqa.js → wellknown-t79vken4.js} +3 -3
  233. package/dist/chunks/{git-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{git-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{git-tdstcens.js → wellknown-tdstcens.js} +1 -1
  236. package/dist/chunks/{git-9qq5qbrb.js → wellknown-tvg483jc.js} +21 -21
  237. package/dist/chunks/{git-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
  238. package/dist/chunks/{git-jgb2hz60.js → wellknown-tyh97jf4.js} +26 -26
  239. package/dist/chunks/{git-ffk3tnaf.js → wellknown-tzes6s5e.js} +17 -17
  240. package/dist/chunks/{git-hncv6x49.js → wellknown-v7bmygth.js} +7 -7
  241. package/dist/chunks/{git-k6k470b6.js → wellknown-vd2rktcf.js} +33 -33
  242. package/dist/chunks/{git-7tw9ghjr.js → wellknown-ve8ekxh7.js} +14 -14
  243. package/dist/chunks/{git-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  244. package/dist/chunks/{git-m0s4j0vx.js → wellknown-vf2hv0d6.js} +32 -32
  245. package/dist/chunks/{git-154cngd0.js → wellknown-vfze4e7p.js} +11 -11
  246. package/dist/chunks/{git-2wrfgpms.js → wellknown-vnvtaq40.js} +6 -6
  247. package/dist/chunks/{git-39c3xmeq.js → wellknown-vvgkjvbj.js} +24 -24
  248. package/dist/chunks/{git-4ev7smc3.js → wellknown-vw0mvyd7.js} +11 -11
  249. package/dist/chunks/{git-ebt03znt.js → wellknown-vw98e1e2.js} +32 -32
  250. package/dist/chunks/{git-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{git-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{git-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{git-6m45rye6.js → wellknown-w3y8zjy8.js} +11 -11
  254. package/dist/chunks/{git-9xkcece5.js → wellknown-w8davq8d.js} +9 -9
  255. package/dist/chunks/{git-6b56byp1.js → wellknown-w8vpfvd4.js} +23 -23
  256. package/dist/chunks/{git-a8htrd82.js → wellknown-w9vm5f0e.js} +6 -6
  257. package/dist/chunks/{git-eqvftjbn.js → wellknown-w9xwjwq7.js} +17 -17
  258. package/dist/chunks/{git-wd3x2cqz.js → wellknown-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{git-wd87259q.js → wellknown-wd87259q.js} +1 -1
  260. package/dist/chunks/{git-k9gchh7r.js → wellknown-wrmenjhx.js} +9 -9
  261. package/dist/chunks/{git-qc5tbdym.js → wellknown-wv22srnn.js} +7 -7
  262. package/dist/chunks/{git-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{git-879n19st.js → wellknown-x9t8kcge.js} +156 -156
  264. package/dist/chunks/{git-f3ngv102.js → wellknown-xdk9p2qn.js} +21 -21
  265. package/dist/chunks/{git-nap39a15.js → wellknown-xf3b7ak0.js} +11 -11
  266. package/dist/chunks/{git-xfkkasph.js → wellknown-xfkkasph.js} +1 -1
  267. package/dist/chunks/{git-4y1xccvm.js → wellknown-xkvs83f6.js} +13 -13
  268. package/dist/chunks/{git-1vbhmq04.js → wellknown-xnssn5ef.js} +11 -11
  269. package/dist/chunks/{git-rsdkdfjj.js → wellknown-xpda3824.js} +17 -17
  270. package/dist/chunks/{git-s5fmfqw4.js → wellknown-xrznb47d.js} +20 -20
  271. package/dist/chunks/{git-vavepvbb.js → wellknown-xytp48z3.js} +9 -9
  272. package/dist/chunks/{git-b2gx3txk.js → wellknown-xz5200hw.js} +2 -2
  273. package/dist/chunks/{git-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{git-y71avatq.js → wellknown-y71avatq.js} +1 -1
  275. package/dist/chunks/{git-2x16c9ep.js → wellknown-ye07qgvj.js} +43 -43
  276. package/dist/chunks/{git-z8bsjf0y.js → wellknown-yjjxtmkc.js} +3 -3
  277. package/dist/chunks/{git-4xyzmsba.js → wellknown-ynb3vjbd.js} +15 -15
  278. package/dist/chunks/{git-1acjjqhc.js → wellknown-yp2x3t23.js} +4 -4
  279. package/dist/chunks/{git-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{git-s8zy8myc.js → wellknown-yt0fqk68.js} +5 -5
  281. package/dist/chunks/{git-0hbfp3rh.js → wellknown-ywfysfj4.js} +28 -28
  282. package/dist/chunks/{git-6rhp9f1h.js → wellknown-yxkwmac5.js} +18 -18
  283. package/dist/chunks/{git-z07pqspn.js → wellknown-z07pqspn.js} +3 -3
  284. package/dist/chunks/{git-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{git-2ekc3v9w.js → wellknown-z2m1sdgj.js} +10 -10
  286. package/dist/chunks/{git-10r550b7.js → wellknown-z6jnry8p.js} +34 -34
  287. package/dist/chunks/{git-kfn1shxw.js → wellknown-z72bn00j.js} +13 -13
  288. package/dist/chunks/{git-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{git-ngcyazz8.js → wellknown-zm8v5jp2.js} +9 -9
  290. package/dist/chunks/{git-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{git-z6p0ftv1.js → wellknown-zs4j1z3q.js} +16 -16
  292. package/dist/chunks/{git-t32n9cga.js → wellknown-ztt44z0e.js} +15 -15
  293. package/dist/chunks/{git-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  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 +123 -123
  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 +124 -124
  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 +125 -125
  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 +83 -83
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +1 -1
  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 +70 -70
  418. package/dist/file-access.js +104 -104
  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 +100 -100
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  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 +99 -99
  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 +2 -2
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +81 -81
  463. package/dist/instructions/builtins.js +85 -85
  464. package/dist/instructions/index.js +3 -3
  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 +131 -131
  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 +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +101 -101
  478. package/dist/mcp/instructions.js +129 -129
  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 +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  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 +113 -113
  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 +78 -78
  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 +1 -1
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  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 +2 -2
  506. package/dist/plugin/plan.js +102 -102
  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 +93 -93
  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 +122 -122
  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 +5 -5
  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 +6 -6
  562. package/dist/plugin.js +222 -222
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +95 -95
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +89 -89
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  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 +129 -129
  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 +218 -218
  587. package/dist/session/execution.js +124 -124
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  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 +124 -124
  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 +87 -87
  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 +155 -155
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +213 -213
  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 +9 -9
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +89 -89
  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 +124 -124
  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 +101 -101
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +212 -212
  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 +8 -8
  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 +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  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 +5 -5
  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 +7 -7
  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 +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +78 -78
  690. package/dist/wellknown/plugin.js +76 -76
  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 +85 -85
  699. package/dist/worktree.js +90 -90
  700. package/package.json +8 -8
  701. package/dist/chunks/git-7fj5dwt0.js +0 -18
  702. package/dist/chunks/git-804fgeth.js +0 -26
  703. package/dist/chunks/git-8k2g2mjs.js +0 -252
  704. /package/dist/chunks/{git-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{git-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{git-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{git-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{git-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{git-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{git-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{git-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{git-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{git-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{git-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{git-3asan66x.js → wellknown-3asan66x.js} +0 -0
  716. /package/dist/chunks/{git-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{git-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{git-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{git-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{git-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{git-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{git-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{git-53557ph1.js → wellknown-53557ph1.js} +0 -0
  724. /package/dist/chunks/{git-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{git-6prwharc.js → wellknown-6prwharc.js} +0 -0
  726. /package/dist/chunks/{git-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{git-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{git-822emrt2.js → wellknown-822emrt2.js} +0 -0
  729. /package/dist/chunks/{git-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{git-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{git-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{git-922hggd3.js → wellknown-922hggd3.js} +0 -0
  733. /package/dist/chunks/{git-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{git-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{git-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{git-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{git-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{git-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{git-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{git-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{git-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{git-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{git-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{git-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{git-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{git-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{git-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{git-df08tz66.js → wellknown-df08tz66.js} +0 -0
  749. /package/dist/chunks/{git-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{git-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{git-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{git-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{git-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{git-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{git-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{git-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{git-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{git-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{git-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{git-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{git-g86h250q.js → wellknown-g86h250q.js} +0 -0
  762. /package/dist/chunks/{git-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{git-gftt206x.js → wellknown-gftt206x.js} +0 -0
  764. /package/dist/chunks/{git-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{git-hk9envan.js → wellknown-hk9envan.js} +0 -0
  766. /package/dist/chunks/{git-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{git-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{git-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{git-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{git-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{git-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{git-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{git-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{git-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{git-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{git-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{git-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{git-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{git-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{git-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{git-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{git-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{git-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{git-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{git-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{git-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{git-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{git-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{git-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{git-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{git-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{git-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{git-x61499pn.js → wellknown-x61499pn.js} +0 -0
  794. /package/dist/chunks/{git-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{git-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{git-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{git-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{git-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{git-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./git-emrn6kk6.js";
5
+ } from "./wellknown-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-922hggd3.js";
3
+ } from "./wellknown-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./git-gcvc8aqa.js";
7
+ } from "./wellknown-t79vken4.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./git-9mv39jdx.js";
11
+ } from "./wellknown-eecs9ykb.js";
12
12
  import {
13
- Service78,
14
- node82
15
- } from "./git-6t298p2h.js";
13
+ Service81,
14
+ node85
15
+ } from "./wellknown-c488s98d.js";
16
16
  import {
17
- ID14,
17
+ ID17,
18
18
  Current3,
19
- Info29,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event17,
21
+ Event21,
22
22
  Vcs3
23
- } from "./git-xxhb4jr7.js";
23
+ } from "./wellknown-4sn99hha.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./git-wd3x2cqz.js";
27
+ } from "./wellknown-wd3x2cqz.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./git-94ek1h2f.js";
30
+ } from "./wellknown-94ek1h2f.js";
31
31
  import {
32
32
  __export
33
- } from "./git-9rqn6x4v.js";
33
+ } from "./wellknown-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID13,
40
- Info: () => Info28,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID16,
40
+ Info: () => Info32,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node84,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID13 = ID14;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info28 = Info29;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID13
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service77 extends Context.Service()("@opencode/Project") {
75
+ class Service80 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,9 +95,9 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service77, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service78;
100
+ const git = yield* Service81;
101
101
  const proc = yield* AppProcess.Service;
102
102
  const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event17.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID13.global,
148
+ previous: project.previous ?? ID16.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError10({ projectID: input.projectID });
171
+ return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event17.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event17.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID13.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID13.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID13.make(root) : undefined;
223
+ return root ? ID16.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID13.make(node) : undefined;
239
+ return node ? ID16.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID13.global,
248
+ id: id ?? ID16.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID13.global,
265
+ id: id ?? ID16.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID13.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service77.of({ list, update, activate, resolve });
285
+ return Service80.of({ list, update, activate, resolve });
286
286
  }));
287
- var node81 = makeGlobalNode({
288
- service: Service77,
287
+ var node84 = makeGlobalNode({
288
+ service: Service80,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node82, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID13, Vcs2, Current2, Info28, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
293
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./git-922hggd3.js";
4
+ } from "./wellknown-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node82
10
- } from "./git-6t298p2h.js";
8
+ Service81,
9
+ node85
10
+ } from "./wellknown-c488s98d.js";
11
11
  import {
12
- Service76,
13
- node80
14
- } from "./git-eqvftjbn.js";
12
+ Service79,
13
+ node83
14
+ } from "./wellknown-w9xwjwq7.js";
15
15
  import {
16
16
  create3
17
- } from "./git-rdw6cm16.js";
17
+ } from "./wellknown-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./git-9rqn6x4v.js";
20
+ } from "./wellknown-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error4,
26
- ID: () => ID5,
27
- Service: () => Service51,
26
+ ID: () => ID8,
27
+ Service: () => Service59,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
29
+ node: () => node62,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID8 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service51 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service59 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service51, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID8.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node54 = makeLocationNode({
144
- service: Service51,
143
+ var node62 = makeLocationNode({
144
+ service: Service59,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node85, Global.node, node83]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service51, Service51.of({
148
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error4, Service51, node54, noopLayer3, exports_snapshot2 };
166
+ export { ID8, Error4, Service59, node62, noopLayer3, exports_snapshot2 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./git-2a5m3afh.js";
3
+ } from "./wellknown-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./git-922hggd3.js";
6
+ } from "./wellknown-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./git-eqvftjbn.js";
8
+ Service79
9
+ } from "./wellknown-w9xwjwq7.js";
10
10
  import {
11
- Service60
12
- } from "./git-t1t9n6y4.js";
11
+ Service69
12
+ } from "./wellknown-rqeet6cc.js";
13
13
  import {
14
- Service16
15
- } from "./git-dagryq3b.js";
14
+ Service20
15
+ } from "./wellknown-6nw0bfx8.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./git-39c3xmeq.js";
21
+ } from "./wellknown-vvgkjvbj.js";
22
22
  import {
23
- Service69
24
- } from "./git-4v7yaj9r.js";
23
+ Service56
24
+ } from "./wellknown-q0ap5mzg.js";
25
25
  import {
26
- Service19
27
- } from "./git-s3j81f4a.js";
26
+ Service22
27
+ } from "./wellknown-shgn2yqr.js";
28
28
  import {
29
29
  __export
30
- } from "./git-9rqn6x4v.js";
30
+ } from "./wellknown-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
38
- Plugin: () => Plugin49,
39
- name: () => name12,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input10,
37
+ Output: () => Output7,
38
+ Plugin: () => Plugin31,
39
+ name: () => name10,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name10 = "glob";
46
+ var Input10 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output7 = Schema.Array(Entry2);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin49 = {
66
+ var Plugin31 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service60;
70
- const ripgrep = yield* Service16;
71
- const location = yield* Service76;
72
- const access = yield* Service19;
73
- const permission = yield* Service69;
69
+ const environment = yield* Service69;
70
+ const ripgrep = yield* Service20;
71
+ const location = yield* Service79;
72
+ const access = yield* Service22;
73
+ const permission = yield* Service56;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name10,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input10,
79
+ output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name10,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin49 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin49, exports_glob };
128
+ export { name10, Input10, Output7, toModelContent5, Plugin31, exports_glob };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-9mv39jdx.js";
4
+ } from "./wellknown-eecs9ykb.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./git-84txncab.js";
11
+ } from "./wellknown-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./git-922hggd3.js";
14
+ } from "./wellknown-922hggd3.js";
15
15
  import {
16
- Service52,
17
- node55
18
- } from "./git-0kv8bc90.js";
16
+ Service54,
17
+ node56
18
+ } from "./wellknown-mvwnxxvk.js";
19
19
  import {
20
20
  create3
21
- } from "./git-rdw6cm16.js";
21
+ } from "./wellknown-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./wellknown-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event11,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info9,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service41,
35
- Source: () => Source3,
36
- node: () => node44
34
+ Service: () => Service53,
35
+ Source: () => Source4,
36
+ node: () => node55
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event11 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info9 = Reference.Info;
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Reference") {
48
+ class Service53 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service52;
53
+ const cache = yield* Service54;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info9.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info9.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service41.of({
107
+ return Service53.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node44 = makeLocationNode({
116
- service: Service41,
115
+ var node55 = makeLocationNode({
116
+ service: Service53,
117
117
  layer,
118
- deps: [Global.node, node87, node55]
118
+ deps: [Global.node, node87, node56]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service41, node44, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source4, Info9, Service53, node55, exports_reference2, Event11 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service54,
8
+ Service: () => Service65,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node57
10
+ node: () => node68
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service54 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service65 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service54, () => {
17
+ var layer = Layer.sync(Service65, () => {
18
18
  const environments = new Map;
19
- return Service54.of({
19
+ return Service65.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node57 = makeGlobalNode({ service: Service54, layer, deps: [] });
29
+ var node68 = makeGlobalNode({ service: Service65, layer, deps: [] });
30
30
 
31
- export { Service54, node57, exports_environment };
31
+ export { Service65, node68, exports_environment };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./git-rdw6cm16.js";
3
+ } from "./wellknown-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};