@opencode-ai/core 0.0.0-beta-18721 → 0.0.0-beta-18866

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 (916) hide show
  1. package/dist/account/sql.js +4 -4
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +5 -5
  4. package/dist/aisdk.js +8 -8
  5. package/dist/app.js +8 -8
  6. package/dist/bus.js +78 -78
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{workspace-pds7pjdg.js → reference-088y9cbk.js} +8 -8
  9. package/dist/chunks/{workspace-3thh6229.js → reference-0ag03ecw.js} +2 -2
  10. package/dist/chunks/{workspace-w47r4rby.js → reference-0bw2p3eg.js} +11 -11
  11. package/dist/chunks/{workspace-eg3ntwpk.js → reference-0emrnx66.js} +7 -7
  12. package/dist/chunks/{workspace-f7q7a28y.js → reference-0enfz0ma.js} +12 -12
  13. package/dist/chunks/{workspace-57ej80dx.js → reference-0gpahtwn.js} +92 -15
  14. package/dist/chunks/{workspace-wfdy75zv.js → reference-0kz3ajyp.js} +40 -46
  15. package/dist/chunks/{workspace-4zzdwbaz.js → reference-0pc4kdn1.js} +2 -2
  16. package/dist/chunks/{workspace-2m0hgr65.js → reference-0rz7yd7x.js} +3 -3
  17. package/dist/chunks/{workspace-xxpvz42q.js → reference-136c8mz3.js} +12 -11
  18. package/dist/chunks/{workspace-vnze5mnn.js → reference-17fnrv0p.js} +74 -91
  19. package/dist/chunks/{workspace-e5hrgxm9.js → reference-1btf37k0.js} +6 -6
  20. package/dist/chunks/{workspace-z1qq43ae.js → reference-1e3g1ft9.js} +7 -7
  21. package/dist/chunks/{workspace-264e1nfp.js → reference-264e1nfp.js} +2 -2
  22. package/dist/chunks/{workspace-0yf2afmn.js → reference-2cehtecm.js} +5 -5
  23. package/dist/chunks/{workspace-1rexamst.js → reference-2nszkqak.js} +6 -6
  24. package/dist/chunks/{workspace-cgqn2mrm.js → reference-2sqw2jjm.js} +20 -20
  25. package/dist/chunks/{workspace-q2jbdv9f.js → reference-2syg46b4.js} +25 -42
  26. package/dist/chunks/{workspace-w385wtt6.js → reference-2x0ckx01.js} +2 -2
  27. package/dist/chunks/{workspace-9szkxgyb.js → reference-2xn0r9vb.js} +16 -94
  28. package/dist/chunks/{workspace-kwy8bpa6.js → reference-30f47jbp.js} +5 -5
  29. package/dist/chunks/{workspace-g68hwncr.js → reference-30st6gwt.js} +1 -1
  30. package/dist/chunks/{workspace-393a352g.js → reference-326j4s6w.js} +5 -5
  31. package/dist/chunks/{workspace-rhm13qbw.js → reference-3529n0tr.js} +19 -19
  32. package/dist/chunks/{workspace-rrhcyjvn.js → reference-38cv1e1c.js} +27 -17
  33. package/dist/chunks/{workspace-vz89hfgr.js → reference-3chx3ng6.js} +11 -11
  34. package/dist/chunks/{workspace-h5wnyjzw.js → reference-3ep0k87g.js} +5 -5
  35. package/dist/chunks/{workspace-j281xcgt.js → reference-3mc1hhwa.js} +5 -5
  36. package/dist/chunks/{workspace-byb06gyb.js → reference-3t5c6jt3.js} +39 -39
  37. package/dist/chunks/{workspace-sz9w0e5n.js → reference-3vc9vmpv.js} +10 -10
  38. package/dist/chunks/{workspace-k828h0dz.js → reference-3y28g1fq.js} +54 -37
  39. package/dist/chunks/reference-424hja68.js +196 -0
  40. package/dist/chunks/{workspace-thstd87d.js → reference-42zyazrq.js} +3 -3
  41. package/dist/chunks/{workspace-d6e56n2n.js → reference-46azr2y9.js} +5 -5
  42. package/dist/chunks/{workspace-49vfnqyj.js → reference-4e9y157d.js} +4 -4
  43. package/dist/chunks/{workspace-10p29vm9.js → reference-4qz7zhx0.js} +7 -7
  44. package/dist/chunks/{workspace-m4a2h2aa.js → reference-4v53bvyt.js} +19 -19
  45. package/dist/chunks/{workspace-2nmyybe0.js → reference-4v6g3p22.js} +3 -3
  46. package/dist/chunks/{workspace-ypm2r7kk.js → reference-4z6b1r7t.js} +42 -48
  47. package/dist/chunks/{workspace-v5yqeb22.js → reference-5400f3k2.js} +16 -16
  48. package/dist/chunks/{workspace-ccf4e63x.js → reference-567c56db.js} +8 -8
  49. package/dist/chunks/{workspace-a5qzhy59.js → reference-5gzv38nr.js} +34 -34
  50. package/dist/chunks/{workspace-ncaapae1.js → reference-5n97c1kz.js} +3 -3
  51. package/dist/chunks/{workspace-etvrgfqj.js → reference-5y5kqjze.js} +7 -7
  52. package/dist/chunks/{workspace-vqbmgfq1.js → reference-63teb4w1.js} +5 -5
  53. package/dist/chunks/{workspace-0kvmztkf.js → reference-66mds5ht.js} +3 -3
  54. package/dist/chunks/reference-6bxzghb6.js +20 -0
  55. package/dist/chunks/{workspace-bbhffenw.js → reference-6f6thqyy.js} +15 -15
  56. package/dist/chunks/{workspace-fm3b2wbt.js → reference-6hppa3xw.js} +4 -4
  57. package/dist/chunks/{workspace-hthr7p63.js → reference-6qa4ddqm.js} +58 -22
  58. package/dist/chunks/{workspace-d2gk9vpf.js → reference-6vbv4je1.js} +4 -4
  59. package/dist/chunks/{workspace-zxe9jjhn.js → reference-6wsfy4sp.js} +4 -4
  60. package/dist/chunks/{workspace-b96dby51.js → reference-73zc7acq.js} +6 -6
  61. package/dist/chunks/{workspace-0d4mk87s.js → reference-750jzgaa.js} +3 -3
  62. package/dist/chunks/{workspace-gxgtbepa.js → reference-7epmrnkh.js} +11 -11
  63. package/dist/chunks/{workspace-kz0c7bgg.js → reference-7f09d21b.js} +7 -7
  64. package/dist/chunks/{workspace-kg1345f7.js → reference-7myqjfx6.js} +4 -4
  65. package/dist/chunks/{workspace-qg8mqw3q.js → reference-7w4qx9zy.js} +25 -6
  66. package/dist/chunks/{workspace-t6ma3p1k.js → reference-7y13h7qh.js} +5 -5
  67. package/dist/chunks/{workspace-xj0xhwdw.js → reference-7z97vfjw.js} +3 -3
  68. package/dist/chunks/{workspace-spxah02e.js → reference-80jq34sk.js} +13 -13
  69. package/dist/chunks/{workspace-jjebnzjz.js → reference-893c53jd.js} +10 -10
  70. package/dist/chunks/{workspace-nr76rjj3.js → reference-89ttfx5q.js} +7 -7
  71. package/dist/chunks/{workspace-t683wdge.js → reference-8ck72gm8.js} +16 -16
  72. package/dist/chunks/{workspace-ngz3v23c.js → reference-8ezmrsyj.js} +4 -4
  73. package/dist/chunks/{workspace-1hfjzejj.js → reference-8g6k80zr.js} +9 -9
  74. package/dist/chunks/{workspace-wq5r9j83.js → reference-8jwkk0nn.js} +4 -4
  75. package/dist/chunks/{workspace-jvhgzz8q.js → reference-8ngkfkdx.js} +4 -4
  76. package/dist/chunks/reference-8q7rztf6.js +187 -0
  77. package/dist/chunks/{workspace-sqsnmb9f.js → reference-8r263vtv.js} +2 -2
  78. package/dist/chunks/{workspace-jyhpc08g.js → reference-8ze61944.js} +15 -15
  79. package/dist/chunks/{workspace-f3fdb301.js → reference-8zsay21d.js} +3 -3
  80. package/dist/chunks/{workspace-0j6xhazk.js → reference-90je674c.js} +6 -6
  81. package/dist/chunks/{workspace-gn1b6j0w.js → reference-97q0eayt.js} +33 -29
  82. package/dist/chunks/{workspace-t8aff0pg.js → reference-98a24b06.js} +109 -116
  83. package/dist/chunks/{workspace-pd3n9s7q.js → reference-9dpm0ypj.js} +14 -22
  84. package/dist/chunks/{workspace-6c4zjnsa.js → reference-9ex87gzq.js} +25 -25
  85. package/dist/chunks/{workspace-hrf5kjnr.js → reference-9kywsdzv.js} +5 -5
  86. package/dist/chunks/{workspace-t099cpyx.js → reference-9nyt8zyy.js} +6 -7
  87. package/dist/chunks/{workspace-kn110wfv.js → reference-9s00a4cy.js} +5 -5
  88. package/dist/chunks/{workspace-0r8mkfdy.js → reference-9vqgpz70.js} +6 -6
  89. package/dist/chunks/{workspace-pzqpm43x.js → reference-9z5kkd1v.js} +16 -16
  90. package/dist/chunks/{workspace-byab506k.js → reference-a6xqkezx.js} +1 -1
  91. package/dist/chunks/{workspace-zn8r3q6e.js → reference-a7swh0z4.js} +8 -8
  92. package/dist/chunks/{workspace-wps8gh8n.js → reference-af42tqdk.js} +2 -2
  93. package/dist/chunks/{workspace-96h2ckbg.js → reference-ak8kj9h3.js} +24 -24
  94. package/dist/chunks/{workspace-ydqqfkxk.js → reference-an1f8bbd.js} +126 -68
  95. package/dist/chunks/{workspace-vj7vg9kk.js → reference-ayh0b6nc.js} +14 -14
  96. package/dist/chunks/{workspace-f9wt0tjw.js → reference-b1f1x5nb.js} +4 -4
  97. package/dist/chunks/{workspace-x89rah0x.js → reference-b7rje112.js} +4 -4
  98. package/dist/chunks/{workspace-e1z9a0ts.js → reference-bd2mvb8t.js} +6 -6
  99. package/dist/chunks/{workspace-54jxv7ra.js → reference-bhk5bpxq.js} +10 -8
  100. package/dist/chunks/{workspace-y0x38cee.js → reference-bnha4c96.js} +3 -3
  101. package/dist/chunks/{workspace-se07g09y.js → reference-bwqptwn6.js} +8 -8
  102. package/dist/chunks/{workspace-n6ag8q95.js → reference-bybkghrn.js} +1 -1
  103. package/dist/chunks/{workspace-q66tjefk.js → reference-byc4rwvh.js} +2 -2
  104. package/dist/chunks/{workspace-5d6p0teb.js → reference-c1qrh1pd.js} +4 -4
  105. package/dist/chunks/{workspace-ec8vrfw5.js → reference-c54e84vp.js} +19 -19
  106. package/dist/chunks/{workspace-c8ya26sa.js → reference-c8ya26sa.js} +2 -2
  107. package/dist/chunks/{workspace-zdkg1k91.js → reference-c8z1ewty.js} +16 -5
  108. package/dist/chunks/{workspace-w3fj2cfx.js → reference-c9xhhs5v.js} +43 -43
  109. package/dist/chunks/{workspace-d4h7vwhh.js → reference-d4h7vwhh.js} +2 -2
  110. package/dist/chunks/{workspace-5rs65q6p.js → reference-dexm22yg.js} +4 -4
  111. package/dist/chunks/{workspace-yt7cwtxp.js → reference-df9ps1ev.js} +3 -3
  112. package/dist/chunks/reference-dtm6fkaa.js +54 -0
  113. package/dist/chunks/reference-dvqebtf1.js +37 -0
  114. package/dist/chunks/{workspace-0382r32z.js → reference-dxcg1gpj.js} +21 -21
  115. package/dist/chunks/{workspace-mxvw03gv.js → reference-dyhtrhy2.js} +1 -1
  116. package/dist/chunks/{workspace-4fnpr27v.js → reference-e2kekfkw.js} +14 -14
  117. package/dist/chunks/{workspace-b4txk059.js → reference-e4ve50r5.js} +2 -2
  118. package/dist/chunks/{workspace-9mp6v1qd.js → reference-e5r3hp5p.js} +16 -16
  119. package/dist/chunks/{workspace-z90enqha.js → reference-ec0fjxjh.js} +7 -7
  120. package/dist/chunks/{workspace-y67x6rf6.js → reference-edxnhgvj.js} +3 -3
  121. package/dist/chunks/{workspace-c4wcb9vc.js → reference-etbnsc4s.js} +5 -5
  122. package/dist/chunks/{workspace-ty0adcvq.js → reference-ez1a90zg.js} +88 -88
  123. package/dist/chunks/{workspace-qe0d689s.js → reference-f2nhxfjt.js} +2 -2
  124. package/dist/chunks/{workspace-tqka7tgd.js → reference-f410cv5t.js} +23 -23
  125. package/dist/chunks/{workspace-n2dez5xq.js → reference-f6687h7n.js} +93 -138
  126. package/dist/chunks/{workspace-wg766mjt.js → reference-f821qzap.js} +3 -3
  127. package/dist/chunks/{workspace-zwavn0q8.js → reference-f85kjf82.js} +49 -30
  128. package/dist/chunks/{workspace-41qzzbpz.js → reference-f8wvq04h.js} +3 -3
  129. package/dist/chunks/{workspace-aweppgs5.js → reference-fddsdmdf.js} +4 -4
  130. package/dist/chunks/reference-fkdrrz2d.js +30 -0
  131. package/dist/chunks/{workspace-tv8s8hx7.js → reference-fkf3c53e.js} +9 -9
  132. package/dist/chunks/{workspace-jdx4t1h5.js → reference-fq40qrnc.js} +21 -16
  133. package/dist/chunks/{workspace-smpeg8c9.js → reference-fqehnn9p.js} +2 -2
  134. package/dist/chunks/{workspace-6yzphrxy.js → reference-ftjbsen0.js} +11 -11
  135. package/dist/chunks/{workspace-23a0c1bj.js → reference-g0z4yfdj.js} +48 -104
  136. package/dist/chunks/{workspace-4h896fer.js → reference-g6q238va.js} +2 -2
  137. package/dist/chunks/{workspace-vq1jnjcx.js → reference-g7dw4rk5.js} +10 -10
  138. package/dist/chunks/{workspace-18pv8fg3.js → reference-g9dd0fv6.js} +5 -5
  139. package/dist/chunks/{workspace-bh4rpm56.js → reference-gat33t0e.js} +7 -6
  140. package/dist/chunks/{workspace-gb1z7yet.js → reference-gb1z7yet.js} +2 -2
  141. package/dist/chunks/{workspace-mnb85w6b.js → reference-gc513wew.js} +4 -4
  142. package/dist/chunks/{workspace-83n144wj.js → reference-gq0njyjb.js} +35 -30
  143. package/dist/chunks/{workspace-gd2xppx8.js → reference-grfz4hhj.js} +3 -3
  144. package/dist/chunks/{workspace-jv2akzxs.js → reference-gte2a4bk.js} +28 -19
  145. package/dist/chunks/{workspace-eyj72yq6.js → reference-h292hczs.js} +18 -18
  146. package/dist/chunks/{workspace-rmjj1pjh.js → reference-hfzsp55z.js} +4 -4
  147. package/dist/chunks/{workspace-pznyjm5b.js → reference-hgf74c4y.js} +8 -8
  148. package/dist/chunks/{workspace-hgr9y616.js → reference-hgr9y616.js} +1 -1
  149. package/dist/chunks/{workspace-02f9w0t0.js → reference-hhxh8pdx.js} +2 -2
  150. package/dist/chunks/{workspace-15hpbjb6.js → reference-hpkeh7wf.js} +6 -6
  151. package/dist/chunks/{workspace-50jxp3hw.js → reference-hs51b0fc.js} +7 -7
  152. package/dist/chunks/{workspace-3g8vftxb.js → reference-hvydqsq5.js} +4 -4
  153. package/dist/chunks/{workspace-5vcssjzn.js → reference-hy5n5jcn.js} +3 -3
  154. package/dist/chunks/{workspace-sc0wbnjs.js → reference-hyfbxc6f.js} +1 -1
  155. package/dist/chunks/{workspace-j0feex7e.js → reference-j0feex7e.js} +1 -1
  156. package/dist/chunks/{workspace-h6q26knr.js → reference-j9ymnb9b.js} +2 -2
  157. package/dist/chunks/{workspace-jcrvmhhm.js → reference-jcc5a2z4.js} +2 -2
  158. package/dist/chunks/reference-je5g7w6t.js +34 -0
  159. package/dist/chunks/{workspace-0dmbf0wy.js → reference-jesbcz0e.js} +7 -7
  160. package/dist/chunks/{workspace-vkgwd1zr.js → reference-jghhn6h0.js} +16 -16
  161. package/dist/chunks/{workspace-qwn30307.js → reference-jjepj7kz.js} +14 -11
  162. package/dist/chunks/{workspace-6wkzvma0.js → reference-jqd42x9x.js} +4 -4
  163. package/dist/chunks/{workspace-yt02w91s.js → reference-jqhp3fpz.js} +4 -4
  164. package/dist/chunks/{workspace-tjrfm0xh.js → reference-jr5m26np.js} +8 -8
  165. package/dist/chunks/{workspace-dg2044dm.js → reference-jsb6y3ce.js} +7 -7
  166. package/dist/chunks/{workspace-71he9c34.js → reference-k3b0087g.js} +17 -17
  167. package/dist/chunks/{workspace-rth9afse.js → reference-k5r2vn1t.js} +21 -21
  168. package/dist/chunks/{workspace-xwftk1fd.js → reference-k7hkdbw5.js} +2 -2
  169. package/dist/chunks/{workspace-90xaz2d8.js → reference-k85ch1vg.js} +14 -14
  170. package/dist/chunks/{workspace-nekhbbnv.js → reference-ka1ze8e7.js} +9 -9
  171. package/dist/chunks/{workspace-xjjns68s.js → reference-kek3rf55.js} +8 -8
  172. package/dist/chunks/{workspace-z4jgbr9s.js → reference-kemcf5mw.js} +6 -6
  173. package/dist/chunks/{workspace-bh1wr8rq.js → reference-kggc3hrm.js} +4 -4
  174. package/dist/chunks/{workspace-zzjh79ge.js → reference-khswz5rb.js} +12 -12
  175. package/dist/chunks/{workspace-dhphtf1x.js → reference-kq3q54gz.js} +3 -3
  176. package/dist/chunks/{workspace-a7zp47hx.js → reference-kr9vgar1.js} +3 -3
  177. package/dist/chunks/{workspace-0687t5rp.js → reference-m3k5wttq.js} +16 -16
  178. package/dist/chunks/{workspace-mn7qpjr2.js → reference-m48hb2tb.js} +9 -9
  179. package/dist/chunks/{workspace-h94zdhz8.js → reference-m7jtgrng.js} +8 -8
  180. package/dist/chunks/{workspace-vd1d8tva.js → reference-m8dxe63b.js} +12 -11
  181. package/dist/chunks/{workspace-mf0hyk7z.js → reference-mf0hyk7z.js} +1 -1
  182. package/dist/chunks/{workspace-cpdjx8r8.js → reference-mhxjtrfr.js} +26 -26
  183. package/dist/chunks/{workspace-kp1t5rcy.js → reference-mnyszbxc.js} +3 -3
  184. package/dist/chunks/{workspace-d6597cvr.js → reference-mq1tw6ze.js} +19 -19
  185. package/dist/chunks/{workspace-6jw56qh4.js → reference-mxhs55xx.js} +35 -35
  186. package/dist/chunks/{workspace-ttf9eg87.js → reference-n256kz7s.js} +11 -11
  187. package/dist/chunks/reference-n5yhfyk0.js +408 -0
  188. package/dist/chunks/{workspace-r3k9abhd.js → reference-ngzr6ypz.js} +4 -4
  189. package/dist/chunks/{workspace-sw84ckhj.js → reference-nn16cgj7.js} +5 -5
  190. package/dist/chunks/{workspace-yqrbzdvt.js → reference-np5sawwb.js} +8 -8
  191. package/dist/chunks/{workspace-hp6rpdnc.js → reference-p1m5qwvv.js} +3 -3
  192. package/dist/chunks/{workspace-psv6w1a0.js → reference-p4fwfknn.js} +12 -12
  193. package/dist/chunks/{workspace-7wcmqxrc.js → reference-p5gyct0y.js} +4 -4
  194. package/dist/chunks/{workspace-95ex1qdx.js → reference-pdq2xh3y.js} +11 -11
  195. package/dist/chunks/{workspace-9b50qpfj.js → reference-pg6rcx6v.js} +20 -20
  196. package/dist/chunks/{workspace-kww0mg52.js → reference-pj0nw4b1.js} +1 -1
  197. package/dist/chunks/{workspace-2pd1mgzx.js → reference-pk53j7qk.js} +4 -4
  198. package/dist/chunks/{workspace-ccwkppmm.js → reference-pkvv3k6x.js} +12 -16
  199. package/dist/chunks/{workspace-ngk06vjf.js → reference-pp6802x5.js} +9 -10
  200. package/dist/chunks/{workspace-pq48jtzb.js → reference-pw0qjder.js} +18 -18
  201. package/dist/chunks/{workspace-q606pcse.js → reference-q606pcse.js} +3 -3
  202. package/dist/chunks/{workspace-ep35cpen.js → reference-qf52r0wh.js} +5 -5
  203. package/dist/chunks/{workspace-adt2dd96.js → reference-qf5b2gmg.js} +16 -16
  204. package/dist/chunks/{workspace-v9bfv94f.js → reference-qfvp8zq7.js} +5 -5
  205. package/dist/chunks/{workspace-2tz67g1e.js → reference-qp1z2q9w.js} +22 -21
  206. package/dist/chunks/{workspace-9b76fep3.js → reference-qvh7d3mm.js} +6 -6
  207. package/dist/chunks/{workspace-kb2ag3w7.js → reference-qx3jf2qk.js} +7 -7
  208. package/dist/chunks/{workspace-dyj7wa6j.js → reference-qz5gwjr7.js} +10 -10
  209. package/dist/chunks/{workspace-02dbfq60.js → reference-r7z6wjth.js} +4 -4
  210. package/dist/chunks/{workspace-npwkm078.js → reference-r932pxqs.js} +1 -1
  211. package/dist/chunks/{workspace-r9d3d23r.js → reference-r9d3d23r.js} +1 -1
  212. package/dist/chunks/{workspace-rahat93a.js → reference-rahat93a.js} +1 -1
  213. package/dist/chunks/{workspace-vmqnr5ym.js → reference-ramface9.js} +6 -6
  214. package/dist/chunks/{workspace-fvzd795v.js → reference-rancn5ng.js} +11 -11
  215. package/dist/chunks/reference-rr7wbarq.js +151 -0
  216. package/dist/chunks/{workspace-gz9s6gpj.js → reference-rv2n9m0t.js} +2 -2
  217. package/dist/chunks/{workspace-t29y76c6.js → reference-rw2ay6e7.js} +21 -21
  218. package/dist/chunks/reference-rzv103sq.js +36 -0
  219. package/dist/chunks/{workspace-s2kjqxd3.js → reference-s2kjqxd3.js} +1 -1
  220. package/dist/chunks/{workspace-y198y2ra.js → reference-s32nnj3r.js} +12 -12
  221. package/dist/chunks/{workspace-0t4s47ed.js → reference-s4nkbdgv.js} +12 -12
  222. package/dist/chunks/{workspace-v80zsxnb.js → reference-s6ck6xts.js} +3 -3
  223. package/dist/chunks/{workspace-tgzdt8vx.js → reference-sawwddx8.js} +31 -27
  224. package/dist/chunks/{workspace-dy6avzyr.js → reference-t253hdyx.js} +5 -5
  225. package/dist/chunks/{workspace-7mw91s0p.js → reference-t5rvtmq7.js} +61 -61
  226. package/dist/chunks/{workspace-geyszmd1.js → reference-thngpag9.js} +12 -12
  227. package/dist/chunks/{workspace-k5e6kcej.js → reference-tr2gzb1w.js} +4 -4
  228. package/dist/chunks/{workspace-75jm6q42.js → reference-tt4qnzy6.js} +7 -7
  229. package/dist/chunks/{workspace-f45tr4gk.js → reference-ty5gs0vf.js} +14 -14
  230. package/dist/chunks/{workspace-dddbpkz0.js → reference-v1q61tmm.js} +9 -9
  231. package/dist/chunks/{workspace-vcwr2vpf.js → reference-vcwr2vpf.js} +1 -1
  232. package/dist/chunks/{workspace-y6vap6bx.js → reference-vczm1m9n.js} +3 -3
  233. package/dist/chunks/{workspace-x12tajmt.js → reference-vd8gzy68.js} +13 -13
  234. package/dist/chunks/{workspace-0vkr0968.js → reference-vem6fgbh.js} +20 -18
  235. package/dist/chunks/{workspace-v12a39vm.js → reference-vmf3mwf0.js} +14 -14
  236. package/dist/chunks/{workspace-xczfw7dq.js → reference-vynk8zbr.js} +6 -6
  237. package/dist/chunks/reference-vyxqdbzy.js +68 -0
  238. package/dist/chunks/{workspace-7mrpdsq5.js → reference-w5r9s7kx.js} +4 -4
  239. package/dist/chunks/reference-w7agyzeg.js +66 -0
  240. package/dist/chunks/{workspace-wbkt8qpj.js → reference-wbkt8qpj.js} +1 -1
  241. package/dist/chunks/{workspace-gcay93cp.js → reference-wdqva41w.js} +3 -3
  242. package/dist/chunks/{workspace-9f0rnpkn.js → reference-wf5w4wph.js} +3 -3
  243. package/dist/chunks/{workspace-xanq1mxd.js → reference-wghtbf73.js} +11 -11
  244. package/dist/chunks/{workspace-ns0sdez7.js → reference-wkcm2121.js} +15 -15
  245. package/dist/chunks/{workspace-wmxdh12w.js → reference-wmxdh12w.js} +1 -1
  246. package/dist/chunks/{workspace-zq1g42ep.js → reference-wv8n739s.js} +10 -10
  247. package/dist/chunks/{workspace-qsbnxnr4.js → reference-wvzafhct.js} +6 -7
  248. package/dist/chunks/{workspace-cmtnk9bc.js → reference-wx0fv060.js} +26 -11
  249. package/dist/chunks/{workspace-nzrjycs5.js → reference-x3vb5b1t.js} +3 -3
  250. package/dist/chunks/{workspace-58xdvehb.js → reference-x4az4y7r.js} +5 -5
  251. package/dist/chunks/{workspace-aqznnwa7.js → reference-x7g08g2m.js} +7 -7
  252. package/dist/chunks/{workspace-pq4b4pqk.js → reference-xdb88cdw.js} +4 -4
  253. package/dist/chunks/{workspace-5fe026tx.js → reference-xfk2eagt.js} +5 -5
  254. package/dist/chunks/{workspace-ps01fcq7.js → reference-xh0dkm7j.js} +1 -1
  255. package/dist/chunks/{workspace-gbf8gmfy.js → reference-xwpxh8hr.js} +12 -12
  256. package/dist/chunks/{workspace-v2wshkax.js → reference-xws7arpm.js} +3 -3
  257. package/dist/chunks/{workspace-cdyns1y9.js → reference-xxphcf1f.js} +14 -14
  258. package/dist/chunks/{workspace-6wkh0xt8.js → reference-xzp0zmzd.js} +6 -6
  259. package/dist/chunks/{workspace-fkbn0amk.js → reference-y1yqxy0w.js} +10 -10
  260. package/dist/chunks/{workspace-ekr1z8vx.js → reference-yt5sqzpx.js} +30 -30
  261. package/dist/chunks/{workspace-hpnzywkq.js → reference-yvej0khr.js} +8 -8
  262. package/dist/chunks/{workspace-9zz3e0gs.js → reference-yyskhrw5.js} +6 -6
  263. package/dist/chunks/{workspace-h5evy9bn.js → reference-z1959vye.js} +13 -13
  264. package/dist/chunks/{workspace-rdqmt1vp.js → reference-z1x5ppqv.js} +2 -2
  265. package/dist/chunks/{workspace-9kmcw9m3.js → reference-z427xjvx.js} +15 -15
  266. package/dist/chunks/{workspace-87mh0e1q.js → reference-z5p8bt57.js} +12 -12
  267. package/dist/chunks/{workspace-fr1wyg6y.js → reference-z65x5xn8.js} +15 -15
  268. package/dist/chunks/{workspace-xa5547w0.js → reference-z6zhg99y.js} +32 -34
  269. package/dist/chunks/{workspace-sea31hhk.js → reference-z83gsyf2.js} +5 -5
  270. package/dist/chunks/{workspace-v972xay6.js → reference-z8c1ty6e.js} +3 -3
  271. package/dist/chunks/{workspace-zbqqnp0n.js → reference-zbqqnp0n.js} +1 -1
  272. package/dist/chunks/{workspace-p183atfw.js → reference-zgfz4nwa.js} +16 -16
  273. package/dist/chunks/{workspace-6ky7rqk7.js → reference-zn935gjz.js} +3 -3
  274. package/dist/chunks/{workspace-fex42j86.js → reference-zq5w46q0.js} +13 -13
  275. package/dist/chunks/{workspace-hbwsavq5.js → reference-zqygmzvz.js} +16 -16
  276. package/dist/chunks/{workspace-t14kykx1.js → reference-zyyhrfr9.js} +9 -9
  277. package/dist/codemode/catalog.js +8 -6
  278. package/dist/codemode/instructions.js +7 -7
  279. package/dist/codemode/tool.js +6 -5
  280. package/dist/command.js +77 -77
  281. package/dist/config/markdown.js +5 -5
  282. package/dist/config/normalize.js +22 -22
  283. package/dist/config/plugin/agent.js +129 -134
  284. package/dist/config/plugin/command.js +115 -120
  285. package/dist/config/plugin/compaction.js +168 -148
  286. package/dist/config/plugin/entry-observer.js +111 -116
  287. package/dist/config/plugin/formatter.js +116 -121
  288. package/dist/config/plugin/image.js +128 -133
  289. package/dist/config/plugin/instruction.js +87 -92
  290. package/dist/config/plugin/location-watcher.js +114 -119
  291. package/dist/config/plugin/mcp.js +124 -129
  292. package/dist/config/plugin/policy.js +113 -118
  293. package/dist/config/plugin/provider.js +112 -117
  294. package/dist/config/plugin/reference.js +116 -121
  295. package/dist/config/plugin/shell.js +115 -120
  296. package/dist/config/plugin/skill-file.js +100 -105
  297. package/dist/config/plugin/skill.js +132 -137
  298. package/dist/config/plugin/snapshot.js +114 -119
  299. package/dist/config/plugin/source.js +114 -118
  300. package/dist/config/plugin/tool-output.js +116 -121
  301. package/dist/config/plugin/websearch.js +112 -117
  302. package/dist/config/variable.js +6 -6
  303. package/dist/config.js +116 -121
  304. package/dist/credential/sql.js +3 -3
  305. package/dist/credential.js +79 -79
  306. package/dist/database/database.js +72 -72
  307. package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
  308. package/dist/database/drizzle/effect-sqlite/index.js +20 -20
  309. package/dist/database/drizzle/effect-sqlite/session.js +14 -14
  310. package/dist/database/drizzle/index.js +22 -22
  311. package/dist/database/drizzle/internal/drizzle-utils.js +9 -9
  312. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  313. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  314. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  315. package/dist/database/drizzle/sqlite-core/effect/index.js +34 -34
  316. package/dist/database/drizzle/sqlite-core/effect/insert.js +5 -5
  317. package/dist/database/drizzle/sqlite-core/effect/query.js +4 -4
  318. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  319. package/dist/database/drizzle/sqlite-core/effect/select.js +5 -5
  320. package/dist/database/drizzle/sqlite-core/effect/session.js +13 -13
  321. package/dist/database/drizzle/sqlite-core/effect/update.js +5 -5
  322. package/dist/database/drizzle.js +23 -23
  323. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  324. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  325. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  326. package/dist/database/migration/20260225215848_workspace.js +2 -2
  327. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  328. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  329. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  330. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  331. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  332. package/dist/database/migration/20260323234822_events.js +2 -2
  333. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  334. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  335. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  336. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  337. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  338. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  339. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  340. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  341. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  342. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  343. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  344. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  345. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  346. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  347. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  348. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  349. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  350. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  351. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  352. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  353. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  354. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  355. package/dist/database/migration/20260611035744_credential.js +2 -2
  356. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  357. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  358. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  359. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  360. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  361. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  362. package/dist/database/migration/20260805200742_import_legacy_credentials.js +4 -4
  363. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  364. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  365. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  366. package/dist/database/migration/20260812213948_worktree.js +2 -2
  367. package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
  368. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
  369. package/dist/database/migration.gen.js +48 -48
  370. package/dist/database/migration.js +52 -52
  371. package/dist/database/path.js +6 -6
  372. package/dist/database/schema.gen.js +2 -2
  373. package/dist/database/schema.sql.js +2 -2
  374. package/dist/database/sqlite.bun.js +4 -4
  375. package/dist/database/sqlite.js +5 -5
  376. package/dist/database/sqlite.node.js +4 -4
  377. package/dist/database/sqlite.workerd.js +4 -4
  378. package/dist/database/v1-migration.bun.js +81 -81
  379. package/dist/database/v1-migration.js +2 -2
  380. package/dist/database/v1-migration.noop.js +3 -3
  381. package/dist/effect/app-node-builder.js +361 -352
  382. package/dist/effect/app-node-platform.js +6 -6
  383. package/dist/effect/keyed-mutex.js +4 -4
  384. package/dist/effect/websocket-constructor.js +2 -2
  385. package/dist/environment/driver.js +1 -1
  386. package/dist/environment/environment.js +88 -93
  387. package/dist/environment/exec-defaults.js +5 -5
  388. package/dist/environment/files.js +7 -7
  389. package/dist/environment/index.js +98 -103
  390. package/dist/environment/local.js +5 -5
  391. package/dist/environment/memory.js +5 -5
  392. package/dist/environment/unavailable.js +5 -5
  393. package/dist/event/sql.js +4 -4
  394. package/dist/event-logger.js +72 -72
  395. package/dist/file-mutation.js +91 -96
  396. package/dist/file-retention.js +4 -4
  397. package/dist/file.js +4 -4
  398. package/dist/filesystem/fff.bun.js +6 -6
  399. package/dist/filesystem/fff.js +2 -2
  400. package/dist/filesystem/fff.node.js +6 -6
  401. package/dist/filesystem/fff.workerd.js +6 -6
  402. package/dist/filesystem/ignore.js +5 -5
  403. package/dist/filesystem/location-watcher-policy.js +5 -5
  404. package/dist/filesystem/location-watcher.js +218 -316
  405. package/dist/filesystem/protected.js +5 -5
  406. package/dist/filesystem/search.js +98 -103
  407. package/dist/filesystem/watcher-binding.js +2 -2
  408. package/dist/filesystem/watcher.js +16 -16
  409. package/dist/filesystem.js +106 -111
  410. package/dist/form.js +88 -88
  411. package/dist/formatter/builtins.js +3 -3
  412. package/dist/formatter.js +82 -87
  413. package/dist/generate.js +89 -89
  414. package/dist/git.js +12 -12
  415. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  416. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  417. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  418. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  419. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  420. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  421. package/dist/github-copilot/copilot-provider.js +22 -22
  422. package/dist/github-copilot/models.js +6 -6
  423. package/dist/github-copilot/openai-compatible-error.js +4 -4
  424. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
  425. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  426. package/dist/github-copilot/responses/openai-error.js +4 -4
  427. package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
  428. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +9 -9
  429. package/dist/github-copilot/responses/tool/code-interpreter.js +6 -6
  430. package/dist/github-copilot/responses/tool/file-search.js +4 -4
  431. package/dist/github-copilot/responses/tool/image-generation.js +4 -4
  432. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  433. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  434. package/dist/id/id.js +6 -6
  435. package/dist/image/photon-wasm.bun.js +1 -1
  436. package/dist/image/photon-wasm.node.js +1 -1
  437. package/dist/image/photon-wasm.workerd.js +1 -1
  438. package/dist/image/photon.js +94 -99
  439. package/dist/image.js +99 -104
  440. package/dist/instance/service.js +11 -0
  441. package/dist/instance.js +346 -341
  442. package/dist/instruction-discovery.js +79 -79
  443. package/dist/instructions/builtins.js +82 -87
  444. package/dist/instructions/index.js +20 -20
  445. package/dist/integration/connection.js +5 -5
  446. package/dist/integration.js +94 -94
  447. package/dist/job.js +75 -75
  448. package/dist/kv/sql.js +3 -3
  449. package/dist/kv.js +70 -70
  450. package/dist/location-activity.js +88 -93
  451. package/dist/location-mutation.js +85 -90
  452. package/dist/location-service-map.js +83 -86
  453. package/dist/location-services.js +342 -342
  454. package/dist/location.js +84 -89
  455. package/dist/mcp/client.js +93 -98
  456. package/dist/mcp/index.js +117 -122
  457. package/dist/mcp/instructions.js +125 -130
  458. package/dist/mcp/oauth.js +14 -14
  459. package/dist/mcp/stdio.js +89 -94
  460. package/dist/mime.js +4 -4
  461. package/dist/model-resolver.js +91 -91
  462. package/dist/model.js +14 -14
  463. package/dist/models-dev.js +83 -83
  464. package/dist/oauth/page.js +5 -5
  465. package/dist/permission/saved.js +77 -77
  466. package/dist/permission/sql.js +6 -6
  467. package/dist/permission.js +114 -119
  468. package/dist/persistent-pty/binary.bun.js +2 -2
  469. package/dist/persistent-pty/binary.node.js +1 -1
  470. package/dist/persistent-pty/binary.workerd.js +1 -1
  471. package/dist/persistent-pty/daemon.js +5 -5
  472. package/dist/persistent-pty/index.js +81 -81
  473. package/dist/persistent-pty/pty-binding.js +2 -2
  474. package/dist/persistent-pty.js +74 -74
  475. package/dist/plugin/agent.js +98 -103
  476. package/dist/plugin/command.js +96 -101
  477. package/dist/plugin/hooks.js +5 -5
  478. package/dist/plugin/host.js +217 -205
  479. package/dist/plugin/instance.js +5 -5
  480. package/dist/plugin/internal.js +313 -309
  481. package/dist/plugin/mcp-codemode-exclusion.js +4 -4
  482. package/dist/plugin/models-dev.js +76 -76
  483. package/dist/plugin/module.js +7 -5
  484. package/dist/plugin/plan.js +98 -103
  485. package/dist/plugin/promise.js +4 -4
  486. package/dist/plugin/provider/alibaba.js +3 -3
  487. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  488. package/dist/plugin/provider/anthropic.js +3 -3
  489. package/dist/plugin/provider/azure.js +118 -123
  490. package/dist/plugin/provider/cerebras.js +3 -3
  491. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -122
  492. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -122
  493. package/dist/plugin/provider/cohere.js +3 -3
  494. package/dist/plugin/provider/configured.js +116 -121
  495. package/dist/plugin/provider/dynamic.js +3 -3
  496. package/dist/plugin/provider/factory.js +2 -2
  497. package/dist/plugin/provider/gateway.js +3 -3
  498. package/dist/plugin/provider/github-copilot.js +84 -84
  499. package/dist/plugin/provider/gitlab.js +4 -4
  500. package/dist/plugin/provider/google-vertex.js +3 -3
  501. package/dist/plugin/provider/kilo.js +3 -3
  502. package/dist/plugin/provider/llmgateway.js +77 -77
  503. package/dist/plugin/provider/lmstudio.js +117 -122
  504. package/dist/plugin/provider/mistral.js +3 -3
  505. package/dist/plugin/provider/nvidia.js +3 -3
  506. package/dist/plugin/provider/ollama.js +117 -122
  507. package/dist/plugin/provider/openai-compatible.js +2 -2
  508. package/dist/plugin/provider/openai.js +79 -79
  509. package/dist/plugin/provider/opencode.js +77 -93
  510. package/dist/plugin/provider/openrouter.js +4 -4
  511. package/dist/plugin/provider/perplexity.js +3 -3
  512. package/dist/plugin/provider/sap-ai-core.js +4 -4
  513. package/dist/plugin/provider/sdk-factory.js +2 -2
  514. package/dist/plugin/provider/snowflake-cortex.js +5 -5
  515. package/dist/plugin/provider/venice.js +3 -3
  516. package/dist/plugin/provider/vercel.js +3 -3
  517. package/dist/plugin/provider/vllm.js +117 -122
  518. package/dist/plugin/provider/xai.js +78 -78
  519. package/dist/plugin/provider/zenmux.js +3 -3
  520. package/dist/plugin/provider.js +154 -159
  521. package/dist/plugin/sdk.js +73 -73
  522. package/dist/plugin/skill.js +131 -137
  523. package/dist/plugin/source-directory.js +5 -5
  524. package/dist/plugin/supervisor.js +328 -318
  525. package/dist/plugin/system-prompt.js +8 -8
  526. package/dist/plugin/update.js +12 -0
  527. package/dist/plugin/variant.js +5 -5
  528. package/dist/plugin/vcs/git.js +84 -89
  529. package/dist/plugin/vcs/hg.js +84 -89
  530. package/dist/plugin/warming.js +111 -116
  531. package/dist/plugin/websearch/exa.js +6 -6
  532. package/dist/plugin/websearch/firecrawl.js +7 -7
  533. package/dist/plugin/websearch/index.js +9 -9
  534. package/dist/plugin/websearch/mcp.js +6 -6
  535. package/dist/plugin/websearch/parallel.js +7 -7
  536. package/dist/plugin/websearch/tavily.js +5 -5
  537. package/dist/plugin.js +221 -211
  538. package/dist/project/schema.js +9 -9
  539. package/dist/project/sql.js +7 -7
  540. package/dist/project.js +86 -91
  541. package/dist/provider.js +14 -14
  542. package/dist/pty/protocol.js +9 -9
  543. package/dist/pty/pty.bun.js +1 -1
  544. package/dist/pty/pty.node.js +1 -1
  545. package/dist/pty/pty.workerd.js +1 -1
  546. package/dist/pty/schema.js +2 -2
  547. package/dist/pty/ticket.js +10 -10
  548. package/dist/pty.js +92 -97
  549. package/dist/reference/instructions.js +82 -79
  550. package/dist/reference.js +85 -82
  551. package/dist/repository-cache.js +85 -18
  552. package/dist/repository.js +13 -13
  553. package/dist/ripgrep/binary.js +3 -3
  554. package/dist/ripgrep.js +93 -98
  555. package/dist/rpc.js +82 -87
  556. package/dist/schema.js +9 -9
  557. package/dist/session/command.js +79 -0
  558. package/dist/session/compaction.js +146 -124
  559. package/dist/session/context.js +152 -325
  560. package/dist/session/environment.js +5 -5
  561. package/dist/session/error.js +21 -21
  562. package/dist/session/event.js +2 -2
  563. package/dist/session/execution/restart.js +215 -196
  564. package/dist/session/execution.js +122 -127
  565. package/dist/session/generate.js +155 -5
  566. package/dist/session/history.js +83 -83
  567. package/dist/session/inbox.js +104 -104
  568. package/dist/session/info.js +4 -4
  569. package/dist/session/instruction-entry.js +82 -82
  570. package/dist/session/instruction-state.js +20 -20
  571. package/dist/session/instructions.js +91 -96
  572. package/dist/session/message-updater.js +6 -6
  573. package/dist/session/message.js +2 -2
  574. package/dist/session/model-request.js +140 -145
  575. package/dist/session/model-transport.js +9 -9
  576. package/dist/session/move.js +93 -0
  577. package/dist/session/projector.js +85 -85
  578. package/dist/session/prompt.js +116 -125
  579. package/dist/session/revert.js +93 -100
  580. package/dist/session/run-coordinator.js +4 -4
  581. package/dist/session/runner/index.js +86 -86
  582. package/dist/session/runner/llm.js +225 -331
  583. package/dist/session/runner/max-steps.js +2 -2
  584. package/dist/session/runner/model.js +91 -91
  585. package/dist/session/runner/publish-llm-event.js +4 -4
  586. package/dist/session/runner/retry.js +74 -74
  587. package/dist/session/runner/step.js +145 -150
  588. package/dist/session/runner/to-llm-message.js +2 -2
  589. package/dist/session/schema.js +4 -4
  590. package/dist/session/session.js +172 -176
  591. package/dist/session/shell.js +136 -0
  592. package/dist/session/skill.js +105 -0
  593. package/dist/session/sql.js +12 -12
  594. package/dist/session/stats.js +77 -79
  595. package/dist/session/store.js +82 -82
  596. package/dist/session/subagent-completion.js +4 -4
  597. package/dist/session/system-prompt.js +4 -4
  598. package/dist/session/title.js +156 -328
  599. package/dist/session/to-session-error.js +108 -113
  600. package/dist/session/transfer.js +215 -196
  601. package/dist/session/usage.js +6 -6
  602. package/dist/session.js +231 -211
  603. package/dist/shell/parse.js +9 -9
  604. package/dist/shell/parser-wasm.bun.js +1 -1
  605. package/dist/shell/parser-wasm.node.js +1 -1
  606. package/dist/shell/parser-wasm.workerd.js +1 -1
  607. package/dist/shell/result.js +8 -8
  608. package/dist/shell/scan.js +5 -5
  609. package/dist/shell/select.js +16 -16
  610. package/dist/shell.js +133 -138
  611. package/dist/skill/discovery.js +5 -5
  612. package/dist/skill/instructions.js +99 -104
  613. package/dist/skill.js +109 -114
  614. package/dist/snapshot.js +85 -90
  615. package/dist/state.js +5 -5
  616. package/dist/tool/html-markdown.js +4 -4
  617. package/dist/tool/http-body.js +2 -2
  618. package/dist/tool/mcp.js +126 -131
  619. package/dist/tool/plugin/edit.js +112 -117
  620. package/dist/tool/plugin/file-diff.js +2 -2
  621. package/dist/tool/plugin/glob.js +116 -121
  622. package/dist/tool/plugin/grep.js +116 -121
  623. package/dist/tool/plugin/patch.js +114 -119
  624. package/dist/tool/plugin/question.js +104 -109
  625. package/dist/tool/plugin/read.js +118 -123
  626. package/dist/tool/plugin/shell.js +211 -197
  627. package/dist/tool/plugin/skill.js +103 -108
  628. package/dist/tool/plugin/subagent.js +211 -197
  629. package/dist/tool/plugin/webfetch.js +107 -112
  630. package/dist/tool/plugin/websearch.js +105 -110
  631. package/dist/tool/plugin/write.js +113 -118
  632. package/dist/tool/read-filesystem.js +110 -115
  633. package/dist/tool/runtime.js +6 -6
  634. package/dist/tool-output.js +11 -11
  635. package/dist/tool.js +122 -127
  636. package/dist/types/agent.d.ts +1 -1
  637. package/dist/types/aisdk.d.ts +1 -1
  638. package/dist/types/app.d.ts +2 -2
  639. package/dist/types/bus.d.ts +2 -2
  640. package/dist/types/catalog.d.ts +1 -1
  641. package/dist/types/codemode/catalog.d.ts +28 -4
  642. package/dist/types/codemode/instructions.d.ts +1 -1
  643. package/dist/types/codemode/tool.d.ts +16 -8
  644. package/dist/types/command.d.ts +1 -1
  645. package/dist/types/config/plugin/formatter.d.ts +1 -1
  646. package/dist/types/config/plugin/source.d.ts +2 -2
  647. package/dist/types/config.d.ts +3 -3
  648. package/dist/types/credential.d.ts +1 -1
  649. package/dist/types/database/database.d.ts +3 -3
  650. package/dist/types/effect/app-node-builder.d.ts +2 -1
  651. package/dist/types/effect/app-node-platform.d.ts +3 -3
  652. package/dist/types/environment/environment.d.ts +1 -1
  653. package/dist/types/event-logger.d.ts +1 -1
  654. package/dist/types/file-mutation.d.ts +1 -1
  655. package/dist/types/filesystem/location-watcher-policy.d.ts +1 -1
  656. package/dist/types/filesystem/location-watcher.d.ts +1 -1
  657. package/dist/types/filesystem/search.d.ts +2 -2
  658. package/dist/types/filesystem/watcher.d.ts +3 -3
  659. package/dist/types/filesystem.d.ts +3 -1
  660. package/dist/types/form.d.ts +1 -1
  661. package/dist/types/formatter.d.ts +1 -1
  662. package/dist/types/generate.d.ts +1 -1
  663. package/dist/types/git.d.ts +1 -1
  664. package/dist/types/image.d.ts +1 -1
  665. package/dist/types/instance/service.d.ts +14 -0
  666. package/dist/types/instance.d.ts +5 -5
  667. package/dist/types/instruction-discovery.d.ts +2 -2
  668. package/dist/types/instructions/builtins.d.ts +1 -1
  669. package/dist/types/integration.d.ts +1 -1
  670. package/dist/types/job.d.ts +1 -1
  671. package/dist/types/kv.d.ts +1 -1
  672. package/dist/types/location-activity.d.ts +1 -1
  673. package/dist/types/location-mutation.d.ts +1 -1
  674. package/dist/types/location-service-map.d.ts +8 -2
  675. package/dist/types/location.d.ts +1 -2
  676. package/dist/types/mcp/client.d.ts +1 -1
  677. package/dist/types/mcp/index.d.ts +3 -3
  678. package/dist/types/mcp/instructions.d.ts +1 -1
  679. package/dist/types/model-resolver.d.ts +1 -1
  680. package/dist/types/model.d.ts +25 -0
  681. package/dist/types/models-dev.d.ts +2 -2
  682. package/dist/types/permission/saved.d.ts +1 -1
  683. package/dist/types/permission.d.ts +1 -1
  684. package/dist/types/persistent-pty/index.d.ts +2 -2
  685. package/dist/types/plugin/hooks.d.ts +1 -1
  686. package/dist/types/plugin/host.d.ts +7 -358
  687. package/dist/types/plugin/instance.d.ts +5 -8
  688. package/dist/types/plugin/internal.d.ts +6 -7
  689. package/dist/types/plugin/module.d.ts +21 -6
  690. package/dist/types/plugin/sdk.d.ts +5 -6
  691. package/dist/types/plugin/skill.d.ts +2 -2
  692. package/dist/types/plugin/supervisor.d.ts +4 -6
  693. package/dist/types/plugin/update.d.ts +20 -0
  694. package/dist/types/plugin.d.ts +13 -5
  695. package/dist/types/project.d.ts +1 -2
  696. package/dist/types/provider.d.ts +25 -0
  697. package/dist/types/pty/ticket.d.ts +1 -1
  698. package/dist/types/pty.d.ts +1 -1
  699. package/dist/types/reference/instructions.d.ts +1 -1
  700. package/dist/types/reference.d.ts +1 -1
  701. package/dist/types/repository-cache.d.ts +3 -2
  702. package/dist/types/ripgrep/binary.d.ts +1 -1
  703. package/dist/types/ripgrep.d.ts +3 -1
  704. package/dist/types/rpc.d.ts +1 -1
  705. package/dist/types/session/command.d.ts +16 -0
  706. package/dist/types/session/compaction.d.ts +6 -3
  707. package/dist/types/session/context.d.ts +1 -1
  708. package/dist/types/session/environment.d.ts +1 -1
  709. package/dist/types/session/execution/restart.d.ts +2 -2
  710. package/dist/types/session/execution.d.ts +5 -5
  711. package/dist/types/session/generate.d.ts +9 -13
  712. package/dist/types/session/history.d.ts +5 -5
  713. package/dist/types/session/inbox.d.ts +11 -11
  714. package/dist/types/session/instruction-entry.d.ts +1 -1
  715. package/dist/types/session/instructions.d.ts +1 -1
  716. package/dist/types/session/model-request.d.ts +2 -2
  717. package/dist/types/session/model-transport.d.ts +1 -1
  718. package/dist/types/session/move.d.ts +30 -0
  719. package/dist/types/session/projector.d.ts +1 -1
  720. package/dist/types/session/prompt.d.ts +49 -109
  721. package/dist/types/session/revert.d.ts +18 -22
  722. package/dist/types/session/runner/llm.d.ts +1 -1
  723. package/dist/types/session/runner/model.d.ts +1 -1
  724. package/dist/types/session/session.d.ts +25 -17
  725. package/dist/types/session/shell.d.ts +13 -0
  726. package/dist/types/session/skill.d.ts +10 -0
  727. package/dist/types/session/store.d.ts +1 -1
  728. package/dist/types/session/title.d.ts +1 -1
  729. package/dist/types/session/transfer.d.ts +3 -3
  730. package/dist/types/session.d.ts +7 -18
  731. package/dist/types/shell/select.d.ts +2 -2
  732. package/dist/types/shell.d.ts +1 -1
  733. package/dist/types/skill/discovery.d.ts +1 -1
  734. package/dist/types/skill/instructions.d.ts +1 -1
  735. package/dist/types/skill.d.ts +1 -1
  736. package/dist/types/snapshot.d.ts +1 -1
  737. package/dist/types/tool/mcp.d.ts +1 -1
  738. package/dist/types/tool/plugin/edit.d.ts +1 -1
  739. package/dist/types/tool/plugin/glob.d.ts +1 -1
  740. package/dist/types/tool/plugin/grep.d.ts +3 -1
  741. package/dist/types/tool/plugin/patch.d.ts +1 -1
  742. package/dist/types/tool/plugin/read.d.ts +1 -1
  743. package/dist/types/tool/plugin/shell.d.ts +3 -2
  744. package/dist/types/tool/plugin/subagent.d.ts +3 -2
  745. package/dist/types/tool/plugin/websearch.d.ts +1 -1
  746. package/dist/types/tool/plugin/write.d.ts +1 -1
  747. package/dist/types/tool/read-filesystem.d.ts +1 -1
  748. package/dist/types/tool-output.d.ts +1 -1
  749. package/dist/types/tool.d.ts +4 -3
  750. package/dist/types/v1/config/migrate.d.ts +66 -65
  751. package/dist/types/vcs.d.ts +1 -1
  752. package/dist/types/websearch.d.ts +1 -1
  753. package/dist/types/wellknown.d.ts +5 -5
  754. package/dist/types/workspace/driver.d.ts +2 -2
  755. package/dist/types/workspace.d.ts +2 -2
  756. package/dist/types/worktree.d.ts +2 -2
  757. package/dist/util/array.js +1 -1
  758. package/dist/util/error.js +2 -2
  759. package/dist/util/identifier.js +1 -1
  760. package/dist/util/iife.js +2 -2
  761. package/dist/util/lazy.js +2 -2
  762. package/dist/util/process-lock-ffi.bun.js +3 -3
  763. package/dist/util/process-lock-ffi.node.js +3 -3
  764. package/dist/util/process-lock-ffi.workerd.js +3 -3
  765. package/dist/util/process-lock.js +1 -1
  766. package/dist/util/slug.js +2 -2
  767. package/dist/util/token.js +4 -4
  768. package/dist/util/which.js +2 -2
  769. package/dist/util/wildcard.js +4 -4
  770. package/dist/v1/config/agent.js +6 -6
  771. package/dist/v1/config/attachment.js +5 -5
  772. package/dist/v1/config/command.js +4 -4
  773. package/dist/v1/config/config.js +17 -17
  774. package/dist/v1/config/error.js +8 -8
  775. package/dist/v1/config/formatter.js +4 -4
  776. package/dist/v1/config/layout.js +4 -4
  777. package/dist/v1/config/lsp.js +7 -7
  778. package/dist/v1/config/mcp.js +7 -7
  779. package/dist/v1/config/migrate.js +26 -26
  780. package/dist/v1/config/permission.js +6 -6
  781. package/dist/v1/config/plugin.js +4 -4
  782. package/dist/v1/config/provider-options.js +4 -4
  783. package/dist/v1/config/provider.js +6 -6
  784. package/dist/v1/config/server.js +5 -5
  785. package/dist/v1/config/skills.js +4 -4
  786. package/dist/v1/permission.js +9 -9
  787. package/dist/vcs/patch.js +12 -12
  788. package/dist/vcs.js +89 -94
  789. package/dist/websearch.js +87 -87
  790. package/dist/wellknown/plugin.js +75 -75
  791. package/dist/wellknown.js +81 -81
  792. package/dist/workspace/driver.js +10 -10
  793. package/dist/workspace/sql.js +2 -2
  794. package/dist/workspace.js +76 -76
  795. package/dist/worktree/directory.js +5 -5
  796. package/dist/worktree/git.js +9 -9
  797. package/dist/worktree/sql.js +6 -6
  798. package/dist/worktree.js +102 -107
  799. package/package.json +7 -7
  800. package/dist/chunks/workspace-0p8q1qw1.js +0 -144
  801. package/dist/chunks/workspace-4q8e4ty8.js +0 -34
  802. package/dist/chunks/workspace-57tzwnz4.js +0 -107
  803. package/dist/chunks/workspace-hmryngz5.js +0 -410
  804. package/dist/chunks/workspace-jpw57t0x.js +0 -157
  805. package/dist/chunks/workspace-mx9wk07j.js +0 -203
  806. package/dist/chunks/workspace-n2cyq83r.js +0 -33
  807. package/dist/chunks/workspace-nyjqweqz.js +0 -144
  808. package/dist/chunks/workspace-rwh2mvqs.js +0 -34
  809. package/dist/chunks/workspace-s33fw6zm.js +0 -16
  810. package/dist/chunks/workspace-se5s32fp.js +0 -77
  811. package/dist/chunks/workspace-xgv25zxy.js +0 -16
  812. package/dist/plugin/runtime.js +0 -211
  813. package/dist/plugin/supervisor-service.js +0 -9
  814. package/dist/project/markers.js +0 -83
  815. package/dist/session/generate-node.js +0 -333
  816. package/dist/session/prompt-node.js +0 -321
  817. package/dist/session/revert-node.js +0 -321
  818. package/dist/types/plugin/runtime.d.ts +0 -41
  819. package/dist/types/plugin/supervisor-service.d.ts +0 -13
  820. package/dist/types/project/markers.d.ts +0 -18
  821. package/dist/types/session/generate-node.d.ts +0 -7
  822. package/dist/types/session/prompt-node.d.ts +0 -3
  823. package/dist/types/session/revert-node.d.ts +0 -3
  824. /package/dist/chunks/{workspace-0cgt0xh2.js → reference-0cgt0xh2.js} +0 -0
  825. /package/dist/chunks/{workspace-0f48qthw.js → reference-0f48qthw.js} +0 -0
  826. /package/dist/chunks/{workspace-0zz82cjq.js → reference-0zz82cjq.js} +0 -0
  827. /package/dist/chunks/{workspace-1fb7bmpf.js → reference-1fb7bmpf.js} +0 -0
  828. /package/dist/chunks/{workspace-1wcz8fvj.js → reference-1wcz8fvj.js} +0 -0
  829. /package/dist/chunks/{workspace-29n7vfk2.js → reference-29n7vfk2.js} +0 -0
  830. /package/dist/chunks/{workspace-2qdx6zz3.js → reference-2qdx6zz3.js} +0 -0
  831. /package/dist/chunks/{workspace-2xb0r1c6.js → reference-2xb0r1c6.js} +0 -0
  832. /package/dist/chunks/{workspace-39ktntah.js → reference-39ktntah.js} +0 -0
  833. /package/dist/chunks/{workspace-3g3rpp2x.js → reference-3g3rpp2x.js} +0 -0
  834. /package/dist/chunks/{workspace-3w3ybtfd.js → reference-3w3ybtfd.js} +0 -0
  835. /package/dist/chunks/{workspace-47ty4mvs.js → reference-47ty4mvs.js} +0 -0
  836. /package/dist/chunks/{workspace-4b2tz2m9.js → reference-4b2tz2m9.js} +0 -0
  837. /package/dist/chunks/{workspace-5a5ch9ts.js → reference-5a5ch9ts.js} +0 -0
  838. /package/dist/chunks/{workspace-5va1yh78.js → reference-5va1yh78.js} +0 -0
  839. /package/dist/chunks/{workspace-61ek4hj9.js → reference-61ek4hj9.js} +0 -0
  840. /package/dist/chunks/{workspace-69qrqpw0.js → reference-69qrqpw0.js} +0 -0
  841. /package/dist/chunks/{workspace-6zqxzw0a.js → reference-6zqxzw0a.js} +0 -0
  842. /package/dist/chunks/{workspace-7n9qwqk4.js → reference-7n9qwqk4.js} +0 -0
  843. /package/dist/chunks/{workspace-8nn8kqcn.js → reference-8nn8kqcn.js} +0 -0
  844. /package/dist/chunks/{workspace-8rpfd2h6.js → reference-8rpfd2h6.js} +0 -0
  845. /package/dist/chunks/{workspace-8sj3ajy5.js → reference-8sj3ajy5.js} +0 -0
  846. /package/dist/chunks/{workspace-8w9tzfz1.js → reference-8w9tzfz1.js} +0 -0
  847. /package/dist/chunks/{workspace-906y0b6d.js → reference-906y0b6d.js} +0 -0
  848. /package/dist/chunks/{workspace-9dct5xhx.js → reference-9dct5xhx.js} +0 -0
  849. /package/dist/chunks/{workspace-9maxscqf.js → reference-9maxscqf.js} +0 -0
  850. /package/dist/chunks/{workspace-9sdtsapf.js → reference-9sdtsapf.js} +0 -0
  851. /package/dist/chunks/{workspace-a02svayp.js → reference-a02svayp.js} +0 -0
  852. /package/dist/chunks/{workspace-a83yvq99.js → reference-a83yvq99.js} +0 -0
  853. /package/dist/chunks/{workspace-ayevdmef.js → reference-ayevdmef.js} +0 -0
  854. /package/dist/chunks/{workspace-b02txbh8.js → reference-b02txbh8.js} +0 -0
  855. /package/dist/chunks/{workspace-bbqs2y60.js → reference-bbqs2y60.js} +0 -0
  856. /package/dist/chunks/{workspace-bjwj8hwv.js → reference-bjwj8hwv.js} +0 -0
  857. /package/dist/chunks/{workspace-brsh5f65.js → reference-brsh5f65.js} +0 -0
  858. /package/dist/chunks/{workspace-bxdhjb3y.js → reference-bxdhjb3y.js} +0 -0
  859. /package/dist/chunks/{workspace-c77ad0vh.js → reference-c77ad0vh.js} +0 -0
  860. /package/dist/chunks/{workspace-cm67rqy2.js → reference-cm67rqy2.js} +0 -0
  861. /package/dist/chunks/{workspace-df3v2q6j.js → reference-df3v2q6j.js} +0 -0
  862. /package/dist/chunks/{workspace-dhcq6c44.js → reference-dhcq6c44.js} +0 -0
  863. /package/dist/chunks/{workspace-dht5baf0.js → reference-dht5baf0.js} +0 -0
  864. /package/dist/chunks/{workspace-dkmkay92.js → reference-dkmkay92.js} +0 -0
  865. /package/dist/chunks/{workspace-ehj9csmv.js → reference-ehj9csmv.js} +0 -0
  866. /package/dist/chunks/{workspace-em6xpscd.js → reference-em6xpscd.js} +0 -0
  867. /package/dist/chunks/{workspace-emmqknsm.js → reference-emmqknsm.js} +0 -0
  868. /package/dist/chunks/{workspace-ezs3tagn.js → reference-ezs3tagn.js} +0 -0
  869. /package/dist/chunks/{workspace-f14r7hfz.js → reference-f14r7hfz.js} +0 -0
  870. /package/dist/chunks/{workspace-f1jj19e8.js → reference-f1jj19e8.js} +0 -0
  871. /package/dist/chunks/{workspace-f4cp4g4a.js → reference-f4cp4g4a.js} +0 -0
  872. /package/dist/chunks/{workspace-faypg4r1.js → reference-faypg4r1.js} +0 -0
  873. /package/dist/chunks/{workspace-fg7fz4q3.js → reference-fg7fz4q3.js} +0 -0
  874. /package/dist/chunks/{workspace-fgbfdq62.js → reference-fgbfdq62.js} +0 -0
  875. /package/dist/chunks/{workspace-g23fad86.js → reference-g23fad86.js} +0 -0
  876. /package/dist/chunks/{workspace-gd5xeqc2.js → reference-gd5xeqc2.js} +0 -0
  877. /package/dist/chunks/{workspace-ghm4673n.js → reference-ghm4673n.js} +0 -0
  878. /package/dist/chunks/{workspace-ghwjy7my.js → reference-ghwjy7my.js} +0 -0
  879. /package/dist/chunks/{workspace-gy500k2r.js → reference-gy500k2r.js} +0 -0
  880. /package/dist/chunks/{workspace-hzeg9cfr.js → reference-hzeg9cfr.js} +0 -0
  881. /package/dist/chunks/{workspace-j07kk359.js → reference-j07kk359.js} +0 -0
  882. /package/dist/chunks/{workspace-j32vdj8r.js → reference-j32vdj8r.js} +0 -0
  883. /package/dist/chunks/{workspace-jqms80b0.js → reference-jqms80b0.js} +0 -0
  884. /package/dist/chunks/{workspace-jve7t217.js → reference-jve7t217.js} +0 -0
  885. /package/dist/chunks/{workspace-k3e42drn.js → reference-k3e42drn.js} +0 -0
  886. /package/dist/chunks/{workspace-k8b45nas.js → reference-k8b45nas.js} +0 -0
  887. /package/dist/chunks/{workspace-kpdbz7gn.js → reference-kpdbz7gn.js} +0 -0
  888. /package/dist/chunks/{workspace-kxy11nzk.js → reference-kxy11nzk.js} +0 -0
  889. /package/dist/chunks/{workspace-kyyqvx4s.js → reference-kyyqvx4s.js} +0 -0
  890. /package/dist/chunks/{workspace-m8cbvarh.js → reference-m8cbvarh.js} +0 -0
  891. /package/dist/chunks/{workspace-ma60vzgv.js → reference-ma60vzgv.js} +0 -0
  892. /package/dist/chunks/{workspace-n3m50c2t.js → reference-n3m50c2t.js} +0 -0
  893. /package/dist/chunks/{workspace-nkm1m8dz.js → reference-nkm1m8dz.js} +0 -0
  894. /package/dist/chunks/{workspace-nsc0c3zb.js → reference-nsc0c3zb.js} +0 -0
  895. /package/dist/chunks/{workspace-qaarhjrp.js → reference-qaarhjrp.js} +0 -0
  896. /package/dist/chunks/{workspace-qc167nrn.js → reference-qc167nrn.js} +0 -0
  897. /package/dist/chunks/{workspace-qp95y4jb.js → reference-qp95y4jb.js} +0 -0
  898. /package/dist/chunks/{workspace-r8f4w671.js → reference-r8f4w671.js} +0 -0
  899. /package/dist/chunks/{workspace-rdfev9jy.js → reference-rdfev9jy.js} +0 -0
  900. /package/dist/chunks/{workspace-s7whb9gt.js → reference-s7whb9gt.js} +0 -0
  901. /package/dist/chunks/{workspace-se76j685.js → reference-se76j685.js} +0 -0
  902. /package/dist/chunks/{workspace-sem2g21k.js → reference-sem2g21k.js} +0 -0
  903. /package/dist/chunks/{workspace-sp575ygv.js → reference-sp575ygv.js} +0 -0
  904. /package/dist/chunks/{workspace-tmb1f636.js → reference-tmb1f636.js} +0 -0
  905. /package/dist/chunks/{workspace-ttxf0gsy.js → reference-ttxf0gsy.js} +0 -0
  906. /package/dist/chunks/{workspace-tvmhrvfj.js → reference-tvmhrvfj.js} +0 -0
  907. /package/dist/chunks/{workspace-v2adqbbe.js → reference-v2adqbbe.js} +0 -0
  908. /package/dist/chunks/{workspace-vac9eqd2.js → reference-vac9eqd2.js} +0 -0
  909. /package/dist/chunks/{workspace-rvfvac9x.js → reference-vpjkya7h.js} +0 -0
  910. /package/dist/chunks/{workspace-wj4sxzqa.js → reference-wj4sxzqa.js} +0 -0
  911. /package/dist/chunks/{workspace-wwntjmk1.js → reference-wwntjmk1.js} +0 -0
  912. /package/dist/chunks/{workspace-wyqjaaa5.js → reference-wyqjaaa5.js} +0 -0
  913. /package/dist/chunks/{workspace-x4q807cx.js → reference-x4q807cx.js} +0 -0
  914. /package/dist/chunks/{workspace-yrqrg4vp.js → reference-yrqrg4vp.js} +0 -0
  915. /package/dist/chunks/{workspace-z47nswr2.js → reference-z47nswr2.js} +0 -0
  916. /package/dist/chunks/{workspace-zsf8rs93.js → reference-zsf8rs93.js} +0 -0
