@opencode/core 0.0.0-dev-19501 → 0.0.0-dev-19504

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{job-rbr1ba9y.js → state-020j3mp2.js} +6 -6
  9. package/dist/chunks/{job-bra6p34v.js → state-02r6fh77.js} +32 -32
  10. package/dist/chunks/{job-x09ggfgh.js → state-0h5yhx5j.js} +13 -13
  11. package/dist/chunks/{job-9f8x733p.js → state-0j4ba8d2.js} +11 -11
  12. package/dist/chunks/{job-nep8tjkt.js → state-0kcg9p5c.js} +14 -14
  13. package/dist/chunks/{job-dw9ftjz0.js → state-0mtbxaje.js} +5 -5
  14. package/dist/chunks/{job-njffw8q5.js → state-0nds4myn.js} +16 -16
  15. package/dist/chunks/{job-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{job-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{job-arjbbgf8.js → state-17zkjcfx.js} +6 -6
  18. package/dist/chunks/{job-z75d3rsp.js → state-1av7y6ck.js} +4 -4
  19. package/dist/chunks/{job-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{job-w1ad28wa.js → state-1fcrsx1q.js} +8 -8
  21. package/dist/chunks/{job-vtzwx9w7.js → state-1xrbsc5y.js} +41 -41
  22. package/dist/chunks/{job-21r38tys.js → state-21r38tys.js} +1 -1
  23. package/dist/chunks/{job-g5bqepvr.js → state-22yx3c6v.js} +11 -11
  24. package/dist/chunks/{job-6h73sxmp.js → state-2402vzrj.js} +5 -5
  25. package/dist/chunks/{job-nmbjd050.js → state-24c7t6kx.js} +28 -28
  26. package/dist/chunks/{job-z63w68vq.js → state-29x78va6.js} +6 -6
  27. package/dist/chunks/{job-dgvf7yhf.js → state-2a3r6032.js} +15 -15
  28. package/dist/chunks/{job-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{job-gsx0ryk4.js → state-2bt6bea8.js} +9 -9
  30. package/dist/chunks/{job-mty3s5k3.js → state-2jpz28ss.js} +10 -10
  31. package/dist/chunks/{job-0jwsre1p.js → state-2k8khapm.js} +5 -5
  32. package/dist/chunks/{job-53f31axm.js → state-395j3mj5.js} +32 -32
  33. package/dist/chunks/{job-s673h22a.js → state-3cdpbzjx.js} +15 -15
  34. package/dist/chunks/{job-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{job-jce26jfm.js → state-3h7zsync.js} +13 -13
  36. package/dist/chunks/{job-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{job-q2b1ymqp.js → state-3j8sdtpz.js} +4 -4
  38. package/dist/chunks/{job-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{job-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{job-v8s8zax1.js → state-3vc92cpq.js} +28 -28
  41. package/dist/chunks/{job-tz2bjj40.js → state-3w2b2yj4.js} +5 -5
  42. package/dist/chunks/{job-byn59v6m.js → state-3zevfmxv.js} +1 -1
  43. package/dist/chunks/{job-ckw6gep2.js → state-3zre7qs9.js} +15 -15
  44. package/dist/chunks/{job-d4dr9rb7.js → state-4127wp21.js} +6 -6
  45. package/dist/chunks/{job-ajchncqw.js → state-474mxxx0.js} +8 -8
  46. package/dist/chunks/{job-t2k8w6x7.js → state-480wnwqj.js} +11 -11
  47. package/dist/chunks/{job-0ajdgxne.js → state-4y66k410.js} +5 -5
  48. package/dist/chunks/{job-zc07dx4z.js → state-51wwr1cb.js} +7 -7
  49. package/dist/chunks/{job-6z4emzs5.js → state-567n0deq.js} +46 -46
  50. package/dist/chunks/{job-1ygqh575.js → state-56gdpj1q.js} +9 -9
  51. package/dist/chunks/{job-z8pb3dnf.js → state-5ahh7ntp.js} +5 -5
  52. package/dist/chunks/{job-5daktx2q.js → state-5daktx2q.js} +1 -1
  53. package/dist/chunks/{job-tm3xrft6.js → state-5gg839bz.js} +22 -22
  54. package/dist/chunks/{job-rnp9kzat.js → state-5m22982g.js} +5 -5
  55. package/dist/chunks/{job-k5nz7jxc.js → state-5p8mw0dr.js} +24 -24
  56. package/dist/chunks/{job-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{job-g190xswt.js → state-5wtwrezn.js} +21 -21
  58. package/dist/chunks/{job-0b3ppf0m.js → state-60vppwb8.js} +8 -8
  59. package/dist/chunks/{job-669tq793.js → state-669tq793.js} +1 -1
  60. package/dist/chunks/{job-39s00pmn.js → state-6b54yabr.js} +22 -22
  61. package/dist/chunks/{job-a28srp6z.js → state-6cdctt69.js} +20 -20
  62. package/dist/chunks/{job-vgd8tbfn.js → state-6cqjqb7p.js} +66 -66
  63. package/dist/chunks/{job-rs5tj728.js → state-6h1zhsq5.js} +16 -16
  64. package/dist/chunks/{job-nv5vn7qx.js → state-6kyz0a76.js} +4 -4
  65. package/dist/chunks/{job-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{job-r7yyze0b.js → state-6v46vta9.js} +37 -37
  67. package/dist/chunks/{job-pe61x464.js → state-6vzv0tsa.js} +9 -9
  68. package/dist/chunks/{job-eza9v3bf.js → state-6x116pq4.js} +18 -18
  69. package/dist/chunks/{job-71q4at8m.js → state-71q4at8m.js} +1 -1
  70. package/dist/chunks/{job-nsnkpgmw.js → state-72417vrk.js} +29 -29
  71. package/dist/chunks/{job-8xr8aj9a.js → state-73v7pdd7.js} +8 -8
  72. package/dist/chunks/{job-ek00w5t7.js → state-76fbqq5t.js} +23 -23
  73. package/dist/chunks/{job-990ev2kv.js → state-79w795fr.js} +1 -1
  74. package/dist/chunks/{job-844ef7ks.js → state-7b15y959.js} +8 -8
  75. package/dist/chunks/{job-k9h3bn14.js → state-7b9bpmhc.js} +17 -17
  76. package/dist/chunks/{job-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{job-c649dwfa.js → state-7f4vqfyd.js} +19 -19
  78. package/dist/chunks/{job-ebrpajgw.js → state-7mjs49hv.js} +7 -7
  79. package/dist/chunks/{job-a80mwyht.js → state-7p0agkh3.js} +19 -19
  80. package/dist/chunks/{job-yxjbx3ws.js → state-7rntk513.js} +12 -12
  81. package/dist/chunks/{job-377tdzm5.js → state-7w99qc9d.js} +3 -3
  82. package/dist/chunks/{job-fqtw9snj.js → state-7z0hag3q.js} +9 -9
  83. package/dist/chunks/{job-9rw2238w.js → state-87shza1g.js} +26 -26
  84. package/dist/chunks/{job-8ctqdr62.js → state-8c0s05bc.js} +23 -23
  85. package/dist/chunks/{job-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{job-4vda8ndh.js → state-8dx2amnv.js} +47 -47
  87. package/dist/chunks/{job-818pfwc9.js → state-8hgfhrm0.js} +11 -11
  88. package/dist/chunks/{job-dj2t23y0.js → state-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{job-7w0m1cr7.js → state-8qt13rrk.js} +11 -11
  90. package/dist/chunks/{job-x2xn2ag0.js → state-8zfw07st.js} +12 -12
  91. package/dist/chunks/{job-wycsdkc3.js → state-99630avw.js} +11 -11
  92. package/dist/chunks/{job-y0j58446.js → state-9e1pnjm1.js} +13 -13
  93. package/dist/chunks/{job-1fjxzwkh.js → state-9jnamvjf.js} +27 -27
  94. package/dist/chunks/{job-jc02vnth.js → state-9yth8x6d.js} +18 -18
  95. package/dist/chunks/{job-5c4hm403.js → state-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{job-aaet6srn.js → state-aaet6srn.js} +2 -2
  97. package/dist/chunks/{job-dhmh7aw6.js → state-ag4rn41e.js} +4 -4
  98. package/dist/chunks/{job-qbds1c0x.js → state-agndh9mm.js} +3 -3
  99. package/dist/chunks/{job-6ksr27c4.js → state-awmfrrxt.js} +15 -15
  100. package/dist/chunks/{job-77ry477k.js → state-ays70j4r.js} +30 -30
  101. package/dist/chunks/{job-483bcsj8.js → state-azk23wr2.js} +9 -9
  102. package/dist/chunks/{job-h1frrkv0.js → state-b1bqv7zk.js} +24 -24
  103. package/dist/chunks/{job-qk5tp4kc.js → state-b1qcv6s7.js} +36 -36
  104. package/dist/chunks/{job-htveh2m9.js → state-b2vqmjat.js} +1 -1
  105. package/dist/chunks/{job-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{job-msq0jde0.js → state-bccb6npm.js} +4 -4
  107. package/dist/chunks/{job-k070sa49.js → state-bgmc37vk.js} +298 -298
  108. package/dist/chunks/{job-jzy4mkh2.js → state-bjmdedkt.js} +9 -9
  109. package/dist/chunks/{job-wpqm8tgx.js → state-bz250d8h.js} +15 -15
  110. package/dist/chunks/{job-e9gb6pdy.js → state-bz97kxjr.js} +6 -6
  111. package/dist/chunks/state-c54z827e.js +247 -0
  112. package/dist/chunks/{job-m0jqrx5p.js → state-cfpkc3c9.js} +2 -2
  113. package/dist/chunks/{job-nvn8ehym.js → state-cq37gk0t.js} +4 -4
  114. package/dist/chunks/{job-a8hcp5ng.js → state-csx0xmef.js} +18 -18
  115. package/dist/chunks/{job-gd7fndfc.js → state-cwd529yg.js} +50 -50
  116. package/dist/chunks/{job-af0peg3t.js → state-cz2f50e6.js} +23 -23
  117. package/dist/chunks/{job-qjgw82pv.js → state-czcnay43.js} +33 -33
  118. package/dist/chunks/{job-jwx4y25k.js → state-d09006c3.js} +9 -9
  119. package/dist/chunks/{job-hwbs7xck.js → state-d0j044cp.js} +43 -43
  120. package/dist/chunks/{job-hkfg6fzm.js → state-d2aac7k2.js} +5 -5
  121. package/dist/chunks/{job-9mrxmr8h.js → state-d3tbzqxc.js} +18 -18
  122. package/dist/chunks/{job-2evyaa68.js → state-d8nc1xcx.js} +4 -4
  123. package/dist/chunks/{job-j1ydb14k.js → state-daf1qynx.js} +27 -27
  124. package/dist/chunks/{job-v5w9803s.js → state-ddx3tg71.js} +8 -8
  125. package/dist/chunks/{job-223d1qz3.js → state-dexh071n.js} +33 -33
  126. package/dist/chunks/{job-2vtsxqdn.js → state-dfem2sdx.js} +2 -2
  127. package/dist/chunks/{job-y71avatq.js → state-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{job-61mnds12.js → state-drtnac5g.js} +5 -5
  129. package/dist/chunks/{job-4jegdd7h.js → state-dsn4nv59.js} +11 -11
  130. package/dist/chunks/{job-5fesm737.js → state-dw22x083.js} +172 -172
  131. package/dist/chunks/{job-39s66enp.js → state-dwepz7tb.js} +12 -12
  132. package/dist/chunks/{job-fteascj8.js → state-dwmj5nv1.js} +4 -4
  133. package/dist/chunks/{job-5cyrhyve.js → state-e3wbf25j.js} +9 -9
  134. package/dist/chunks/{job-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
  135. package/dist/chunks/{job-r56v5vzb.js → state-ea29dqtj.js} +22 -22
  136. package/dist/chunks/{job-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{job-1acjjqhc.js → state-f2n192rq.js} +4 -4
  138. package/dist/chunks/{job-05znt9a9.js → state-f76jjjy7.js} +17 -17
  139. package/dist/chunks/{job-hdnk95c8.js → state-f828m53h.js} +2 -2
  140. package/dist/chunks/{job-tqjwy6mf.js → state-fkd2ewj5.js} +12 -12
  141. package/dist/chunks/{job-85wb28z4.js → state-fm9p4f6k.js} +4 -4
  142. package/dist/chunks/{job-2wyjv582.js → state-frwpyczr.js} +4 -4
  143. package/dist/chunks/{job-xs8d25ev.js → state-fwqtep5n.js} +11 -11
  144. package/dist/chunks/{job-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{job-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{job-zmwpq63m.js → state-gezceyq7.js} +14 -14
  147. package/dist/chunks/{job-vm7fznsz.js → state-ghbh3tzz.js} +29 -29
  148. package/dist/chunks/{job-4hc1kxpa.js → state-gp1cy6hf.js} +10 -10
  149. package/dist/chunks/{job-w5rgr3ed.js → state-gqazmv2c.js} +9 -9
  150. package/dist/chunks/{job-xwdfg3dx.js → state-gqrsst1j.js} +5 -5
  151. package/dist/chunks/{job-bcxexh6n.js → state-gtdtpweg.js} +22 -22
  152. package/dist/chunks/{job-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{job-w63wt874.js → state-gy2qaxq4.js} +50 -50
  154. package/dist/chunks/{job-h03wrkyp.js → state-h03wrkyp.js} +2 -2
  155. package/dist/chunks/state-h47he10w.js +4 -0
  156. package/dist/chunks/{job-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{job-s3287qar.js → state-h93d5vc1.js} +37 -37
  158. package/dist/chunks/{job-4z62xtfw.js → state-hrtt5x04.js} +25 -25
  159. package/dist/chunks/{job-e2535fdq.js → state-hzm9egg4.js} +11 -11
  160. package/dist/chunks/{job-j56e64zr.js → state-j56e64zr.js} +1 -1
  161. package/dist/chunks/{job-fe1tayzh.js → state-j7hrck8q.js} +17 -17
  162. package/dist/chunks/{job-paphc93g.js → state-j935v87r.js} +2 -2
  163. package/dist/chunks/{job-42c662mh.js → state-jajsdnd6.js} +6 -6
  164. package/dist/chunks/{job-r863235s.js → state-jdzvy3yq.js} +17 -17
  165. package/dist/chunks/{job-agy1jr6g.js → state-jgar8g47.js} +32 -32
  166. package/dist/chunks/{job-0rkcyjmh.js → state-jk1nvzjp.js} +15 -15
  167. package/dist/chunks/{job-x3nm3630.js → state-jkhk5v10.js} +16 -16
  168. package/dist/chunks/{job-t96gcqea.js → state-js4jadbf.js} +4 -4
  169. package/dist/chunks/{job-6m8cgtnn.js → state-kb4h31ft.js} +59 -59
  170. package/dist/chunks/{job-t0wy8e3x.js → state-kez3kbfw.js} +37 -37
  171. package/dist/chunks/{job-kg06axw8.js → state-kg06axw8.js} +1 -1
  172. package/dist/chunks/{job-b5hzpkv8.js → state-kjmahcfy.js} +22 -22
  173. package/dist/chunks/{job-e99y237x.js → state-ks9k8xvt.js} +11 -11
  174. package/dist/chunks/{job-zsh8a2sh.js → state-m370rjbg.js} +23 -23
  175. package/dist/chunks/{job-8tq8zswb.js → state-m6v0m1sd.js} +30 -30
  176. package/dist/chunks/{job-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{job-sbvbgwj3.js → state-mcqvnant.js} +24 -24
  178. package/dist/chunks/{job-t7wpzaak.js → state-mdzsfjay.js} +21 -21
  179. package/dist/chunks/{job-wvdszsq1.js → state-mjmpm5gf.js} +43 -43
  180. package/dist/chunks/{job-qcqr6c42.js → state-mkgf31e5.js} +4 -4
  181. package/dist/chunks/{job-y8p3zjbc.js → state-mvfdckk2.js} +4 -4
  182. package/dist/chunks/{job-8pccszvy.js → state-mwjh8pk4.js} +10 -10
  183. package/dist/chunks/{job-ykw20yhg.js → state-mwyv3scv.js} +23 -23
  184. package/dist/chunks/state-my545s4e.js +22 -0
  185. package/dist/chunks/{job-zecnhp4y.js → state-n36sd619.js} +47 -47
  186. package/dist/chunks/{job-p69wsv11.js → state-n78mb8y2.js} +13 -13
  187. package/dist/chunks/{job-bscb95cy.js → state-n8c291r7.js} +6 -6
  188. package/dist/chunks/{job-rs9dtcm6.js → state-nhf2dmd1.js} +24 -24
  189. package/dist/chunks/{job-d16qd7aj.js → state-nng2ktcm.js} +2 -2
  190. package/dist/chunks/{job-e23dc7d8.js → state-nrs119em.js} +17 -17
  191. package/dist/chunks/{job-s8afmmt2.js → state-nyp6vdzn.js} +17 -17
  192. package/dist/chunks/{job-h3376zec.js → state-nztktr68.js} +10 -10
  193. package/dist/chunks/{job-62kn995j.js → state-p1pqv18t.js} +13 -13
  194. package/dist/chunks/{job-w4dt659t.js → state-pd4btrn7.js} +1 -1
  195. package/dist/chunks/{job-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{job-pknna89w.js → state-pknna89w.js} +1 -1
  197. package/dist/chunks/{job-fgzdzk1h.js → state-pmy40cdq.js} +31 -31
  198. package/dist/chunks/{job-hezdnza5.js → state-q1ayw5n1.js} +10 -10
  199. package/dist/chunks/{job-9ywjwkc3.js → state-q82h00rj.js} +46 -46
  200. package/dist/chunks/{job-xgte56ee.js → state-q85bd21y.js} +27 -27
  201. package/dist/chunks/{job-qjnctwjf.js → state-qfbccd5t.js} +5 -5
  202. package/dist/chunks/{job-jf27y05g.js → state-qjc5s0tw.js} +16 -16
  203. package/dist/chunks/{job-rhx683sy.js → state-qqtwvk4z.js} +6 -6
  204. package/dist/chunks/{job-qsdy395h.js → state-qsdy395h.js} +1 -1
  205. package/dist/chunks/{job-xdw78xdg.js → state-qtkzm0vp.js} +8 -8
  206. package/dist/chunks/{job-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
  207. package/dist/chunks/{job-r9mregkx.js → state-r9mregkx.js} +2 -2
  208. package/dist/chunks/{job-fdv30zvt.js → state-ratrq7cm.js} +7 -7
  209. package/dist/chunks/{job-09wpk6vq.js → state-rf90sz53.js} +4 -4
  210. package/dist/chunks/{job-qzb9gbxh.js → state-rgadkmpr.js} +37 -37
  211. package/dist/chunks/{job-4w1yen7k.js → state-rgqj86dy.js} +42 -42
  212. package/dist/chunks/{job-athype10.js → state-rhjbct0v.js} +8 -8
  213. package/dist/chunks/{job-81swgkk7.js → state-rk0rec3h.js} +9 -9
  214. package/dist/chunks/{job-yrznvahk.js → state-s4enseaf.js} +2 -2
  215. package/dist/chunks/{job-b7v4cx43.js → state-s857ash9.js} +5 -5
  216. package/dist/chunks/{job-7msm4rwz.js → state-s9x7wzdz.js} +16 -16
  217. package/dist/chunks/{job-efs7hy0y.js → state-sbsepnww.js} +14 -14
  218. package/dist/chunks/{job-gx6t3jfd.js → state-sbv6zvrh.js} +43 -43
  219. package/dist/chunks/{job-z5tggqpm.js → state-sc497s7j.js} +3 -3
  220. package/dist/chunks/{job-26x13ny0.js → state-seh8ndws.js} +11 -11
  221. package/dist/chunks/{job-t3g6f9dq.js → state-semaaj5d.js} +17 -17
  222. package/dist/chunks/{job-cfx5nnhv.js → state-sjr35f5n.js} +18 -18
  223. package/dist/chunks/{job-2yhcctmw.js → state-sndc8avh.js} +23 -23
  224. package/dist/chunks/{job-eg1ta683.js → state-sr06zkx8.js} +26 -26
  225. package/dist/chunks/{job-vbj8td05.js → state-sshbytzt.js} +59 -59
  226. package/dist/chunks/{job-ws5qfxv9.js → state-sygp3w95.js} +9 -9
  227. package/dist/chunks/{job-fjmrr6sh.js → state-t0x5rdq8.js} +9 -9
  228. package/dist/chunks/{job-8awsthtr.js → state-t1pxv65t.js} +5 -5
  229. package/dist/chunks/{job-p33ejz0k.js → state-t23qze4t.js} +1 -1
  230. package/dist/chunks/{job-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{job-89znhe33.js → state-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{job-tdstcens.js → state-tdstcens.js} +1 -1
  233. package/dist/chunks/{job-tvtrv512.js → state-tvtrv512.js} +1 -1
  234. package/dist/chunks/{job-jgd9689z.js → state-txxgpxvq.js} +6 -6
  235. package/dist/chunks/{job-bbqjtvjt.js → state-tz09nfgs.js} +86 -86
  236. package/dist/chunks/{job-2ye9hrzq.js → state-v0q79tc7.js} +11 -11
  237. package/dist/chunks/{job-6dpf0sr6.js → state-v6697qd3.js} +11 -11
  238. package/dist/chunks/{job-qjqwssjd.js → state-v7vg1ys9.js} +7 -7
  239. package/dist/chunks/{job-61k5jphj.js → state-v8fxnnqy.js} +18 -18
  240. package/dist/chunks/{job-pe5bkq7z.js → state-vahdp9z8.js} +30 -30
  241. package/dist/chunks/{job-57spzpgt.js → state-vb1kjdsx.js} +23 -23
  242. package/dist/chunks/{job-4yqpz7cw.js → state-ven90c16.js} +23 -23
  243. package/dist/chunks/{job-veqvce7d.js → state-veqvce7d.js} +1 -1
  244. package/dist/chunks/{job-va3rkdfa.js → state-vmkrf3gm.js} +34 -34
  245. package/dist/chunks/{job-e6hmchc5.js → state-vmq7ehpy.js} +5 -5
  246. package/dist/chunks/state-vnkjks7b.js +18 -0
  247. package/dist/chunks/{job-gjjtys5r.js → state-vt73cr5y.js} +32 -32
  248. package/dist/chunks/{job-89yh578v.js → state-vtzq9px0.js} +9 -9
  249. package/dist/chunks/{job-dfdvek0b.js → state-vv4zqvpf.js} +28 -28
  250. package/dist/chunks/{job-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{job-89wjbkgr.js → state-w1sbw24p.js} +32 -32
  252. package/dist/chunks/{job-a880hm1k.js → state-w3thrybb.js} +77 -77
  253. package/dist/chunks/{job-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{job-wbe59x29.js → state-w6pwrz03.js} +16 -16
  255. package/dist/chunks/{job-j9eftr55.js → state-w9m3yqhf.js} +6 -6
  256. package/dist/chunks/{job-wd87259q.js → state-wd87259q.js} +1 -1
  257. package/dist/chunks/{job-dwv6k166.js → state-wgpywka8.js} +28 -28
  258. package/dist/chunks/{job-v8jfbz3g.js → state-wmnxc830.js} +6 -6
  259. package/dist/chunks/{job-mth96381.js → state-wqgnyshj.js} +1 -1
  260. package/dist/chunks/{job-2jf2j74m.js → state-wsyr7wz2.js} +19 -19
  261. package/dist/chunks/{job-kwn7s3xs.js → state-ww2wa7se.js} +28 -28
  262. package/dist/chunks/{job-wh2dv1v9.js → state-wyxd6c79.js} +35 -35
  263. package/dist/chunks/{job-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{job-2hbyh6nn.js → state-x1rq2d5e.js} +15 -15
  265. package/dist/chunks/{job-4v6fnmv6.js → state-x3cpe7dn.js} +11 -11
  266. package/dist/chunks/{job-50bdtw13.js → state-x58wvrnc.js} +10 -10
  267. package/dist/chunks/{job-n5pt8tbc.js → state-x6fpxd14.js} +13 -13
  268. package/dist/chunks/{job-53d4v5pk.js → state-xc0y5txa.js} +1 -1
  269. package/dist/chunks/{job-rasx6tva.js → state-xnqxh1k4.js} +6 -6
  270. package/dist/chunks/{job-z9mc2c5r.js → state-xvssc1kt.js} +11 -11
  271. package/dist/chunks/{job-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{job-470v6bvq.js → state-y38bkm5v.js} +28 -28
  273. package/dist/chunks/{job-q1wsye3c.js → state-y6fqbdb6.js} +2 -2
  274. package/dist/chunks/{job-9edb9jbp.js → state-y8swrd1p.js} +17 -17
  275. package/dist/chunks/{job-4dmhzvqh.js → state-y8w077mg.js} +24 -24
  276. package/dist/chunks/{job-bxw8ngxp.js → state-yfdtkgec.js} +5 -5
  277. package/dist/chunks/{job-tpj9kemf.js → state-yjy17zka.js} +6 -6
  278. package/dist/chunks/{job-fegsmc0t.js → state-ym3mvm7f.js} +25 -25
  279. package/dist/chunks/{job-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{job-fwr4kp6g.js → state-ysz0c65e.js} +11 -11
  281. package/dist/chunks/{job-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{job-kb49dwdy.js → state-z6cnzstw.js} +9 -9
  283. package/dist/chunks/{job-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{job-ejsrqr7m.js → state-zgew93s5.js} +4 -4
  285. package/dist/chunks/{job-2j14t725.js → state-zjcnng30.js} +25 -25
  286. package/dist/chunks/{job-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{job-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +89 -89
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +99 -99
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +94 -94
  429. package/dist/git.js +7 -7
  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 +3 -3
  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/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +87 -87
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +102 -102
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +85 -85
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  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 +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +225 -225
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +86 -86
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +83 -83
  560. package/dist/reference.js +87 -87
  561. package/dist/repository-cache.js +77 -77
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +92 -92
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +130 -130
  569. package/dist/session/context.js +144 -144
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +74 -74
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +83 -83
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -226
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +120 -120
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +168 -168
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -74
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +150 -150
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +219 -219
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +212 -212
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +134 -134
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +99 -99
  622. package/dist/skill.js +106 -106
  623. package/dist/snapshot.js +87 -87
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +118 -118
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -121
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +116 -116
  634. package/dist/tool/plugin/question.js +99 -99
  635. package/dist/tool/plugin/read.js +120 -120
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +107 -107
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +108 -108
  640. package/dist/tool/plugin/websearch.js +104 -104
  641. package/dist/tool/plugin/write.js +116 -116
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +11 -11
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +5 -5
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +86 -86
  673. package/dist/websearch.js +83 -83
  674. package/dist/wellknown/plugin.js +75 -75
  675. package/dist/wellknown.js +80 -80
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +79 -79
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +92 -92
  684. package/package.json +8 -8
  685. package/dist/chunks/job-0mesazry.js +0 -4
  686. package/dist/chunks/job-2d79k4yp.js +0 -247
  687. package/dist/chunks/job-45th5jwr.js +0 -18
  688. package/dist/chunks/job-pa9n1am2.js +0 -22
  689. /package/dist/chunks/{job-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{job-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{job-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{job-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{job-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{job-2710q6r3.js → state-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{job-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{job-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{job-359p4xyc.js → state-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{job-3asan66x.js → state-3asan66x.js} +0 -0
  699. /package/dist/chunks/{job-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{job-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{job-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{job-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{job-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{job-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{job-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{job-53557ph1.js → state-53557ph1.js} +0 -0
  707. /package/dist/chunks/{job-550bvhaj.js → state-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{job-6prwharc.js → state-6prwharc.js} +0 -0
  709. /package/dist/chunks/{job-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{job-7m9af43g.js → state-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{job-822emrt2.js → state-822emrt2.js} +0 -0
  712. /package/dist/chunks/{job-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{job-8n3pysct.js → state-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{job-922hggd3.js → state-922hggd3.js} +0 -0
  715. /package/dist/chunks/{job-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{job-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{job-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{job-af5trqkr.js → state-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{job-afrmfg78.js → state-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{job-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{job-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{job-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{job-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{job-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{job-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{job-d9fn303g.js → state-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{job-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{job-dajrwvna.js → state-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{job-dap0rakb.js → state-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{job-df08tz66.js → state-df08tz66.js} +0 -0
  731. /package/dist/chunks/{job-dy18nga0.js → state-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{job-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{job-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{job-ec1grn59.js → state-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{job-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{job-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{job-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{job-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{job-faypxj3z.js → state-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{job-fd410y7t.js → state-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{job-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{job-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{job-g86h250q.js → state-g86h250q.js} +0 -0
  744. /package/dist/chunks/{job-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{job-gftt206x.js → state-gftt206x.js} +0 -0
  746. /package/dist/chunks/{job-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{job-hk9envan.js → state-hk9envan.js} +0 -0
  748. /package/dist/chunks/{job-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{job-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{job-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{job-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{job-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{job-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{job-mp448xyj.js → state-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{job-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{job-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{job-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{job-njntx4h6.js → state-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{job-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{job-q74kybfr.js → state-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{job-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{job-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{job-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{job-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{job-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{job-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{job-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{job-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{job-twg0f83k.js → state-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{job-w803qqfp.js → state-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{job-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{job-wtztk69x.js → state-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{job-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{job-x61499pn.js → state-x61499pn.js} +0 -0
  775. /package/dist/chunks/{job-y44na4kk.js → state-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{job-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{job-y8f7s663.js → state-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{job-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{job-ym463w8f.js → state-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{job-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info26
5
- } from "./job-rasx6tva.js";
4
+ Info32
5
+ } from "./state-xnqxh1k4.js";
6
6
  import {
7
- Info23
8
- } from "./job-nep8tjkt.js";
7
+ Info31
8
+ } from "./state-0kcg9p5c.js";
9
9
  import {
10
- Service78,
11
- node83
12
- } from "./job-wbe59x29.js";
10
+ Service79,
11
+ node84
12
+ } from "./state-w6pwrz03.js";
13
13
  import {
14
14
  create3
15
- } from "./job-kg06axw8.js";
15
+ } from "./state-kg06axw8.js";
16
16
  import {
17
- ID7,
18
- Service53,
19
- node56
20
- } from "./job-53f31axm.js";
17
+ ID14,
18
+ Service76,
19
+ node81
20
+ } from "./state-395j3mj5.js";
21
21
  import {
22
22
  __export
23
- } from "./job-9rqn6x4v.js";
23
+ } from "./state-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event12,
30
- Service: () => Service51,
31
- node: () => node54
29
+ Event: () => Event17,
30
+ Service: () => Service75,
31
+ node: () => node80
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event12 } from "@opencode/schema/catalog";
36
+ import { Event as Event17 } from "@opencode/schema/catalog";
37
37
 
38
- class Service51 extends Context.Service()("@opencode/Catalog") {
38
+ class Service75 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service51, Effect.gen(function* () {
41
- const bus = yield* Service78;
42
- const integrations = yield* Service53;
40
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
41
+ const bus = yield* Service79;
42
+ const integrations = yield* Service76;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info26.empty(providerID),
76
+ provider: Info32.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info26.empty(providerID),
94
+ provider: Info32.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info31.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
130
130
  }),
131
131
  available: Effect.fn("Catalog.provider.available")(function* () {
132
132
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
133
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID14.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service51.of(result);
188
+ return Service75.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node54 = makeLocationNode({ service: Service51, layer, deps: [node83, node56] });
191
+ var node80 = makeLocationNode({ service: Service75, layer, deps: [node84, node81] });
192
192
 
193
- export { Service51, node54, exports_catalog2, Event12 };
193
+ export { Service75, node80, exports_catalog2, Event17 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service49,
10
- node: () => node52
9
+ Service: () => Service32,
10
+ node: () => node35
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service49 extends Context.Service()("@opencode/Instance") {
16
+ class Service32 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node52 = LayerNode.unbound(Service49, Node.tags.values.global);
18
+ var node35 = LayerNode.unbound(Service32, Node.tags.values.global);
19
19
 
20
- export { Service49, node52, exports_service2 };
20
+ export { Service32, node35, exports_service2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./job-rasx6tva.js";
4
+ } from "./state-xnqxh1k4.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service75,
3
- node80
4
- } from "./job-05znt9a9.js";
2
+ Service72,
3
+ node77
4
+ } from "./state-f76jjjy7.js";
5
5
  import {
6
- Key4,
7
- make18,
6
+ Key3,
7
+ make20,
8
8
  combine2
9
- } from "./job-athype10.js";
9
+ } from "./state-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./job-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service26,
19
- node: () => node30
18
+ Service: () => Service18,
19
+ node: () => node22
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service18 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service26, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service75;
29
- return Service26.of({
28
+ const location = yield* Service72;
29
+ return Service18.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make18({
32
- key: Key4.make("core/environment"),
31
+ make20({
32
+ key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make18({
53
- key: Key4.make("core/date"),
52
+ make20({
53
+ key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node30 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node80] });
64
+ var node22 = makeLocationNode({ service: Service18, layer, deps: [Global.node, node77] });
65
65
 
66
- export { Service26, node30, exports_builtins };
66
+ export { Service18, node22, exports_builtins };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID12,
3
- Service58
4
- } from "./job-xgte56ee.js";
2
+ ID8,
3
+ Service47
4
+ } from "./state-q85bd21y.js";
5
5
  import {
6
- Service75
7
- } from "./job-05znt9a9.js";
6
+ Service72
7
+ } from "./state-f76jjjy7.js";
8
8
  import {
9
- Service37
10
- } from "./job-4vda8ndh.js";
9
+ Service64
10
+ } from "./state-8dx2amnv.js";
11
11
  import {
12
- Service31,
12
+ Service71,
13
13
  args2
14
- } from "./job-t7wpzaak.js";
14
+ } from "./state-mdzsfjay.js";
15
15
  import {
16
- Service16
17
- } from "./job-bbqjtvjt.js";
16
+ Service15
17
+ } from "./state-tz09nfgs.js";
18
18
  import {
19
- make9
20
- } from "./job-fwr4kp6g.js";
19
+ make6
20
+ } from "./state-ysz0c65e.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./job-5daktx2q.js";
23
+ } from "./state-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./job-9rqn6x4v.js";
26
+ } from "./state-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin30
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin19
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin30 = define({
44
+ var Plugin19 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service37;
47
+ const config = yield* Service64;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin30 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service75;
57
+ const location = yield* Service72;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service31;
60
- const sessions = yield* Service16;
61
- const agents = yield* Service58;
62
- const subagents = yield* make9;
59
+ const shell = yield* Service71;
60
+ const sessions = yield* Service15;
61
+ const agents = yield* Service47;
62
+ const subagents = yield* make6;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin30 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin30, exports_command2 };
207
+ export { Plugin19, exports_command };
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./state-8qt13rrk.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./job-7w0m1cr7.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./job-wbe59x29.js";
8
+ } from "./state-w6pwrz03.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./job-pknna89w.js";
11
+ } from "./state-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./job-0q0f95c6.js";
14
+ } from "./state-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./job-9rqn6x4v.js";
17
+ } from "./state-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event14,
24
- ID: () => ID8,
25
- Info: () => Info20,
26
- Key: () => Key3,
23
+ Event: () => Event20,
24
+ ID: () => ID18,
25
+ Info: () => Info33,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service54,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node57
30
+ node: () => node83
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID8 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event14 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info20 extends Schema.Class("Credential.Info")({
44
- id: ID8,
43
+ class Info33 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service54 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service54, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info20({
60
+ return new Info33({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service54.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info20({
80
- id: ID8.create(),
79
+ const credential = new Info33({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event14.Updated, {}, { global: true });
105
- yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event14.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event14.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node57 = makeGlobalNode({ service: Service54, layer, deps: [node84, node83] });
196
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
197
197
 
198
- export { ID8, OAuth3, Key3, Value2, Event14, Info20, Service54, node57, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./job-e2535fdq.js";
3
+ } from "./state-hzm9egg4.js";
4
4
  import {
5
- Service78
6
- } from "./job-wbe59x29.js";
5
+ Service79
6
+ } from "./state-w6pwrz03.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./job-wh2dv1v9.js";
9
+ Event20
10
+ } from "./state-wyxd6c79.js";
11
11
  import {
12
- ID7,
12
+ ID14,
13
13
  MethodID2
14
- } from "./job-53f31axm.js";
14
+ } from "./state-395j3mj5.js";
15
15
  import {
16
- ID13
17
- } from "./job-rasx6tva.js";
16
+ ID17
17
+ } from "./state-xnqxh1k4.js";
18
18
  import {
19
19
  Family2
20
- } from "./job-nep8tjkt.js";
20
+ } from "./state-0kcg9p5c.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./job-pjvnvgmy.js";
23
+ } from "./state-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID13.make("digitalocean");
30
- var integrationID = ID7.make("digitalocean");
29
+ var providerID = ID17.make("digitalocean");
30
+ var integrationID = ID14.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -115,7 +115,7 @@ var oauth = {
115
115
  var DigitalOceanPlugin2 = define({
116
116
  id: "opencode.provider.digitalocean",
117
117
  effect: Effect.fn(function* (ctx) {
118
- const bus = yield* Service78;
118
+ const bus = yield* Service79;
119
119
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
120
120
  const loading = Semaphore.makeUnsafe(1);
121
121
  const loaded = { routers: [] };
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service37
4
- } from "./job-4vda8ndh.js";
3
+ Service64
4
+ } from "./state-8dx2amnv.js";
5
5
  import {
6
- Service80
7
- } from "./job-tqjwy6mf.js";
6
+ Service63
7
+ } from "./state-fkd2ewj5.js";
8
8
  import {
9
9
  observe2
10
- } from "./job-qsdy395h.js";
10
+ } from "./state-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./job-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin26
19
+ Plugin: () => Plugin15
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin26 = define({
23
+ var Plugin15 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service37;
27
- const output = yield* Service80;
26
+ const config = yield* Service64;
27
+ const output = yield* Service63;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin26 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin26, exports_tool_output };
41
+ export { Plugin15, exports_tool_output };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./job-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
- Service75
6
- } from "./job-05znt9a9.js";
5
+ Service72
6
+ } from "./state-f76jjjy7.js";
7
7
  import {
8
8
  __export
9
- } from "./job-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3
16
+ names: () => names4
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names3 = ["opencode.json", "opencode.jsonc"];
22
+ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service75;
26
+ const location = yield* Service72;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names3, discover3, exports_discovery2 };
59
+ export { names4, discover3, exports_discovery2 };