@opencode/core 0.0.0-dev-19961 → 0.0.0-dev-19962

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{tool-b92hwcrq.js → app-00hgdb0m.js} +28 -28
  8. package/dist/chunks/{tool-rhjbct0v.js → app-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{tool-xq2w2bqm.js → app-04ewta5r.js} +16 -16
  10. package/dist/chunks/{tool-pd7bzezz.js → app-0dxkcwkq.js} +16 -16
  11. package/dist/chunks/{tool-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{tool-26aezvr0.js → app-0pw4vw5f.js} +4 -4
  13. package/dist/chunks/{tool-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{tool-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{tool-06dxphr1.js → app-1hc11dc4.js} +4 -4
  16. package/dist/chunks/{tool-p8bq92d1.js → app-1neascwm.js} +28 -28
  17. package/dist/chunks/{tool-s5zt3m1z.js → app-1qf1fr1q.js} +12 -12
  18. package/dist/chunks/{tool-9dnsb0hw.js → app-1v1y3h46.js} +14 -14
  19. package/dist/chunks/{tool-21r38tys.js → app-21r38tys.js} +1 -1
  20. package/dist/chunks/{tool-5zc6skgb.js → app-22yappzv.js} +12 -12
  21. package/dist/chunks/{tool-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{tool-2hsfmsjg.js → app-2akn3e7d.js} +18 -18
  23. package/dist/chunks/{tool-0dzbpygc.js → app-2jw0gqmb.js} +24 -24
  24. package/dist/chunks/{tool-bz85s9hh.js → app-2jz473v5.js} +1 -1
  25. package/dist/chunks/{tool-2k8khapm.js → app-2k8khapm.js} +1 -1
  26. package/dist/chunks/{tool-q65dfppr.js → app-33e6e908.js} +32 -32
  27. package/dist/chunks/{tool-w0by17jr.js → app-35p3x5j5.js} +21 -21
  28. package/dist/chunks/{tool-3cwbe53h.js → app-36nehvj7.js} +31 -31
  29. package/dist/chunks/{tool-fp9zptb1.js → app-36yjffmn.js} +39 -39
  30. package/dist/chunks/{tool-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{tool-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{tool-eys57y9b.js → app-3hfr6h8q.js} +8 -8
  33. package/dist/chunks/{tool-321x2wtd.js → app-3ppptnan.js} +6 -6
  34. package/dist/chunks/{tool-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{tool-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{tool-p8gjgk5f.js → app-3vg5q0hm.js} +20 -20
  37. package/dist/chunks/{tool-952y256t.js → app-47bcapsc.js} +10 -10
  38. package/dist/chunks/{tool-as54p17p.js → app-49xh4knz.js} +30 -30
  39. package/dist/chunks/{tool-483vxbq6.js → app-4demphjr.js} +6 -6
  40. package/dist/chunks/{tool-2q12e7yc.js → app-4hrvdzte.js} +1 -1
  41. package/dist/chunks/{tool-r9w3djhf.js → app-4nj4bn9q.js} +9 -9
  42. package/dist/chunks/{tool-p2vw6waa.js → app-4s22ks3b.js} +5 -5
  43. package/dist/chunks/app-4v7qdvcn.js +18 -0
  44. package/dist/chunks/{tool-0mw5jzcs.js → app-4zevm03n.js} +3 -3
  45. package/dist/chunks/{tool-7w99qc9d.js → app-539jk4fq.js} +3 -3
  46. package/dist/chunks/{tool-cf04bqj1.js → app-54vj2jfs.js} +6 -6
  47. package/dist/chunks/{tool-2d46v4jb.js → app-56xvr3m5.js} +11 -11
  48. package/dist/chunks/{tool-223h8e4b.js → app-580xytsw.js} +27 -27
  49. package/dist/chunks/{tool-2qez6wf9.js → app-5ax4qnhd.js} +15 -15
  50. package/dist/chunks/{tool-5daktx2q.js → app-5daktx2q.js} +1 -1
  51. package/dist/chunks/{tool-pyd82k98.js → app-5qkjszbf.js} +5 -5
  52. package/dist/chunks/{tool-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{tool-356sz14e.js → app-62snwjy6.js} +12 -12
  54. package/dist/chunks/{tool-669tq793.js → app-669tq793.js} +1 -1
  55. package/dist/chunks/{tool-h04cqsq0.js → app-69j91c1q.js} +8 -8
  56. package/dist/chunks/{tool-gns1g86j.js → app-6bnhs0t6.js} +15 -15
  57. package/dist/chunks/{tool-2402vzrj.js → app-6h73sxmp.js} +5 -5
  58. package/dist/chunks/app-6kdq0pjd.js +4 -0
  59. package/dist/chunks/{tool-rs2j7e68.js → app-6m2en2x4.js} +49 -49
  60. package/dist/chunks/{tool-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{tool-pz9ad17p.js → app-6qw3sa0y.js} +5 -5
  62. package/dist/chunks/{tool-96y5k2e2.js → app-6vtqbgbq.js} +33 -33
  63. package/dist/chunks/{tool-hs2gas49.js → app-6y2h1b0z.js} +11 -11
  64. package/dist/chunks/{tool-10jtetaj.js → app-6zz0jjar.js} +4 -4
  65. package/dist/chunks/{tool-pnbm2g53.js → app-74183p9e.js} +30 -30
  66. package/dist/chunks/{tool-x38yyj79.js → app-7akjnz43.js} +23 -23
  67. package/dist/chunks/{tool-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{tool-qz02d4gv.js → app-7bv32vg5.js} +9 -9
  69. package/dist/chunks/{tool-052jad2t.js → app-7dghmw1c.js} +46 -46
  70. package/dist/chunks/{tool-0ryd0fps.js → app-84zcxbc9.js} +5 -5
  71. package/dist/chunks/{tool-p2tjmvvm.js → app-87738vnr.js} +14 -14
  72. package/dist/chunks/{tool-a6h4rwtp.js → app-87sq4ns4.js} +30 -30
  73. package/dist/chunks/{tool-63ppx069.js → app-8bp92270.js} +11 -11
  74. package/dist/chunks/{tool-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{tool-dj2t23y0.js → app-8p4f9s12.js} +2 -2
  76. package/dist/chunks/{tool-jkhbgvt8.js → app-8qktnpz7.js} +17 -17
  77. package/dist/chunks/{tool-h6r3nrb9.js → app-8z00fdkb.js} +4 -4
  78. package/dist/chunks/{tool-yqjvyrkg.js → app-92r1w9xd.js} +32 -32
  79. package/dist/chunks/{tool-xgamz1br.js → app-938etnqy.js} +7 -7
  80. package/dist/chunks/{tool-pe8d6tfn.js → app-943e2jvx.js} +21 -21
  81. package/dist/chunks/{tool-jzcaxwhd.js → app-94y6grsq.js} +9 -9
  82. package/dist/chunks/{tool-q7r7q8jv.js → app-95snkdmn.js} +34 -34
  83. package/dist/chunks/{tool-6zd6bfsr.js → app-99ab7et3.js} +3 -3
  84. package/dist/chunks/app-9aknjnhf.js +26 -0
  85. package/dist/chunks/{tool-hkx1eav1.js → app-9dhf40d2.js} +15 -15
  86. package/dist/chunks/{tool-arm62n8x.js → app-9s6rx2cc.js} +46 -46
  87. package/dist/chunks/{tool-v2a3veg8.js → app-9shy6a5e.js} +11 -11
  88. package/dist/chunks/{tool-qmh3qcq0.js → app-9z3vkseh.js} +23 -23
  89. package/dist/chunks/{tool-nqxt4fmg.js → app-a0bp3fsc.js} +10 -10
  90. package/dist/chunks/{tool-5c4hm403.js → app-a1bz86dw.js} +3 -3
  91. package/dist/chunks/{tool-953ef62m.js → app-a82gmppq.js} +15 -15
  92. package/dist/chunks/{tool-cavr175a.js → app-a8bn8zg0.js} +4 -4
  93. package/dist/chunks/{tool-aaet6srn.js → app-aaet6srn.js} +2 -2
  94. package/dist/chunks/{tool-xqsp1avr.js → app-ab3fy251.js} +13 -13
  95. package/dist/chunks/{tool-jyyhzxje.js → app-abyy57qk.js} +11 -11
  96. package/dist/chunks/{tool-zfn6rd9c.js → app-atk4whyf.js} +3 -3
  97. package/dist/chunks/{tool-9mp97stb.js → app-ay076qxp.js} +25 -25
  98. package/dist/chunks/{tool-fadk8h2y.js → app-azbd23ze.js} +11 -11
  99. package/dist/chunks/{tool-pc244188.js → app-b21gbg50.js} +4 -4
  100. package/dist/chunks/{tool-d1nag333.js → app-b5abhfx7.js} +18 -18
  101. package/dist/chunks/{tool-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{tool-6713kt06.js → app-bahb1c52.js} +32 -32
  103. package/dist/chunks/{tool-k9gc50dd.js → app-bcbe83a7.js} +3 -3
  104. package/dist/chunks/{tool-tkg6e3eb.js → app-bfph4vb6.js} +16 -16
  105. package/dist/chunks/{tool-73kdj4zj.js → app-bnmr3cva.js} +8 -8
  106. package/dist/chunks/{tool-4969znen.js → app-br2enyvp.js} +13 -13
  107. package/dist/chunks/{tool-9df2h92x.js → app-bw8p8d0g.js} +35 -35
  108. package/dist/chunks/{tool-wt8p9awf.js → app-bxc0gw8b.js} +24 -24
  109. package/dist/chunks/{tool-tp36e26b.js → app-ca0amnmc.js} +28 -28
  110. package/dist/chunks/{tool-m0jqrx5p.js → app-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{tool-7jqfrm98.js → app-cmgf2jjc.js} +8 -8
  112. package/dist/chunks/{tool-bx4qmb9g.js → app-cr07tj7n.js} +5 -5
  113. package/dist/chunks/{tool-ayj8hn2b.js → app-ct0p4hmk.js} +9 -9
  114. package/dist/chunks/{tool-tvdq5ra2.js → app-ctrfp6k3.js} +44 -44
  115. package/dist/chunks/{tool-ncb7wxzt.js → app-d1yevav1.js} +5 -5
  116. package/dist/chunks/{tool-aeh0dgne.js → app-d8xrcppj.js} +12 -12
  117. package/dist/chunks/{tool-mb4e1d4e.js → app-da3bnvm5.js} +12 -12
  118. package/dist/chunks/{tool-ne9ed71s.js → app-dfns4g3x.js} +4 -4
  119. package/dist/chunks/{tool-h10s6dah.js → app-dhtadd1m.js} +8 -8
  120. package/dist/chunks/{tool-dpkg50ah.js → app-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{tool-qwvthsc1.js → app-dq7bhc1n.js} +9 -9
  122. package/dist/chunks/{tool-jcqz283k.js → app-dqt1anda.js} +30 -30
  123. package/dist/chunks/{tool-drwq78ky.js → app-drwq78ky.js} +1 -1
  124. package/dist/chunks/{tool-dns740p1.js → app-e2zdx18w.js} +11 -11
  125. package/dist/chunks/{tool-w0exn9qd.js → app-e63tarq5.js} +32 -32
  126. package/dist/chunks/{tool-dhj1bndq.js → app-eekxqy1c.js} +29 -29
  127. package/dist/chunks/{tool-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{tool-bv9vpxf1.js → app-egt363yj.js} +12 -12
  129. package/dist/chunks/{tool-4mw75b8e.js → app-er4256hm.js} +20 -20
  130. package/dist/chunks/{tool-erw5rpbs.js → app-erw5rpbs.js} +2 -2
  131. package/dist/chunks/{tool-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{tool-4xbskmpe.js → app-evbgk2k8.js} +5 -5
  133. package/dist/chunks/{tool-wnzj6q9c.js → app-ex8ktbze.js} +8 -8
  134. package/dist/chunks/{tool-v199xdse.js → app-exc1vzys.js} +21 -21
  135. package/dist/chunks/{tool-js4h49s3.js → app-f7y52kxg.js} +43 -43
  136. package/dist/chunks/{tool-hdnk95c8.js → app-f828m53h.js} +2 -2
  137. package/dist/chunks/{tool-v5dkyp31.js → app-fdv30zvt.js} +7 -7
  138. package/dist/chunks/{tool-qvmr90x2.js → app-fe6qwrgk.js} +16 -16
  139. package/dist/chunks/{tool-px76j0pk.js → app-fmcqyzhx.js} +9 -9
  140. package/dist/chunks/{tool-kc4njv9x.js → app-fmf120va.js} +5 -5
  141. package/dist/chunks/{tool-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{tool-evq6r5pz.js → app-fxqygnfa.js} +4 -4
  143. package/dist/chunks/{tool-8b47r7w2.js → app-fz9mh2y2.js} +11 -11
  144. package/dist/chunks/{tool-k0ageqhp.js → app-g3mn8s68.js} +2 -2
  145. package/dist/chunks/{tool-gwcbygb9.js → app-g6pjt58h.js} +21 -21
  146. package/dist/chunks/{tool-sbnjvcyv.js → app-gcn4rvn9.js} +11 -11
  147. package/dist/chunks/{tool-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{tool-2c24r6b8.js → app-gg72wa45.js} +11 -11
  149. package/dist/chunks/{tool-egh78b95.js → app-gk3wjayh.js} +72 -72
  150. package/dist/chunks/{tool-g49j1kpf.js → app-gnnyvzb4.js} +24 -24
  151. package/dist/chunks/{tool-t1835t6e.js → app-grv6h7yp.js} +31 -31
  152. package/dist/chunks/{tool-kkzze73x.js → app-grvh109k.js} +9 -9
  153. package/dist/chunks/{tool-afdssyjb.js → app-gst7axd9.js} +4 -4
  154. package/dist/chunks/{tool-yyb7tjpc.js → app-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{tool-ag7x3tep.js → app-h3vfnnb5.js} +32 -32
  156. package/dist/chunks/{tool-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{tool-8d78w7dx.js → app-hexskcr5.js} +17 -17
  158. package/dist/chunks/{tool-nstzyrqb.js → app-hnc80k8f.js} +32 -32
  159. package/dist/chunks/{tool-zjy3ah92.js → app-hskrzcap.js} +5 -5
  160. package/dist/chunks/{tool-p7g6sxqe.js → app-htkz5b9p.js} +31 -31
  161. package/dist/chunks/{tool-mvfsc1pv.js → app-j028xdjb.js} +3 -3
  162. package/dist/chunks/{tool-5yk85840.js → app-j04nwq7r.js} +22 -22
  163. package/dist/chunks/{tool-9g3bpc12.js → app-j3azhb7z.js} +28 -28
  164. package/dist/chunks/{tool-j56e64zr.js → app-j56e64zr.js} +1 -1
  165. package/dist/chunks/{tool-d9s573fh.js → app-j7zc0ft0.js} +9 -9
  166. package/dist/chunks/{tool-c14p3nf7.js → app-j99nxr5r.js} +44 -44
  167. package/dist/chunks/{tool-cb9s9s15.js → app-jd0ec2vp.js} +30 -30
  168. package/dist/chunks/{tool-bqm56rap.js → app-jmfvx9s5.js} +18 -18
  169. package/dist/chunks/{tool-rtjdhp7j.js → app-jng4by6n.js} +10 -10
  170. package/dist/chunks/{tool-9kw8973d.js → app-jpgzdbsd.js} +8 -8
  171. package/dist/chunks/{tool-ggvw6grp.js → app-k0nqkats.js} +28 -28
  172. package/dist/chunks/{tool-6khsxrsf.js → app-k1e29702.js} +4 -4
  173. package/dist/chunks/{tool-k3c624dm.js → app-k3c624dm.js} +3 -3
  174. package/dist/chunks/{tool-533n7pr6.js → app-k5r9x8j7.js} +47 -47
  175. package/dist/chunks/{tool-5e9skgpm.js → app-k72y7s9z.js} +17 -17
  176. package/dist/chunks/{tool-h2xwsekh.js → app-k807sq0r.js} +15 -15
  177. package/dist/chunks/{tool-kzb7j8ba.js → app-k97cgbvd.js} +10 -10
  178. package/dist/chunks/{tool-n9asgjfy.js → app-kgq2j1px.js} +54 -54
  179. package/dist/chunks/{tool-knb7evpn.js → app-knb7evpn.js} +2 -2
  180. package/dist/chunks/{tool-k9avtbwf.js → app-kv8awt1x.js} +3 -3
  181. package/dist/chunks/{tool-bqszwq89.js → app-kxtwbv1b.js} +6 -6
  182. package/dist/chunks/{tool-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{tool-7mmmgkzb.js → app-m77d5zrr.js} +24 -24
  184. package/dist/chunks/{tool-92gxwggs.js → app-m9hajnka.js} +20 -20
  185. package/dist/chunks/{tool-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{tool-hjj1jfge.js → app-mbkm2fyz.js} +11 -11
  187. package/dist/chunks/{tool-56gdpj1q.js → app-mfqp6xfm.js} +6 -6
  188. package/dist/chunks/{tool-cvqzmya4.js → app-mg9jjtrh.js} +29 -29
  189. package/dist/chunks/{tool-8j0g64bg.js → app-mq83qn8x.js} +22 -22
  190. package/dist/chunks/{tool-dtz9s4b3.js → app-n0pywpq4.js} +6 -6
  191. package/dist/chunks/{tool-1nxe83bq.js → app-n23hd4ap.js} +9 -9
  192. package/dist/chunks/{tool-kkp8zx71.js → app-n2srvep7.js} +4 -4
  193. package/dist/chunks/{tool-27v469nr.js → app-n571wmch.js} +13 -13
  194. package/dist/chunks/{tool-shtf6z8w.js → app-n7egt4g5.js} +5 -5
  195. package/dist/chunks/{tool-ty38hkz0.js → app-n93ehy3t.js} +25 -25
  196. package/dist/chunks/{tool-751d8h98.js → app-nfynv00w.js} +8 -8
  197. package/dist/chunks/app-nkrpwcne.js +252 -0
  198. package/dist/chunks/{tool-69tq260k.js → app-nm1fs8j1.js} +4 -4
  199. package/dist/chunks/{tool-5npp0aqe.js → app-ns11qcmf.js} +12 -12
  200. package/dist/chunks/{tool-j020r4b8.js → app-nzc01whq.js} +18 -18
  201. package/dist/chunks/{tool-dcrzta4z.js → app-p1f9wrr8.js} +29 -29
  202. package/dist/chunks/{tool-6htwetdg.js → app-p53dvdxd.js} +13 -13
  203. package/dist/chunks/{tool-0h7zqhk1.js → app-p5tsmpsj.js} +13 -13
  204. package/dist/chunks/{tool-j15mfg1p.js → app-pjmceen1.js} +4 -4
  205. package/dist/chunks/{tool-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{tool-mb7h37gf.js → app-pjx7q10q.js} +18 -18
  207. package/dist/chunks/{tool-et1rwp1c.js → app-pkmd9pg0.js} +17 -17
  208. package/dist/chunks/{tool-pknna89w.js → app-pknna89w.js} +1 -1
  209. package/dist/chunks/{tool-a771gyms.js → app-pw75v0se.js} +18 -18
  210. package/dist/chunks/{tool-227eqkj4.js → app-pyxgdpbm.js} +31 -31
  211. package/dist/chunks/{tool-207vtrn6.js → app-q46041zc.js} +3 -3
  212. package/dist/chunks/{tool-btasn2qa.js → app-q4aagae2.js} +5 -5
  213. package/dist/chunks/{tool-gk46542b.js → app-qant3epe.js} +11 -11
  214. package/dist/chunks/{tool-kkye0g1c.js → app-qb9bfxht.js} +29 -29
  215. package/dist/chunks/{tool-g1a4gtq5.js → app-qcw5zjkg.js} +24 -24
  216. package/dist/chunks/{tool-mbdx9w3r.js → app-qgcgj089.js} +13 -13
  217. package/dist/chunks/{tool-qsdy395h.js → app-qsdy395h.js} +1 -1
  218. package/dist/chunks/{tool-wrcedmy5.js → app-qyf8ynzm.js} +14 -14
  219. package/dist/chunks/{tool-tr36y7yy.js → app-rd7j0r7s.js} +15 -15
  220. package/dist/chunks/{tool-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{tool-79qaa2kf.js → app-rey5gbxv.js} +9 -9
  222. package/dist/chunks/{tool-7kshtdzt.js → app-rnhtns9m.js} +12 -12
  223. package/dist/chunks/{tool-7ykgbnpc.js → app-rnnfvfmz.js} +5 -5
  224. package/dist/chunks/{tool-h6jr292a.js → app-s0hza5ac.js} +4 -4
  225. package/dist/chunks/{tool-ybw5q8sx.js → app-s197j8aa.js} +1 -1
  226. package/dist/chunks/{tool-ms8h2pfd.js → app-s57j6h06.js} +23 -23
  227. package/dist/chunks/{tool-kwy905ev.js → app-s8r4qnwb.js} +15 -15
  228. package/dist/chunks/{tool-mpqms32c.js → app-saqgrh58.js} +86 -86
  229. package/dist/chunks/{tool-8qdtywy4.js → app-sk19vycr.js} +47 -47
  230. package/dist/chunks/{tool-n36tynep.js → app-spjvwqgk.js} +7 -7
  231. package/dist/chunks/{tool-nt5fy3c2.js → app-svzmgsme.js} +19 -19
  232. package/dist/chunks/{tool-fyjp43ss.js → app-sykc9y4a.js} +5 -5
  233. package/dist/chunks/{tool-6nfxmhqk.js → app-t3m71znj.js} +11 -11
  234. package/dist/chunks/{tool-fwrss4ad.js → app-t9d84gp7.js} +4 -4
  235. package/dist/chunks/{tool-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{tool-p28j5sbe.js → app-tbz0fdvh.js} +5 -5
  237. package/dist/chunks/{tool-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{tool-qxdz2nh0.js → app-tcfe36vw.js} +24 -24
  239. package/dist/chunks/{tool-tdstcens.js → app-tdstcens.js} +1 -1
  240. package/dist/chunks/{tool-96gp88bm.js → app-teqkkx0y.js} +21 -21
  241. package/dist/chunks/{tool-rb4bj52x.js → app-tfm9qqy2.js} +9 -9
  242. package/dist/chunks/{tool-9erckna5.js → app-tk7qtz96.js} +9 -9
  243. package/dist/chunks/{tool-r9ezg2qv.js → app-tkg6wrcp.js} +25 -25
  244. package/dist/chunks/{tool-tvtrv512.js → app-tvtrv512.js} +1 -1
  245. package/dist/chunks/{tool-cxpv6f5j.js → app-tx8s6w99.js} +10 -10
  246. package/dist/chunks/{tool-wfrx59p8.js → app-tyc4kq75.js} +3 -3
  247. package/dist/chunks/{tool-9zrmz628.js → app-v38d2txv.js} +8 -8
  248. package/dist/chunks/{tool-nng2ktcm.js → app-v5j4d43x.js} +2 -2
  249. package/dist/chunks/{tool-veqvce7d.js → app-veqvce7d.js} +1 -1
  250. package/dist/chunks/{tool-62297ddh.js → app-vgn3rvzw.js} +19 -19
  251. package/dist/chunks/{tool-w2zggh9c.js → app-vkhpq047.js} +53 -53
  252. package/dist/chunks/{tool-wm0tnrwj.js → app-vkt5wt51.js} +11 -11
  253. package/dist/chunks/{tool-j2m1k0mf.js → app-vrxtv5kp.js} +3 -3
  254. package/dist/chunks/{tool-wcbhsh5x.js → app-vsvscstt.js} +35 -35
  255. package/dist/chunks/{tool-yrcva06b.js → app-vx2e2qd2.js} +59 -59
  256. package/dist/chunks/{tool-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{tool-f17sp9w8.js → app-w1pfwvrv.js} +35 -35
  258. package/dist/chunks/{tool-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{tool-zf1tr6ve.js → app-w4ggsreb.js} +6 -6
  260. package/dist/chunks/{tool-xhfakj7b.js → app-w9a7bxjv.js} +35 -35
  261. package/dist/chunks/{tool-wd87259q.js → app-wd87259q.js} +1 -1
  262. package/dist/chunks/{tool-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{tool-8tz9mcp0.js → app-xk747vep.js} +9 -9
  264. package/dist/chunks/{tool-ah7j68gv.js → app-xkadcde5.js} +36 -36
  265. package/dist/chunks/{tool-rcs6zvep.js → app-xq2kvd0a.js} +186 -186
  266. package/dist/chunks/{tool-se013gpv.js → app-xsagr3cx.js} +8 -8
  267. package/dist/chunks/{tool-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{tool-mjanay65.js → app-y6h54wc7.js} +27 -27
  269. package/dist/chunks/{tool-anarwj6h.js → app-y7x142mt.js} +5 -5
  270. package/dist/chunks/{tool-9zzv5pgc.js → app-yjptyezs.js} +5 -5
  271. package/dist/chunks/{tool-6yj6tbhz.js → app-ykg38shc.js} +21 -21
  272. package/dist/chunks/{tool-r8xr0va3.js → app-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{tool-6tty3e9h.js → app-yqyqkq2b.js} +4 -4
  274. package/dist/chunks/{tool-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{tool-yrznvahk.js → app-yrznvahk.js} +2 -2
  276. package/dist/chunks/{tool-sa82vsrh.js → app-yv1416d3.js} +16 -16
  277. package/dist/chunks/{tool-0qsq8avf.js → app-ywpb47cp.js} +20 -20
  278. package/dist/chunks/{tool-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{tool-ch0wdc2q.js → app-z0v6s3vd.js} +28 -28
  280. package/dist/chunks/{tool-z63w68vq.js → app-z63w68vq.js} +2 -2
  281. package/dist/chunks/{tool-m3k2zkjm.js → app-z6kv2pk9.js} +8 -8
  282. package/dist/chunks/{tool-rq775frq.js → app-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{tool-crjg2n55.js → app-zjf20deb.js} +331 -331
  284. package/dist/chunks/{tool-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{tool-f3yhmzb7.js → app-zrf3t8cx.js} +19 -19
  286. package/dist/chunks/{tool-vx3ypjf6.js → app-ztv0xwza.js} +23 -23
  287. package/dist/chunks/{tool-p8jkva87.js → app-zvffvgzw.js} +7 -7
  288. package/dist/chunks/{tool-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{tool-8ehm0xb8.js → app-zy1vcdg8.js} +93 -93
  290. package/dist/chunks/{tool-t9zs3egg.js → app-zzabxn0f.js} +4 -4
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +103 -103
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +105 -105
  476. package/dist/mcp/instructions.js +123 -123
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +100 -100
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +112 -112
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +91 -91
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -346
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +93 -93
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +94 -94
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +76 -76
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +111 -111
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +74 -74
  616. package/dist/session/store.js +84 -84
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +222 -222
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +111 -111
  633. package/dist/snapshot.js +88 -88
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +119 -119
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +117 -117
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +120 -120
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +112 -112
  648. package/dist/tool/plugin/subagent.js +216 -216
  649. package/dist/tool/plugin/webfetch.js +105 -105
  650. package/dist/tool/plugin/websearch.js +113 -113
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +3 -3
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +1 -1
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +79 -79
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/tool-1ck0eb67.js +0 -252
  698. package/dist/chunks/tool-70jsskm8.js +0 -18
  699. package/dist/chunks/tool-kt46ze3v.js +0 -26
  700. package/dist/chunks/tool-qapv375x.js +0 -4
  701. /package/dist/chunks/{tool-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{tool-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{tool-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{tool-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{tool-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{tool-24dcb14g.js → app-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{tool-2710q6r3.js → app-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{tool-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{tool-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{tool-359p4xyc.js → app-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{tool-3asan66x.js → app-3asan66x.js} +0 -0
  712. /package/dist/chunks/{tool-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{tool-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{tool-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{tool-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{tool-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{tool-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{tool-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{tool-53557ph1.js → app-53557ph1.js} +0 -0
  720. /package/dist/chunks/{tool-550bvhaj.js → app-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{tool-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{tool-6prwharc.js → app-6prwharc.js} +0 -0
  723. /package/dist/chunks/{tool-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{tool-7m9af43g.js → app-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{tool-822emrt2.js → app-822emrt2.js} +0 -0
  726. /package/dist/chunks/{tool-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{tool-8n3pysct.js → app-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{tool-922hggd3.js → app-922hggd3.js} +0 -0
  729. /package/dist/chunks/{tool-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{tool-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{tool-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{tool-af5trqkr.js → app-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{tool-afrmfg78.js → app-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{tool-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{tool-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{tool-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{tool-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{tool-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{tool-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{tool-d9fn303g.js → app-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{tool-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{tool-dajrwvna.js → app-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{tool-dap0rakb.js → app-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{tool-df08tz66.js → app-df08tz66.js} +0 -0
  745. /package/dist/chunks/{tool-dy18nga0.js → app-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{tool-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{tool-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{tool-ec1grn59.js → app-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{tool-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{tool-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{tool-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{tool-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{tool-faypxj3z.js → app-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{tool-fd410y7t.js → app-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{tool-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{tool-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{tool-g86h250q.js → app-g86h250q.js} +0 -0
  758. /package/dist/chunks/{tool-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{tool-gftt206x.js → app-gftt206x.js} +0 -0
  760. /package/dist/chunks/{tool-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{tool-hk9envan.js → app-hk9envan.js} +0 -0
  762. /package/dist/chunks/{tool-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{tool-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{tool-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{tool-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{tool-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{tool-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{tool-mp448xyj.js → app-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{tool-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{tool-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{tool-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{tool-njntx4h6.js → app-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{tool-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{tool-q74kybfr.js → app-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{tool-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{tool-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{tool-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{tool-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{tool-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{tool-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{tool-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{tool-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{tool-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{tool-twg0f83k.js → app-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{tool-w803qqfp.js → app-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{tool-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{tool-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{tool-wtztk69x.js → app-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{tool-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{tool-x61499pn.js → app-x61499pn.js} +0 -0
  791. /package/dist/chunks/{tool-y44na4kk.js → app-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{tool-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{tool-y8f7s663.js → app-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{tool-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{tool-ym463w8f.js → app-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{tool-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID18,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./tool-g49j1kpf.js";
5
+ } from "./app-gnnyvzb4.js";
6
6
  import {
7
7
  merge2
8
- } from "./tool-n9asgjfy.js";
8
+ } from "./app-kgq2j1px.js";
9
9
  import {
10
10
  __export
11
- } from "./tool-9rqn6x4v.js";
11
+ } from "./app-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin37
17
+ Plugin: () => Plugin35
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin37 = define({
93
+ var Plugin35 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin37 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID18.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID18.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin37 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID18.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID18.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID18.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin37 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin37, exports_agent2 };
151
+ export { Plugin35, exports_agent2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./tool-rdw6cm16.js";
3
+ } from "./app-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./tool-qaymkmh1.js";
6
+ } from "./app-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options10,
15
- Service: () => Service53,
15
+ Service: () => Service52,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node57,
24
+ node: () => node54,
25
25
  ps: () => ps2,
26
- resolve: () => resolve4
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service53 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service52 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve4(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve4(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve4.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service53.of({
202
+ return Service52.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service53, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service52, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node57 = configured10();
212
+ var node54 = configured9();
213
213
 
214
- export { Options10, Service53, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list3, configured10, node57, exports_select };
214
+ export { Options10, Service52, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured9, node54, exports_select };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./tool-ec1grn59.js";
3
+ } from "./app-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./tool-tdstcens.js";
6
+ } from "./app-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./tool-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info14
13
+ Info: () => Info13
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info14 = Schema.Struct({
30
+ var Info13 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info14, exports_attachment };
34
+ export { Image2, Info13, exports_attachment };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./tool-gftt206x.js";
3
+ } from "./app-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./tool-7w99qc9d.js";
6
+ } from "./app-539jk4fq.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./tool-k9avtbwf.js";
9
+ } from "./app-kv8awt1x.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./tool-rhjbct0v.js";
13
+ } from "./app-02nrjc1r.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./tool-5c4hm403.js";
16
+ } from "./app-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./tool-evq6r5pz.js";
20
+ } from "./app-fxqygnfa.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./tool-06dxphr1.js";
25
+ } from "./app-1hc11dc4.js";
26
26
  import {
27
27
  __export
28
- } from "./tool-9rqn6x4v.js";
28
+ } from "./app-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./tool-xq2w2bqm.js";
3
+ Service80,
4
+ node84
5
+ } from "./app-04ewta5r.js";
6
6
  import {
7
- Service68,
8
- node71
9
- } from "./tool-xqsp1avr.js";
7
+ Service75,
8
+ node78
9
+ } from "./app-ab3fy251.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./app-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event12,
19
+ Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service49,
22
+ Service: () => Service55,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node53,
25
+ node: () => node57,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service49 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service55 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event12 = {
51
+ var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service49, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service68;
81
- const bus = yield* Service83;
80
+ const kv = yield* Service75;
81
+ const bus = yield* Service80;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event12.Updated, {});
112
+ yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service49.of({
115
+ return Service55.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event12.Updated, {});
128
+ yield* bus.publish(Event10.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event12.Updated, {});
141
+ yield* bus.publish(Event10.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node53 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node71, node87] });
146
+ var node57 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node78, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event12, inspect2, resolve3, node53, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event10, inspect2, resolve3, node57, exports_wellknown };
@@ -1,59 +1,59 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./tool-wm0tnrwj.js";
2
+ Service81,
3
+ node85
4
+ } from "./app-vkt5wt51.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./tool-xq2w2bqm.js";
6
+ Service80,
7
+ node84
8
+ } from "./app-04ewta5r.js";
9
9
  import {
10
- Service63,
11
- node66
12
- } from "./tool-5e9skgpm.js";
10
+ Service41,
11
+ node43
12
+ } from "./app-k72y7s9z.js";
13
13
  import {
14
- Service61,
15
- node64
16
- } from "./tool-321x2wtd.js";
14
+ Service40,
15
+ node42
16
+ } from "./app-3ppptnan.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./tool-ec1grn59.js";
19
+ } from "./app-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./tool-r8xr0va3.js";
21
+ make16
22
+ } from "./app-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service58
26
- } from "./tool-afdssyjb.js";
25
+ Service37
26
+ } from "./app-gst7axd9.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./tool-k9avtbwf.js";
29
+ } from "./app-kv8awt1x.js";
30
30
  import {
31
- Service66,
32
- node69
33
- } from "./tool-tr36y7yy.js";
31
+ Service70,
32
+ node73
33
+ } from "./app-rd7j0r7s.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./tool-pc244188.js";
36
+ } from "./app-b21gbg50.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./tool-a6h4rwtp.js";
39
+ } from "./app-87sq4ns4.js";
40
40
  import {
41
41
  __export
42
- } from "./tool-9rqn6x4v.js";
42
+ } from "./app-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service57,
47
+ Service: () => Service36,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node61,
49
+ layer: () => layer15,
50
+ node: () => node39,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service57 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service36 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service57, Effect.gen(function* () {
69
- const store = yield* Service66;
70
- const instances = yield* Service61;
71
- const bus = yield* Service83;
72
- const jobs = yield* Service63;
73
- const db = (yield* Service84).db;
68
+ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
69
+ const store = yield* Service70;
70
+ const instances = yield* Service40;
71
+ const bus = yield* Service80;
72
+ const jobs = yield* Service41;
73
+ const db = (yield* Service81).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service37.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make18({
92
+ const coordinator = yield* make16({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service57.of({
113
+ return Service36.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node61 = makeGlobalNode({
133
- service: Service57,
134
- layer: layer22,
135
- deps: [node69, node64, node87, node88, node66]
132
+ var node39 = makeGlobalNode({
133
+ service: Service36,
134
+ layer: layer15,
135
+ deps: [node73, node42, node84, node85, node43]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service57, Service57.of({
137
+ var noopLayer3 = Layer.succeed(Service36, Service36.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service57, Service57.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service57, terminal2, layer22, node61, noopLayer3, exports_execution };
146
+ export { Service36, terminal2, layer15, node39, noopLayer3, exports_execution };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./tool-qfa1cgps.js";
3
+ } from "./app-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./tool-dj2t23y0.js";
6
+ } from "./app-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info12
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info12 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info12, exports_command5 };
21
+ export { Info14, exports_command4 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./tool-wm0tnrwj.js";
2
+ Service81,
3
+ node85
4
+ } from "./app-vkt5wt51.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
8
  make20,
9
9
  combine2
10
- } from "./tool-rhjbct0v.js";
10
+ } from "./app-02nrjc1r.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./tool-5c4hm403.js";
13
+ } from "./app-a1bz86dw.js";
14
14
  import {
15
15
  __export
16
- } from "./tool-9rqn6x4v.js";
16
+ } from "./app-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service18,
25
+ Service: () => Service25,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node21,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service18 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
64
  var source = (entry) => make20({
65
- key: Key3.make(`api/${entry.key}`),
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,8 +75,8 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service18, Effect.gen(function* () {
79
- const { db } = yield* Service84;
78
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
79
+ const { db } = yield* Service81;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service18.of({ list, put, remove, load });
111
+ return Service25.of({ list, put, remove, load });
112
112
  }));
113
- var node21 = makeLocationNode({ service: Service18, layer, deps: [node88] });
113
+ var node29 = makeLocationNode({ service: Service25, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service18, node21, exports_instruction_entry };
115
+ export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };