@opencode/core 0.0.0-dev-20488 → 0.0.0-dev-20495

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 +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{instruction-discovery-rqm8rmge.js → agent-05qm76tv.js} +5 -5
  8. package/dist/chunks/{instruction-discovery-x8zyqsnc.js → agent-06extccp.js} +3 -3
  9. package/dist/chunks/{instruction-discovery-j0qwk3p8.js → agent-0969ms2e.js} +22 -22
  10. package/dist/chunks/{instruction-discovery-h4vfkhfc.js → agent-0b54nqfq.js} +6 -6
  11. package/dist/chunks/{instruction-discovery-n9mcnjvb.js → agent-0ee9cpen.js} +20 -20
  12. package/dist/chunks/{instruction-discovery-0vbcp93d.js → agent-0emb60td.js} +2 -2
  13. package/dist/chunks/{instruction-discovery-xd9vdtda.js → agent-0fmjwecz.js} +5 -5
  14. package/dist/chunks/{instruction-discovery-q0xm7vwc.js → agent-0j77ygfz.js} +6 -6
  15. package/dist/chunks/{instruction-discovery-bpnyhyfj.js → agent-0keq86b3.js} +3 -3
  16. package/dist/chunks/{instruction-discovery-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{instruction-discovery-64hcb429.js → agent-0tcn2edf.js} +16 -16
  18. package/dist/chunks/{instruction-discovery-vdcnzv66.js → agent-0vyq000p.js} +10 -10
  19. package/dist/chunks/{instruction-discovery-9tdkd6vr.js → agent-1225krvv.js} +48 -48
  20. package/dist/chunks/{instruction-discovery-m8y9xexq.js → agent-15zv1stq.js} +3 -3
  21. package/dist/chunks/{instruction-discovery-3q1z0jfz.js → agent-180kw0bq.js} +14 -14
  22. package/dist/chunks/{instruction-discovery-1acjjqhc.js → agent-1acjjqhc.js} +1 -1
  23. package/dist/chunks/{instruction-discovery-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{instruction-discovery-dma9gyvt.js → agent-1egsrvyz.js} +12 -12
  25. package/dist/chunks/{instruction-discovery-mbwvgf1x.js → agent-1pk6jmbv.js} +5 -5
  26. package/dist/chunks/{instruction-discovery-asf9fbg3.js → agent-1wjt2sv4.js} +2 -2
  27. package/dist/chunks/{instruction-discovery-wmkjrt6y.js → agent-281yg8g7.js} +4 -4
  28. package/dist/chunks/{instruction-discovery-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{instruction-discovery-4ts7tf6z.js → agent-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{instruction-discovery-zjh1mmzv.js → agent-2ejavyye.js} +26 -26
  31. package/dist/chunks/{instruction-discovery-2k8khapm.js → agent-2k8khapm.js} +1 -1
  32. package/dist/chunks/{instruction-discovery-234nbg4f.js → agent-2r2egdr4.js} +13 -13
  33. package/dist/chunks/{instruction-discovery-rbkz5k6g.js → agent-2tfjmdh5.js} +2 -2
  34. package/dist/chunks/{instruction-discovery-a2qe2ev9.js → agent-30846h32.js} +8 -8
  35. package/dist/chunks/{instruction-discovery-h3e5tqcb.js → agent-3adj5p0b.js} +5 -5
  36. package/dist/chunks/{instruction-discovery-3cegwx68.js → agent-3cegwx68.js} +2 -2
  37. package/dist/chunks/{instruction-discovery-a78fw167.js → agent-3e0m7cwy.js} +34 -34
  38. package/dist/chunks/{instruction-discovery-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{instruction-discovery-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{instruction-discovery-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{instruction-discovery-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-c75vb053.js → agent-3wd3ybnr.js} +40 -40
  43. package/dist/chunks/{instruction-discovery-eda12k7e.js → agent-3ynasgj1.js} +3 -3
  44. package/dist/chunks/{instruction-discovery-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{instruction-discovery-4jrrtpc9.js → agent-50c2qfar.js} +16 -16
  46. package/dist/chunks/{instruction-discovery-r94pvvab.js → agent-54ma36ye.js} +4 -4
  47. package/dist/chunks/{instruction-discovery-mfqp6xfm.js → agent-56gdpj1q.js} +6 -6
  48. package/dist/chunks/{instruction-discovery-4mc7mr7m.js → agent-56wxwffs.js} +10 -10
  49. package/dist/chunks/{instruction-discovery-61wngfpk.js → agent-56zcmy0x.js} +46 -46
  50. package/dist/chunks/{instruction-discovery-6vwe9kp6.js → agent-5ctfgyhd.js} +11 -11
  51. package/dist/chunks/{instruction-discovery-5daktx2q.js → agent-5daktx2q.js} +1 -1
  52. package/dist/chunks/{instruction-discovery-gw7cjrad.js → agent-5dkn69vz.js} +4 -4
  53. package/dist/chunks/{instruction-discovery-x10r85z8.js → agent-5manh0gh.js} +51 -51
  54. package/dist/chunks/{instruction-discovery-9taqfd41.js → agent-5mde3jdk.js} +13 -13
  55. package/dist/chunks/{instruction-discovery-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{instruction-discovery-cavr175a.js → agent-5wtwrezn.js} +21 -21
  57. package/dist/chunks/{instruction-discovery-3trkeaa7.js → agent-5zfe1hs5.js} +25 -25
  58. package/dist/chunks/agent-619r8v3y.js +18 -0
  59. package/dist/chunks/{instruction-discovery-669tq793.js → agent-669tq793.js} +1 -1
  60. package/dist/chunks/{instruction-discovery-57am6r6d.js → agent-6b2kn43a.js} +6 -6
  61. package/dist/chunks/{instruction-discovery-jf7a66sb.js → agent-6gvmk3q1.js} +12 -12
  62. package/dist/chunks/{instruction-discovery-7x76hv1h.js → agent-6jsnjtd7.js} +29 -29
  63. package/dist/chunks/{instruction-discovery-nz9wwjtp.js → agent-71y1mzkm.js} +8 -8
  64. package/dist/chunks/{instruction-discovery-zmwj70rk.js → agent-7379n787.js} +34 -34
  65. package/dist/chunks/{instruction-discovery-7zdg2jq8.js → agent-78qt3sj1.js} +12 -12
  66. package/dist/chunks/{instruction-discovery-6q181wvc.js → agent-79db117c.js} +23 -23
  67. package/dist/chunks/{instruction-discovery-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{instruction-discovery-9tv16z90.js → agent-7fxnnqbh.js} +5 -5
  69. package/dist/chunks/{instruction-discovery-x1sw2jt5.js → agent-7j08c9r1.js} +13 -13
  70. package/dist/chunks/{instruction-discovery-zqbymf7j.js → agent-7mtf2ng8.js} +23 -23
  71. package/dist/chunks/{instruction-discovery-4xr7br1c.js → agent-7mwqrr0g.js} +3 -3
  72. package/dist/chunks/{instruction-discovery-y72zmemf.js → agent-7s2tn799.js} +8 -8
  73. package/dist/chunks/{instruction-discovery-tbezpxf3.js → agent-81q1psws.js} +14 -14
  74. package/dist/chunks/{instruction-discovery-84h8c373.js → agent-84h8c373.js} +2 -2
  75. package/dist/chunks/{instruction-discovery-w1eejvng.js → agent-84txncab.js} +5 -5
  76. package/dist/chunks/{instruction-discovery-6xs26ss7.js → agent-8bjjjscb.js} +30 -30
  77. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{instruction-discovery-43nas8ga.js → agent-8gccp9jq.js} +47 -47
  79. package/dist/chunks/{instruction-discovery-atwnmxpf.js → agent-8jpf4asr.js} +20 -20
  80. package/dist/chunks/{instruction-discovery-n549q8gq.js → agent-8n04mb3d.js} +21 -21
  81. package/dist/chunks/{instruction-discovery-zewtftjh.js → agent-8percxtt.js} +10 -10
  82. package/dist/chunks/{instruction-discovery-y6mhz57t.js → agent-8tsdq50x.js} +4 -4
  83. package/dist/chunks/{instruction-discovery-1f7sha8m.js → agent-8y3049xf.js} +20 -20
  84. package/dist/chunks/{instruction-discovery-cgesad6j.js → agent-90kkfwkk.js} +19 -19
  85. package/dist/chunks/{instruction-discovery-zr4jefnj.js → agent-961aaqfq.js} +45 -45
  86. package/dist/chunks/{instruction-discovery-maq9famm.js → agent-9f7pkh13.js} +11 -11
  87. package/dist/chunks/{instruction-discovery-09w819ma.js → agent-9jb08jxh.js} +13 -13
  88. package/dist/chunks/{instruction-discovery-rgb6bxvk.js → agent-9mwv3506.js} +29 -29
  89. package/dist/chunks/{instruction-discovery-t4sf8wv4.js → agent-9qkyr202.js} +92 -92
  90. package/dist/chunks/{instruction-discovery-yk1234b4.js → agent-9sb0gsac.js} +32 -32
  91. package/dist/chunks/{instruction-discovery-n42msxhh.js → agent-9tgqm29x.js} +17 -17
  92. package/dist/chunks/{instruction-discovery-gxhzym33.js → agent-a04xb9v5.js} +23 -23
  93. package/dist/chunks/{instruction-discovery-cp937pt4.js → agent-a2rpfkac.js} +4 -4
  94. package/dist/chunks/{instruction-discovery-aaet6srn.js → agent-aaet6srn.js} +2 -2
  95. package/dist/chunks/{instruction-discovery-gqtdsdt7.js → agent-addxnjmp.js} +4 -4
  96. package/dist/chunks/{instruction-discovery-hn4y6d17.js → agent-am625cf0.js} +29 -29
  97. package/dist/chunks/{instruction-discovery-qcprstc3.js → agent-aq1vxrpg.js} +4 -4
  98. package/dist/chunks/{instruction-discovery-xxgwgp89.js → agent-assaykk3.js} +11 -11
  99. package/dist/chunks/{instruction-discovery-y0dt3xqy.js → agent-aw71md39.js} +47 -47
  100. package/dist/chunks/{instruction-discovery-nyqx1cb3.js → agent-axs6pdy0.js} +5 -5
  101. package/dist/chunks/{instruction-discovery-scgrse2b.js → agent-b3f8fkhc.js} +5 -5
  102. package/dist/chunks/{instruction-discovery-257nxyp3.js → agent-b3wt4537.js} +18 -18
  103. package/dist/chunks/{instruction-discovery-cfsekr6v.js → agent-b4twkq7r.js} +6 -6
  104. package/dist/chunks/{instruction-discovery-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{instruction-discovery-we2v2aqd.js → agent-bgwt1ext.js} +8 -8
  106. package/dist/chunks/{instruction-discovery-w8djw5a7.js → agent-bkxyw0dr.js} +9 -9
  107. package/dist/chunks/{instruction-discovery-xf8k9j4s.js → agent-bsn5q6aq.js} +44 -44
  108. package/dist/chunks/{instruction-discovery-n5a0bm5f.js → agent-bsytyf4b.js} +11 -11
  109. package/dist/chunks/{instruction-discovery-5c3yvawb.js → agent-bw7n94es.js} +175 -175
  110. package/dist/chunks/{instruction-discovery-h2ac09zz.js → agent-c4hxtsjn.js} +22 -22
  111. package/dist/chunks/agent-c4ns4q6k.js +507 -0
  112. package/dist/chunks/{instruction-discovery-534enda7.js → agent-c50maqbp.js} +5 -5
  113. package/dist/chunks/{instruction-discovery-6vq97qmv.js → agent-c5c0bz0t.js} +5 -5
  114. package/dist/chunks/{instruction-discovery-gn31e51v.js → agent-c60ns7m9.js} +11 -11
  115. package/dist/chunks/{instruction-discovery-xxndcd6m.js → agent-c651xxjb.js} +4 -4
  116. package/dist/chunks/{instruction-discovery-sk3qaz4a.js → agent-c7tg5ahm.js} +58 -20
  117. package/dist/chunks/{instruction-discovery-bgdwj0fa.js → agent-cb44h7a0.js} +26 -26
  118. package/dist/chunks/{instruction-discovery-0ws6ajg2.js → agent-cdnk6ftw.js} +13 -13
  119. package/dist/chunks/{instruction-discovery-k6qg2bky.js → agent-cey1m555.js} +11 -11
  120. package/dist/chunks/{instruction-discovery-89qmb68j.js → agent-chhwftq5.js} +36 -36
  121. package/dist/chunks/{instruction-discovery-dm6xa1w8.js → agent-ct17t7wc.js} +16 -16
  122. package/dist/chunks/{instruction-discovery-6nkyp4bj.js → agent-cv7vxd11.js} +11 -11
  123. package/dist/chunks/{instruction-discovery-g17kg1qe.js → agent-d7hcd0ym.js} +11 -11
  124. package/dist/chunks/{instruction-discovery-4egf5287.js → agent-dcr03msm.js} +23 -23
  125. package/dist/chunks/{instruction-discovery-dmqcgk4z.js → agent-dmqcgk4z.js} +2 -2
  126. package/dist/chunks/{instruction-discovery-nxm207yx.js → agent-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{instruction-discovery-63db42yp.js → agent-drnf6xwf.js} +2 -2
  128. package/dist/chunks/{instruction-discovery-hsewmz24.js → agent-dtz9s4b3.js} +6 -6
  129. package/dist/chunks/{instruction-discovery-tt2v6w0g.js → agent-dw4v8saq.js} +14 -14
  130. package/dist/chunks/{instruction-discovery-5qd3pb7m.js → agent-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{instruction-discovery-92f202f2.js → agent-e8y5teeb.js} +30 -30
  132. package/dist/chunks/{instruction-discovery-49hrmjvb.js → agent-ee7hath9.js} +15 -15
  133. package/dist/chunks/{instruction-discovery-0m47ftre.js → agent-eejvp2f2.js} +24 -24
  134. package/dist/chunks/{instruction-discovery-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{instruction-discovery-e35g93k6.js → agent-enbxprp7.js} +7 -7
  136. package/dist/chunks/{instruction-discovery-a1gpj94z.js → agent-eq1pz5kg.js} +3 -3
  137. package/dist/chunks/{instruction-discovery-wead7aht.js → agent-er7bzzx2.js} +5 -5
  138. package/dist/chunks/{instruction-discovery-7jawp51c.js → agent-es3gwfzz.js} +30 -30
  139. package/dist/chunks/{instruction-discovery-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{instruction-discovery-5zyqsw7g.js → agent-etzmzv32.js} +9 -9
  141. package/dist/chunks/{instruction-discovery-czfptnv9.js → agent-eys57y9b.js} +8 -8
  142. package/dist/chunks/{instruction-discovery-cg2k9t5z.js → agent-f0wzsm6w.js} +18 -18
  143. package/dist/chunks/{instruction-discovery-zha7grgq.js → agent-f3g7k472.js} +30 -32
  144. package/dist/chunks/{instruction-discovery-gg2r8a4c.js → agent-f4ydgy3z.js} +11 -11
  145. package/dist/chunks/{instruction-discovery-7a0fz05z.js → agent-f5a9xnpw.js} +12 -12
  146. package/dist/chunks/{instruction-discovery-5q13c62c.js → agent-f5gy8qwh.js} +8 -8
  147. package/dist/chunks/{instruction-discovery-0me0fk48.js → agent-f6b7e72t.js} +4 -4
  148. package/dist/chunks/{instruction-discovery-grvhawas.js → agent-f717gdek.js} +12 -12
  149. package/dist/chunks/{instruction-discovery-f75zav2x.js → agent-f75zav2x.js} +2 -2
  150. package/dist/chunks/{instruction-discovery-we4kaebg.js → agent-f7jtcmdh.js} +22 -22
  151. package/dist/chunks/{instruction-discovery-x08kk3pc.js → agent-fe7h0mm2.js} +11 -11
  152. package/dist/chunks/{instruction-discovery-6zh6wxqg.js → agent-fje83gfw.js} +30 -30
  153. package/dist/chunks/{instruction-discovery-9w97dca2.js → agent-fkcqrwcb.js} +7 -7
  154. package/dist/chunks/{instruction-discovery-rf7k241v.js → agent-fmpajtcd.js} +17 -17
  155. package/dist/chunks/{instruction-discovery-8ca5gf6d.js → agent-frfw21hw.js} +15 -15
  156. package/dist/chunks/{instruction-discovery-g5w8qwbj.js → agent-g5w8qwbj.js} +1 -1
  157. package/dist/chunks/{instruction-discovery-p4dv011m.js → agent-g74z9j9z.js} +15 -15
  158. package/dist/chunks/{instruction-discovery-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{instruction-discovery-h4g9p4f2.js → agent-ghq8k3p0.js} +3 -3
  160. package/dist/chunks/{instruction-discovery-gcw3aq97.js → agent-gnes5cxx.js} +9 -9
  161. package/dist/chunks/{instruction-discovery-c4x5783g.js → agent-gnvs0enq.js} +5 -5
  162. package/dist/chunks/{instruction-discovery-zsh647e0.js → agent-gx8qcdc6.js} +5 -5
  163. package/dist/chunks/{instruction-discovery-s3jjtrcx.js → agent-h1c96afk.js} +11 -11
  164. package/dist/chunks/{instruction-discovery-wxyynt4w.js → agent-h5w29vws.js} +1 -1
  165. package/dist/chunks/{instruction-discovery-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{instruction-discovery-99c1fcab.js → agent-harr5xv8.js} +32 -32
  167. package/dist/chunks/{instruction-discovery-rn4p5jba.js → agent-hcf0s5h1.js} +11 -11
  168. package/dist/chunks/{instruction-discovery-mvdg29ky.js → agent-hqhgbs2g.js} +3 -3
  169. package/dist/chunks/{instruction-discovery-67x749rj.js → agent-hvcgaqb3.js} +22 -22
  170. package/dist/chunks/{instruction-discovery-en9mxp96.js → agent-j245gaa0.js} +9 -9
  171. package/dist/chunks/{instruction-discovery-j56e64zr.js → agent-j56e64zr.js} +1 -1
  172. package/dist/chunks/{instruction-discovery-2gsqsx3d.js → agent-jgpg880r.js} +24 -24
  173. package/dist/chunks/{instruction-discovery-vjh434ps.js → agent-jjjc0chz.js} +33 -33
  174. package/dist/chunks/{instruction-discovery-3a7dge26.js → agent-jvp7p798.js} +21 -21
  175. package/dist/chunks/{instruction-discovery-mq2tvvhp.js → agent-jwtynxd2.js} +6 -6
  176. package/dist/chunks/{instruction-discovery-3y4fpz99.js → agent-jzsegfhb.js} +4 -4
  177. package/dist/chunks/{instruction-discovery-mcwfras5.js → agent-k6geg3g4.js} +7 -7
  178. package/dist/chunks/{instruction-discovery-kb9j3d72.js → agent-kb9j3d72.js} +3 -3
  179. package/dist/chunks/{instruction-discovery-rxmvmgfa.js → agent-kbkg0dr4.js} +20 -20
  180. package/dist/chunks/{instruction-discovery-2w5dyyz8.js → agent-kjfdeayr.js} +8 -8
  181. package/dist/chunks/{instruction-discovery-tc0tejgn.js → agent-kjyqzbch.js} +28 -28
  182. package/dist/chunks/{instruction-discovery-zvt5dnpc.js → agent-kne8f3cn.js} +4 -4
  183. package/dist/chunks/{instruction-discovery-xb2vsd53.js → agent-kxtv85c3.js} +22 -22
  184. package/dist/chunks/{instruction-discovery-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{instruction-discovery-anye7z91.js → agent-ma9td961.js} +37 -37
  187. package/dist/chunks/{instruction-discovery-hwbe8hjp.js → agent-mmqb0ckj.js} +8 -8
  188. package/dist/chunks/{instruction-discovery-2a6rn6yr.js → agent-mx9vqzsb.js} +6 -6
  189. package/dist/chunks/{instruction-discovery-ss358qx3.js → agent-my4zabxr.js} +3 -3
  190. package/dist/chunks/{instruction-discovery-5jx484x5.js → agent-myymb6xt.js} +11 -11
  191. package/dist/chunks/{instruction-discovery-hwfxa3cw.js → agent-n1mmzv0t.js} +10 -10
  192. package/dist/chunks/{instruction-discovery-8hdaq0f1.js → agent-n94yfme4.js} +9 -9
  193. package/dist/chunks/{instruction-discovery-2fqj34yx.js → agent-nf0836sh.js} +23 -23
  194. package/dist/chunks/{instruction-discovery-j07gkf3t.js → agent-nnegx4ye.js} +34 -34
  195. package/dist/chunks/{instruction-discovery-zbmj01pq.js → agent-nq59jwz9.js} +19 -19
  196. package/dist/chunks/{instruction-discovery-0wxkqsx5.js → agent-p52b6053.js} +11 -11
  197. package/dist/chunks/{instruction-discovery-b1dewbpn.js → agent-pevp0vkc.js} +22 -22
  198. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{instruction-discovery-pknna89w.js → agent-pknna89w.js} +1 -1
  200. package/dist/chunks/{instruction-discovery-4t523vn3.js → agent-pm3rvpnw.js} +11 -11
  201. package/dist/chunks/{instruction-discovery-j3q689wm.js → agent-pnhxssdf.js} +1 -1
  202. package/dist/chunks/{instruction-discovery-zdnf9v5q.js → agent-pvax30d3.js} +47 -47
  203. package/dist/chunks/{instruction-discovery-vpmjnhk9.js → agent-pwbc1eft.js} +33 -33
  204. package/dist/chunks/{instruction-discovery-4epjg9n3.js → agent-pydjced1.js} +10 -10
  205. package/dist/chunks/{instruction-discovery-47jkzegy.js → agent-pzjh1fyp.js} +5 -5
  206. package/dist/chunks/{instruction-discovery-qchxrxbp.js → agent-q1c6gfm2.js} +19 -19
  207. package/dist/chunks/{instruction-discovery-z2qvtray.js → agent-q3ersh05.js} +6 -6
  208. package/dist/chunks/{instruction-discovery-nc4b9ezq.js → agent-q3hqp1sp.js} +11 -11
  209. package/dist/chunks/{instruction-discovery-ratrq7cm.js → agent-qa3qhgw8.js} +4 -4
  210. package/dist/chunks/{instruction-discovery-e96qe5tn.js → agent-qc1xg33w.js} +24 -24
  211. package/dist/chunks/{instruction-discovery-dhzm9p0q.js → agent-qhsygc0r.js} +5 -5
  212. package/dist/chunks/{instruction-discovery-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{instruction-discovery-khyjcraz.js → agent-qp7thzpe.js} +11 -11
  214. package/dist/chunks/{instruction-discovery-qsdy395h.js → agent-qsdy395h.js} +1 -1
  215. package/dist/chunks/{instruction-discovery-fxs0yy90.js → agent-qx178q0k.js} +13 -13
  216. package/dist/chunks/{instruction-discovery-r2m716tb.js → agent-r2m716tb.js} +2 -2
  217. package/dist/chunks/{instruction-discovery-yr715y08.js → agent-r9w3djhf.js} +2 -2
  218. package/dist/chunks/{instruction-discovery-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{instruction-discovery-v2hz81kc.js → agent-rfrf17aw.js} +12 -12
  220. package/dist/chunks/{instruction-discovery-dgzr8r92.js → agent-rg23r00q.js} +31 -31
  221. package/dist/chunks/{instruction-discovery-wv396vej.js → agent-rhjbct0v.js} +8 -8
  222. package/dist/chunks/{instruction-discovery-1dwkpgwq.js → agent-rmbj2ecd.js} +27 -27
  223. package/dist/chunks/{instruction-discovery-890j4q8g.js → agent-rmr3r19k.js} +4 -4
  224. package/dist/chunks/{instruction-discovery-xqrhmb6a.js → agent-rmrqxqxb.js} +23 -23
  225. package/dist/chunks/{instruction-discovery-csp7vt80.js → agent-rmvpnps6.js} +31 -31
  226. package/dist/chunks/{instruction-discovery-53mskn80.js → agent-rmwzrvg6.js} +10 -10
  227. package/dist/chunks/{instruction-discovery-c7ycb71c.js → agent-rvxarf9v.js} +4 -4
  228. package/dist/chunks/{instruction-discovery-9pefrk9y.js → agent-rwb52vrc.js} +60 -60
  229. package/dist/chunks/{instruction-discovery-e8vwfchq.js → agent-ry082wg0.js} +9 -9
  230. package/dist/chunks/{instruction-discovery-w16jkc0m.js → agent-s4v9x9re.js} +30 -30
  231. package/dist/chunks/{instruction-discovery-5n5bh537.js → agent-sb3bqbj6.js} +9 -9
  232. package/dist/chunks/{instruction-discovery-y68tptm5.js → agent-snw8yyk6.js} +33 -33
  233. package/dist/chunks/{instruction-discovery-69zvy5zj.js → agent-spx8c6ms.js} +6 -6
  234. package/dist/chunks/{instruction-discovery-3dvt8w09.js → agent-sv2c0njk.js} +20 -20
  235. package/dist/chunks/{instruction-discovery-knwj7e2t.js → agent-sw2s00mc.js} +16 -16
  236. package/dist/chunks/{instruction-discovery-5rqkpza8.js → agent-t0d6zw4z.js} +9 -9
  237. package/dist/chunks/{instruction-discovery-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{instruction-discovery-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{instruction-discovery-tdstcens.js → agent-tdstcens.js} +1 -1
  240. package/dist/chunks/{instruction-discovery-7sk8ve6j.js → agent-tt3j5xxe.js} +23 -23
  241. package/dist/chunks/{instruction-discovery-0yjgx9tf.js → agent-v1wz7cyc.js} +21 -21
  242. package/dist/chunks/{instruction-discovery-tqwt26jr.js → agent-vaatkb7m.js} +15 -15
  243. package/dist/chunks/agent-vbqmraq8.js +253 -0
  244. package/dist/chunks/{instruction-discovery-zt8sfb0h.js → agent-vdd4vb6q.js} +39 -39
  245. package/dist/chunks/{instruction-discovery-dv1bcy32.js → agent-vdeedkq6.js} +11 -11
  246. package/dist/chunks/{instruction-discovery-fbr3nfbw.js → agent-ve4zfcma.js} +22 -22
  247. package/dist/chunks/{instruction-discovery-veqvce7d.js → agent-veqvce7d.js} +1 -1
  248. package/dist/chunks/{instruction-discovery-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{instruction-discovery-0whds7zr.js → agent-w47smtgf.js} +32 -32
  252. package/dist/chunks/{instruction-discovery-aqxydgd6.js → agent-w7fnhhq6.js} +18 -18
  253. package/dist/chunks/{instruction-discovery-w7s3shsg.js → agent-wb2syegf.js} +29 -29
  254. package/dist/chunks/{instruction-discovery-wd87259q.js → agent-wd87259q.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-2a8nq3m5.js → agent-wv8a670q.js} +77 -77
  256. package/dist/chunks/{instruction-discovery-198btxyk.js → agent-wzkdy7pq.js} +9 -9
  257. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{instruction-discovery-10pgvwje.js → agent-x2h9s1mq.js} +35 -35
  259. package/dist/chunks/{instruction-discovery-8ftpwjsb.js → agent-x2n4r1b6.js} +15 -15
  260. package/dist/chunks/{instruction-discovery-3zbwexce.js → agent-x75ma0cf.js} +11 -11
  261. package/dist/chunks/{instruction-discovery-6nxh550w.js → agent-x8qwh5yk.js} +1 -1
  262. package/dist/chunks/{instruction-discovery-v0es1rhs.js → agent-xecxzrdp.js} +2 -2
  263. package/dist/chunks/{instruction-discovery-77jt29wt.js → agent-xgrk1snk.js} +26 -26
  264. package/dist/chunks/{instruction-discovery-4tw3n1rs.js → agent-xjphdyj0.js} +5 -5
  265. package/dist/chunks/{instruction-discovery-9mqbw0dd.js → agent-xmbvsbqy.js} +11 -11
  266. package/dist/chunks/{instruction-discovery-mvyst4k3.js → agent-xmsh8y1f.js} +39 -39
  267. package/dist/chunks/{instruction-discovery-bzcbjd9t.js → agent-xpf13hnw.js} +29 -29
  268. package/dist/chunks/{instruction-discovery-qxjc9qry.js → agent-xyafkbt0.js} +3 -3
  269. package/dist/chunks/{instruction-discovery-p4587dg3.js → agent-xyzvdesr.js} +9 -9
  270. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{instruction-discovery-chfzcee1.js → agent-y218q3m0.js} +14 -14
  272. package/dist/chunks/{instruction-discovery-j5fbqtdd.js → agent-y9e856tf.js} +33 -33
  273. package/dist/chunks/{instruction-discovery-2151whcr.js → agent-y9t2v59g.js} +13 -13
  274. package/dist/chunks/{instruction-discovery-kgd31h0f.js → agent-ya7p2kne.js} +25 -25
  275. package/dist/chunks/{instruction-discovery-28vg5v99.js → agent-ydxjpy93.js} +19 -19
  276. package/dist/chunks/{instruction-discovery-g6yfr6ja.js → agent-yebk9b1k.js} +5 -5
  277. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{instruction-discovery-njg6ebp9.js → agent-ywrxzmrq.js} +24 -24
  279. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/agent-z2gne1tr.js +26 -0
  281. package/dist/chunks/{instruction-discovery-exmq4wqv.js → agent-zm5gxt3d.js} +17 -17
  282. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{instruction-discovery-x8anjrbb.js → agent-zwywmq97.js} +14 -14
  284. package/dist/chunks/{instruction-discovery-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{instruction-discovery-sxjnac8t.js → agent-zxxvxyna.js} +12 -12
  286. package/dist/chunks/{instruction-discovery-3ty6e2kw.js → agent-zykjx2tp.js} +87 -87
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +82 -82
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +99 -99
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +205 -205
  297. package/dist/config/plugin/compaction.js +154 -154
  298. package/dist/config/plugin/compatibility.js +134 -134
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +90 -90
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +102 -102
  310. package/dist/config/plugin/skill.js +137 -137
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +113 -113
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +70 -70
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration.gen.js +49 -49
  387. package/dist/database/migration.js +51 -51
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +79 -79
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +93 -93
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +74 -74
  411. package/dist/file-access.js +104 -104
  412. package/dist/file-mutation.js +94 -94
  413. package/dist/file-retention.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/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +214 -214
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +103 -103
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +87 -87
  428. package/dist/generate.js +101 -101
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +99 -99
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +85 -85
  454. package/dist/instructions/builtins.js +87 -87
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +76 -76
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +73 -73
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-lifecycle.js +107 -107
  463. package/dist/location-service-map.js +86 -86
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +81 -81
  466. package/dist/managed-policy.js +5 -5
  467. package/dist/mcp/client.js +91 -91
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +127 -127
  470. package/dist/mcp/oauth.js +78 -78
  471. package/dist/mcp/stdio.js +90 -90
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +99 -99
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +101 -101
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +117 -117
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +75 -75
  486. package/dist/plugin/agent.js +102 -102
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +211 -211
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +96 -96
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +102 -102
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  500. package/dist/plugin/provider/azure.js +117 -117
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +93 -93
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +112 -112
  507. package/dist/plugin/provider/digitalocean.js +93 -93
  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 +95 -95
  512. package/dist/plugin/provider/gitlab.js +93 -93
  513. package/dist/plugin/provider/google-vertex.js +90 -90
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +78 -78
  516. package/dist/plugin/provider/lmstudio.js +115 -115
  517. package/dist/plugin/provider/modal.js +92 -92
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai.js +95 -95
  521. package/dist/plugin/provider/opencode.js +96 -96
  522. package/dist/plugin/provider/openrouter.js +91 -91
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +79 -79
  525. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  526. package/dist/plugin/provider/sap-ai-core.js +91 -91
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +90 -90
  531. package/dist/plugin/provider/vllm.js +115 -115
  532. package/dist/plugin/provider/xai.js +91 -91
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +86 -86
  543. package/dist/plugin/vcs/hg.js +86 -86
  544. package/dist/plugin/verbosity.js +93 -93
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +80 -80
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +99 -99
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +89 -89
  563. package/dist/repository-cache.js +81 -81
  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 +86 -86
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +74 -74
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +153 -153
  573. package/dist/session/diff.js +88 -88
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +82 -82
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +79 -79
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +93 -93
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +120 -120
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +86 -86
  592. package/dist/session/prompt.js +105 -105
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +90 -90
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +98 -98
  600. package/dist/session/runner/publish-llm-event.js +113 -113
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +130 -130
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +203 -203
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +111 -111
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +209 -209
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +132 -132
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +110 -110
  627. package/dist/snapshot.js +91 -91
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +120 -120
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +122 -122
  636. package/dist/tool/plugin/mcp-resource.js +117 -117
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +108 -108
  645. package/dist/tool/plugin/websearch.js +112 -112
  646. package/dist/tool/plugin/write.js +120 -120
  647. package/dist/tool/read-filesystem.js +100 -100
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/types/persistent-pty/daemon.d.ts +4 -4
  652. package/dist/types/persistent-pty/index.d.ts +2 -0
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +92 -92
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +91 -91
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +89 -89
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +80 -80
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +8 -8
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +89 -89
  684. package/dist/worktree.js +96 -96
  685. package/package.json +10 -10
  686. package/dist/chunks/instruction-discovery-695my56f.js +0 -26
  687. package/dist/chunks/instruction-discovery-f81tjggh.js +0 -18
  688. package/dist/chunks/instruction-discovery-nae5rbdw.js +0 -253
  689. package/dist/chunks/instruction-discovery-wgjdrefs.js +0 -507
  690. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{instruction-discovery-24dcb14g.js → agent-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{instruction-discovery-2710q6r3.js → agent-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
  700. /package/dist/chunks/{instruction-discovery-359p4xyc.js → agent-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-3asan66x.js → agent-3asan66x.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-53557ph1.js → agent-53557ph1.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-550bvhaj.js → agent-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-6prwharc.js → agent-6prwharc.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-7m9af43g.js → agent-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-822emrt2.js → agent-822emrt2.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-8n3pysct.js → agent-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-af5trqkr.js → agent-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-afrmfg78.js → agent-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-d9fn303g.js → agent-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-dajrwvna.js → agent-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-dap0rakb.js → agent-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-df08tz66.js → agent-df08tz66.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-dy18nga0.js → agent-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-ec1grn59.js → agent-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-faypxj3z.js → agent-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-fd410y7t.js → agent-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-g86h250q.js → agent-g86h250q.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-gftt206x.js → agent-gftt206x.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-hk9envan.js → agent-hk9envan.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-mp448xyj.js → agent-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-njntx4h6.js → agent-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-q74kybfr.js → agent-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-w803qqfp.js → agent-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-wtztk69x.js → agent-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-x61499pn.js → agent-x61499pn.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-y44na4kk.js → agent-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-y8f7s663.js → agent-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-ym463w8f.js → agent-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service60
7
- } from "./instruction-discovery-mvyst4k3.js";
6
+ Service63
7
+ } from "./agent-xmsh8y1f.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./instruction-discovery-2a5m3afh.js";
11
- import {
12
- Service56
13
- } from "./instruction-discovery-n549q8gq.js";
10
+ } from "./agent-2a5m3afh.js";
14
11
  import {
15
12
  Service69
16
- } from "./instruction-discovery-tbezpxf3.js";
13
+ } from "./agent-8n04mb3d.js";
14
+ import {
15
+ Service55
16
+ } from "./agent-81q1psws.js";
17
17
  import {
18
- Service75
19
- } from "./instruction-discovery-9pefrk9y.js";
18
+ Service52
19
+ } from "./agent-rwb52vrc.js";
20
20
  import {
21
- Service13,
21
+ Service51,
22
22
  resolvePath2
23
- } from "./instruction-discovery-p4dv011m.js";
23
+ } from "./agent-g74z9j9z.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./instruction-discovery-vzs5sf6e.js";
29
+ } from "./agent-vzs5sf6e.js";
30
30
  import {
31
- Service54,
31
+ Service71,
32
32
  name15
33
- } from "./instruction-discovery-qchxrxbp.js";
33
+ } from "./agent-q1c6gfm2.js";
34
34
  import {
35
- NotFoundError7,
36
- Service51
37
- } from "./instruction-discovery-43nas8ga.js";
35
+ NotFoundError9,
36
+ Service61
37
+ } from "./agent-8gccp9jq.js";
38
38
  import {
39
- Service30
40
- } from "./instruction-discovery-t4sf8wv4.js";
39
+ Service25
40
+ } from "./agent-9qkyr202.js";
41
41
  import {
42
42
  scan2
43
- } from "./instruction-discovery-3y4fpz99.js";
43
+ } from "./agent-jzsegfhb.js";
44
44
  import {
45
45
  __export
46
- } from "./instruction-discovery-9rqn6x4v.js";
46
+ } from "./agent-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin45,
54
- ShellTool: () => exports_shell2,
55
- name: () => name9
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin13,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name9 = "shell";
59
+ var name10 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input9 = Schema.Struct({
73
+ var Input10 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin45 = {
119
+ var Plugin13 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service30;
123
- const jobs = yield* Service69;
122
+ const sessions = yield* Service25;
123
+ const jobs = yield* Service55;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service56;
126
- const access = yield* Service13;
127
- const shell = yield* Service51;
128
- const shellSelect = yield* Service54;
125
+ const environment = yield* Service69;
126
+ const access = yield* Service51;
127
+ const shell = yield* Service61;
128
+ const shellSelect = yield* Service71;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service75;
131
- const config = yield* Service60;
130
+ const permission = yield* Service52;
131
+ const config = yield* Service63;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin45 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name9,
150
+ action: name10,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin45 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name9,
187
+ name: name10,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input9,
190
+ input: Input10,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin45 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError7({ id: info.id });
213
+ return yield* new NotFoundError9({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name9,
227
+ type: name10,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name9];
257
+ const tool = event.tools[name10];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin45, exports_shell2 };
268
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin13, exports_shell };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./instruction-discovery-hwfxa3cw.js";
3
+ } from "./agent-n1mmzv0t.js";
4
4
  import {
5
5
  OAuth3,
6
- Service66
7
- } from "./instruction-discovery-10pgvwje.js";
6
+ Service79
7
+ } from "./agent-x2h9s1mq.js";
8
8
  import {
9
- ID9,
9
+ ID14,
10
10
  MethodID2
11
- } from "./instruction-discovery-vjh434ps.js";
11
+ } from "./agent-jjjc0chz.js";
12
12
  import {
13
- ID8,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./instruction-discovery-yk1234b4.js";
15
+ } from "./agent-9sb0gsac.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID8.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID9.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service66;
73
- yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
72
+ const credentials = yield* Service79;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info24,
8
+ Info: () => Info10,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info24 = SessionProviderContext.Info;
22
+ var Info10 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info24, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./agent-q3hqp1sp.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./instruction-discovery-nc4b9ezq.js";
5
- import {
6
- Service82,
7
- node86
8
- } from "./instruction-discovery-64hcb429.js";
8
+ } from "./agent-0tcn2edf.js";
9
9
  import {
10
- Service47,
11
- node49
12
- } from "./instruction-discovery-2a6rn6yr.js";
10
+ Service45,
11
+ node47
12
+ } from "./agent-mx9vqzsb.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./instruction-discovery-z5v4ffb3.js";
16
+ } from "./agent-z5v4ffb3.js";
17
17
  import {
18
18
  Service81,
19
19
  node85
20
- } from "./instruction-discovery-49hrmjvb.js";
20
+ } from "./agent-ee7hath9.js";
21
21
  import {
22
22
  Ref4
23
- } from "./instruction-discovery-rbkz5k6g.js";
23
+ } from "./agent-2tfjmdh5.js";
24
24
  import {
25
- Service71,
26
- node75
27
- } from "./instruction-discovery-5rqkpza8.js";
25
+ Service47,
26
+ node49
27
+ } from "./agent-t0d6zw4z.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./instruction-discovery-gftt206x.js";
30
+ } from "./agent-gftt206x.js";
31
31
  import {
32
- NotFoundError10
33
- } from "./instruction-discovery-e8vwfchq.js";
32
+ NotFoundError7
33
+ } from "./agent-ry082wg0.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./instruction-discovery-ec1grn59.js";
36
+ } from "./agent-ec1grn59.js";
37
37
  import {
38
- Service44
39
- } from "./instruction-discovery-zvt5dnpc.js";
38
+ Service43
39
+ } from "./agent-kne8f3cn.js";
40
40
  import {
41
- Service77,
42
- node81
43
- } from "./instruction-discovery-zbmj01pq.js";
41
+ Service53,
42
+ node56
43
+ } from "./agent-nq59jwz9.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
47
  Service46,
48
48
  node48,
49
49
  moveIDs2
50
- } from "./instruction-discovery-0yjgx9tf.js";
50
+ } from "./agent-v1wz7cyc.js";
51
51
  import {
52
- Service43,
53
- node46
54
- } from "./instruction-discovery-zt8sfb0h.js";
52
+ Service42,
53
+ node45
54
+ } from "./agent-vdd4vb6q.js";
55
55
  import {
56
- node42
57
- } from "./instruction-discovery-h2ac09zz.js";
56
+ node39
57
+ } from "./agent-c4hxtsjn.js";
58
58
  import {
59
59
  __export
60
- } from "./instruction-discovery-9rqn6x4v.js";
60
+ } from "./agent-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service31,
68
+ Service: () => Service26,
69
69
  SessionMove: () => exports_move,