package/dist/tool.js CHANGED
@@ -8,133 +8,128 @@ import {
8
8
  TextContent,
9
9
  exports_tool,
10
10
  node
11
- } from "./chunks/workspace-zwavn0q8.js";
12
- import"./chunks/workspace-57tzwnz4.js";
13
- import"./chunks/workspace-57ej80dx.js";
14
- import"./chunks/workspace-f1jj19e8.js";
15
- import"./chunks/workspace-kb2ag3w7.js";
16
- import"./chunks/workspace-ekr1z8vx.js";
17
- import"./chunks/workspace-se07g09y.js";
18
- import"./chunks/workspace-264e1nfp.js";
19
- import"./chunks/workspace-9kmcw9m3.js";
20
- import"./chunks/workspace-cgqn2mrm.js";
21
- import"./chunks/workspace-0687t5rp.js";
22
- import"./chunks/workspace-q606pcse.js";
23
- import"./chunks/workspace-y67x6rf6.js";
24
- import"./chunks/workspace-nekhbbnv.js";
25
- import"./chunks/workspace-d4h7vwhh.js";
26
- import"./chunks/workspace-a83yvq99.js";
27
- import"./chunks/workspace-ec8vrfw5.js";
28
- import"./chunks/workspace-8rpfd2h6.js";
29
- import"./chunks/workspace-0vkr0968.js";
30
- import"./chunks/workspace-psv6w1a0.js";
31
- import"./chunks/workspace-kg1345f7.js";
32
- import"./chunks/workspace-54jxv7ra.js";
33
- import"./chunks/workspace-rahat93a.js";
34
- import"./chunks/workspace-xanq1mxd.js";
35
- import"./chunks/workspace-v2wshkax.js";
36
- import"./chunks/workspace-bjwj8hwv.js";
37
- import"./chunks/workspace-rth9afse.js";
38
- import"./chunks/workspace-yt02w91s.js";
39
- import"./chunks/workspace-zxe9jjhn.js";
40
- import"./chunks/workspace-3g8vftxb.js";
41
- import"./chunks/workspace-xczfw7dq.js";
42
- import"./chunks/workspace-v12a39vm.js";
43
- import"./chunks/workspace-61ek4hj9.js";
44
- import"./chunks/workspace-t14kykx1.js";
45
- import"./chunks/workspace-k3e42drn.js";
46
- import"./chunks/workspace-ngk06vjf.js";
47
- import"./chunks/workspace-q2jbdv9f.js";
48
- import"./chunks/workspace-gb1z7yet.js";
49
- import"./chunks/workspace-h94zdhz8.js";
50
- import"./chunks/workspace-jpw57t0x.js";
51
- import"./chunks/workspace-0dmbf0wy.js";
52
- import"./chunks/workspace-jv2akzxs.js";
53
- import"./chunks/workspace-5vcssjzn.js";
54
- import"./chunks/workspace-k5e6kcej.js";
55
- import"./chunks/workspace-c8ya26sa.js";
56
- import"./chunks/workspace-zbqqnp0n.js";
57
- import"./chunks/workspace-dyj7wa6j.js";
58
- import"./chunks/workspace-j07kk359.js";
59
- import"./chunks/workspace-gd2xppx8.js";
60
- import"./chunks/workspace-x89rah0x.js";
61
- import"./chunks/workspace-vkgwd1zr.js";
62
- import"./chunks/workspace-zsf8rs93.js";
63
- import"./chunks/workspace-0kvmztkf.js";
64
- import"./chunks/workspace-sem2g21k.js";
65
- import"./chunks/workspace-gbf8gmfy.js";
66
- import"./chunks/workspace-75jm6q42.js";
67
- import"./chunks/workspace-ttxf0gsy.js";
68
- import"./chunks/workspace-w47r4rby.js";
69
- import"./chunks/workspace-y6vap6bx.js";
70
- import"./chunks/workspace-sc0wbnjs.js";
71
- import"./chunks/workspace-b4txk059.js";
72
- import"./chunks/workspace-cdyns1y9.js";
73
- import"./chunks/workspace-bxdhjb3y.js";
74
- import"./chunks/workspace-s7whb9gt.js";
75
- import"./chunks/workspace-hgr9y616.js";
76
- import"./chunks/workspace-j0feex7e.js";
77
- import"./chunks/workspace-vcwr2vpf.js";
78
- import"./chunks/workspace-wbkt8qpj.js";
79
- import"./chunks/workspace-k8b45nas.js";
80
- import"./chunks/workspace-0f48qthw.js";
81
- import"./chunks/workspace-ty0adcvq.js";
82
- import"./chunks/workspace-emmqknsm.js";
83
- import"./chunks/workspace-tmb1f636.js";
84
- import"./chunks/workspace-faypg4r1.js";
85
- import"./chunks/workspace-ayevdmef.js";
86
- import"./chunks/workspace-dht5baf0.js";
87
- import"./chunks/workspace-5va1yh78.js";
88
- import"./chunks/workspace-906y0b6d.js";
89
- import"./chunks/workspace-wwntjmk1.js";
90
- import"./chunks/workspace-29n7vfk2.js";
91
- import"./chunks/workspace-nsc0c3zb.js";
92
- import"./chunks/workspace-z47nswr2.js";
93
- import"./chunks/workspace-6zqxzw0a.js";
94
- import"./chunks/workspace-x4q807cx.js";
95
- import"./chunks/workspace-3w3ybtfd.js";
96
- import"./chunks/workspace-b02txbh8.js";
97
- import"./chunks/workspace-69qrqpw0.js";
98
- import"./chunks/workspace-f14r7hfz.js";
99
- import"./chunks/workspace-1fb7bmpf.js";
100
- import"./chunks/workspace-dhcq6c44.js";
101
- import"./chunks/workspace-em6xpscd.js";
102
- import"./chunks/workspace-ma60vzgv.js";
103
- import"./chunks/workspace-kpdbz7gn.js";
104
- import"./chunks/workspace-n3m50c2t.js";
105
- import"./chunks/workspace-kxy11nzk.js";
106
- import"./chunks/workspace-yrqrg4vp.js";
107
- import"./chunks/workspace-qc167nrn.js";
108
- import"./chunks/workspace-qp95y4jb.js";
109
- import"./chunks/workspace-8nn8kqcn.js";
110
- import"./chunks/workspace-3g3rpp2x.js";
111
- import"./chunks/workspace-v2adqbbe.js";
112
- import"./chunks/workspace-2qdx6zz3.js";
113
- import"./chunks/workspace-se76j685.js";
114
- import"./chunks/workspace-gd5xeqc2.js";
115
- import"./chunks/workspace-kyyqvx4s.js";
116
- import"./chunks/workspace-ghwjy7my.js";
117
- import"./chunks/workspace-fgbfdq62.js";
118
- import"./chunks/workspace-9dct5xhx.js";
119
- import"./chunks/workspace-2xb0r1c6.js";
120
- import"./chunks/workspace-nkm1m8dz.js";
121
- import"./chunks/workspace-wyqjaaa5.js";
122
- import"./chunks/workspace-47ty4mvs.js";
123
- import"./chunks/workspace-9sdtsapf.js";
124
- import"./chunks/workspace-cm67rqy2.js";
125
- import"./chunks/workspace-ghm4673n.js";
126
- import"./chunks/workspace-f4cp4g4a.js";
127
- import"./chunks/workspace-8sj3ajy5.js";
128
- import"./chunks/workspace-39ktntah.js";
129
- import"./chunks/workspace-rvfvac9x.js";
11
+ } from "./chunks/reference-f85kjf82.js";
12
+ import"./chunks/reference-0gpahtwn.js";
13
+ import"./chunks/reference-rr7wbarq.js";
14
+ import"./chunks/reference-f1jj19e8.js";
15
+ import"./chunks/reference-qx3jf2qk.js";
16
+ import"./chunks/reference-vem6fgbh.js";
17
+ import"./chunks/reference-p4fwfknn.js";
18
+ import"./chunks/reference-7myqjfx6.js";
19
+ import"./chunks/reference-bhk5bpxq.js";
20
+ import"./chunks/reference-rahat93a.js";
21
+ import"./chunks/reference-k5r2vn1t.js";
22
+ import"./chunks/reference-hvydqsq5.js";
23
+ import"./chunks/reference-jqhp3fpz.js";
24
+ import"./chunks/reference-6wsfy4sp.js";
25
+ import"./chunks/reference-vynk8zbr.js";
26
+ import"./chunks/reference-vmf3mwf0.js";
27
+ import"./chunks/reference-61ek4hj9.js";
28
+ import"./chunks/reference-zyyhrfr9.js";
29
+ import"./chunks/reference-yt5sqzpx.js";
30
+ import"./chunks/reference-bwqptwn6.js";
31
+ import"./chunks/reference-264e1nfp.js";
32
+ import"./chunks/reference-z427xjvx.js";
33
+ import"./chunks/reference-2sqw2jjm.js";
34
+ import"./chunks/reference-m3k5wttq.js";
35
+ import"./chunks/reference-q606pcse.js";
36
+ import"./chunks/reference-ka1ze8e7.js";
37
+ import"./chunks/reference-d4h7vwhh.js";
38
+ import"./chunks/reference-edxnhgvj.js";
39
+ import"./chunks/reference-wghtbf73.js";
40
+ import"./chunks/reference-8rpfd2h6.js";
41
+ import"./chunks/reference-xws7arpm.js";
42
+ import"./chunks/reference-bjwj8hwv.js";
43
+ import"./chunks/reference-c54e84vp.js";
44
+ import"./chunks/reference-a83yvq99.js";
45
+ import"./chunks/reference-pp6802x5.js";
46
+ import"./chunks/reference-2syg46b4.js";
47
+ import"./chunks/reference-m7jtgrng.js";
48
+ import"./chunks/reference-gb1z7yet.js";
49
+ import"./chunks/reference-c8ya26sa.js";
50
+ import"./chunks/reference-zbqqnp0n.js";
51
+ import"./chunks/reference-sem2g21k.js";
52
+ import"./chunks/reference-qz5gwjr7.js";
53
+ import"./chunks/reference-grfz4hhj.js";
54
+ import"./chunks/reference-j07kk359.js";
55
+ import"./chunks/reference-k3e42drn.js";
56
+ import"./chunks/reference-b7rje112.js";
57
+ import"./chunks/reference-jghhn6h0.js";
58
+ import"./chunks/reference-zsf8rs93.js";
59
+ import"./chunks/reference-xwpxh8hr.js";
60
+ import"./chunks/reference-ttxf0gsy.js";
61
+ import"./chunks/reference-0bw2p3eg.js";
62
+ import"./chunks/reference-vczm1m9n.js";
63
+ import"./chunks/reference-hyfbxc6f.js";
64
+ import"./chunks/reference-e4ve50r5.js";
65
+ import"./chunks/reference-xxphcf1f.js";
66
+ import"./chunks/reference-vcwr2vpf.js";
67
+ import"./chunks/reference-0f48qthw.js";
68
+ import"./chunks/reference-wbkt8qpj.js";
69
+ import"./chunks/reference-hgr9y616.js";
70
+ import"./chunks/reference-bxdhjb3y.js";
71
+ import"./chunks/reference-j0feex7e.js";
72
+ import"./chunks/reference-k8b45nas.js";
73
+ import"./chunks/reference-s7whb9gt.js";
74
+ import"./chunks/reference-tt4qnzy6.js";
75
+ import"./chunks/reference-39ktntah.js";
76
+ import"./chunks/reference-ez1a90zg.js";
77
+ import"./chunks/reference-ghm4673n.js";
78
+ import"./chunks/reference-3w3ybtfd.js";
79
+ import"./chunks/reference-dhcq6c44.js";
80
+ import"./chunks/reference-dht5baf0.js";
81
+ import"./chunks/reference-ayevdmef.js";
82
+ import"./chunks/reference-906y0b6d.js";
83
+ import"./chunks/reference-v2adqbbe.js";
84
+ import"./chunks/reference-cm67rqy2.js";
85
+ import"./chunks/reference-3g3rpp2x.js";
86
+ import"./chunks/reference-f14r7hfz.js";
87
+ import"./chunks/reference-z47nswr2.js";
88
+ import"./chunks/reference-1fb7bmpf.js";
89
+ import"./chunks/reference-wyqjaaa5.js";
90
+ import"./chunks/reference-29n7vfk2.js";
91
+ import"./chunks/reference-6zqxzw0a.js";
92
+ import"./chunks/reference-69qrqpw0.js";
93
+ import"./chunks/reference-b02txbh8.js";
94
+ import"./chunks/reference-faypg4r1.js";
95
+ import"./chunks/reference-x4q807cx.js";
96
+ import"./chunks/reference-nsc0c3zb.js";
97
+ import"./chunks/reference-kxy11nzk.js";
98
+ import"./chunks/reference-se76j685.js";
99
+ import"./chunks/reference-tmb1f636.js";
100
+ import"./chunks/reference-kyyqvx4s.js";
101
+ import"./chunks/reference-f4cp4g4a.js";
102
+ import"./chunks/reference-n3m50c2t.js";
103
+ import"./chunks/reference-8nn8kqcn.js";
104
+ import"./chunks/reference-yrqrg4vp.js";
105
+ import"./chunks/reference-ghwjy7my.js";
106
+ import"./chunks/reference-kpdbz7gn.js";
107
+ import"./chunks/reference-9dct5xhx.js";
108
+ import"./chunks/reference-5va1yh78.js";
109
+ import"./chunks/reference-nkm1m8dz.js";
110
+ import"./chunks/reference-qc167nrn.js";
111
+ import"./chunks/reference-qp95y4jb.js";
112
+ import"./chunks/reference-emmqknsm.js";
113
+ import"./chunks/reference-em6xpscd.js";
114
+ import"./chunks/reference-47ty4mvs.js";
115
+ import"./chunks/reference-wwntjmk1.js";
116
+ import"./chunks/reference-2qdx6zz3.js";
117
+ import"./chunks/reference-gd5xeqc2.js";
118
+ import"./chunks/reference-fgbfdq62.js";
119
+ import"./chunks/reference-2xb0r1c6.js";
120
+ import"./chunks/reference-ma60vzgv.js";
121
+ import"./chunks/reference-9sdtsapf.js";
122
+ import"./chunks/reference-8sj3ajy5.js";
123
+ import"./chunks/reference-66mds5ht.js";
124
+ import"./chunks/reference-vpjkya7h.js";
130
125
  export {
131
- node,
132
- exports_tool as Tool,
133
- TextContent,
134
- Service,
135
- RegistrationError,
136
- FileContent,
137
- Error,
126
+ CallID,
138
127
  Content,
139
- CallID
128
+ Error,
129
+ FileContent,
130
+ RegistrationError,
131
+ Service,
132
+ TextContent,
133
+ exports_tool as Tool,
134
+ node
140
135
  };
