@opencode/core 0.0.0-dev-21163 → 0.0.0-dev-21164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{snapshot-e3jt2v5b.js → state-04xdpyc7.js} +14 -14
  8. package/dist/chunks/{snapshot-kyd66f1c.js → state-06fwzbc7.js} +36 -36
  9. package/dist/chunks/{snapshot-2n9dancj.js → state-0a9v6p0f.js} +3 -3
  10. package/dist/chunks/{snapshot-kqx1b4hy.js → state-0b5g1ynf.js} +4 -4
  11. package/dist/chunks/{snapshot-e9hx7ajy.js → state-0jb86j0j.js} +26 -26
  12. package/dist/chunks/{snapshot-0vbcp93d.js → state-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{snapshot-58s85cax.js → state-0y567k9j.js} +11 -11
  14. package/dist/chunks/{snapshot-2erqmtdk.js → state-0ys6pg51.js} +28 -28
  15. package/dist/chunks/{snapshot-aeg5ttrh.js → state-12rden0r.js} +16 -16
  16. package/dist/chunks/{snapshot-w2q8zjmz.js → state-14q6bv5p.js} +25 -25
  17. package/dist/chunks/{snapshot-m0ke1azk.js → state-1degfmvd.js} +18 -18
  18. package/dist/chunks/{snapshot-6k8an2y9.js → state-1e7ww9bh.js} +33 -33
  19. package/dist/chunks/{snapshot-bzeyqsqd.js → state-1ep4rre3.js} +4 -4
  20. package/dist/chunks/{snapshot-2nsmqgb6.js → state-1nhqthzg.js} +6 -6
  21. package/dist/chunks/{snapshot-wd0x6d30.js → state-1p4qe8rf.js} +8 -8
  22. package/dist/chunks/{snapshot-g4k7z9cy.js → state-1xxyjdwj.js} +23 -23
  23. package/dist/chunks/{snapshot-v6gb7zv2.js → state-2a6rn6yr.js} +6 -6
  24. package/dist/chunks/{snapshot-hat53091.js → state-2je2vwxy.js} +29 -29
  25. package/dist/chunks/{snapshot-m8jd5x1y.js → state-2jxcp2qh.js} +19 -19
  26. package/dist/chunks/{snapshot-tyaq71bb.js → state-2kzmk4xx.js} +30 -30
  27. package/dist/chunks/{snapshot-k1gpp38j.js → state-32c6d2g9.js} +17 -17
  28. package/dist/chunks/{snapshot-fn366g0y.js → state-36c3ee22.js} +17 -17
  29. package/dist/chunks/{snapshot-ytwc37vz.js → state-3f5qvfyk.js} +35 -35
  30. package/dist/chunks/{snapshot-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{snapshot-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{snapshot-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{snapshot-40v9kngq.js → state-3jyr06yg.js} +9 -9
  34. package/dist/chunks/{snapshot-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{snapshot-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{snapshot-6283stes.js → state-3y0h35ga.js} +15 -15
  37. package/dist/chunks/{snapshot-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{snapshot-syp4sv4b.js → state-46mv6j9f.js} +4 -4
  39. package/dist/chunks/{snapshot-b674v2dg.js → state-47jkzegy.js} +5 -5
  40. package/dist/chunks/{snapshot-rhzmt3es.js → state-4e3zx06r.js} +27 -27
  41. package/dist/chunks/{snapshot-4y0vwgtn.js → state-4r80m7sf.js} +20 -20
  42. package/dist/chunks/{snapshot-w39jehkq.js → state-4xpgt2w9.js} +5 -5
  43. package/dist/chunks/{snapshot-8n55hgev.js → state-4yqedry9.js} +17 -17
  44. package/dist/chunks/{snapshot-n1n192bv.js → state-4z58m4b4.js} +4 -4
  45. package/dist/chunks/{snapshot-m7dmhh8f.js → state-50b15zdf.js} +13 -13
  46. package/dist/chunks/{snapshot-3b09jk82.js → state-52wgxwr3.js} +22 -22
  47. package/dist/chunks/{snapshot-54ma36ye.js → state-54ma36ye.js} +1 -1
  48. package/dist/chunks/{snapshot-36e2pc4w.js → state-54z0pcys.js} +5 -5
  49. package/dist/chunks/{snapshot-bmr56wjg.js → state-5fec3t3w.js} +9 -9
  50. package/dist/chunks/{snapshot-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  51. package/dist/chunks/state-5trgskkw.js +112 -0
  52. package/dist/chunks/{snapshot-8v6pyhej.js → state-5yzzbxa7.js} +8 -8
  53. package/dist/chunks/{snapshot-6827pfxn.js → state-6827pfxn.js} +1 -1
  54. package/dist/chunks/{snapshot-85gwbv31.js → state-68rj5w6w.js} +23 -23
  55. package/dist/chunks/{snapshot-dxcm25gw.js → state-6hjx5zpb.js} +9 -9
  56. package/dist/chunks/{snapshot-z8y4g21a.js → state-6pj4aq9f.js} +14 -14
  57. package/dist/chunks/{snapshot-a8aatv38.js → state-6szz86ph.js} +11 -11
  58. package/dist/chunks/{snapshot-6xb47vfp.js → state-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{snapshot-6panyeh0.js → state-7171kgjs.js} +21 -21
  60. package/dist/chunks/{snapshot-scmhh9pc.js → state-74x5w3z1.js} +10 -10
  61. package/dist/chunks/{snapshot-775gj3j1.js → state-775gj3j1.js} +2 -2
  62. package/dist/chunks/{snapshot-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{snapshot-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
  64. package/dist/chunks/{snapshot-q1wtg1gk.js → state-7emf5024.js} +11 -11
  65. package/dist/chunks/{snapshot-6wh7xaz2.js → state-7wftzz1s.js} +13 -13
  66. package/dist/chunks/{snapshot-s9d01kr9.js → state-826pmkg6.js} +3 -3
  67. package/dist/chunks/{snapshot-xspp19dx.js → state-830wccwk.js} +36 -36
  68. package/dist/chunks/{snapshot-h7abwd3r.js → state-83n4xtav.js} +38 -38
  69. package/dist/chunks/{snapshot-mc5t502r.js → state-8ftngv0m.js} +20 -20
  70. package/dist/chunks/{snapshot-8m6m0r52.js → state-8m6m0r52.js} +1 -1
  71. package/dist/chunks/{snapshot-0ekyh4s7.js → state-8nc6bgmq.js} +32 -32
  72. package/dist/chunks/{snapshot-6pc27hjz.js → state-8sze2n9a.js} +2 -2
  73. package/dist/chunks/{snapshot-mk05kat5.js → state-8vwdhsen.js} +24 -24
  74. package/dist/chunks/{snapshot-91qna3x0.js → state-91qna3x0.js} +3 -3
  75. package/dist/chunks/{snapshot-5g4kkmpn.js → state-924wa2tb.js} +13 -13
  76. package/dist/chunks/{snapshot-04ryjj00.js → state-93jtvh07.js} +9 -9
  77. package/dist/chunks/{snapshot-wygkcgsy.js → state-944z6h65.js} +47 -47
  78. package/dist/chunks/{snapshot-m1rtee8r.js → state-9g63gfxm.js} +39 -39
  79. package/dist/chunks/{snapshot-a1njnwz6.js → state-9h7zjkfp.js} +3 -3
  80. package/dist/chunks/{snapshot-7q4bfbvn.js → state-9s0s93fc.js} +7 -7
  81. package/dist/chunks/{snapshot-dg21j1ns.js → state-9smfp2a8.js} +45 -45
  82. package/dist/chunks/{snapshot-6hqckrrx.js → state-9v4nxjff.js} +16 -16
  83. package/dist/chunks/{snapshot-cm0xwavf.js → state-9ye1n4d4.js} +14 -14
  84. package/dist/chunks/{snapshot-v8xncc8s.js → state-9zs8zr4d.js} +23 -23
  85. package/dist/chunks/{snapshot-snk2tj6r.js → state-a8ffpsx1.js} +26 -26
  86. package/dist/chunks/{snapshot-wz6jmfs0.js → state-aatr6m39.js} +9 -9
  87. package/dist/chunks/{snapshot-7azh8zbv.js → state-acq56fsz.js} +30 -30
  88. package/dist/chunks/{snapshot-x661k3y3.js → state-addxnjmp.js} +4 -4
  89. package/dist/chunks/{snapshot-qr1s19a1.js → state-amjr18r9.js} +3 -3
  90. package/dist/chunks/{snapshot-z4qtxhqf.js → state-amqjr904.js} +15 -15
  91. package/dist/chunks/{snapshot-435smvjz.js → state-anpb8jtk.js} +27 -27
  92. package/dist/chunks/{snapshot-3sxvetjy.js → state-asmz18sf.js} +24 -24
  93. package/dist/chunks/{snapshot-8pz94dzf.js → state-awbven8r.js} +23 -23
  94. package/dist/chunks/{snapshot-1b80kj0v.js → state-b6khc3p6.js} +15 -15
  95. package/dist/chunks/{snapshot-jf7ekgm9.js → state-bea3g4pw.js} +8 -8
  96. package/dist/chunks/{snapshot-9m2243zx.js → state-bgw4pfqr.js} +11 -11
  97. package/dist/chunks/{snapshot-ywt8jp22.js → state-bjx1sjef.js} +9 -9
  98. package/dist/chunks/state-by5v678g.js +18 -0
  99. package/dist/chunks/{snapshot-bzsrs4wb.js → state-byqfybbv.js} +10 -10
  100. package/dist/chunks/{snapshot-c1fqxshp.js → state-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{snapshot-143qq2q9.js → state-c2sed5cq.js} +3 -3
  102. package/dist/chunks/{snapshot-nxrgqcj9.js → state-c46vpdfe.js} +24 -24
  103. package/dist/chunks/{snapshot-fj7gaszw.js → state-c5ggqzvz.js} +12 -12
  104. package/dist/chunks/{snapshot-hmpj5xfy.js → state-c7h7h1sa.js} +21 -21
  105. package/dist/chunks/{snapshot-d3twtd49.js → state-c926a9vq.js} +13 -13
  106. package/dist/chunks/{snapshot-ndy2c9ss.js → state-c9t1dcyx.js} +47 -47
  107. package/dist/chunks/{snapshot-bm6m2f01.js → state-ca1sdfxv.js} +26 -26
  108. package/dist/chunks/{snapshot-mj4y2amk.js → state-cb3tvw3f.js} +35 -35
  109. package/dist/chunks/{snapshot-bzpwbrxf.js → state-cbpk9ydt.js} +45 -45
  110. package/dist/chunks/{snapshot-bfegkxfd.js → state-cdzn34jf.js} +8 -8
  111. package/dist/chunks/{snapshot-79y18c4v.js → state-d1c3kaqr.js} +28 -28
  112. package/dist/chunks/{snapshot-adjewt1g.js → state-d32520t0.js} +17 -17
  113. package/dist/chunks/{snapshot-347v34hz.js → state-dhs04fwy.js} +5 -5
  114. package/dist/chunks/{snapshot-sdwcvaj2.js → state-djhm8fct.js} +1 -1
  115. package/dist/chunks/{snapshot-ft3hqk2c.js → state-djszqvmq.js} +9 -9
  116. package/dist/chunks/{snapshot-xrgc67sb.js → state-dn1vkgh6.js} +2 -2
  117. package/dist/chunks/{snapshot-b03ryzq6.js → state-dqfn4xgm.js} +1 -1
  118. package/dist/chunks/{snapshot-qxwd849a.js → state-dx79m8ve.js} +18 -18
  119. package/dist/chunks/{snapshot-erbqd3nv.js → state-e2kwjmz0.js} +47 -47
  120. package/dist/chunks/{snapshot-2ny3jh00.js → state-e3d48see.js} +10 -10
  121. package/dist/chunks/{snapshot-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
  122. package/dist/chunks/{snapshot-62b0hcmy.js → state-e4qzknek.js} +11 -11
  123. package/dist/chunks/{snapshot-eej6y6fw.js → state-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{snapshot-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{snapshot-j0cf4nzm.js → state-ejm2mja7.js} +20 -20
  126. package/dist/chunks/{snapshot-pym14gm6.js → state-ewwfdr8f.js} +49 -49
  127. package/dist/chunks/{snapshot-vaxg751d.js → state-f6b8xx7n.js} +7 -7
  128. package/dist/chunks/{snapshot-26q7jvhr.js → state-f9d85sya.js} +48 -48
  129. package/dist/chunks/{snapshot-fcy631f0.js → state-fcy631f0.js} +1 -1
  130. package/dist/chunks/{snapshot-16x4r2s1.js → state-fdht6mpx.js} +20 -20
  131. package/dist/chunks/{snapshot-v8v7jg08.js → state-fdradw2e.js} +87 -87
  132. package/dist/chunks/{snapshot-r682d5ha.js → state-fe1j0m2p.js} +3 -3
  133. package/dist/chunks/{snapshot-jm9njkm8.js → state-fm72x4ef.js} +5 -5
  134. package/dist/chunks/{snapshot-415az79b.js → state-fphjyfn7.js} +9 -9
  135. package/dist/chunks/{snapshot-khmqacep.js → state-fxaymqdw.js} +4 -4
  136. package/dist/chunks/{snapshot-gpk600j1.js → state-g21r4nge.js} +8 -8
  137. package/dist/chunks/{snapshot-y3zkdgh7.js → state-g5gtgc56.js} +28 -28
  138. package/dist/chunks/{snapshot-phz50fbd.js → state-g686f6pq.js} +9 -9
  139. package/dist/chunks/{snapshot-bf7csrhb.js → state-g9k9gtcq.js} +15 -15
  140. package/dist/chunks/{snapshot-hsxaxx1c.js → state-g9wmmzt4.js} +34 -34
  141. package/dist/chunks/{snapshot-3g8j9he4.js → state-gd0tnyjc.js} +1 -1
  142. package/dist/chunks/{snapshot-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{snapshot-7qet95x0.js → state-geenf2p7.js} +27 -27
  144. package/dist/chunks/{snapshot-tmf823cr.js → state-gh0jst0q.js} +7 -7
  145. package/dist/chunks/{snapshot-fj8d9ky6.js → state-ghz6dcrw.js} +11 -11
  146. package/dist/chunks/{snapshot-xgz548nj.js → state-gr68k0te.js} +46 -46
  147. package/dist/chunks/{snapshot-gxaq7zhw.js → state-gzwn65aj.js} +18 -18
  148. package/dist/chunks/{snapshot-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{snapshot-h7s7r6s9.js → state-h7s7r6s9.js} +2 -2
  150. package/dist/chunks/{snapshot-f9693ket.js → state-h7tvrppv.js} +17 -17
  151. package/dist/chunks/{snapshot-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{snapshot-5haf30hz.js → state-hpdd1er4.js} +38 -38
  153. package/dist/chunks/{snapshot-84htwe8c.js → state-hqf9gdsc.js} +79 -79
  154. package/dist/chunks/{snapshot-8bqq47bs.js → state-hrhze3cc.js} +4 -4
  155. package/dist/chunks/{snapshot-es4zr9pq.js → state-hyay7qq8.js} +8 -8
  156. package/dist/chunks/{snapshot-chsa9tsb.js → state-j3bjw6yh.js} +11 -11
  157. package/dist/chunks/{snapshot-3raex6t0.js → state-j5h5wtv3.js} +8 -8
  158. package/dist/chunks/{snapshot-3dp5zkcc.js → state-jangkfdc.js} +18 -18
  159. package/dist/chunks/{snapshot-d3718gj5.js → state-jbrpfam1.js} +28 -28
  160. package/dist/chunks/{snapshot-q9317srt.js → state-jh1xj5qc.js} +18 -18
  161. package/dist/chunks/{snapshot-tn3z2tca.js → state-k4n40zz3.js} +22 -22
  162. package/dist/chunks/{snapshot-n9j93z9k.js → state-ka2dn2m1.js} +52 -52
  163. package/dist/chunks/{snapshot-hvq4weyw.js → state-kepm3fq6.js} +15 -15
  164. package/dist/chunks/{snapshot-7bxgp08m.js → state-kgen349b.js} +8 -8
  165. package/dist/chunks/{snapshot-ebm4wmmx.js → state-kmheh9sq.js} +9 -9
  166. package/dist/chunks/{snapshot-d4fh8taq.js → state-kshw4apv.js} +5 -5
  167. package/dist/chunks/{snapshot-2mxt17n5.js → state-kt95y7ck.js} +3 -3
  168. package/dist/chunks/{snapshot-kwb1v3vj.js → state-kwb1v3vj.js} +1 -1
  169. package/dist/chunks/{snapshot-94jw5d4f.js → state-m1zv8vg2.js} +13 -13
  170. package/dist/chunks/{snapshot-q1a6xb3r.js → state-m25y3kv4.js} +5 -5
  171. package/dist/chunks/{snapshot-210p74nv.js → state-m9cxx8a5.js} +6 -6
  172. package/dist/chunks/{snapshot-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{snapshot-maspj1v3.js → state-maspj1v3.js} +1 -1
  174. package/dist/chunks/{snapshot-9pa8tak9.js → state-mb14aw74.js} +2 -2
  175. package/dist/chunks/{snapshot-94qkbmw6.js → state-mmfyj663.js} +8 -8
  176. package/dist/chunks/{snapshot-5vty9d1v.js → state-mqmm1j72.js} +5 -5
  177. package/dist/chunks/{snapshot-q1szfc13.js → state-n53dqfr6.js} +4 -4
  178. package/dist/chunks/{snapshot-xhg5qrkn.js → state-nanc2j11.js} +26 -26
  179. package/dist/chunks/{snapshot-dec9hyae.js → state-nezvftw4.js} +16 -16
  180. package/dist/chunks/{snapshot-rk7s9xkn.js → state-ngyhb3xw.js} +4 -4
  181. package/dist/chunks/{snapshot-3a56ctkk.js → state-nmh3d9z7.js} +18 -18
  182. package/dist/chunks/{snapshot-34f31van.js → state-nq2ddahe.js} +15 -15
  183. package/dist/chunks/{snapshot-wr7ps67x.js → state-nrk5vjbf.js} +5 -5
  184. package/dist/chunks/{snapshot-e6ekz585.js → state-nxwqj47z.js} +27 -27
  185. package/dist/chunks/state-nxyky8fq.js +26 -0
  186. package/dist/chunks/{snapshot-g1b1wp2e.js → state-p7b5znyc.js} +12 -12
  187. package/dist/chunks/{snapshot-gj8ct3zv.js → state-p8jakte0.js} +74 -74
  188. package/dist/chunks/{snapshot-camn9k3d.js → state-pdxm3yxv.js} +27 -27
  189. package/dist/chunks/{snapshot-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{snapshot-pknna89w.js → state-pknna89w.js} +1 -1
  191. package/dist/chunks/{snapshot-yfa5tj4a.js → state-pr9wjwdp.js} +19 -19
  192. package/dist/chunks/{snapshot-nrt5px6v.js → state-ptm6ehsf.js} +25 -25
  193. package/dist/chunks/{snapshot-gv3y5r8d.js → state-pyjedrk0.js} +14 -14
  194. package/dist/chunks/{snapshot-63rftvt3.js → state-pz18wrqx.js} +19 -19
  195. package/dist/chunks/{snapshot-q6y0t2xd.js → state-qb7tzan5.js} +29 -29
  196. package/dist/chunks/{snapshot-bqk1xv54.js → state-qgnwqvsz.js} +14 -14
  197. package/dist/chunks/{snapshot-qnc92qwc.js → state-qnc92qwc.js} +1 -1
  198. package/dist/chunks/{snapshot-qsdy395h.js → state-qsdy395h.js} +1 -1
  199. package/dist/chunks/{snapshot-7j7jdcww.js → state-qxvxcxx4.js} +50 -50
  200. package/dist/chunks/{snapshot-qh0k1p1d.js → state-r1cv1102.js} +32 -32
  201. package/dist/chunks/{snapshot-ed1g29hy.js → state-r2z489rp.js} +3 -3
  202. package/dist/chunks/{snapshot-077jc6hy.js → state-r3bk1756.js} +19 -19
  203. package/dist/chunks/{snapshot-xtahemgj.js → state-r83h5v0b.js} +24 -24
  204. package/dist/chunks/{snapshot-9msepacv.js → state-r9yctxmr.js} +12 -12
  205. package/dist/chunks/{snapshot-cqjagng5.js → state-ra5zedqg.js} +31 -31
  206. package/dist/chunks/{snapshot-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{snapshot-rert0e01.js → state-rert0e01.js} +2 -2
  208. package/dist/chunks/{snapshot-rj3eygr5.js → state-rj3eygr5.js} +2 -2
  209. package/dist/chunks/{snapshot-3b5z0erk.js → state-rz015waj.js} +11 -11
  210. package/dist/chunks/{snapshot-n6s2wxqy.js → state-rz6s0eqf.js} +11 -11
  211. package/dist/chunks/{snapshot-sa8ekw3f.js → state-sa8ekw3f.js} +2 -2
  212. package/dist/chunks/{snapshot-s2yckgzf.js → state-sc62fwhg.js} +5 -5
  213. package/dist/chunks/{snapshot-m14r162y.js → state-sgsbd493.js} +9 -9
  214. package/dist/chunks/{snapshot-rntct4v8.js → state-skfgvw6a.js} +46 -46
  215. package/dist/chunks/{snapshot-kqnkx5cp.js → state-skqv3z06.js} +11 -11
  216. package/dist/chunks/{snapshot-0v80x1f6.js → state-sn3f2xcp.js} +4 -4
  217. package/dist/chunks/{snapshot-q2w9h836.js → state-sr8dhdek.js} +39 -39
  218. package/dist/chunks/{snapshot-d49pgqdb.js → state-sy0ygxnp.js} +13 -13
  219. package/dist/chunks/{snapshot-syv4x271.js → state-syv4x271.js} +1 -1
  220. package/dist/chunks/{snapshot-2nykmre5.js → state-t2tm0scr.js} +9 -9
  221. package/dist/chunks/{snapshot-rhjbct0v.js → state-t550f9t1.js} +4 -4
  222. package/dist/chunks/state-t8byfdwz.js +513 -0
  223. package/dist/chunks/{snapshot-ggw6bs31.js → state-t9b24vtt.js} +22 -22
  224. package/dist/chunks/{snapshot-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{snapshot-en2e8yfm.js → state-tb1hhae9.js} +20 -20
  226. package/dist/chunks/{snapshot-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{snapshot-tdstcens.js → state-tdstcens.js} +1 -1
  228. package/dist/chunks/{snapshot-n9h5d100.js → state-tep0381a.js} +11 -11
  229. package/dist/chunks/{snapshot-b21nzxaa.js → state-tgjzfg6g.js} +4 -4
  230. package/dist/chunks/{snapshot-kkp8zx71.js → state-tjedn1bk.js} +4 -4
  231. package/dist/chunks/{snapshot-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{snapshot-xfktpdj6.js → state-tt8gc4fv.js} +6 -6
  233. package/dist/chunks/{snapshot-akmtzpb0.js → state-tvx85zav.js} +11 -11
  234. package/dist/chunks/{snapshot-tyytaxap.js → state-tyytaxap.js} +1 -1
  235. package/dist/chunks/{snapshot-ktd4dqz2.js → state-v03m1nmw.js} +14 -14
  236. package/dist/chunks/state-v0yrtskr.js +257 -0
  237. package/dist/chunks/{snapshot-hg3614cy.js → state-v210v162.js} +11 -11
  238. package/dist/chunks/{snapshot-7sbkp4xb.js → state-v5dkyp31.js} +4 -4
  239. package/dist/chunks/{snapshot-4wwf6t92.js → state-v63rdfcv.js} +6 -6
  240. package/dist/chunks/{snapshot-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{snapshot-veqvce7d.js → state-veqvce7d.js} +1 -1
  242. package/dist/chunks/{snapshot-p32gghmn.js → state-vjttfn3j.js} +14 -14
  243. package/dist/chunks/{snapshot-c5ed65gp.js → state-vnp7fp1s.js} +10 -10
  244. package/dist/chunks/{snapshot-cd9wyv5p.js → state-vp6xanzc.js} +32 -32
  245. package/dist/chunks/{snapshot-m2hjyvdx.js → state-vppcbm3y.js} +10 -10
  246. package/dist/chunks/{snapshot-xshtvwne.js → state-vv030mg9.js} +4 -4
  247. package/dist/chunks/{snapshot-m9gt5bdn.js → state-vvb3m2vh.js} +16 -16
  248. package/dist/chunks/{snapshot-qvb3nf84.js → state-vwpcpzep.js} +8 -8
  249. package/dist/chunks/{snapshot-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{snapshot-w1eejvng.js → state-w1eejvng.js} +1 -1
  251. package/dist/chunks/{snapshot-c6xh4c6j.js → state-w2h1ghwm.js} +6 -6
  252. package/dist/chunks/{snapshot-djsc6asp.js → state-w2k3w8z1.js} +50 -50
  253. package/dist/chunks/{snapshot-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{snapshot-qhphvxes.js → state-w4axh9wz.js} +8 -8
  255. package/dist/chunks/{snapshot-hkw38179.js → state-w5y70ybv.js} +16 -16
  256. package/dist/chunks/{snapshot-qmh7t0e0.js → state-w8e3kjgk.js} +17 -17
  257. package/dist/chunks/{snapshot-y9jvxck8.js → state-w9683aa4.js} +15 -15
  258. package/dist/chunks/{snapshot-wd87259q.js → state-wd87259q.js} +1 -1
  259. package/dist/chunks/{snapshot-03phhxcy.js → state-weqd0pg4.js} +13 -13
  260. package/dist/chunks/{snapshot-eqyse9qm.js → state-whahtmr1.js} +13 -13
  261. package/dist/chunks/{snapshot-t9kr6xs7.js → state-wn44tgv3.js} +19 -19
  262. package/dist/chunks/{snapshot-w5na3y5v.js → state-wt4renp3.js} +18 -18
  263. package/dist/chunks/{snapshot-qq5jvte1.js → state-wxb0hg2e.js} +3 -3
  264. package/dist/chunks/{snapshot-yt82vp1a.js → state-x6r5yamz.js} +4 -4
  265. package/dist/chunks/{snapshot-kv4b22ns.js → state-x7qpwy5v.js} +16 -16
  266. package/dist/chunks/{snapshot-3wd8382n.js → state-x91k2b7m.js} +5 -5
  267. package/dist/chunks/{snapshot-drwq78ky.js → state-xfkkasph.js} +4 -4
  268. package/dist/chunks/{snapshot-qtv1rbvp.js → state-xm2cv5jq.js} +14 -14
  269. package/dist/chunks/{snapshot-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{snapshot-pnaxc6j9.js → state-y2yt4szk.js} +8 -8
  271. package/dist/chunks/{snapshot-jwcy2c2z.js → state-y71avatq.js} +4 -4
  272. package/dist/chunks/{snapshot-eh6ej367.js → state-yd4bzqjj.js} +5 -5
  273. package/dist/chunks/{snapshot-hfqhg2b8.js → state-yfg8gsqz.js} +17 -17
  274. package/dist/chunks/{snapshot-8xdzhf48.js → state-yg9zenm6.js} +22 -22
  275. package/dist/chunks/{snapshot-n1nekz5z.js → state-yht2bm2a.js} +33 -33
  276. package/dist/chunks/{snapshot-r0rvp0ej.js → state-yk343m11.js} +45 -45
  277. package/dist/chunks/{snapshot-r8xr0va3.js → state-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{snapshot-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{snapshot-nakxk70k.js → state-z57ykapg.js} +14 -14
  280. package/dist/chunks/{snapshot-d0btjp9b.js → state-z63mj70r.js} +22 -22
  281. package/dist/chunks/{snapshot-xsredejr.js → state-zhxpdph0.js} +187 -187
  282. package/dist/chunks/{snapshot-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{snapshot-84jw3qpq.js → state-zsjyy8cs.js} +29 -29
  284. package/dist/chunks/{snapshot-78zkn3vy.js → state-ztxkbmy1.js} +24 -24
  285. package/dist/chunks/{snapshot-zee1rnkq.js → state-zvt5dnpc.js} +4 -4
  286. package/dist/chunks/{snapshot-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +79 -79
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +80 -80
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +136 -136
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +88 -82
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +84 -84
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +331 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +350 -350
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +217 -217
  559. package/dist/project/schema.js +10 -10
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +94 -94
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +92 -92
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +95 -95
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +127 -127
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +122 -122
  640. package/dist/tool/plugin/grep.js +122 -122
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +107 -107
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +118 -118
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +14 -14
  656. package/dist/types/permission/saved.d.ts +26 -1
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +88 -88
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/snapshot-4k437ew3.js +0 -257
  692. package/dist/chunks/snapshot-619r8v3y.js +0 -18
  693. package/dist/chunks/snapshot-9esz1w1b.js +0 -73
  694. package/dist/chunks/snapshot-g34gxbpj.js +0 -26
  695. package/dist/chunks/snapshot-mwky8rtw.js +0 -513
  696. /package/dist/chunks/{snapshot-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{snapshot-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{snapshot-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{snapshot-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{snapshot-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{snapshot-24dcb14g.js → state-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{snapshot-2710q6r3.js → state-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{snapshot-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{snapshot-2bv980vf.js → state-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{snapshot-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{snapshot-359p4xyc.js → state-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{snapshot-3asan66x.js → state-3asan66x.js} +0 -0
  708. /package/dist/chunks/{snapshot-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{snapshot-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{snapshot-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{snapshot-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{snapshot-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{snapshot-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{snapshot-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{snapshot-53557ph1.js → state-53557ph1.js} +0 -0
  716. /package/dist/chunks/{snapshot-550bvhaj.js → state-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{snapshot-6prwharc.js → state-6prwharc.js} +0 -0
  718. /package/dist/chunks/{snapshot-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{snapshot-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{snapshot-7m9af43g.js → state-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{snapshot-822emrt2.js → state-822emrt2.js} +0 -0
  722. /package/dist/chunks/{snapshot-84wd9syh.js → state-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{snapshot-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{snapshot-8n3pysct.js → state-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{snapshot-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{snapshot-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{snapshot-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{snapshot-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{snapshot-af5trqkr.js → state-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{snapshot-afrmfg78.js → state-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{snapshot-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{snapshot-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{snapshot-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{snapshot-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{snapshot-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{snapshot-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{snapshot-d9fn303g.js → state-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{snapshot-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{snapshot-dajrwvna.js → state-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{snapshot-dap0rakb.js → state-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{snapshot-df08tz66.js → state-df08tz66.js} +0 -0
  742. /package/dist/chunks/{snapshot-dy18nga0.js → state-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{snapshot-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{snapshot-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{snapshot-ec1grn59.js → state-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{snapshot-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{snapshot-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{snapshot-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{snapshot-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{snapshot-faypxj3z.js → state-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{snapshot-fd410y7t.js → state-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{snapshot-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{snapshot-g86h250q.js → state-g86h250q.js} +0 -0
  754. /package/dist/chunks/{snapshot-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{snapshot-gftt206x.js → state-gftt206x.js} +0 -0
  756. /package/dist/chunks/{snapshot-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{snapshot-hk9envan.js → state-hk9envan.js} +0 -0
  758. /package/dist/chunks/{snapshot-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{snapshot-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{snapshot-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{snapshot-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{snapshot-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{snapshot-jze0r7bz.js → state-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{snapshot-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{snapshot-m18g726c.js → state-m18g726c.js} +0 -0
  766. /package/dist/chunks/{snapshot-mp448xyj.js → state-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{snapshot-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{snapshot-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{snapshot-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{snapshot-njntx4h6.js → state-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{snapshot-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{snapshot-pyv0edze.js → state-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{snapshot-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{snapshot-q74kybfr.js → state-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{snapshot-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{snapshot-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{snapshot-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{snapshot-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{snapshot-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{snapshot-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{snapshot-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{snapshot-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{snapshot-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{snapshot-w803qqfp.js → state-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{snapshot-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{snapshot-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{snapshot-wjj7prxr.js → state-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{snapshot-wtztk69x.js → state-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{snapshot-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{snapshot-x61499pn.js → state-x61499pn.js} +0 -0
  791. /package/dist/chunks/{snapshot-y44na4kk.js → state-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{snapshot-y8f7s663.js → state-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{snapshot-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{snapshot-ym463w8f.js → state-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{snapshot-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{snapshot-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./snapshot-pyv0edze.js";
7
+ } from "./state-pyv0edze.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./snapshot-91qna3x0.js";
11
+ } from "./state-91qna3x0.js";
12
12
  import {
13
13
  create3
14
- } from "./snapshot-rdw6cm16.js";
14
+ } from "./state-rdw6cm16.js";
15
15
  import {
16
- Service55,
16
+ Service58,
17
17
  node60
18
- } from "./snapshot-7bxgp08m.js";
18
+ } from "./state-kgen349b.js";
19
19
  import {
20
- Service70,
21
- node74
22
- } from "./snapshot-pnaxc6j9.js";
20
+ Service57,
21
+ node59
22
+ } from "./state-y2yt4szk.js";
23
23
  import {
24
24
  match2
25
- } from "./snapshot-y1fvbwt7.js";
25
+ } from "./state-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./snapshot-9rqn6x4v.js";
28
+ } from "./state-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error4,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service54,
38
+ Service: () => Service48,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node59
41
+ node: () => node50
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service54 extends Context.Service()("@opencode/Tool") {
54
+ class Service48 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service54, Effect.gen(function* () {
57
- const hooks = yield* Service70;
58
- const image = yield* Service55;
56
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
57
+ const hooks = yield* Service57;
58
+ const image = yield* Service58;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service54.of({
187
+ return Service48.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node59 = makeLocationNode({
277
- service: Service54,
276
+ var node50 = makeLocationNode({
277
+ service: Service48,
278
278
  layer,
279
- deps: [node74, node60]
279
+ deps: [node59, node60]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service54, node59, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service48, node50, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service63,
10
- node: () => node67
9
+ Service: () => Service47,
10
+ node: () => node49
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service63 extends Context.Service()("@opencode/Instance") {
16
+ class Service47 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
18
+ var node49 = LayerNode.unbound(Service47, Node.tags.values.global);
19
19
 
20
- export { Service63, node67, exports_service2 };
20
+ export { Service47, node49, exports_service2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./snapshot-9msepacv.js";
2
+ Service85,
3
+ node89
4
+ } from "./state-r9yctxmr.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service74,
9
- node78
10
- } from "./snapshot-cqjagng5.js";
8
+ Service81,
9
+ node85
10
+ } from "./state-ra5zedqg.js";
11
11
  import {
12
12
  create3
13
- } from "./snapshot-rdw6cm16.js";
13
+ } from "./state-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./snapshot-x661k3y3.js";
16
+ } from "./state-addxnjmp.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./snapshot-8xdzhf48.js";
20
+ } from "./state-yg9zenm6.js";
21
21
  import {
22
22
  __export
23
- } from "./snapshot-9rqn6x4v.js";
23
+ } from "./state-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event17,
38
+ Event: () => Event18,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID11,
41
- Info: () => Info22,
40
+ ID: () => ID14,
41
+ Info: () => Info23,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service73,
49
- node: () => node77
48
+ Service: () => Service79,
49
+ node: () => node83
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
- import { Event as Event17 } from "@opencode/schema/integration";
72
- var ID11 = Integration.ID;
71
+ import { Event as Event18 } from "@opencode/schema/integration";
72
+ var ID14 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info22 = Integration.Info;
81
+ var Info23 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID11,
104
+ integrationID: ID14,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service73 extends Context.Service()("@opencode/Integration") {
110
+ class Service79 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service73, Effect.gen(function* () {
116
- const credentials = yield* Service74;
117
- const bus = yield* Service83;
115
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
116
+ const credentials = yield* Service81;
117
+ const bus = yield* Service85;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
120
120
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info22.make({
217
+ const project = (entry, connections) => Info23.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service73.of({
450
+ return Service79.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node77 = makeLocationNode({
633
- service: Service73,
632
+ var node83 = makeLocationNode({
633
+ service: Service79,
634
634
  layer,
635
- deps: [node78, node87, AppProcess.node]
635
+ deps: [node85, node89, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID11, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node77, exports_integration, Event17 };
638
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service79, node83, exports_integration, Event18 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./snapshot-rhjbct0v.js";
6
+ } from "./state-t550f9t1.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./snapshot-pym14gm6.js";
9
+ } from "./state-ewwfdr8f.js";
10
10
  import {
11
- Service38,
12
- node41
13
- } from "./snapshot-r0rvp0ej.js";
11
+ Service40,
12
+ node43
13
+ } from "./state-yk343m11.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./snapshot-snk2tj6r.js";
16
+ name13
17
+ } from "./state-a8ffpsx1.js";
18
18
  import {
19
19
  __export
20
- } from "./snapshot-9rqn6x4v.js";
20
+ } from "./state-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
26
  Service: () => Service36,
27
- layer: () => layer17,
27
+ layer: () => layer15,
28
28
  node: () => node39
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -63,11 +63,11 @@ var update = (previous, current) => {
63
63
 
64
64
  class Service36 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer17 = Layer.effect(Service36, Effect.gen(function* () {
67
- const mcp = yield* Service38;
66
+ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
67
+ const mcp = yield* Service40;
68
68
  return Service36.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
70
+ const source = (value) => make19({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -86,7 +86,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node39 = makeLocationNode({ service: Service36, layer: layer17, deps: [node41] });
99
+ var node39 = makeLocationNode({ service: Service36, layer: layer15, deps: [node43] });
100
100
 
101
- export { Service36, layer17, node39, exports_instructions5 };
101
+ export { Service36, layer15, node39, exports_instructions4 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./snapshot-z5v4ffb3.js";
3
+ } from "./state-z5v4ffb3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./snapshot-dec9hyae.js";
5
+ Service82,
6
+ node86
7
+ } from "./state-nezvftw4.js";
8
8
  import {
9
- Service24,
10
- node26
11
- } from "./snapshot-3a56ctkk.js";
9
+ Service74,
10
+ node77
11
+ } from "./state-nmh3d9z7.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./snapshot-tcezcvh9.js";
15
+ } from "./state-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./snapshot-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service23,
26
- configured: () => configured3,
24
+ Options: () => Options2,
25
+ Service: () => Service15,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer12,
29
- node: () => node25,
28
+ layer: () => layer9,
29
+ node: () => node17,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service24;
61
+ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
+ const location = yield* Service82;
63
+ const ripgrep = yield* Service74;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service23.of({
108
+ return Service15.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
+ const location = yield* Service82;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service23.of({
129
+ return Service15.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service23.of({
134
+ return Service15.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer12 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service82;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service23, layer: layer12(options), deps: [node83, node26] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service15, layer: layer9(options), deps: [node86, node77] });
187
187
  }
188
- var node25 = configured3();
188
+ var node17 = configured2();
189
189
 
190
- export { Options3, Service23, ripgrepLayer2, fffLayer2, layer12, configured3, node25, exports_search };
190
+ export { Options2, Service15, ripgrepLayer2, fffLayer2, layer9, configured2, node17, exports_search };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service45,
3
- node49
4
- } from "./snapshot-84jw3qpq.js";
2
+ Service70,
3
+ node73
4
+ } from "./state-zsjyy8cs.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make19,
9
9
  diffByKey2
10
- } from "./snapshot-rhjbct0v.js";
10
+ } from "./state-t550f9t1.js";
11
11
  import {
12
12
  __export
13
- } from "./snapshot-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service34,
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service35,
20
20
  node: () => node38
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service35 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service34, Effect.gen(function* () {
63
- const references = yield* Service45;
64
- return Service34.of({
62
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
63
+ const references = yield* Service70;
64
+ return Service35.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
71
+ return make19({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node38 = makeLocationNode({ service: Service34, layer, deps: [node49] });
84
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [node73] });
85
85
 
86
- export { Service34, node38, exports_instructions4 };
86
+ export { Service35, node38, exports_instructions3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service66
3
- } from "./snapshot-pym14gm6.js";
2
+ Service54
3
+ } from "./state-ewwfdr8f.js";
4
4
  import {
5
- ID4,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service42
10
- } from "./snapshot-e9hx7ajy.js";
9
+ Service49
10
+ } from "./state-0jb86j0j.js";
11
11
  import {
12
12
  __export
13
- } from "./snapshot-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill2 = {};
17
17
  __export(exports_skill2, {
18
- Input: () => Input7,
18
+ Input: () => Input6,
19
19
  Output: () => Output4,
20
20
  Plugin: () => Plugin25,
21
21
  SkillTool: () => exports_skill2,
22
22
  description: () => description4,
23
- name: () => name7,
23
+ name: () => name6,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name7 = "skill";
30
- var Input7 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name6 = "skill";
30
+ var Input6 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
33
  var Output4 = Schema.Struct({
34
34
  name: Name2,
@@ -47,13 +47,13 @@ var Plugin25 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service42;
51
- const permission = yield* Service66;
50
+ const skills = yield* Service49;
51
+ const permission = yield* Service54;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name7,
53
+ name: name6,
54
54
  options: { codemode: false },
55
55
  description: description4,
56
- input: Input7,
56
+ input: Input6,
57
57
  output: Output4,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
@@ -61,7 +61,7 @@ var Plugin25 = {
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name7,
64
+ action: name6,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin25 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name7, Input7, Output4, description4, toModelOutput2, Plugin25, exports_skill2 };
82
+ export { name6, Input6, Output4, description4, toModelOutput2, Plugin25, exports_skill2 };