70
- node: () => node34
70
+ node: () => node29
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service31 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service26 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service31, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service81;
92
- const locations = yield* Service71;
93
- const store = yield* Service77;
94
- const execution = yield* Service43;
95
- const instances = yield* Service47;
92
+ const locations = yield* Service47;
93
+ const store = yield* Service53;
94
+ const execution = yield* Service42;
95
+ const instances = yield* Service45;
96
96
  const admission = yield* Service46;
97
- const database = yield* Service83;
98
- const bus = yield* Service82;
97
+ const database = yield* Service84;
98
+ const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError10({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service44.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service31.of({
136
+ return Service26.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node34 = makeGlobalNode({
167
- service: Service31,
166
+ var node29 = makeGlobalNode({
167
+ service: Service26,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
172
  node85,
173
- node75,
174
- node81,
175
- node46,
176
173
  node49,
174
+ node56,
175
+ node45,
176
+ node47,
177
177
  node48,
178
+ node88,
178
179
  node87,
179
- node86,
180
- node42
180
+ node39
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service26, node29, exports_move };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service71,
3
- node75,
2
+ Service47,
3
+ node49,
4
4
  canonical3
5
- } from "./instruction-discovery-5rqkpza8.js";
5
+ } from "./agent-t0d6zw4z.js";
6
6
  import {
7
- Service47,
8
- node49
9
- } from "./instruction-discovery-2a6rn6yr.js";
7
+ Service45,
8
+ node47
9
+ } from "./agent-mx9vqzsb.js";
10
10
  import {
11
- Service18
12
- } from "./instruction-discovery-6zh6wxqg.js";
11
+ Service13
12
+ } from "./agent-fje83gfw.js";
13
13
  import {
14
14
  layer2
15
- } from "./instruction-discovery-nae5rbdw.js";
15
+ } from "./agent-vbqmraq8.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service71, Effect.gen(function* () {
20
+ return Layer.effect(Service47, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service18);
30
+ const lifecycle = Context.get(exit.value, Service13);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node49.replace(Layer.succeed(Service47, {
57
+ node47.replace(Layer.succeed(Service45, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node75.replace(Layer.succeed(Service71, map))
61
+ node49.replace(Layer.succeed(Service47, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./instruction-discovery-y8cydn3q.js";
3
+ } from "./agent-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info13,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info17,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info13 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info13, exports_permission };
41
+ export { Action2, Object2, Rule3, Info17, exports_permission2 };