@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
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service60
3
- } from "./git-t1t9n6y4.js";
2
+ Service69
3
+ } from "./wellknown-rqeet6cc.js";
4
4
  import {
5
- Service21,
5
+ Service14,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./git-bj6x105w.js";
8
+ } from "./wellknown-07ee7ns1.js";
9
9
  import {
10
- Service20
11
- } from "./git-8rgxcejn.js";
10
+ Service13
11
+ } from "./wellknown-3e19tx24.js";
12
12
  import {
13
- Service69
14
- } from "./git-4v7yaj9r.js";
13
+ Service56
14
+ } from "./wellknown-q0ap5mzg.js";
15
15
  import {
16
- Service19
17
- } from "./git-s3j81f4a.js";
16
+ Service22
17
+ } from "./wellknown-shgn2yqr.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./git-6prwharc.js";
20
+ } from "./wellknown-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./git-9rqn6x4v.js";
23
+ } from "./wellknown-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin37,
28
+ Input: () => Input5,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin25,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name5,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name5 = "write";
39
+ var Input5 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin37 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin25 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
56
- const fileMutation = yield* Service21;
57
- const environment = yield* Service60;
58
- const formatter = yield* Service20;
59
- const permission = yield* Service69;
55
+ const access = yield* Service22;
56
+ const fileMutation = yield* Service14;
57
+ const environment = yield* Service69;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service56;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name5,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input5,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin37, exports_write };
101
+ export { name5, Input5, Output5, toModelContent4, Plugin25, exports_write };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./git-922hggd3.js";
3
+ } from "./wellknown-922hggd3.js";
4
4
  import {
5
- Service76,
6
- node80
7
- } from "./git-eqvftjbn.js";
5
+ Service79,
6
+ node83
7
+ } from "./wellknown-w9xwjwq7.js";
8
8
  import {
9
- Service16,
10
- node18
11
- } from "./git-dagryq3b.js";
9
+ Service20,
10
+ node22
11
+ } from "./wellknown-6nw0bfx8.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./git-tcezcvh9.js";
15
+ } from "./wellknown-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./wellknown-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service15,
26
- configured: () => configured3,
24
+ Options: () => Options2,
25
+ Service: () => Service19,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node17,
28
+ layer: () => layer8,
29
+ node: () => node21,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
- const location = yield* Service76;
63
- const ripgrep = yield* Service16;
61
+ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
62
+ const location = yield* Service79;
63
+ const ripgrep = yield* Service20;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service15.of({
108
+ return Service19.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
- const location = yield* Service76;
115
+ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service15.of({
129
+ return Service19.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service15.of({
134
+ return Service19.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service76;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service15, layer: layer9(options), deps: [node80, node18] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service19, layer: layer8(options), deps: [node83, node22] });
187
187
  }
188
- var node17 = configured3();
188
+ var node21 = configured2();
189
189
 
190
- export { Options3, Service15, ripgrepLayer2, fffLayer2, layer9, configured3, node17, exports_search };
190
+ export { Options2, Service19, ripgrepLayer2, fffLayer2, layer8, configured2, node21, exports_search };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-9mv39jdx.js";
5
- import {
6
- Service81,
7
- node85
8
- } from "./git-6b56byp1.js";
4
+ } from "./wellknown-eecs9ykb.js";
9
5
  import {
10
6
  Service77,
11
7
  node81
12
- } from "./git-btd0ftk7.js";
8
+ } from "./wellknown-w8vpfvd4.js";
9
+ import {
10
+ Service80,
11
+ node84
12
+ } from "./wellknown-7dy0zyqw.js";
13
13
  import {
14
- Ref3,
15
- Service76,
16
- node80
17
- } from "./git-eqvftjbn.js";
14
+ Ref4,
15
+ Service79,
16
+ node83
17
+ } from "./wellknown-w9xwjwq7.js";
18
18
  import {
19
19
  canonical3
20
- } from "./git-y6se903k.js";
20
+ } from "./wellknown-jb0cqpw1.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./git-ec1grn59.js";
23
+ } from "./wellknown-ec1grn59.js";
24
24
  import {
25
- Service69,
26
- node73
27
- } from "./git-4v7yaj9r.js";
25
+ Service56,
26
+ node59
27
+ } from "./wellknown-q0ap5mzg.js";
28
28
  import {
29
- Service75,
30
- node79
31
- } from "./git-esp7reb4.js";
29
+ Service61,
30
+ node64
31
+ } from "./wellknown-bc65k2fg.js";
32
32
  import {
33
33
  __export
34
- } from "./git-9rqn6x4v.js";
34
+ } from "./wellknown-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service22,
41
- node: () => node24
40
+ Service: () => Service16,
41
+ node: () => node18
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service22, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
- const location = yield* Service76;
53
- const permission = yield* Service69;
54
- const forms = yield* Service81;
55
- const rpc = yield* Service75;
56
- const project = yield* Service77;
52
+ const location = yield* Service79;
53
+ const permission = yield* Service56;
54
+ const forms = yield* Service77;
55
+ const rpc = yield* Service61;
56
+ const project = yield* Service80;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
72
72
  yield* forms.close;