@@ -116,4 +116,4 @@ export interface Interface extends State.Transformable<Draft> {
116
116
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Agent", Interface>;
117
117
  export declare class Service extends Service_base {
118
118
  }
119
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
119
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -49,4 +49,4 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/AISDK", Int
49
49
  export declare class Service extends Service_base {
50
50
  }
51
51
  export declare const locationLayer: Layer.Layer<Service, never, never>;
52
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
52
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -9,5 +9,5 @@ export declare const Metadata: Context.Reference<Info>;
9
9
  export declare function make(input?: Partial<Info>): Info;
10
10
  export declare function useragent(app: Info): string;
11
11
  export declare const layer: (input?: Partial<Info>) => Layer.Layer<never, never, never>;
12
- export declare const configured: (input?: Partial<Info>) => import("@opencode-ai/util/effect/layer-node").Node<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
13
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
12
+ export declare const configured: (input?: Partial<Info>) => import("@opencode-ai/util/effect/layer-node").Provider<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
13
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -97,5 +97,5 @@ interface Options {
97
97
  /** Retain durable event payloads for historical log reads and replay. */
98
98
  readonly persist?: boolean;
99
99
  }
100
- export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
101
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
100
+ export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
101
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -46,4 +46,4 @@ export interface Interface extends State.Transformable<Draft> {
46
46
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Catalog", Interface>;
47
47
  export declare class Service extends Service_base {
48
48
  }
49
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
49
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -1,17 +1,37 @@
1
1
  export * as CodeModeCatalog from "./catalog.js";
2
2
  import { Schema } from "effect";
3
- export declare const Entry: Schema.Struct<{
4
- readonly path: Schema.String;
3
+ export declare const Tool: Schema.Struct<{
4
+ readonly type: Schema.Literal<"tool">;
5
+ readonly name: Schema.String;
5
6
  readonly description: Schema.String;
6
7
  readonly signature: Schema.String;
7
8
  readonly pinned: Schema.optionalKey<Schema.Boolean>;
8
9
  }>;
9
- export type Entry = typeof Entry.Type;
10
+ export type Tool = typeof Tool.Type;
11
+ export type Namespace = {
12
+ readonly type: "namespace";
13
+ readonly name: string;
14
+ readonly description?: string;
15
+ readonly tools: ReadonlyArray<Tool | Namespace>;
16
+ };
17
+ export type Inventory = {
18
+ readonly tools: ReadonlyArray<Tool | Namespace>;
19
+ };
20
+ declare const NamespaceSummary: Schema.Struct<{
21
+ readonly name: Schema.String;
22
+ readonly description: Schema.optionalKey<Schema.String>;
23
+ readonly count: Schema.Number;
24
+ readonly entries: Schema.$Array<Schema.Struct<{
25
+ readonly path: Schema.String;
26
+ readonly line: Schema.String;
27
+ }>>;
28
+ }>;
10
29
  export declare const Summary: Schema.Struct<{
11
30
  readonly total: Schema.Number;
12
31
  readonly shown: Schema.Number;
13
32
  readonly namespaces: Schema.$Array<Schema.Struct<{
14
33
  readonly name: Schema.String;
34
+ readonly description: Schema.optionalKey<Schema.String>;
15
35
  readonly count: Schema.Number;
16
36
  readonly entries: Schema.$Array<Schema.Struct<{
17
37
  readonly path: Schema.String;
@@ -20,4 +40,8 @@ export declare const Summary: Schema.Struct<{
20
40
  }>>;
21
41
  }>;
22
42
  export type Summary = typeof Summary.Type;
23
- export declare function summarize(entries: ReadonlyArray<Entry>, budget?: number): Summary;
43
+ export type Options = {
44
+ readonly budget?: number;
45
+ };
46
+ export declare function summarize(inventory: Inventory, options?: Options): Summary;
47
+ export declare function namespaceLine(namespace: typeof NamespaceSummary.Type): string;
@@ -3,4 +3,4 @@ import { Instructions } from "../instructions/index.js";
3
3
  import { CodeModeCatalog } from "./catalog.js";
4
4
  export declare function render(catalog: CodeModeCatalog.Summary): string;
5
5
  export declare function update(previous: CodeModeCatalog.Summary, current: CodeModeCatalog.Summary): string;
6
- export declare const make: (entries?: ReadonlyArray<CodeModeCatalog.Entry>) => Instructions.List;
6
+ export declare const make: (inventory?: CodeModeCatalog.Inventory) => Instructions.List;
@@ -1,7 +1,12 @@
1
1
  export * as CodeModeTool from "./tool.js";
2
- import type { Context, Error, Info, Result } from "@opencode-ai/schema/tool";
2
+ import type { Context, Error, Info, Namespace as ToolNamespace, Result } from "@opencode-ai/schema/tool";
3
3
  import { Effect, Schema } from "effect";
4
- export declare const create: (registrations: ReadonlyMap<string, Info>, executeTool: (name: string, tool: Info, input: unknown, context: Context) => Effect.Effect<Result, Error>) => {
4
+ import { CodeModeCatalog } from "./catalog.js";
5
+ export type Inventory = {
6
+ readonly tools: ReadonlyMap<string, Info>;
7
+ readonly namespaces?: ReadonlyMap<string, ToolNamespace>;
8
+ };
9
+ export declare const create: (inventory: Inventory, executeTool: (name: string, tool: Info, input: unknown, context: Context) => Effect.Effect<Result, Error>) => {
5
10
  name: string;
6
11
  description: string;
7
12
  input: Schema.Struct<{
@@ -50,9 +55,12 @@ export declare const create: (registrations: ReadonlyMap<string, Info>, executeT
50
55
  metadata: Readonly<Record<string, any>>;
51
56
  }, never, never>;
52
57
  };
53
- export declare const catalog: (registrations: ReadonlyMap<string, Info>) => {
54
- pinned: boolean;
55
- path: string;
56
- description: string;
57
- signature: string;
58
- }[];
58
+ export declare const catalog: (inventory: Inventory) => {
59
+ tools: readonly ({
60
+ readonly name: string;
61
+ readonly description: string;
62
+ readonly type: "tool";
63
+ readonly signature: string;
64
+ readonly pinned?: boolean | undefined;
65
+ } | CodeModeCatalog.Namespace)[];
66
+ };
@@ -49,4 +49,4 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/Command", I
49
49
  export declare class Service extends Service_base {
50
50
  }
51
51
  export declare const layer: Layer.Layer<Service, never, Bus.Service>;
52
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
52
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -6,4 +6,4 @@ import { AppProcess } from "@opencode-ai/util/process";
6
6
  import { Config } from "../../config.js";
7
7
  import { Formatter } from "../../formatter.js";
8
8
  import { Location } from "../../location.js";
9
- export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Global.Service | FSUtil.Service | AppProcess.Service | Npm.Service | Location.Service | Config.Service | Formatter.Service>;
9
+ export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Global.Service | FSUtil.Service | AppProcess.Service | Location.Service | Npm.Service | Config.Service | Formatter.Service>;
@@ -21,5 +21,5 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/ConfigPlugi
21
21
  export declare class Service extends Service_base {
22
22
  }
23
23
  export declare const layer: Layer.Layer<Service, never, FSUtil.Service | Location.Service | Watcher.Service | Config.Service>;
24
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
25
- export declare const empty: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
24
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
25
+ export declare const empty: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -40,6 +40,6 @@ export declare class Test extends Test_base {
40
40
  }
41
41
  /** In-memory config for tests: static entries with replaceable state and a test-driven change feed. */
42
42
  export declare const testLayer: (initial?: Entry[]) => Layer.Layer<Service | Test, never, never>;
43
- export declare const layer: (options?: Options) => Layer.Layer<Service, never, Global.Service | FSUtil.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | WellKnown.Service>;
44
- export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
45
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
43
+ export declare const layer: (options?: Options) => Layer.Layer<Service, never, Global.Service | FSUtil.Service | Bus.Service | Location.Service | Credential.Service | Watcher.Service | WellKnown.Service>;
44
+ export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
45
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -234,4 +234,4 @@ export interface Interface {
234
234
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Credential", Interface>;
235
235
  export declare class Service extends Service_base {
236
236
  }
237
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
237
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -19,7 +19,7 @@ export declare class Service extends Service_base {
19
19
  }
20
20
  export declare function layer(options?: Options): Layer.Layer<Service, never, Global.Service>;
21
21
  export declare const layerFromClient: Layer.Layer<Service, never, SqlClient.SqlClient | Global.Service>;
22
- export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
22
+ export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
23
23
  /** `configured`, but over an injected SqlClient layer instead of a filesystem path. */
24
- export declare function configuredClient(client: Layer.Layer<SqlClient.SqlClient>): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
25
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
24
+ export declare function configuredClient(client: Layer.Layer<SqlClient.SqlClient>): import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
25
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -1,3 +1,4 @@
1
1
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
2
- export declare function build<A, E>(root: LayerNode.Node<A, E, any>, replacements?: LayerNode.Replacements): import("effect/Layer").Layer<A, E, never>;
2
+ import { Layer } from "effect";
3
+ export declare function build<A, E>(root: LayerNode.Graph<A, E>, replacements?: LayerNode.Replacements): Layer.Layer<A, E, never>;
3
4
  export * as AppNodeBuilder from "./app-node-builder.js";
@@ -1,6 +1,6 @@
1
1
  import { RequestExecutor } from "@opencode-ai/ai/route";
2
2
  import { Socket } from "effect/unstable/socket";
3
- export declare const requestExecutor: import("@opencode-ai/util/effect/layer-node").Node<RequestExecutor.Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
4
- export declare const llmClient: import("@opencode-ai/util/effect/layer-node").Node<import("@opencode-ai/ai").LLMClientService, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
5
- export declare const webSocketConstructor: import("@opencode-ai/util/effect/layer-node").Node<Socket.WebSocketConstructor, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
3
+ export declare const requestExecutor: import("@opencode-ai/util/effect/layer-node").Provider<RequestExecutor.Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
4
+ export declare const llmClient: import("@opencode-ai/util/effect/layer-node").Provider<import("@opencode-ai/ai").LLMClientService, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
5
+ export declare const webSocketConstructor: import("@opencode-ai/util/effect/layer-node").Provider<Socket.WebSocketConstructor, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
6
6
  export * as LayerNodePlatform from "./app-node-platform.js";
@@ -8,5 +8,5 @@ export interface Interface {
8
8
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Environment", Interface>;
9
9
  export declare class Service extends Service_base {
10
10
  }
11
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
11
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
12
12
  export * as EnvironmentService from "./environment.js";
@@ -2,4 +2,4 @@ export * as EventLogger from "./event-logger.js";
2
2
  import { Layer } from "effect";
3
3
  import { Bus } from "./bus.js";
4
4
  export declare const layer: Layer.Layer<never, never, Bus.Service>;
5
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
5
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -34,7 +34,7 @@ export declare const readText: (files: Environment.Files, target: string) => Eff
34
34
  text: string;
35
35
  }, Environment.NotFound | Environment.WrongKind | Environment.Failed, never>;
36
36
  export declare const syncTextBom: (files: Environment.Files, target: string, bom: boolean) => Effect.Effect<string, Environment.NotFound | Environment.WrongKind | Environment.Failed, never>;
37
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
37
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
38
38
  /**
39
39
  * Deferred until the corresponding integrations exist.
40
40
  */
@@ -12,4 +12,4 @@ export interface Interface extends State.Transformable<Draft> {
12
12
  declare const Service_base: Context.ServiceClass<Service, "@opencode/LocationWatcherPolicy", Interface>;
13
13
  export declare class Service extends Service_base {
14
14
  }
15
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
15
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -5,4 +5,4 @@ export interface Interface {
5
5
  declare const Service_base: Context.ServiceClass<Service, "@opencode/LocationWatcher", Interface>;
6
6
  export declare class Service extends Service_base {
7
7
  }
8
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
8
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, import("../persistent-pty/index.js").UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -16,5 +16,5 @@ export declare class Service extends Service_base {
16
16
  export declare const ripgrepLayer: Layer.Layer<Service, never, Location.Service | Ripgrep.Service>;
17
17
  export declare const fffLayer: Layer.Layer<Service, never, Location.Service>;
18
18
  export declare const layer: (options?: Options) => Layer.Layer<Service, never, Location.Service | Ripgrep.Service>;
19
- export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
20
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
19
+ export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
20
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -100,6 +100,6 @@ export declare const layer: (options?: Options) => Layer.Layer<Service, never, N
100
100
  */
101
101
  export declare const testLayer: Layer.Layer<Service | Test, never, never>;
102
102
  export declare const nativeLayer: Layer.Layer<Native, never, never>;
103
- export declare const nativeNode: import("@opencode-ai/util/effect/layer-node").Node<Native, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
104
- export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
105
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
103
+ export declare const nativeNode: import("@opencode-ai/util/effect/layer-node").Provider<Native, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
104
+ export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
105
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -32,6 +32,8 @@ declare const GrepInput_base: Schema.Class<GrepInput, Schema.Struct<{
32
32
  readonly pattern: Schema.String;
33
33
  readonly path: Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>;
34
34
  readonly include: Schema.optionalKey<Schema.String>;
35
+ readonly literal: Schema.optionalKey<Schema.Boolean>;
36
+ readonly caseSensitive: Schema.optionalKey<Schema.Boolean>;
35
37
  readonly limit: Schema.optionalKey<Schema.Int>;
36
38
  }>, {}>;
37
39
  export declare class GrepInput extends GrepInput_base {
@@ -127,4 +129,4 @@ export interface Interface {
127
129
  declare const Service_base: Context.ServiceClass<Service, "@opencode/FileSystem", Interface>;
128
130
  export declare class Service extends Service_base {
129
131
  }
130
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
132
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -444,6 +444,6 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/Form", Inte
444
444
  export declare class Service extends Service_base {
445
445
  }
446
446
  export declare const layer: Layer.Layer<Service, never, Bus.Service>;
447
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
447
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
448
448
  export declare function validateAnswer(form: ReadonlyArray<Form.Field>, answer: Answer): string | undefined;
449
449
  export declare function validateFields(fields: ReadonlyArray<Form.Field>): string | undefined;
@@ -12,4 +12,4 @@ export interface Interface extends State.Transformable<Draft> {
12
12
  declare const Service_base: Context.ServiceClass<Service, "@opencode/v2/Formatter", Interface>;
13
13
  export declare class Service extends Service_base {
14
14
  }
15
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
15
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -25,4 +25,4 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/Generate",
25
25
  export declare class Service extends Service_base {
26
26
  }
27
27
  export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/ai").LLMClientService | ModelResolver.Service>;
28
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
28
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -131,4 +131,4 @@ export interface Interface {
131
131
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Git", Interface>;
132
132
  export declare class Service extends Service_base {
133
133
  }
134
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
134
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -42,4 +42,4 @@ export interface Interface extends State.Transformable<Draft> {
42
42
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Image", Interface>;
43
43
  export declare class Service extends Service_base {
44
44
  }
45
- export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
45
+ export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;