@opencode/core 0.0.0-dev-19550 → 0.0.0-dev-19551

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{config-923n2b6b.js → job-0036mwva.js} +24 -24
  9. package/dist/chunks/{config-xeyscpm9.js → job-02anka69.js} +47 -47
  10. package/dist/chunks/{config-dkp48p5n.js → job-040sr1v8.js} +36 -36
  11. package/dist/chunks/{config-yf3n5xzz.js → job-046vx306.js} +21 -21
  12. package/dist/chunks/{config-va88dqc9.js → job-09q46x4q.js} +23 -23
  13. package/dist/chunks/job-0mesazry.js +4 -0
  14. package/dist/chunks/{config-qf2gftrk.js → job-0n47kyc1.js} +26 -26
  15. package/dist/chunks/{config-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{config-0q0f95c6.js → job-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{config-hnr5yq9h.js → job-0r7yqxbf.js} +5 -5
  18. package/dist/chunks/{config-x569bdqa.js → job-0zaj8p07.js} +1 -1
  19. package/dist/chunks/{config-7yybbj7q.js → job-13tj92kw.js} +13 -13
  20. package/dist/chunks/{config-041mb03m.js → job-162hh63g.js} +12 -12
  21. package/dist/chunks/{config-f2n192rq.js → job-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{config-94d3g4tf.js → job-1bxmrcht.js} +20 -20
  23. package/dist/chunks/{config-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{config-gk6dqv91.js → job-1g1pvfjw.js} +15 -15
  25. package/dist/chunks/{config-3wvjcseh.js → job-1jjxd0pe.js} +21 -21
  26. package/dist/chunks/{config-fa79drrr.js → job-1p75fq4j.js} +7 -7
  27. package/dist/chunks/{config-t4d4mx00.js → job-1pzzsmr7.js} +43 -43
  28. package/dist/chunks/{config-39ez6tgd.js → job-1snp8xcw.js} +5 -5
  29. package/dist/chunks/{config-4029myyt.js → job-1vk0sv93.js} +8 -8
  30. package/dist/chunks/{config-r239f513.js → job-20942t1p.js} +16 -16
  31. package/dist/chunks/{config-21r38tys.js → job-21r38tys.js} +1 -1
  32. package/dist/chunks/{config-6h73sxmp.js → job-2402vzrj.js} +5 -5
  33. package/dist/chunks/{config-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{config-khrtsksm.js → job-2h45tmmq.js} +37 -37
  35. package/dist/chunks/{config-dv1qgsyq.js → job-2hyh68ab.js} +8 -8
  36. package/dist/chunks/{config-7dqw4kz8.js → job-2k8khapm.js} +5 -5
  37. package/dist/chunks/{config-25mg6vnq.js → job-2mf2hkhk.js} +18 -18
  38. package/dist/chunks/{config-vkt5fbj2.js → job-2wts5qzq.js} +8 -8
  39. package/dist/chunks/{config-vjnb44yt.js → job-377tdzm5.js} +3 -3
  40. package/dist/chunks/{config-pcsvspjz.js → job-3bhvf9qn.js} +49 -49
  41. package/dist/chunks/{config-zmwjgf79.js → job-3c39skxm.js} +28 -28
  42. package/dist/chunks/{config-stpksnm9.js → job-3e04gqtn.js} +20 -20
  43. package/dist/chunks/{config-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{config-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{config-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{config-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{config-2f0bjgcj.js → job-3w0fmcng.js} +5 -5
  48. package/dist/chunks/{config-71t4wm4a.js → job-3xfd07gr.js} +13 -13
  49. package/dist/chunks/{config-t6w5qgqz.js → job-434sg2zj.js} +11 -11
  50. package/dist/chunks/{config-nhy5jxhy.js → job-47gsdddb.js} +5 -5
  51. package/dist/chunks/{config-88sbjtg5.js → job-49n6hv06.js} +27 -27
  52. package/dist/chunks/{config-26nxqbrn.js → job-49ss6e4c.js} +28 -28
  53. package/dist/chunks/{config-kw0pvf61.js → job-4gcegvgz.js} +16 -16
  54. package/dist/chunks/{config-6v56qcx3.js → job-4kba6g5j.js} +8 -8
  55. package/dist/chunks/{config-n71vtan2.js → job-4pahwyh5.js} +8 -8
  56. package/dist/chunks/{config-1c0cpxrz.js → job-4shqk8q0.js} +27 -27
  57. package/dist/chunks/{config-nqzv378d.js → job-53d4v5pk.js} +1 -1
  58. package/dist/chunks/{config-jxvv7ppt.js → job-540t25p5.js} +27 -27
  59. package/dist/chunks/{config-dj00cq6z.js → job-55h6dw60.js} +2 -2
  60. package/dist/chunks/{config-7ccwepmq.js → job-5795tykb.js} +14 -14
  61. package/dist/chunks/{config-paegk39x.js → job-5c0f1prt.js} +4 -4
  62. package/dist/chunks/{config-vrpz8t5t.js → job-5d17xbav.js} +5 -5
  63. package/dist/chunks/{config-5daktx2q.js → job-5daktx2q.js} +1 -1
  64. package/dist/chunks/{config-4zrkrsxx.js → job-5qqy1nt8.js} +43 -43
  65. package/dist/chunks/{config-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{config-669tq793.js → job-669tq793.js} +1 -1
  67. package/dist/chunks/{config-453mx89x.js → job-683mqfgy.js} +4 -4
  68. package/dist/chunks/{config-r33ff4dw.js → job-6anwy9fs.js} +6 -6
  69. package/dist/chunks/{config-qy8emagx.js → job-6bhd17d3.js} +8 -8
  70. package/dist/chunks/{config-vazae2rc.js → job-6bynjfm5.js} +28 -28
  71. package/dist/chunks/{config-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{config-2qt7tyn2.js → job-6rp1snrh.js} +32 -32
  73. package/dist/chunks/{config-teyr1f08.js → job-6tvgw4xf.js} +11 -11
  74. package/dist/chunks/{config-fajjya06.js → job-6zcsajt2.js} +11 -11
  75. package/dist/chunks/{config-71q4at8m.js → job-71q4at8m.js} +1 -1
  76. package/dist/chunks/{config-1t6z3xj3.js → job-72732vcx.js} +7 -7
  77. package/dist/chunks/{config-62b17yyg.js → job-74xcjtak.js} +15 -15
  78. package/dist/chunks/{config-cswr4h4e.js → job-761nt7jg.js} +11 -11
  79. package/dist/chunks/{config-5x64ew67.js → job-770k1kpm.js} +20 -20
  80. package/dist/chunks/{config-k2per3w9.js → job-7860v717.js} +14 -14
  81. package/dist/chunks/{config-2a7hagjp.js → job-79wzcjsa.js} +6 -6
  82. package/dist/chunks/{config-wz3x725h.js → job-7bc4b9nb.js} +23 -23
  83. package/dist/chunks/{config-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{config-qv7g26jh.js → job-7k0f2h2g.js} +8 -8
  85. package/dist/chunks/{config-bn5g03n7.js → job-7rrbf1mq.js} +27 -27
  86. package/dist/chunks/{config-81swgkk7.js → job-81swgkk7.js} +2 -2
  87. package/dist/chunks/{config-dxwgt29k.js → job-849d02ds.js} +10 -10
  88. package/dist/chunks/{config-4vqpbft0.js → job-86cy3sa1.js} +32 -32
  89. package/dist/chunks/{config-hzeaq1fa.js → job-87yp9j1h.js} +50 -50
  90. package/dist/chunks/{config-tcezcvh9.js → job-89znhe33.js} +4 -4
  91. package/dist/chunks/{config-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{config-mc3tw875.js → job-8eejj7b1.js} +22 -22
  93. package/dist/chunks/{config-tspb6gwg.js → job-8h4jg5g2.js} +31 -31
  94. package/dist/chunks/{config-8p4f9s12.js → job-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{config-rffmagh4.js → job-8v2a1ecx.js} +17 -17
  96. package/dist/chunks/{config-neezmqqh.js → job-8xma7teh.js} +9 -9
  97. package/dist/chunks/{config-h921jg7p.js → job-9545wyxc.js} +37 -37
  98. package/dist/chunks/{config-nn0nken7.js → job-961p48t0.js} +24 -24
  99. package/dist/chunks/{config-jh5bdp6a.js → job-96aw7zzq.js} +9 -9
  100. package/dist/chunks/{config-589kjr7t.js → job-990ev2kv.js} +1 -1
  101. package/dist/chunks/job-996s3c2g.js +26 -0
  102. package/dist/chunks/{config-ghescktn.js → job-9j6tq23v.js} +10 -10
  103. package/dist/chunks/{config-tf0cdcd5.js → job-9k2bb2dw.js} +18 -18
  104. package/dist/chunks/{config-mm2k2cqg.js → job-9r8t9cb1.js} +15 -15
  105. package/dist/chunks/{config-a1bz86dw.js → job-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{config-t3k96hw7.js → job-a498j8pk.js} +18 -18
  107. package/dist/chunks/{config-a9wv187r.js → job-a5cemxe6.js} +4 -4
  108. package/dist/chunks/{config-aaet6srn.js → job-aaet6srn.js} +2 -2
  109. package/dist/chunks/{config-wgdp7z4g.js → job-amkb68hs.js} +11 -11
  110. package/dist/chunks/{config-4w62fhaa.js → job-as0vwgb4.js} +29 -29
  111. package/dist/chunks/{config-zq81vz9n.js → job-ay95kvxt.js} +12 -12
  112. package/dist/chunks/{config-bt4gjbah.js → job-b61bh2bz.js} +26 -26
  113. package/dist/chunks/{config-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{config-dspwd2x0.js → job-b9kqzsfe.js} +11 -11
  115. package/dist/chunks/{config-jnn9r5kk.js → job-bd8a2nja.js} +9 -9
  116. package/dist/chunks/{config-1f8k45ek.js → job-bwgxh8q4.js} +11 -11
  117. package/dist/chunks/{config-7xr5mnyx.js → job-bxcxg0ff.js} +20 -20
  118. package/dist/chunks/job-by5v678g.js +18 -0
  119. package/dist/chunks/{config-17hmve47.js → job-c078e160.js} +35 -35
  120. package/dist/chunks/job-c288r3sy.js +247 -0
  121. package/dist/chunks/{config-cfpkc3c9.js → job-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{config-vvcg53v8.js → job-cq3qtjfd.js} +9 -9
  123. package/dist/chunks/{config-vaqqakax.js → job-cqa5kst6.js} +16 -16
  124. package/dist/chunks/{config-mw00tj0y.js → job-cyhtgvq1.js} +2 -2
  125. package/dist/chunks/{config-tdgd79rq.js → job-d16qd7aj.js} +2 -2
  126. package/dist/chunks/{config-npr3zfhm.js → job-dc65mbsf.js} +6 -6
  127. package/dist/chunks/{config-1wz5dzjv.js → job-dde0f2ek.js} +22 -22
  128. package/dist/chunks/{config-eveyavgq.js → job-djmry748.js} +9 -9
  129. package/dist/chunks/{config-sdc78qer.js → job-dkbfs573.js} +4 -4
  130. package/dist/chunks/{config-krg3nn78.js → job-dwze3g71.js} +4 -4
  131. package/dist/chunks/{config-0gb6kb4k.js → job-dy4w61gz.js} +1 -1
  132. package/dist/chunks/{config-bndc73cn.js → job-e5nv3ght.js} +5 -5
  133. package/dist/chunks/{config-wm7nt7d4.js → job-e6rh6vb2.js} +25 -25
  134. package/dist/chunks/{config-mgcx2e31.js → job-e83k19hz.js} +22 -22
  135. package/dist/chunks/{config-14mbsfh7.js → job-ea4v06n9.js} +19 -19
  136. package/dist/chunks/{config-pe83jqzf.js → job-eg2tb1rm.js} +11 -11
  137. package/dist/chunks/{config-p69rgjvz.js → job-em1e23aa.js} +6 -6
  138. package/dist/chunks/{config-xafwvqr4.js → job-enrw8q47.js} +50 -50
  139. package/dist/chunks/{config-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{config-dnp868cw.js → job-ex020hh2.js} +3 -3
  141. package/dist/chunks/{config-04sta6yv.js → job-f40wq5r9.js} +32 -32
  142. package/dist/chunks/{config-2bj24c8c.js → job-f58cjftf.js} +4 -4
  143. package/dist/chunks/{config-awb4aq70.js → job-f6cbndw9.js} +40 -40
  144. package/dist/chunks/{config-f828m53h.js → job-f828m53h.js} +2 -2
  145. package/dist/chunks/{config-f98ge00r.js → job-f91bnzqh.js} +306 -306
  146. package/dist/chunks/{config-wzt5yrke.js → job-fbp0wg4j.js} +28 -28
  147. package/dist/chunks/{config-t3yzn2f5.js → job-ff1mwr3r.js} +7 -7
  148. package/dist/chunks/{config-txe9dcj1.js → job-fj98gr1b.js} +16 -16
  149. package/dist/chunks/{config-hrvd6t1f.js → job-fjmrr6sh.js} +9 -9
  150. package/dist/chunks/{config-1sac38c5.js → job-fr0dkbfb.js} +33 -33
  151. package/dist/chunks/{config-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{config-0zwqsx91.js → job-g0kzx32f.js} +11 -11
  153. package/dist/chunks/{config-3jhdkvje.js → job-g1bd2qay.js} +13 -13
  154. package/dist/chunks/{config-y7wj70kq.js → job-g2k5npgp.js} +18 -18
  155. package/dist/chunks/{config-3tpxjcg5.js → job-g3w19j9b.js} +26 -26
  156. package/dist/chunks/{config-eaj1djv9.js → job-gbt6w4kb.js} +4 -4
  157. package/dist/chunks/{config-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{config-h7ygw6q4.js → job-gsx0ryk4.js} +9 -9
  159. package/dist/chunks/{config-th5km1p3.js → job-gv6a8nnw.js} +5 -5
  160. package/dist/chunks/{config-m27np7t3.js → job-gxzw0yva.js} +8 -8
  161. package/dist/chunks/{config-drpyq9gm.js → job-gyp628tp.js} +4 -4
  162. package/dist/chunks/{config-h03wrkyp.js → job-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{config-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{config-5bgpbyy9.js → job-h78dech7.js} +24 -24
  165. package/dist/chunks/{config-xwj464x0.js → job-hc5y4k7z.js} +13 -13
  166. package/dist/chunks/{config-1qhxs0kr.js → job-hcx3ekmh.js} +32 -32
  167. package/dist/chunks/{config-254pmcny.js → job-hq6yngkb.js} +18 -18
  168. package/dist/chunks/{config-k7nyb6ww.js → job-hrrqwge8.js} +23 -23
  169. package/dist/chunks/{config-c24fcgxs.js → job-hs2c6j2p.js} +22 -22
  170. package/dist/chunks/{config-4mtmdvvs.js → job-htveh2m9.js} +1 -1
  171. package/dist/chunks/{config-qqpx5r57.js → job-j28afpr7.js} +29 -29
  172. package/dist/chunks/{config-j56e64zr.js → job-j56e64zr.js} +1 -1
  173. package/dist/chunks/{config-en10yhxf.js → job-j6d40d3s.js} +22 -22
  174. package/dist/chunks/{config-1en1cjsj.js → job-jgy1930r.js} +28 -28
  175. package/dist/chunks/{config-nyvd8nyf.js → job-jm0ah2qn.js} +5 -5
  176. package/dist/chunks/{config-8hmgw1ak.js → job-jw80jp6b.js} +4 -4
  177. package/dist/chunks/{config-k9zwtbn5.js → job-jz76mmy6.js} +32 -32
  178. package/dist/chunks/{config-nt7bfjdq.js → job-k5x6q6e2.js} +45 -45
  179. package/dist/chunks/{config-gst7axd9.js → job-k76fn4kw.js} +4 -4
  180. package/dist/chunks/{config-xzpmzq69.js → job-k7azvhe8.js} +5 -5
  181. package/dist/chunks/{config-tfaj8ne6.js → job-kd6p45pd.js} +17 -17
  182. package/dist/chunks/{config-kg06axw8.js → job-kg06axw8.js} +1 -1
  183. package/dist/chunks/{config-a9ee0v7t.js → job-kwb80b5k.js} +8 -8
  184. package/dist/chunks/{config-v4aepbmd.js → job-m3178fa3.js} +29 -29
  185. package/dist/chunks/{config-sdtrspaj.js → job-m375e3r0.js} +18 -18
  186. package/dist/chunks/{config-0f4qaedh.js → job-m8nr5f6y.js} +12 -12
  187. package/dist/chunks/{config-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{config-b843s508.js → job-ma17zqqm.js} +12 -12
  189. package/dist/chunks/{config-mw72j0a8.js → job-md067ysg.js} +5 -5
  190. package/dist/chunks/{config-1ygqh575.js → job-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{config-eq1pz5kg.js → job-mhkvc446.js} +3 -3
  192. package/dist/chunks/{config-v3x2jaaw.js → job-mhmpcj6a.js} +11 -11
  193. package/dist/chunks/{config-p158fnhc.js → job-mth96381.js} +1 -1
  194. package/dist/chunks/{config-ratrq7cm.js → job-mtq6xxnx.js} +7 -7
  195. package/dist/chunks/{config-6b5yt40m.js → job-n0mgm2jp.js} +32 -32
  196. package/dist/chunks/{config-dvjqevxn.js → job-nc9sr3t2.js} +92 -92
  197. package/dist/chunks/{config-p8gy2scj.js → job-nz512v62.js} +27 -27
  198. package/dist/chunks/{config-b2dzfg51.js → job-p1tyjad7.js} +5 -5
  199. package/dist/chunks/{config-6z70kctk.js → job-p2s8dcm5.js} +87 -87
  200. package/dist/chunks/{config-9w2ffxfz.js → job-p7dary61.js} +10 -10
  201. package/dist/chunks/{config-8ysfvp9f.js → job-pc81x2yk.js} +29 -29
  202. package/dist/chunks/{config-tstmjat0.js → job-pd0nkce9.js} +20 -20
  203. package/dist/chunks/{config-7gvwkz6m.js → job-pecb0brz.js} +5 -5
  204. package/dist/chunks/{config-xfnvpyjq.js → job-pfkq79gw.js} +6 -6
  205. package/dist/chunks/{config-eefhzbjy.js → job-pjnxqhmn.js} +6 -6
  206. package/dist/chunks/{config-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{config-akyqsbh0.js → job-pkkwwmgt.js} +7 -7
  208. package/dist/chunks/{config-pknna89w.js → job-pknna89w.js} +1 -1
  209. package/dist/chunks/{config-bf0ztrs3.js → job-pmr4s4kc.js} +4 -4
  210. package/dist/chunks/{config-eraanh1f.js → job-prbnmmzj.js} +4 -4
  211. package/dist/chunks/{config-b3w4j039.js → job-pt3prsgd.js} +15 -15
  212. package/dist/chunks/{config-5jhpxb8j.js → job-ptekn55j.js} +32 -32
  213. package/dist/chunks/{config-mgzb81zw.js → job-pvdgc92g.js} +37 -37
  214. package/dist/chunks/{config-4ynbxhwa.js → job-q1wsye3c.js} +2 -2
  215. package/dist/chunks/{config-x0e6qwje.js → job-q4z3ph6w.js} +18 -18
  216. package/dist/chunks/{config-7w3s9kd0.js → job-q5nw5m1n.js} +6 -6
  217. package/dist/chunks/{config-d126q4px.js → job-qb7t6fbv.js} +16 -16
  218. package/dist/chunks/{config-zstx59h3.js → job-qmr3zwbm.js} +6 -6
  219. package/dist/chunks/{config-834zj1q7.js → job-qmta8n45.js} +17 -17
  220. package/dist/chunks/{config-qsdy395h.js → job-qsdy395h.js} +1 -1
  221. package/dist/chunks/{config-0fcjdm2s.js → job-qwb4tcmb.js} +14 -14
  222. package/dist/chunks/{config-r9mregkx.js → job-r9mregkx.js} +2 -2
  223. package/dist/chunks/{config-cwbbq2p8.js → job-ra13h09g.js} +3 -3
  224. package/dist/chunks/{config-ka2k270b.js → job-ra3qct3x.js} +8 -8
  225. package/dist/chunks/{config-0sd1vqbs.js → job-rasx6tva.js} +8 -8
  226. package/dist/chunks/{config-9n26bwhx.js → job-rbwx5wra.js} +9 -9
  227. package/dist/chunks/{config-9h617dca.js → job-rdg9nk1c.js} +16 -16
  228. package/dist/chunks/{config-jxxb4xmb.js → job-sbzyr5f9.js} +22 -22
  229. package/dist/chunks/{config-8s8mxddj.js → job-sej7e0cf.js} +4 -4
  230. package/dist/chunks/{config-wpb26k94.js → job-sfqjz287.js} +9 -9
  231. package/dist/chunks/{config-ghk9cxjs.js → job-shrpy2d8.js} +6 -6
  232. package/dist/chunks/{config-w3x9v1nk.js → job-sp5zyyma.js} +8 -8
  233. package/dist/chunks/{config-jn05vxxt.js → job-sqx8bqj2.js} +9 -9
  234. package/dist/chunks/{config-rs74bqqx.js → job-stj1dfn7.js} +9 -9
  235. package/dist/chunks/{config-dfggy6a4.js → job-stq9rvc7.js} +24 -24
  236. package/dist/chunks/{config-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{config-tdstcens.js → job-tdstcens.js} +1 -1
  238. package/dist/chunks/{config-ghvnbqbv.js → job-tvbbv51m.js} +22 -22
  239. package/dist/chunks/{config-tvtrv512.js → job-tvtrv512.js} +1 -1
  240. package/dist/chunks/{config-w9z6mc3f.js → job-v005aask.js} +8 -8
  241. package/dist/chunks/{config-4zja7gva.js → job-v0fed9v0.js} +18 -18
  242. package/dist/chunks/{config-3ktx1vke.js → job-v8300td6.js} +23 -23
  243. package/dist/chunks/{config-jg5pnb06.js → job-v9dgs7p6.js} +9 -9
  244. package/dist/chunks/{config-7rdpnw90.js → job-vb7wzncz.js} +13 -13
  245. package/dist/chunks/{config-veqvce7d.js → job-veqvce7d.js} +1 -1
  246. package/dist/chunks/{config-bvpfq294.js → job-vgf6h5m8.js} +15 -15
  247. package/dist/chunks/{config-bbrfjnak.js → job-vj4x80bm.js} +56 -56
  248. package/dist/chunks/{config-dzwmfy5m.js → job-vsjvgq0n.js} +8 -8
  249. package/dist/chunks/{config-022zszfk.js → job-vyy6cxw9.js} +4 -4
  250. package/dist/chunks/{config-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{config-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{config-czsydm57.js → job-w4dt659t.js} +1 -1
  253. package/dist/chunks/{config-wd87259q.js → job-wd87259q.js} +1 -1
  254. package/dist/chunks/{config-6rjjktna.js → job-wmsf7wrg.js} +164 -164
  255. package/dist/chunks/{config-r3q6pmcz.js → job-wpm2rk0p.js} +6 -6
  256. package/dist/chunks/{config-fqw2r1v4.js → job-wzd6kzb5.js} +27 -27
  257. package/dist/chunks/{config-q7gnwvzw.js → job-x0fyt95n.js} +6 -6
  258. package/dist/chunks/{config-aezks1k8.js → job-x0wtcrp9.js} +57 -57
  259. package/dist/chunks/{config-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{config-dcfqbqkk.js → job-x3was1q3.js} +46 -46
  261. package/dist/chunks/{config-58za8be0.js → job-x7kgajv3.js} +6 -6
  262. package/dist/chunks/{config-rgy4hz2s.js → job-xcyg6eyf.js} +11 -11
  263. package/dist/chunks/{config-0996nyz8.js → job-xhmq8qgk.js} +9 -9
  264. package/dist/chunks/{config-4kx83z13.js → job-xq70ntam.js} +3 -3
  265. package/dist/chunks/{config-4yh8hrgk.js → job-xqem8ntn.js} +14 -14
  266. package/dist/chunks/{config-2058e169.js → job-xwdfg3dx.js} +5 -5
  267. package/dist/chunks/{config-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{config-jhb3cebt.js → job-y1z6f5gr.js} +15 -15
  269. package/dist/chunks/{config-f25f9w7r.js → job-y2wp1mss.js} +38 -38
  270. package/dist/chunks/{config-y71avatq.js → job-y71avatq.js} +1 -1
  271. package/dist/chunks/{config-vqnb0j7t.js → job-ydmzrr85.js} +11 -11
  272. package/dist/chunks/{config-n9tyhvn8.js → job-yfxaeg17.js} +66 -66
  273. package/dist/chunks/{config-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{config-yrznvahk.js → job-yrznvahk.js} +2 -2
  275. package/dist/chunks/{config-qpdvcw0k.js → job-yvpsnz4b.js} +17 -17
  276. package/dist/chunks/{config-n9jvack9.js → job-z08tnfjf.js} +29 -29
  277. package/dist/chunks/{config-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{config-9sgpzjef.js → job-z5tggqpm.js} +3 -3
  279. package/dist/chunks/{config-z63w68vq.js → job-z63w68vq.js} +2 -2
  280. package/dist/chunks/{config-dsqps89d.js → job-z8pb3dnf.js} +5 -5
  281. package/dist/chunks/{config-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{config-h9g4qz6w.js → job-zkg44738.js} +11 -11
  283. package/dist/chunks/{config-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{config-893awk63.js → job-zsb89rxf.js} +4 -4
  285. package/dist/chunks/{config-fe8jr5wt.js → job-zsnf93b8.js} +15 -15
  286. package/dist/chunks/{config-b5k1zrww.js → job-zvwr6qen.js} +3 -3
  287. package/dist/chunks/{config-5m4y1r5y.js → job-zwbyg0c0.js} +24 -24
  288. package/dist/chunks/{config-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +119 -119
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +157 -157
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -119
  301. package/dist/config/plugin/image.js +117 -117
  302. package/dist/config/plugin/instruction.js +87 -87
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +128 -128
  305. package/dist/config/plugin/policy.js +116 -116
  306. package/dist/config/plugin/provider.js +115 -115
  307. package/dist/config/plugin/reference.js +119 -119
  308. package/dist/config/plugin/shell.js +120 -120
  309. package/dist/config/plugin/skill-file.js +99 -99
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +117 -117
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +119 -119
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +120 -120
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +82 -82
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +363 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +90 -90
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +101 -101
  411. package/dist/file-mutation.js +91 -91
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +101 -101
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +106 -106
  426. package/dist/form.js +85 -85
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +92 -92
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +82 -82
  456. package/dist/instructions/builtins.js +84 -84
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +135 -135
  464. package/dist/location-mutation.js +101 -101
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +351 -351
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +88 -88
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +87 -87
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +87 -87
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +83 -83
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +215 -215
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +325 -325
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +99 -99
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/azure.js +120 -120
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +116 -116
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +79 -79
  522. package/dist/plugin/provider/opencode.js +80 -80
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +119 -119
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +135 -135
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +81 -81
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +96 -96
  561. package/dist/reference/instructions.js +86 -86
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +78 -78
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +95 -95
  567. package/dist/rpc.js +83 -83
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +149 -149
  572. package/dist/session/diff.js +85 -85
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +222 -222
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +94 -94
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +102 -102
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +87 -87
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +87 -87
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +112 -112
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +133 -133
  606. package/dist/session/skill.js +100 -100
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +208 -208
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +153 -153
  614. package/dist/session/to-session-error.js +109 -109
  615. package/dist/session/transfer.js +218 -218
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +218 -218
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +135 -135
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +109 -109
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +123 -123
  631. package/dist/tool/plugin/edit.js +117 -117
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +122 -122
  634. package/dist/tool/plugin/grep.js +122 -122
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +215 -215
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +215 -215
  642. package/dist/tool/plugin/webfetch.js +103 -103
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +98 -98
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +15 -15
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +86 -86
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +78 -78
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/refresh.js +343 -343
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +93 -93
  687. package/package.json +8 -8
  688. package/dist/chunks/config-0kwcw7fy.js +0 -4
  689. package/dist/chunks/config-2swt1sbx.js +0 -26
  690. package/dist/chunks/config-afzktpnh.js +0 -247
  691. package/dist/chunks/config-q509s3k3.js +0 -18
  692. /package/dist/chunks/{config-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{config-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{config-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{config-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{config-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{config-2710q6r3.js → job-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{config-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{config-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{config-359p4xyc.js → job-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{config-3asan66x.js → job-3asan66x.js} +0 -0
  702. /package/dist/chunks/{config-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{config-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{config-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{config-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{config-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{config-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{config-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{config-53557ph1.js → job-53557ph1.js} +0 -0
  710. /package/dist/chunks/{config-550bvhaj.js → job-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{config-6prwharc.js → job-6prwharc.js} +0 -0
  712. /package/dist/chunks/{config-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{config-7m9af43g.js → job-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{config-822emrt2.js → job-822emrt2.js} +0 -0
  715. /package/dist/chunks/{config-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{config-8n3pysct.js → job-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{config-922hggd3.js → job-922hggd3.js} +0 -0
  718. /package/dist/chunks/{config-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{config-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{config-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{config-af5trqkr.js → job-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{config-afrmfg78.js → job-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{config-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{config-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{config-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{config-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{config-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{config-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{config-d9fn303g.js → job-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{config-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{config-dajrwvna.js → job-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{config-dap0rakb.js → job-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{config-df08tz66.js → job-df08tz66.js} +0 -0
  734. /package/dist/chunks/{config-dy18nga0.js → job-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{config-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{config-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{config-ec1grn59.js → job-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{config-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{config-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{config-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{config-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{config-faypxj3z.js → job-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{config-fd410y7t.js → job-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{config-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{config-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{config-g86h250q.js → job-g86h250q.js} +0 -0
  747. /package/dist/chunks/{config-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{config-gftt206x.js → job-gftt206x.js} +0 -0
  749. /package/dist/chunks/{config-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{config-hk9envan.js → job-hk9envan.js} +0 -0
  751. /package/dist/chunks/{config-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{config-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{config-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{config-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{config-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{config-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{config-mp448xyj.js → job-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{config-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{config-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{config-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{config-njntx4h6.js → job-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{config-paphc93g.js → job-paphc93g.js} +0 -0
  763. /package/dist/chunks/{config-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{config-q74kybfr.js → job-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{config-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{config-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{config-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{config-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{config-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{config-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{config-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{config-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{config-twg0f83k.js → job-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{config-w803qqfp.js → job-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{config-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{config-wtztk69x.js → job-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{config-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{config-x61499pn.js → job-x61499pn.js} +0 -0
  779. /package/dist/chunks/{config-y44na4kk.js → job-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{config-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{config-y8f7s663.js → job-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{config-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{config-ym463w8f.js → job-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{config-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-dnp868cw.js";
4
+ } from "./job-ex020hh2.js";
5
5
  import {
6
- Service78,
7
- node83
8
- } from "./config-0f4qaedh.js";
6
+ Service79,
7
+ node84
8
+ } from "./job-m8nr5f6y.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./config-pknna89w.js";
11
+ } from "./job-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./config-0q0f95c6.js";
14
+ } from "./job-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./job-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: () => Event16,
24
- ID: () => ID10,
25
- Info: () => Info24,
23
+ Event: () => Event13,
24
+ ID: () => ID8,
25
+ Info: () => Info21,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service66,
28
+ Service: () => Service59,
29
29
  Value: () => Value2,
30
- node: () => node70
30
+ node: () => node63
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 ID10 = Credential.ID;
37
+ var ID8 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event13 = Credential.Event;
42
42
 
43
- class Info24 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info21 extends Schema.Class("Credential.Info")({
44
+ id: ID8,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service66 extends Context.Service()("@opencode/Credential") {
51
+ class Service59 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service66, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
- const bus = yield* Service78;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info24({
60
+ return new Info21({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service66.of({
71
+ return Service59.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(Service66, 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 Info24({
80
- id: ID10.create(),
79
+ const credential = new Info21({
80
+ id: ID8.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event13.Updated, {}, { global: true });
105
+ yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event13.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event13.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node85, node83] });
196
+ var node63 = makeGlobalNode({ service: Service59, layer, deps: [node85, node84] });
197
197
 
198
- export { ID10, OAuth3, Key3, Value2, Event16, Info24, Service66, node70, exports_credential };
198
+ export { ID8, OAuth3, Key3, Value2, Event13, Info21, Service59, node63, exports_credential };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./config-6msgmcgs.js";
4
+ } from "./job-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./config-qfa1cgps.js";
7
+ } from "./job-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./config-922hggd3.js";
5
+ } from "./job-922hggd3.js";
6
6
  import {
7
- Service57,
8
- node60
9
- } from "./config-5bgpbyy9.js";
7
+ Service74,
8
+ node78
9
+ } from "./job-h78dech7.js";
10
10
  import {
11
- Content2
12
- } from "./config-04sta6yv.js";
11
+ Content3
12
+ } from "./job-f40wq5r9.js";
13
13
  import {
14
14
  detect2
15
- } from "./config-3smtnn6g.js";
15
+ } from "./job-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./config-9rqn6x4v.js";
18
+ } from "./job-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node7,
38
+ node: () => node15,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service57;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
330
+ const environment = yield* Service74;
331
+ return Service12.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node7 = makeLocationNode({ service: Service5, layer, deps: [node60] });
336
+ var node15 = makeLocationNode({ service: Service12, layer, deps: [node78] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
@@ -4,31 +4,31 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./config-tazgh4e4.js";
7
+ } from "./job-tazgh4e4.js";
8
8
  import {
9
- Service75
10
- } from "./config-4yh8hrgk.js";
9
+ Service76
10
+ } from "./job-xqem8ntn.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./config-k7nyb6ww.js";
13
+ } from "./job-hrrqwge8.js";
14
14
  import {
15
15
  __export
16
- } from "./config-9rqn6x4v.js";
16
+ } from "./job-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin3,
21
+ Plugin: () => Plugin20,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin3 = define({
28
+ var Plugin20 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service75;
31
+ const location = yield* Service76;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin3, exports_git };
470
+ export { Plugin20, exports_git };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./config-2a5m3afh.js";
3
+ } from "./job-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./config-922hggd3.js";
6
+ } from "./job-922hggd3.js";
7
7
  import {
8
- Service75
9
- } from "./config-4yh8hrgk.js";
8
+ Service76
9
+ } from "./job-xqem8ntn.js";
10
10
  import {
11
- Service57
12
- } from "./config-5bgpbyy9.js";
11
+ Service74
12
+ } from "./job-h78dech7.js";
13
13
  import {
14
- Service17
15
- } from "./config-t3k96hw7.js";
14
+ Service73
15
+ } from "./job-a498j8pk.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./config-04sta6yv.js";
20
+ Entry4
21
+ } from "./job-f40wq5r9.js";
22
22
  import {
23
- Service69
24
- } from "./config-aezks1k8.js";
23
+ Service60
24
+ } from "./job-x0wtcrp9.js";
25
25
  import {
26
- Service67
27
- } from "./config-25mg6vnq.js";
26
+ Service22
27
+ } from "./job-2mf2hkhk.js";
28
28
  import {
29
29
  __export
30
- } from "./config-9rqn6x4v.js";
30
+ } from "./job-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: () => Input4,
37
- Output: () => Output4,
38
- Plugin: () => Plugin19,
39
- name: () => name4,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input8,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin40,
39
+ name: () => name8,
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 name4 = "glob";
46
- var Input4 = Schema.Struct({
45
+ var name8 = "glob";
46
+ var Input8 = 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 Input4 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output4 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry4);
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 Plugin19 = {
66
+ var Plugin40 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service57;
70
- const ripgrep = yield* Service17;
71
- const location = yield* Service75;
72
- const access = yield* Service67;
73
- const permission = yield* Service69;
69
+ const environment = yield* Service74;
70
+ const ripgrep = yield* Service73;
71
+ const location = yield* Service76;
72
+ const access = yield* Service22;
73
+ const permission = yield* Service60;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name4,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input4,
79
- output: Output4,
78
+ input: Input8,
79
+ output: Output5,
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: name4,
86
+ action: name8,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin19 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
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: toModelContent3(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 { name4, Input4, Output4, toModelContent3, Plugin19, exports_glob };
128
+ export { name8, Input8, Output5, toModelContent5, Plugin40, exports_glob };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./config-8hmgw1ak.js";
6
+ } from "./job-jw80jp6b.js";
7
7
  import {
8
- Info21
9
- } from "./config-a9ee0v7t.js";
10
- import {
11
- Info18
12
- } from "./config-2f0bjgcj.js";
8
+ Info11
9
+ } from "./job-kwb80b5k.js";
13
10
  import {
14
11
  Info15
15
- } from "./config-ratrq7cm.js";
12
+ } from "./job-3w0fmcng.js";
13
+ import {
14
+ Info18
15
+ } from "./job-mtq6xxnx.js";
16
16
  import {
17
- Info19
18
- } from "./config-7gvwkz6m.js";
17
+ Info10
18
+ } from "./job-pecb0brz.js";
19
19
  import {
20
20
  Spec2
21
- } from "./config-7dqw4kz8.js";
21
+ } from "./job-2k8khapm.js";
22
22
  import {
23
- Info16
24
- } from "./config-hnr5yq9h.js";
23
+ Info14
24
+ } from "./job-0r7yqxbf.js";
25
25
  import {
26
- Info13
27
- } from "./config-4zrkrsxx.js";
26
+ Info9
27
+ } from "./job-5qqy1nt8.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./config-drpyq9gm.js";
36
+ } from "./job-gyp628tp.js";
37
37
  import {
38
38
  __export
39
- } from "./config-9rqn6x4v.js";
39
+ } from "./job-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info21, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info21, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info19, value, path, diagnostics);
228
+ const server = decodeValue(Info10, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info16, raw, path, diagnostics);
424
+ const provider = decodeValue(Info14, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service38
3
- } from "./config-ghk9cxjs.js";
2
+ Service54
3
+ } from "./job-shrpy2d8.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./config-q509s3k3.js";
6
+ } from "./job-by5v678g.js";
7
7
  import {
8
- Service43
9
- } from "./config-hzeaq1fa.js";
8
+ Service38
9
+ } from "./job-87yp9j1h.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./config-fxbjtjnd.js";
12
+ } from "./job-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./config-9rqn6x4v.js";
15
+ } from "./job-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service38;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
25
+ const instances = yield* Service54;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./config-0sd1vqbs.js";
4
+ } from "./job-rasx6tva.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin23
3
+ } from "./job-2wts5qzq.js";
4
+ import {
5
+ Plugin22
6
+ } from "./job-bd8a2nja.js";
7
+ import {
8
+ Plugin26
9
+ } from "./job-dc65mbsf.js";
10
+ import {
11
+ Plugin24
12
+ } from "./job-4kba6g5j.js";
13
+ import {
14
+ Plugin25
15
+ } from "./job-cq3qtjfd.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin23,
20
+ Plugin22,
21
+ Plugin26,
22
+ Plugin24,
23
+ Plugin25
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-dnp868cw.js";
4
+ } from "./job-ex020hh2.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./config-3hepkmqq.js";
7
+ } from "./job-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service79,
17
- node: () => node84
16
+ Service: () => Service69,
17
+ node: () => node73
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service79 extends Context.Service()("@opencode/KV") {
22
+ class Service69 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service79, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service79.of({
26
+ return Service69.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node84 = makeGlobalNode({ service: Service79, layer, deps: [node85] });
54
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node85] });
55
55
 
56
- export { Service79, node84, exports_kv };
56
+ export { Service69, node73, exports_kv };