73
73
  yield* rpc.close;
74
74
  yield* bus.publish(LocationEvent.Shutdown, {}, {
75
- location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
75
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service22.of({
78
+ return Service16.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node24 = makeLocationNode({
84
- service: Service22,
83
+ var node18 = makeLocationNode({
84
+ service: Service16,
85
85
  layer,
86
- deps: [node87, node80, node73, node81, node85, node79]
86
+ deps: [node87, node83, node59, node84, node81, node64]
87
87
  });
88
88
 
89
- export { Service22, node24, exports_location_lifecycle };
89
+ export { Service16, node18, exports_location_lifecycle };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin27,
9
+ Plugin: () => Plugin41,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin27 = define({
25
+ var Plugin41 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin27 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin27, exports_identity };
38
+ export { identity2, Plugin41, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-gcvc8aqa.js";
4
+ } from "./wellknown-t79vken4.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./git-9mv39jdx.js";
8
+ } from "./wellknown-eecs9ykb.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./git-pknna89w.js";
11
+ } from "./wellknown-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./git-3zsf4n22.js";
14
+ } from "./wellknown-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./git-9rqn6x4v.js";
17
+ } from "./wellknown-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID16,
25
- Info: () => Info32,
23
+ Event: () => Event20,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service80,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node84
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info32 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service80 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service80, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info32({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service80.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info32({
80
- id: input.id ?? ID16.create(),
79
+ const credential = new Info30({
80
+ id: input.id ?? ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event19.Updated, {}, { global: true });
111
+ yield* bus.publish(Event20.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event19.Updated, {}, { global: true });
165
+ yield* bus.publish(Event20.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event19.Updated, {}, { global: true });
198
+ yield* bus.publish(Event20.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [node88, node87] });
204
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
205
205
 
206
- export { ID16, OAuth3, Key4, Value2, Event19, Info32, Service80, node84, exports_credential };
206
+ export { ID15, OAuth3, Key4, Value2, Event20, Info30, Service78, node82, exports_credential };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID11 = Session.ID;
5
- var Info25 = Session.Info;
4
+ var ID18 = Session.ID;
5
+ var Info34 = Session.Info;
6
6
 
7
- export { ID11, Info25, SessionSchema2 };
7
+ export { ID18, Info34, SessionSchema2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service41,
3
- node44
4
- } from "./git-gzjdj5j0.js";
2
+ Service53,
3
+ node55
4
+ } from "./wellknown-7r6fj376.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make19,
9
9
  diffByKey2
10
- } from "./git-s8d7rejh.js";
10
+ } from "./wellknown-t550f9t1.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions2 = {};
17
- __export(exports_instructions2, {
18
- ReferenceInstructions: () => exports_instructions2,
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
19
  Service: () => Service31,
20
- node: () => node35
20
+ node: () => node34
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,7 +60,7 @@ var update = (previous, current) => {
60
60
  class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
62
  var layer = Layer.effect(Service31, Effect.gen(function* () {
63
- const references = yield* Service41;
63
+ const references = yield* Service53;
64
64
  return Service31.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
71
+ return make19({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node35 = makeLocationNode({ service: Service31, layer, deps: [node44] });
84
+ var node34 = makeLocationNode({ service: Service31, layer, deps: [node55] });
85
85
 
86
- export { Service31, node35, exports_instructions2 };
86
+ export { Service31, node34, exports_instructions3 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./git-2axfhc9x.js";
3
+ } from "./wellknown-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};