@opencode/core 0.0.0-dev-19971 → 0.0.0-dev-19974

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{websearch-9zt0qaq4.js → command-0601qg4c.js} +11 -11
  8. package/dist/chunks/{websearch-6mtbrevk.js → command-0dtckawb.js} +15 -15
  9. package/dist/chunks/{websearch-g8jasmdt.js → command-0fxyxxca.js} +8 -8
  10. package/dist/chunks/{websearch-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{websearch-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  12. package/dist/chunks/command-0repjh3r.js +252 -0
  13. package/dist/chunks/{websearch-c4b2kpxw.js → command-12ppvwww.js} +11 -11
  14. package/dist/chunks/{websearch-dps2ye13.js → command-15ecbz73.js} +17 -17
  15. package/dist/chunks/{websearch-5vz0r8c8.js → command-18fjrjyv.js} +17 -17
  16. package/dist/chunks/{websearch-yr8w2f7w.js → command-19wqcg6g.js} +25 -25
  17. package/dist/chunks/{websearch-a37y538j.js → command-1dard8rw.js} +11 -11
  18. package/dist/chunks/{websearch-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{websearch-8rcz2q6j.js → command-1fmn7nca.js} +29 -29
  20. package/dist/chunks/{websearch-2rfba7m5.js → command-1jqpcwdd.js} +13 -13
  21. package/dist/chunks/{websearch-9ykp1bjn.js → command-1vc7h4bf.js} +20 -20
  22. package/dist/chunks/{websearch-psa6e1wa.js → command-1wnwcw7r.js} +11 -11
  23. package/dist/chunks/{websearch-1ygqh575.js → command-1ygqh575.js} +2 -2
  24. package/dist/chunks/{websearch-z0tn3z5h.js → command-21bs846c.js} +15 -15
  25. package/dist/chunks/{websearch-21r38tys.js → command-21r38tys.js} +1 -1
  26. package/dist/chunks/{websearch-9fe2175z.js → command-29ebz4cy.js} +21 -21
  27. package/dist/chunks/{websearch-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{websearch-8s8mxddj.js → command-2evyaa68.js} +4 -4
  29. package/dist/chunks/{websearch-atp9h773.js → command-2m0t44q9.js} +15 -15
  30. package/dist/chunks/{websearch-3a6re68j.js → command-35agz59w.js} +6 -6
  31. package/dist/chunks/{websearch-fhz5gfgy.js → command-3801kdgp.js} +5 -5
  32. package/dist/chunks/{websearch-n64525wv.js → command-395exzp5.js} +33 -33
  33. package/dist/chunks/{websearch-q5v2a16e.js → command-3f7xan5b.js} +4 -4
  34. package/dist/chunks/{websearch-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{websearch-k72x7rmb.js → command-3gafegkz.js} +6 -6
  36. package/dist/chunks/{websearch-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{websearch-gmjjhz4f.js → command-3ktbe3hf.js} +6 -6
  38. package/dist/chunks/{websearch-gjmk74th.js → command-3ppptnan.js} +6 -6
  39. package/dist/chunks/{websearch-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{websearch-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{websearch-hppyn5sa.js → command-3x4n1p4b.js} +11 -11
  42. package/dist/chunks/{websearch-xfdrc2qg.js → command-44ke2mar.js} +4 -4
  43. package/dist/chunks/{websearch-10915612.js → command-44ksrw62.js} +13 -13
  44. package/dist/chunks/{websearch-3mms5ene.js → command-4dkr59gj.js} +3 -3
  45. package/dist/chunks/{websearch-q17z9dx8.js → command-4drgpw32.js} +5 -5
  46. package/dist/chunks/{websearch-qn9b0sqe.js → command-4gv05ame.js} +11 -11
  47. package/dist/chunks/{websearch-tcg29b4q.js → command-4jc5c4h4.js} +1 -1
  48. package/dist/chunks/{websearch-09map6a0.js → command-4qm7m3m6.js} +26 -26
  49. package/dist/chunks/{websearch-bjnm8sq4.js → command-57aypccr.js} +3 -3
  50. package/dist/chunks/{websearch-v6v4kqhc.js → command-5arbc4sb.js} +50 -50
  51. package/dist/chunks/{websearch-a1bz86dw.js → command-5c4hm403.js} +3 -3
  52. package/dist/chunks/{websearch-4emms01x.js → command-5cry9dbs.js} +38 -38
  53. package/dist/chunks/{websearch-5daktx2q.js → command-5daktx2q.js} +1 -1
  54. package/dist/chunks/{websearch-kf97d77q.js → command-5esk5nf6.js} +17 -17
  55. package/dist/chunks/{websearch-b2wvp900.js → command-5fygez4p.js} +5 -5
  56. package/dist/chunks/{websearch-a30y0zke.js → command-5mjt82ds.js} +21 -21
  57. package/dist/chunks/{websearch-z6wvr5eg.js → command-5qmpb97a.js} +3 -3
  58. package/dist/chunks/{websearch-kz4d7gxj.js → command-5r8re7cq.js} +5 -5
  59. package/dist/chunks/{websearch-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{websearch-ernzmvnm.js → command-5v6q8ws3.js} +38 -38
  61. package/dist/chunks/{websearch-2336b01z.js → command-5we7r0eg.js} +5 -5
  62. package/dist/chunks/{websearch-669tq793.js → command-669tq793.js} +1 -1
  63. package/dist/chunks/{websearch-r2gdke7a.js → command-69zdqv0e.js} +9 -9
  64. package/dist/chunks/{websearch-4bfr0h1a.js → command-6axvzsm7.js} +21 -21
  65. package/dist/chunks/{websearch-pwvve957.js → command-6bnbyxfg.js} +9 -9
  66. package/dist/chunks/{websearch-fsnmy6e7.js → command-6dbd9kfr.js} +4 -4
  67. package/dist/chunks/{websearch-2402vzrj.js → command-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{websearch-2cby6ycg.js → command-6jt6hkba.js} +24 -24
  69. package/dist/chunks/{websearch-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{websearch-nfvzb2qa.js → command-6pj7x9ww.js} +12 -12
  71. package/dist/chunks/{websearch-y0enq6yx.js → command-6yd319e0.js} +35 -35
  72. package/dist/chunks/{websearch-mv0eyhkp.js → command-76vyv3fa.js} +12 -12
  73. package/dist/chunks/{websearch-0f92sxzd.js → command-77hk7r89.js} +9 -9
  74. package/dist/chunks/{websearch-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{websearch-ezd1shxf.js → command-7nvpgp18.js} +24 -24
  76. package/dist/chunks/{websearch-67z5vx6v.js → command-7rx5b338.js} +13 -13
  77. package/dist/chunks/{websearch-490js09j.js → command-7s37cbtz.js} +10 -10
  78. package/dist/chunks/{websearch-kbabe8wy.js → command-7y0fda1f.js} +10 -10
  79. package/dist/chunks/{websearch-zans6vvk.js → command-80agk8qd.js} +33 -33
  80. package/dist/chunks/{websearch-rnxvhcjb.js → command-85gr95dm.js} +70 -70
  81. package/dist/chunks/{websearch-2k71kv7p.js → command-86qzxe6p.js} +4 -4
  82. package/dist/chunks/{websearch-89znhe33.js → command-89znhe33.js} +1 -1
  83. package/dist/chunks/{websearch-rhj3edsb.js → command-8a6kxmc8.js} +35 -35
  84. package/dist/chunks/{websearch-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{websearch-n8x6vg9c.js → command-8gxjxfk7.js} +34 -34
  86. package/dist/chunks/{websearch-qxgb7w54.js → command-8qby4p94.js} +47 -47
  87. package/dist/chunks/{websearch-j1g0a8z5.js → command-92rkebfh.js} +19 -19
  88. package/dist/chunks/{websearch-4c8bw516.js → command-97w5rk9e.js} +7 -7
  89. package/dist/chunks/{websearch-4nwwzap6.js → command-98r14yx2.js} +13 -13
  90. package/dist/chunks/{websearch-sxsb2wh5.js → command-9bh1kbwm.js} +37 -37
  91. package/dist/chunks/{websearch-m9x5r80r.js → command-9jyavp4h.js} +5 -5
  92. package/dist/chunks/{websearch-nmtdsvx9.js → command-9ksxqh2k.js} +2 -2
  93. package/dist/chunks/{websearch-zg4xcdcw.js → command-9tb5hr0v.js} +18 -18
  94. package/dist/chunks/{websearch-ch9ef3fj.js → command-9xv0kghy.js} +4 -4
  95. package/dist/chunks/{websearch-t7y12kcc.js → command-a16afrr2.js} +3 -3
  96. package/dist/chunks/{websearch-aaet6srn.js → command-aaet6srn.js} +2 -2
  97. package/dist/chunks/{websearch-4rdw2jk2.js → command-aht6b1gw.js} +11 -11
  98. package/dist/chunks/{websearch-4argy660.js → command-azsbfkqj.js} +20 -20
  99. package/dist/chunks/{websearch-t23sgjx0.js → command-b3h4hk8s.js} +173 -173
  100. package/dist/chunks/{websearch-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{websearch-neyhfhbv.js → command-b91y5b0n.js} +20 -20
  102. package/dist/chunks/{websearch-x7c0erfj.js → command-bbn46np6.js} +38 -38
  103. package/dist/chunks/{websearch-axgxjnt4.js → command-bc7r1051.js} +8 -8
  104. package/dist/chunks/{websearch-8ssqt2ma.js → command-beq4zdab.js} +11 -11
  105. package/dist/chunks/{websearch-8h6f0t3s.js → command-bkt6pkzv.js} +20 -20
  106. package/dist/chunks/{websearch-1yv162eq.js → command-bp02r99k.js} +4 -4
  107. package/dist/chunks/{websearch-pe1tjmn3.js → command-brmtm7cf.js} +11 -11
  108. package/dist/chunks/{websearch-rftj34h1.js → command-bvrm6sd3.js} +26 -26
  109. package/dist/chunks/{websearch-5g1dq8q7.js → command-c27g0cwe.js} +14 -14
  110. package/dist/chunks/{websearch-5bgxqkp2.js → command-c68rk66j.js} +8 -8
  111. package/dist/chunks/{websearch-jdtnppjh.js → command-ca4wybjn.js} +9 -9
  112. package/dist/chunks/{websearch-eynpjjts.js → command-cb9ss0ge.js} +9 -9
  113. package/dist/chunks/{websearch-4z78jc8k.js → command-cd0z4qvb.js} +8 -8
  114. package/dist/chunks/{websearch-yqc7fef7.js → command-ceer43ev.js} +6 -6
  115. package/dist/chunks/{websearch-jdqyxw3b.js → command-cnkj3bkk.js} +6 -6
  116. package/dist/chunks/{websearch-bkt3ke4c.js → command-csmtma2g.js} +16 -16
  117. package/dist/chunks/{websearch-qmqgtz8f.js → command-cwa6csj7.js} +9 -9
  118. package/dist/chunks/{websearch-sgm3x1y6.js → command-d4kvcxbh.js} +18 -18
  119. package/dist/chunks/{websearch-qrpkzea1.js → command-d8vs3fz8.js} +25 -25
  120. package/dist/chunks/{websearch-57ez7d0k.js → command-d9s573fh.js} +2 -2
  121. package/dist/chunks/{websearch-8p4f9s12.js → command-dj2t23y0.js} +2 -2
  122. package/dist/chunks/{websearch-eg9c94rq.js → command-dj7ydz2q.js} +1 -1
  123. package/dist/chunks/{websearch-b1p2bp1h.js → command-dm0bbnwt.js} +12 -12
  124. package/dist/chunks/{websearch-zpya8g88.js → command-dnm7xxeh.js} +3 -3
  125. package/dist/chunks/{websearch-8zyqjgnv.js → command-dtyshr95.js} +20 -20
  126. package/dist/chunks/{websearch-hc9acsgr.js → command-e0378qy6.js} +9 -9
  127. package/dist/chunks/{websearch-2rshs1gx.js → command-e23rwaaf.js} +30 -30
  128. package/dist/chunks/{websearch-1twwwxc3.js → command-e64hjbz6.js} +10 -10
  129. package/dist/chunks/{websearch-d9rywp8y.js → command-eac26f80.js} +29 -29
  130. package/dist/chunks/{websearch-02nrjc1r.js → command-eaj1djv9.js} +4 -4
  131. package/dist/chunks/{websearch-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{websearch-5khnppx8.js → command-ejhgf7w3.js} +13 -13
  133. package/dist/chunks/{websearch-emq5vpv3.js → command-en452bs7.js} +20 -20
  134. package/dist/chunks/{websearch-7hb0xpq9.js → command-eqbz22z4.js} +28 -28
  135. package/dist/chunks/{websearch-erw5rpbs.js → command-erw5rpbs.js} +2 -2
  136. package/dist/chunks/{websearch-qgn6gcr1.js → command-esafk7q3.js} +5 -5
  137. package/dist/chunks/{websearch-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{websearch-37s12vcn.js → command-ez47arx5.js} +2 -2
  139. package/dist/chunks/{websearch-mgmaefw5.js → command-f2wfspan.js} +3 -3
  140. package/dist/chunks/{websearch-3t60d24d.js → command-f3t28nxc.js} +7 -7
  141. package/dist/chunks/{websearch-aqekamra.js → command-f41ena25.js} +9 -9
  142. package/dist/chunks/{websearch-wk20jg90.js → command-fb3kqv53.js} +42 -42
  143. package/dist/chunks/{websearch-wk5z6jzv.js → command-fdms3n6w.js} +9 -9
  144. package/dist/chunks/{websearch-mtq6xxnx.js → command-fdv30zvt.js} +4 -4
  145. package/dist/chunks/{websearch-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{websearch-1mpytbrd.js → command-fxjzx9zk.js} +2 -2
  147. package/dist/chunks/{websearch-e1jqcehv.js → command-fyxvyc63.js} +16 -16
  148. package/dist/chunks/{websearch-zmjry135.js → command-g2aavtfc.js} +3 -3
  149. package/dist/chunks/{websearch-jxy9pp01.js → command-gb73r5q4.js} +28 -28
  150. package/dist/chunks/{websearch-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{websearch-pvcexzwr.js → command-gezbrf6h.js} +6 -6
  152. package/dist/chunks/{websearch-8gxqpgph.js → command-gst7axd9.js} +4 -4
  153. package/dist/chunks/{websearch-p5n00eja.js → command-gzk0z5t1.js} +44 -44
  154. package/dist/chunks/{websearch-0pwhgh8h.js → command-h47e2fat.js} +22 -22
  155. package/dist/chunks/{websearch-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{websearch-mrrrmvzm.js → command-ha7xgv60.js} +20 -20
  157. package/dist/chunks/{websearch-f828m53h.js → command-hdnk95c8.js} +2 -2
  158. package/dist/chunks/{websearch-3mwrkndb.js → command-hm4csw6w.js} +15 -15
  159. package/dist/chunks/{websearch-wbhf1d2f.js → command-hng4xen5.js} +25 -25
  160. package/dist/chunks/{websearch-f9tzck21.js → command-hqn1z470.js} +14 -14
  161. package/dist/chunks/{websearch-hfdggbzh.js → command-hvf8bzx3.js} +15 -15
  162. package/dist/chunks/{websearch-657t18yv.js → command-j1h0x3qm.js} +4 -4
  163. package/dist/chunks/{websearch-j56e64zr.js → command-j56e64zr.js} +1 -1
  164. package/dist/chunks/{websearch-68s0cpd5.js → command-j84y35zg.js} +1 -1
  165. package/dist/chunks/{websearch-jca4demv.js → command-jca4demv.js} +2 -2
  166. package/dist/chunks/{websearch-bt4vczj1.js → command-jm23qt55.js} +18 -18
  167. package/dist/chunks/{websearch-kskv054x.js → command-jndgkwdf.js} +6 -6
  168. package/dist/chunks/{websearch-hm7h5fnq.js → command-js89hyr4.js} +85 -85
  169. package/dist/chunks/{websearch-96dfwwyn.js → command-jshnnbm0.js} +3 -3
  170. package/dist/chunks/{websearch-cavr175a.js → command-jw80jp6b.js} +4 -4
  171. package/dist/chunks/{websearch-yt0fqk68.js → command-jwbqhvyy.js} +5 -5
  172. package/dist/chunks/{websearch-pvh6zpvx.js → command-k0gxj95r.js} +30 -30
  173. package/dist/chunks/{websearch-3yfsrc7f.js → command-k409y6k1.js} +8 -8
  174. package/dist/chunks/{websearch-x1zq0qjw.js → command-k6jsebqw.js} +14 -14
  175. package/dist/chunks/{websearch-cw351spq.js → command-k6w958j5.js} +3 -3
  176. package/dist/chunks/{websearch-1kq608fv.js → command-kkf65y6a.js} +24 -24
  177. package/dist/chunks/{websearch-gyj5qngc.js → command-kw5v92fn.js} +25 -25
  178. package/dist/chunks/{websearch-tt85xgdw.js → command-kz87xe09.js} +26 -26
  179. package/dist/chunks/{websearch-cfpkc3c9.js → command-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{websearch-bbx8rj45.js → command-m2k7mg07.js} +11 -11
  181. package/dist/chunks/{websearch-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{websearch-e0pc9hss.js → command-m4j94d0w.js} +13 -13
  183. package/dist/chunks/{websearch-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{websearch-9jan11yy.js → command-m9wnxg74.js} +22 -22
  185. package/dist/chunks/{websearch-eq1pz5kg.js → command-mhkvc446.js} +3 -3
  186. package/dist/chunks/{websearch-ydgy0jv4.js → command-mqzwkyay.js} +6 -6
  187. package/dist/chunks/{websearch-ng2t6yjv.js → command-mt1xf8xq.js} +4 -4
  188. package/dist/chunks/{websearch-qg0jgkcp.js → command-mvn2r3z4.js} +9 -9
  189. package/dist/chunks/{websearch-sc2b8fmw.js → command-mwch1h7x.js} +22 -22
  190. package/dist/chunks/{websearch-e3rd11p8.js → command-n80jc431.js} +17 -17
  191. package/dist/chunks/{websearch-3gr5sfar.js → command-ngne8dfe.js} +10 -10
  192. package/dist/chunks/{websearch-ctg6kqhn.js → command-njkzccyn.js} +7 -7
  193. package/dist/chunks/{websearch-j841wva5.js → command-nnbzrd8n.js} +15 -15
  194. package/dist/chunks/{websearch-1anmvv20.js → command-np4grtax.js} +21 -21
  195. package/dist/chunks/{websearch-r6fe7wqt.js → command-ny7zsgxc.js} +10 -10
  196. package/dist/chunks/{websearch-k3c624dm.js → command-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{websearch-cpj0znwe.js → command-nzyhnfxz.js} +4 -4
  198. package/dist/chunks/{websearch-p28j5sbe.js → command-p28j5sbe.js} +2 -2
  199. package/dist/chunks/{websearch-dv1qgsyq.js → command-p37cw4rj.js} +6 -6
  200. package/dist/chunks/{websearch-jfgwv67f.js → command-p504gj3f.js} +8 -8
  201. package/dist/chunks/{websearch-8g41p69m.js → command-pdhkkygs.js} +11 -11
  202. package/dist/chunks/{websearch-qyv22f12.js → command-ph5q8xzv.js} +10 -10
  203. package/dist/chunks/{websearch-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{websearch-pknna89w.js → command-pknna89w.js} +1 -1
  205. package/dist/chunks/{websearch-98v28jez.js → command-pm3aw8jw.js} +25 -25
  206. package/dist/chunks/{websearch-7m2tq7cp.js → command-pn2fvd3j.js} +12 -12
  207. package/dist/chunks/{websearch-b6m9cw84.js → command-q0r7cvmx.js} +11 -11
  208. package/dist/chunks/{websearch-gzahs6bb.js → command-q29a3mzv.js} +15 -15
  209. package/dist/chunks/{websearch-7w3s9kd0.js → command-q5nw5m1n.js} +6 -6
  210. package/dist/chunks/{websearch-a34cw71v.js → command-qbznwwr3.js} +8 -8
  211. package/dist/chunks/{websearch-484ven3d.js → command-qcqngy56.js} +10 -10
  212. package/dist/chunks/{websearch-ztz4j6tx.js → command-qmawctgv.js} +11 -11
  213. package/dist/chunks/{websearch-52j4gwnf.js → command-qmk2rxp5.js} +5 -5
  214. package/dist/chunks/{websearch-47j6g49p.js → command-qnv6wqrn.js} +79 -79
  215. package/dist/chunks/{websearch-qsdy395h.js → command-qsdy395h.js} +1 -1
  216. package/dist/chunks/{websearch-273x4bvc.js → command-qsmad8q5.js} +26 -26
  217. package/dist/chunks/{websearch-db4bfb5s.js → command-qv6qez6w.js} +11 -11
  218. package/dist/chunks/{websearch-ap1jv5wd.js → command-qvx74awb.js} +7 -7
  219. package/dist/chunks/{websearch-sneexhcr.js → command-r5b2g718.js} +31 -31
  220. package/dist/chunks/{websearch-gv5sesne.js → command-r60jn89m.js} +17 -17
  221. package/dist/chunks/{websearch-e61g2f31.js → command-rahj5xg6.js} +8 -8
  222. package/dist/chunks/{websearch-sv2wt6jj.js → command-rc2rdsk3.js} +12 -12
  223. package/dist/chunks/{websearch-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{websearch-pb5amgwz.js → command-rgbassad.js} +23 -23
  225. package/dist/chunks/{websearch-p491qsmh.js → command-rkwepmqr.js} +12 -12
  226. package/dist/chunks/{websearch-zeh9ct20.js → command-rq775frq.js} +2 -2
  227. package/dist/chunks/{websearch-1t2sqhcs.js → command-rqmc9bz6.js} +4 -4
  228. package/dist/chunks/{websearch-tsgfq9bb.js → command-rsnh7qyx.js} +5 -5
  229. package/dist/chunks/{websearch-syxn4zf7.js → command-rtbgd8vv.js} +12 -12
  230. package/dist/chunks/{websearch-afed7ext.js → command-s2ynmxvy.js} +5 -5
  231. package/dist/chunks/{websearch-h5crbhmb.js → command-sds13m34.js} +15 -15
  232. package/dist/chunks/{websearch-19j60k9b.js → command-sf8s250z.js} +25 -25
  233. package/dist/chunks/{websearch-dxvesfzj.js → command-st8d6rzm.js} +40 -40
  234. package/dist/chunks/{websearch-bg1wpsny.js → command-svt8e23h.js} +30 -30
  235. package/dist/chunks/{websearch-jcynjjsm.js → command-szncdaef.js} +4 -4
  236. package/dist/chunks/{websearch-wbkyxrgf.js → command-t3swkhbg.js} +5 -5
  237. package/dist/chunks/{websearch-bct739vz.js → command-t9zs3egg.js} +4 -4
  238. package/dist/chunks/{websearch-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{websearch-tdstcens.js → command-tdstcens.js} +1 -1
  240. package/dist/chunks/{websearch-g4mwgykz.js → command-tg765z21.js} +9 -9
  241. package/dist/chunks/{websearch-hcpzh4y5.js → command-tqnd21xx.js} +22 -22
  242. package/dist/chunks/{websearch-tvtrv512.js → command-tvtrv512.js} +1 -1
  243. package/dist/chunks/{websearch-8ank75fn.js → command-tx9w5tca.js} +8 -8
  244. package/dist/chunks/{websearch-r0y2mygc.js → command-v5g5v3ws.js} +16 -16
  245. package/dist/chunks/{websearch-v3wvqj48.js → command-v7bs4fwn.js} +11 -11
  246. package/dist/chunks/{websearch-xh3hyv3f.js → command-vbaxqaky.js} +10 -10
  247. package/dist/chunks/{websearch-veqvce7d.js → command-veqvce7d.js} +1 -1
  248. package/dist/chunks/command-vnkjks7b.js +18 -0
  249. package/dist/chunks/{websearch-wxv342sh.js → command-vtpa8adt.js} +27 -27
  250. package/dist/chunks/{websearch-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{websearch-wr1n0z8j.js → command-w0825h81.js} +318 -318
  252. package/dist/chunks/{websearch-z7x2t1h4.js → command-w0cjdr4y.js} +24 -24
  253. package/dist/chunks/{websearch-paegk39x.js → command-w1k39n5e.js} +4 -4
  254. package/dist/chunks/{websearch-efqyzrtz.js → command-w1kts72e.js} +7 -7
  255. package/dist/chunks/{websearch-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{websearch-wd87259q.js → command-wd87259q.js} +1 -1
  257. package/dist/chunks/{websearch-9yx7mf9e.js → command-wgzvszfr.js} +24 -24
  258. package/dist/chunks/{websearch-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{websearch-5zrdtdrf.js → command-x6k8vawk.js} +14 -14
  260. package/dist/chunks/{websearch-57b9ws8p.js → command-xfkkasph.js} +7 -7
  261. package/dist/chunks/{websearch-ygv8vf3r.js → command-xh0mn2db.js} +4 -4
  262. package/dist/chunks/{websearch-1p2sdtde.js → command-xydhn12a.js} +6 -6
  263. package/dist/chunks/{websearch-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{websearch-tx1ywgy3.js → command-y1q6eyqb.js} +16 -16
  265. package/dist/chunks/{websearch-fxqygnfa.js → command-y31b318c.js} +4 -4
  266. package/dist/chunks/{websearch-r6bhbggm.js → command-y32hsvj3.js} +29 -29
  267. package/dist/chunks/{websearch-3va2t4ne.js → command-y64kjv5k.js} +21 -21
  268. package/dist/chunks/{websearch-y71avatq.js → command-y71avatq.js} +1 -1
  269. package/dist/chunks/{websearch-pv02emkf.js → command-y91g1rqk.js} +5 -5
  270. package/dist/chunks/{websearch-5pep6vw4.js → command-ycrff0sc.js} +14 -14
  271. package/dist/chunks/{websearch-65ecsfj5.js → command-ycytvwgt.js} +23 -23
  272. package/dist/chunks/{websearch-r8xr0va3.js → command-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{websearch-nwjqq5p1.js → command-ypwyy9wb.js} +13 -13
  274. package/dist/chunks/{websearch-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{websearch-yrznvahk.js → command-yrznvahk.js} +2 -2
  276. package/dist/chunks/{websearch-enpg5945.js → command-ytjd48j9.js} +16 -16
  277. package/dist/chunks/{websearch-eamc0k64.js → command-yx0qkvav.js} +47 -47
  278. package/dist/chunks/{websearch-gv6a8nnw.js → command-yyb7tjpc.js} +2 -2
  279. package/dist/chunks/{websearch-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{websearch-85h867b1.js → command-z0pamjge.js} +45 -45
  281. package/dist/chunks/{websearch-7j2yenkd.js → command-z3qta96q.js} +5 -5
  282. package/dist/chunks/{websearch-z63w68vq.js → command-z63w68vq.js} +2 -2
  283. package/dist/chunks/{websearch-7zchfbzk.js → command-z7t8qwge.js} +5 -5
  284. package/dist/chunks/{websearch-8wf96ssr.js → command-zg4hrway.js} +20 -20
  285. package/dist/chunks/{websearch-rg63q7m0.js → command-zqcfqxpy.js} +22 -22
  286. package/dist/chunks/{websearch-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{websearch-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  288. package/dist/chunks/command-zyyeags5.js +26 -0
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +123 -123
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +123 -123
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +369 -369
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +357 -357
  470. package/dist/location.js +80 -80
  471. package/dist/managed-policy.js +5 -5
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +125 -125
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +108 -108
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +331 -331
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +93 -93
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +159 -159
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +350 -350
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +222 -222
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +79 -79
  561. package/dist/provider.js +98 -98
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +85 -85
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +86 -86
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +3 -3
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +85 -85
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +116 -116
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +1 -1
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +207 -207
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +211 -211
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +213 -213
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +135 -135
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +104 -104
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +212 -212
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +113 -113
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +2 -2
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +14 -14
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +8 -8
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +91 -91
  694. package/package.json +8 -8
  695. package/dist/chunks/websearch-4v7qdvcn.js +0 -18
  696. package/dist/chunks/websearch-ayg7q4gs.js +0 -252
  697. package/dist/chunks/websearch-r0snc0mf.js +0 -26
  698. /package/dist/chunks/{websearch-0mesazry.js → command-0mesazry.js} +0 -0
  699. /package/dist/chunks/{websearch-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{websearch-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{websearch-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{websearch-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{websearch-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{websearch-24dcb14g.js → command-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{websearch-2710q6r3.js → command-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{websearch-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{websearch-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{websearch-359p4xyc.js → command-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{websearch-3asan66x.js → command-3asan66x.js} +0 -0
  710. /package/dist/chunks/{websearch-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{websearch-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{websearch-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{websearch-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{websearch-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{websearch-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{websearch-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{websearch-53557ph1.js → command-53557ph1.js} +0 -0
  718. /package/dist/chunks/{websearch-550bvhaj.js → command-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{websearch-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{websearch-6prwharc.js → command-6prwharc.js} +0 -0
  721. /package/dist/chunks/{websearch-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{websearch-7m9af43g.js → command-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{websearch-822emrt2.js → command-822emrt2.js} +0 -0
  724. /package/dist/chunks/{websearch-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{websearch-8n3pysct.js → command-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{websearch-922hggd3.js → command-922hggd3.js} +0 -0
  727. /package/dist/chunks/{websearch-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{websearch-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{websearch-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{websearch-af5trqkr.js → command-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{websearch-afrmfg78.js → command-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{websearch-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{websearch-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{websearch-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{websearch-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{websearch-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{websearch-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{websearch-d9fn303g.js → command-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{websearch-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{websearch-dajrwvna.js → command-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{websearch-dap0rakb.js → command-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{websearch-df08tz66.js → command-df08tz66.js} +0 -0
  743. /package/dist/chunks/{websearch-dy18nga0.js → command-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{websearch-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{websearch-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{websearch-ec1grn59.js → command-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{websearch-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{websearch-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{websearch-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{websearch-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{websearch-faypxj3z.js → command-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{websearch-fd410y7t.js → command-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{websearch-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{websearch-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{websearch-g86h250q.js → command-g86h250q.js} +0 -0
  756. /package/dist/chunks/{websearch-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{websearch-gftt206x.js → command-gftt206x.js} +0 -0
  758. /package/dist/chunks/{websearch-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{websearch-hk9envan.js → command-hk9envan.js} +0 -0
  760. /package/dist/chunks/{websearch-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{websearch-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{websearch-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{websearch-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{websearch-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{websearch-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{websearch-mp448xyj.js → command-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{websearch-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{websearch-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{websearch-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{websearch-njntx4h6.js → command-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{websearch-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{websearch-q3t37ft6.js → command-q3t37ft6.js} +0 -0
  773. /package/dist/chunks/{websearch-q74kybfr.js → command-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{websearch-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{websearch-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{websearch-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{websearch-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{websearch-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{websearch-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{websearch-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{websearch-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{websearch-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{websearch-twg0f83k.js → command-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{websearch-w803qqfp.js → command-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{websearch-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{websearch-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{websearch-wtztk69x.js → command-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{websearch-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{websearch-x61499pn.js → command-x61499pn.js} +0 -0
  790. /package/dist/chunks/{websearch-y44na4kk.js → command-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{websearch-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{websearch-y8f7s663.js → command-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{websearch-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{websearch-ym463w8f.js → command-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{websearch-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service66
3
- } from "./websearch-1anmvv20.js";
2
+ Service74
3
+ } from "./command-np4grtax.js";
4
4
  import {
5
- Service51
6
- } from "./websearch-gjmk74th.js";
5
+ Service40
6
+ } from "./command-3ppptnan.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./websearch-4v7qdvcn.js";
9
+ } from "./command-vnkjks7b.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service51;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service66), instances.provide(input.session));
22
+ const instances = yield* Service40;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service74), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service44
3
- } from "./websearch-dxvesfzj.js";
2
+ Service47
3
+ } from "./command-st8d6rzm.js";
4
4
  import {
5
- Service41
6
- } from "./websearch-hc9acsgr.js";
5
+ Service62
6
+ } from "./command-e0378qy6.js";
7
7
  import {
8
8
  observe2
9
- } from "./websearch-qsdy395h.js";
9
+ } from "./command-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin34
18
+ Plugin: () => Plugin44
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin34 = define({
22
+ var Plugin44 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service44;
26
- const image = yield* Service41;
25
+ const config = yield* Service47;
26
+ const image = yield* Service62;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin34 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin34, exports_image };
46
+ export { Plugin44, exports_image };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./websearch-bjnm8sq4.js";
4
+ } from "./command-57aypccr.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./websearch-3hepkmqq.js";
7
+ } from "./command-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./command-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: () => Service56,
17
- node: () => node59
16
+ Service: () => Service72,
17
+ node: () => node76
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 Service56 extends Context.Service()("@opencode/KV") {
22
+ class Service72 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service56, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service56.of({
26
+ return Service72.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 node59 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
54
+ var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
55
55
 
56
- export { Service56, node59, exports_kv };
56
+ export { Service72, node76, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./websearch-qfa1cgps.js";
3
+ } from "./command-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./websearch-1mpytbrd.js";
6
+ } from "./command-fxjzx9zk.js";
7
7
  import {
8
- Service69
9
- } from "./websearch-hfdggbzh.js";
8
+ Service61
9
+ } from "./command-hvf8bzx3.js";
10
10
  import {
11
- Service11
12
- } from "./websearch-enpg5945.js";
11
+ Service7
12
+ } from "./command-ytjd48j9.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./websearch-2a5m3afh.js";
15
+ } from "./command-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service12
27
- } from "./websearch-atp9h773.js";
26
+ Service5
27
+ } from "./command-2m0t44q9.js";
28
28
  import {
29
29
  __export
30
- } from "./websearch-9rqn6x4v.js";
30
+ } from "./command-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input6,
36
- Plugin: () => Plugin40,
35
+ Input: () => Input2,
36
+ Plugin: () => Plugin18,
37
37
  ReadTool: () => exports_read,
38
- name: () => name6,
39
- toModelContent: () => toModelContent3
38
+ name: () => name2,
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name6 = "read";
45
+ var name2 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input6 = LocationInput;
56
+ var Input2 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin40 = {
58
+ var Plugin18 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service12;
62
- const access = yield* Service69;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service5;
62
+ const access = yield* Service61;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name6,
67
+ name: name2,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input6,
70
+ input: Input2,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin40 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent2 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name6, Input6, Plugin40, toModelContent3, exports_read };
183
+ export { name2, Input2, Plugin18, toModelContent2, exports_read };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./websearch-gd4qta3r.js";
3
+ } from "./command-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./websearch-tvtrv512.js";
6
+ } from "./command-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./websearch-rdw6cm16.js";
9
+ } from "./command-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service47,
21
+ Service: () => Service46,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node51
23
+ node: () => node48
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service47 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service46 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service47, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service47.of({
125
+ return Service46.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node51 = makeLocationNode({
143
- service: Service47,
142
+ var node48 = makeLocationNode({
143
+ service: Service46,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service47, node51, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node48, exports_tool_output2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./websearch-1mpytbrd.js";
4
+ } from "./command-fxjzx9zk.js";
5
5
  import {
6
6
  create3
7
- } from "./websearch-rdw6cm16.js";
7
+ } from "./command-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service17,
17
- node: () => node20
16
+ Service: () => Service15,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service17 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service15 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service17, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
27
27
  const location = yield* Service80;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service17.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service15.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node20 = makeLocationNode({
91
- service: Service17,
90
+ var node17 = makeLocationNode({
91
+ service: Service15,
92
92
  layer,
93
93
  deps: [node84, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service17, node20, exports_formatter2 };
96
+ export { Service15, node17, exports_formatter2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./websearch-bjnm8sq4.js";
4
+ } from "./command-57aypccr.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./websearch-02nrjc1r.js";
10
+ } from "./command-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./websearch-a1bz86dw.js";
13
+ } from "./command-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./websearch-9rqn6x4v.js";
16
+ } from "./command-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service25,
25
+ Service: () => Service23,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node29,
29
+ node: () => node26,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service25 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service23 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make21({
65
65
  key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service25, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service25.of({ list, put, remove, load });
111
+ return Service23.of({ list, put, remove, load });
112
112
  }));
113
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node88] });
113
+ var node26 = makeLocationNode({ service: Service23, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node26, exports_instruction_entry };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
10
- Info: () => Info14
9
+ Entry: () => Entry2,
10
+ Info: () => Info12
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry2 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
20
20
 
21
- export { Entry3, Info14, exports_formatter3 };
21
+ export { Entry2, Info12, exports_formatter3 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./websearch-zr2ceqn5.js";
3
+ } from "./command-zr2ceqn5.js";
4
4
  import {
5
- Service45
6
- } from "./websearch-hcpzh4y5.js";
5
+ Service48
6
+ } from "./command-tqnd21xx.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make3
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service45;
25
+ var make3 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service48;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make3, LoadError2, exports_module };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./websearch-ygv8vf3r.js";
4
+ } from "./command-xh0mn2db.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./websearch-1mpytbrd.js";
8
+ } from "./command-fxjzx9zk.js";
9
9
  import {
10
10
  ID2
11
- } from "./websearch-0mesazry.js";
11
+ } from "./command-0mesazry.js";
12
12
  import {
13
- Service68,
13
+ Service51,
14
14
  login2,
15
- node71
16
- } from "./websearch-j1g0a8z5.js";
15
+ node53
16
+ } from "./command-92rkebfh.js";
17
17
  import {
18
18
  lazy2
19
- } from "./websearch-88xbtdfr.js";
19
+ } from "./command-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./websearch-9rqn6x4v.js";
22
+ } from "./command-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
@@ -60,7 +60,7 @@ class Service13 extends Context.Service()("@opencode/Pty") {
60
60
  var layer = Layer.effect(Service13, Effect.gen(function* () {
61
61
  const bus = yield* Service83;
62
62
  const location = yield* Service80;
63
- const shell = yield* Service68;
63
+ const shell = yield* Service51;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -273,7 +273,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
273
273
  var node15 = makeLocationNode({
274
274
  service: Service13,
275
275
  layer,
276
- deps: [node87, node84, node71]
276
+ deps: [node87, node84, node53]
277
277
  });
278
278
 
279
279
  export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./websearch-tazgh4e4.js";
3
+ } from "./command-tazgh4e4.js";
4
4
  import {
5
- ID4,
6
- Service36
7
- } from "./websearch-273x4bvc.js";
5
+ ID6,
6
+ Service52
7
+ } from "./command-qsmad8q5.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./websearch-q3t37ft6.js";
10
+ } from "./command-q3t37ft6.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./websearch-gmjjhz4f.js";
13
+ } from "./command-3ktbe3hf.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./websearch-a1bz86dw.js";
16
+ } from "./command-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./command-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service36;
84
+ const snapshot = yield* Service52;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID4.make(from),
91
- to: ID4.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));