@opencode/core 2.1.1 → 2.1.3

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 (839) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{repository-cache-1ptgpzsy.js → instruction-discovery-00vfyfmg.js} +19 -20
  8. package/dist/chunks/{repository-cache-mx97exft.js → instruction-discovery-010690t7.js} +30 -25
  9. package/dist/chunks/{repository-cache-rj3eygr5.js → instruction-discovery-034tev2y.js} +2 -2
  10. package/dist/chunks/{repository-cache-9hzyxvsk.js → instruction-discovery-043wk7y2.js} +15 -15
  11. package/dist/chunks/{repository-cache-qcy13bhz.js → instruction-discovery-08c8nzsh.js} +15 -15
  12. package/dist/chunks/{repository-cache-vhwx28nx.js → instruction-discovery-0afbw91q.js} +23 -18
  13. package/dist/chunks/{repository-cache-x7wne18b.js → instruction-discovery-0dw5cvz7.js} +13 -13
  14. package/dist/chunks/{repository-cache-3rq8r7zt.js → instruction-discovery-0kjn1fz0.js} +12 -12
  15. package/dist/chunks/{repository-cache-8t50b4ww.js → instruction-discovery-0mhrw39n.js} +18 -18
  16. package/dist/chunks/{repository-cache-tgfxvvf8.js → instruction-discovery-0rmtycpk.js} +10 -10
  17. package/dist/chunks/{repository-cache-6kthashm.js → instruction-discovery-0txtbpzw.js} +32 -32
  18. package/dist/chunks/{repository-cache-zx24wvbj.js → instruction-discovery-11xg13et.js} +16 -19
  19. package/dist/chunks/{repository-cache-g9rqxbv3.js → instruction-discovery-1887s9ws.js} +6 -6
  20. package/dist/chunks/{repository-cache-rjf4ffg7.js → instruction-discovery-18b8n2mx.js} +15 -15
  21. package/dist/chunks/{repository-cache-ht1p01b4.js → instruction-discovery-1acn2yrp.js} +9 -9
  22. package/dist/chunks/{repository-cache-fmnd8f8t.js → instruction-discovery-1cx70z4q.js} +10 -10
  23. package/dist/chunks/{repository-cache-mmfyj663.js → instruction-discovery-1dqke238.js} +3 -3
  24. package/dist/chunks/{repository-cache-rert0e01.js → instruction-discovery-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{repository-cache-dqjdwcmj.js → instruction-discovery-1m4hc5mh.js} +10 -10
  26. package/dist/chunks/{repository-cache-57myy5jh.js → instruction-discovery-1vdntpm3.js} +5 -5
  27. package/dist/chunks/{repository-cache-6827pfxn.js → instruction-discovery-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{repository-cache-4v4bfvma.js → instruction-discovery-1x75wf9g.js} +5 -5
  29. package/dist/chunks/{repository-cache-sz15zhhw.js → instruction-discovery-1y0wdj51.js} +4 -4
  30. package/dist/chunks/{repository-cache-fcrkznn8.js → instruction-discovery-1yq9hg58.js} +5 -5
  31. package/dist/chunks/{repository-cache-h1f52gh9.js → instruction-discovery-20e5g7bx.js} +26 -19
  32. package/dist/chunks/{repository-cache-43x4yszk.js → instruction-discovery-2annm2pv.js} +17 -20
  33. package/dist/chunks/{repository-cache-v5dkyp31.js → instruction-discovery-2azy8kv6.js} +4 -4
  34. package/dist/chunks/{repository-cache-r38tb40c.js → instruction-discovery-2cjmrnhq.js} +8 -8
  35. package/dist/chunks/{repository-cache-yfdycbsw.js → instruction-discovery-2dh20r6m.js} +14 -14
  36. package/dist/chunks/{repository-cache-baaqp4zd.js → instruction-discovery-2m2g9ynh.js} +4 -4
  37. package/dist/chunks/{repository-cache-7jwh32ts.js → instruction-discovery-2p8pcvpp.js} +24 -24
  38. package/dist/chunks/{repository-cache-5f5dfnyg.js → instruction-discovery-2ph54kq6.js} +6 -5
  39. package/dist/chunks/{repository-cache-qsbh95pa.js → instruction-discovery-2vnhppnj.js} +15 -15
  40. package/dist/chunks/{repository-cache-3smtnn6g.js → instruction-discovery-2z1j29yd.js} +5 -3
  41. package/dist/chunks/{repository-cache-g5g9rrdp.js → instruction-discovery-3ffdjm8e.js} +24 -24
  42. package/dist/chunks/{repository-cache-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{repository-cache-54ma36ye.js → instruction-discovery-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{repository-cache-77d0na5t.js → instruction-discovery-3p713cmj.js} +30 -56
  45. package/dist/chunks/{repository-cache-haz4dce7.js → instruction-discovery-3wvbe35v.js} +13 -13
  46. package/dist/chunks/{repository-cache-gpz4bnby.js → instruction-discovery-3z193f8y.js} +1 -1
  47. package/dist/chunks/{repository-cache-4bk9s89f.js → instruction-discovery-43jry69q.js} +11 -11
  48. package/dist/chunks/{repository-cache-63t8kvdx.js → instruction-discovery-46r0wh18.js} +22 -24
  49. package/dist/chunks/{repository-cache-0vtn597b.js → instruction-discovery-4n11yhw4.js} +28 -25
  50. package/dist/chunks/{repository-cache-exgm3bba.js → instruction-discovery-4shrmavh.js} +11 -11
  51. package/dist/chunks/{repository-cache-zr2ceqn5.js → instruction-discovery-4v008n1t.js} +1 -1
  52. package/dist/chunks/{repository-cache-nxhdjhjw.js → instruction-discovery-4wn1snmt.js} +40 -40
  53. package/dist/chunks/{repository-cache-6qn8gjqg.js → instruction-discovery-4x3py1rw.js} +18 -18
  54. package/dist/chunks/{repository-cache-txwpsv2p.js → instruction-discovery-4x6wmwcx.js} +17 -17
  55. package/dist/chunks/{repository-cache-7v6vae4w.js → instruction-discovery-4xvmh7wp.js} +3 -3
  56. package/dist/chunks/{repository-cache-scqf7y3w.js → instruction-discovery-5091jnev.js} +101 -90
  57. package/dist/chunks/{repository-cache-15e8hpnt.js → instruction-discovery-55tcnysh.js} +8 -8
  58. package/dist/chunks/{repository-cache-pyv0edze.js → instruction-discovery-5fjb7ams.js} +4 -4
  59. package/dist/chunks/{repository-cache-rrymd76b.js → instruction-discovery-5fkm8khv.js} +20 -20
  60. package/dist/chunks/{repository-cache-sxy57xts.js → instruction-discovery-5hny5v5k.js} +82 -86
  61. package/dist/chunks/{repository-cache-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{repository-cache-x4jd4xmr.js → instruction-discovery-5t4dhsbz.js} +34 -36
  63. package/dist/chunks/{repository-cache-3ty6jwen.js → instruction-discovery-5v9evq2g.js} +6 -6
  64. package/dist/chunks/{repository-cache-a0kr73jj.js → instruction-discovery-5yzc6bj8.js} +14 -11
  65. package/dist/chunks/{repository-cache-djbskq1b.js → instruction-discovery-62mdyzxb.js} +14 -14
  66. package/dist/chunks/{repository-cache-qmqgtz8f.js → instruction-discovery-6c5cd6ez.js} +9 -9
  67. package/dist/chunks/{repository-cache-zxq2ej10.js → instruction-discovery-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{repository-cache-mhdex35g.js → instruction-discovery-6j214bp7.js} +9 -9
  69. package/dist/chunks/{repository-cache-t5gc52ef.js → instruction-discovery-6pg400w5.js} +10 -27
  70. package/dist/chunks/{repository-cache-qsdy395h.js → instruction-discovery-6pjqjmy2.js} +1 -1
  71. package/dist/chunks/{repository-cache-g2kfam58.js → instruction-discovery-6q77emv1.js} +18 -18
  72. package/dist/chunks/{repository-cache-n268d91j.js → instruction-discovery-6vnjn6e3.js} +9 -9
  73. package/dist/chunks/{repository-cache-z6c3x22d.js → instruction-discovery-6y263vp8.js} +7 -11
  74. package/dist/chunks/{repository-cache-cgc2saxs.js → instruction-discovery-6z2tyrnm.js} +24 -26
  75. package/dist/chunks/{repository-cache-fzdrxngq.js → instruction-discovery-6zh9yw36.js} +3 -3
  76. package/dist/chunks/{repository-cache-tcezcvh9.js → instruction-discovery-76cb1hcw.js} +1 -1
  77. package/dist/chunks/{repository-cache-gp5jn49f.js → instruction-discovery-76ncshtz.js} +18 -18
  78. package/dist/chunks/{repository-cache-1ep4rre3.js → instruction-discovery-770pw0s1.js} +1 -1
  79. package/dist/chunks/{repository-cache-fbxj9tpm.js → instruction-discovery-7ayzy530.js} +4 -4
  80. package/dist/chunks/{repository-cache-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{repository-cache-wp7khyzv.js → instruction-discovery-7d1g1zxa.js} +20 -21
  82. package/dist/chunks/{repository-cache-zs22chpb.js → instruction-discovery-7d2ezwbt.js} +44 -29
  83. package/dist/chunks/{repository-cache-7p9sqgn0.js → instruction-discovery-7fyd11se.js} +12 -12
  84. package/dist/chunks/{repository-cache-k9gaxmgh.js → instruction-discovery-7m02jy4j.js} +2 -2
  85. package/dist/chunks/{repository-cache-8reangzk.js → instruction-discovery-7nepz6ee.js} +4 -4
  86. package/dist/chunks/{repository-cache-p7pstqch.js → instruction-discovery-7w0k7xvm.js} +12 -12
  87. package/dist/chunks/{repository-cache-kwb1v3vj.js → instruction-discovery-7w2ypzdf.js} +1 -1
  88. package/dist/chunks/{repository-cache-hh0jpq4c.js → instruction-discovery-7yv7aars.js} +60 -60
  89. package/dist/chunks/{repository-cache-w12shgbp.js → instruction-discovery-8a6bse1c.js} +19 -17
  90. package/dist/chunks/{repository-cache-kh81xvt5.js → instruction-discovery-8d991bzx.js} +9 -9
  91. package/dist/chunks/{repository-cache-y71avatq.js → instruction-discovery-8jztxfpf.js} +4 -4
  92. package/dist/chunks/{repository-cache-twy8yh4t.js → instruction-discovery-8k3r5dp0.js} +26 -26
  93. package/dist/chunks/{repository-cache-hfkjwy2f.js → instruction-discovery-8mhma7yw.js} +8 -8
  94. package/dist/chunks/{repository-cache-0vf8bfn5.js → instruction-discovery-8p073n4r.js} +4 -4
  95. package/dist/chunks/instruction-discovery-8wc7jg0k.js +26 -0
  96. package/dist/chunks/{repository-cache-h6vf3j39.js → instruction-discovery-8wtp7s3z.js} +1 -1
  97. package/dist/chunks/{repository-cache-syv4x271.js → instruction-discovery-91rj84md.js} +4 -2
  98. package/dist/chunks/{repository-cache-py3kkmfq.js → instruction-discovery-956c56jz.js} +2 -2
  99. package/dist/chunks/{repository-cache-dzse07y5.js → instruction-discovery-97cewran.js} +6 -6
  100. package/dist/chunks/{repository-cache-0fztarvd.js → instruction-discovery-98t435zw.js} +18 -13
  101. package/dist/chunks/{repository-cache-c1fqxshp.js → instruction-discovery-998yhzzq.js} +4 -4
  102. package/dist/chunks/{repository-cache-v7kdkfkp.js → instruction-discovery-9hbqwfdp.js} +60 -36
  103. package/dist/chunks/{repository-cache-6hjx5zpb.js → instruction-discovery-9r0x1bva.js} +9 -9
  104. package/dist/chunks/{repository-cache-3t0ybcrp.js → instruction-discovery-a058387c.js} +4 -2
  105. package/dist/chunks/{repository-cache-3ns80m0h.js → instruction-discovery-a12mwymm.js} +12 -12
  106. package/dist/chunks/{repository-cache-f39mejfg.js → instruction-discovery-a4b9rhwe.js} +13 -13
  107. package/dist/chunks/{repository-cache-8vy56zzm.js → instruction-discovery-a6r83rnm.js} +30 -30
  108. package/dist/chunks/{repository-cache-8d1pd201.js → instruction-discovery-a9n89zg4.js} +22 -22
  109. package/dist/chunks/{repository-cache-yew0zm8m.js → instruction-discovery-ad4wbrpy.js} +7 -7
  110. package/dist/chunks/{repository-cache-6s242g8e.js → instruction-discovery-avzkbq4q.js} +44 -45
  111. package/dist/chunks/{repository-cache-sa8ekw3f.js → instruction-discovery-ayjs7tqn.js} +3 -3
  112. package/dist/chunks/{repository-cache-3hwn7j4h.js → instruction-discovery-b0mv4wxm.js} +2 -2
  113. package/dist/chunks/{repository-cache-7z1jx34y.js → instruction-discovery-b5j1fcax.js} +19 -19
  114. package/dist/chunks/{repository-cache-nz56sr1f.js → instruction-discovery-b6vsg801.js} +4 -3
  115. package/dist/chunks/{repository-cache-dzr38x1r.js → instruction-discovery-b8mk3enz.js} +11 -11
  116. package/dist/chunks/{repository-cache-3hkcw4we.js → instruction-discovery-b974jjnj.js} +13 -13
  117. package/dist/chunks/{repository-cache-tza759th.js → instruction-discovery-b9p9sb5m.js} +23 -25
  118. package/dist/chunks/{repository-cache-21n0xhjn.js → instruction-discovery-ba1860as.js} +13 -13
  119. package/dist/chunks/{repository-cache-r8tt5pdh.js → instruction-discovery-bcyzxrby.js} +17 -17
  120. package/dist/chunks/{repository-cache-w1eejvng.js → instruction-discovery-bstexjd6.js} +5 -5
  121. package/dist/chunks/{repository-cache-gnrrjsmd.js → instruction-discovery-bwg9673r.js} +18 -16
  122. package/dist/chunks/{repository-cache-gkge597h.js → instruction-discovery-bzfg3f7z.js} +43 -38
  123. package/dist/chunks/{repository-cache-kx8xg74a.js → instruction-discovery-c0emejqt.js} +13 -13
  124. package/dist/chunks/{repository-cache-tzaz3z0t.js → instruction-discovery-c1tsfj35.js} +6 -6
  125. package/dist/chunks/{repository-cache-v210v162.js → instruction-discovery-c3cfh5w6.js} +7 -7
  126. package/dist/chunks/{repository-cache-2577k5af.js → instruction-discovery-cgwzn4dm.js} +28 -30
  127. package/dist/chunks/{repository-cache-h7q4kewv.js → instruction-discovery-cqmfkhmj.js} +38 -38
  128. package/dist/chunks/{repository-cache-tdbmj82j.js → instruction-discovery-cqxf2v2j.js} +8 -8
  129. package/dist/chunks/{repository-cache-pnf7bv7v.js → instruction-discovery-d0bfceqm.js} +27 -40
  130. package/dist/chunks/{repository-cache-0vbcp93d.js → instruction-discovery-d4v9tmah.js} +2 -2
  131. package/dist/chunks/{repository-cache-brcmb8c2.js → instruction-discovery-d63q5jb9.js} +43 -43
  132. package/dist/chunks/{repository-cache-4prqf89h.js → instruction-discovery-ddbr5e5j.js} +24 -24
  133. package/dist/chunks/{repository-cache-hjygm116.js → instruction-discovery-e2mf0cbs.js} +24 -24
  134. package/dist/chunks/{repository-cache-5m84d531.js → instruction-discovery-e65cdmhb.js} +8 -8
  135. package/dist/chunks/{repository-cache-8m6m0r52.js → instruction-discovery-e834z07m.js} +1 -1
  136. package/dist/chunks/{repository-cache-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{repository-cache-jnk63p10.js → instruction-discovery-ekeaw6g8.js} +30 -30
  138. package/dist/chunks/{repository-cache-mk935gd8.js → instruction-discovery-etwrvj6f.js} +11 -11
  139. package/dist/chunks/{repository-cache-nbs22qen.js → instruction-discovery-ewjr930z.js} +4 -4
  140. package/dist/chunks/{repository-cache-z6dhcqsk.js → instruction-discovery-exc8xa65.js} +12 -12
  141. package/dist/chunks/{repository-cache-9v5raxs8.js → instruction-discovery-f0st8ac1.js} +3 -3
  142. package/dist/chunks/{repository-cache-jargxt5j.js → instruction-discovery-f8fq6sgx.js} +13 -13
  143. package/dist/chunks/{repository-cache-bq3hn31g.js → instruction-discovery-ffcwgx2p.js} +50 -50
  144. package/dist/chunks/{repository-cache-ewj35nqb.js → instruction-discovery-ffdw0et2.js} +3 -3
  145. package/dist/chunks/{repository-cache-z18fegx4.js → instruction-discovery-fffv3p7h.js} +2 -10
  146. package/dist/chunks/{repository-cache-h74mnx9x.js → instruction-discovery-fhjfpzy5.js} +11 -11
  147. package/dist/chunks/{repository-cache-szwj80cc.js → instruction-discovery-fnw4y167.js} +10 -15
  148. package/dist/chunks/{repository-cache-fxaymqdw.js → instruction-discovery-fznmdakp.js} +4 -4
  149. package/dist/chunks/{repository-cache-eej6y6fw.js → instruction-discovery-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{repository-cache-a4db0rvv.js → instruction-discovery-gcjdgkn2.js} +9 -9
  151. package/dist/chunks/{repository-cache-wqz8rkkb.js → instruction-discovery-gq24h8g9.js} +13 -15
  152. package/dist/chunks/instruction-discovery-grzehpz7.js +18 -0
  153. package/dist/chunks/{repository-cache-yfsa45n4.js → instruction-discovery-gwkpgrwq.js} +30 -30
  154. package/dist/chunks/instruction-discovery-h50tsds5.js +257 -0
  155. package/dist/chunks/{repository-cache-842mqg42.js → instruction-discovery-hdgh8tc2.js} +9 -9
  156. package/dist/chunks/{repository-cache-0qb6tpgj.js → instruction-discovery-hq055v4c.js} +3 -3
  157. package/dist/chunks/{repository-cache-vhj1m4b0.js → instruction-discovery-hxbv21kt.js} +19 -18
  158. package/dist/chunks/{repository-cache-pfhhvb3w.js → instruction-discovery-hyynj17b.js} +3 -3
  159. package/dist/chunks/{repository-cache-j5w7gx2k.js → instruction-discovery-j035ke4x.js} +34 -34
  160. package/dist/chunks/{repository-cache-tm0kqsz3.js → instruction-discovery-j113cymg.js} +4 -3
  161. package/dist/chunks/{repository-cache-fncqf4dd.js → instruction-discovery-j4mjn1pq.js} +5 -5
  162. package/dist/chunks/{repository-cache-00x4qneg.js → instruction-discovery-jc512s3p.js} +8 -8
  163. package/dist/chunks/{repository-cache-vnm2wjz3.js → instruction-discovery-jf30r1rb.js} +9 -9
  164. package/dist/chunks/{repository-cache-3fcx2j2w.js → instruction-discovery-jjbtbvzd.js} +23 -19
  165. package/dist/chunks/{repository-cache-y8tjtsy7.js → instruction-discovery-jme6sax1.js} +9 -9
  166. package/dist/chunks/{repository-cache-rhjbct0v.js → instruction-discovery-jneg3k74.js} +4 -4
  167. package/dist/chunks/{repository-cache-95tpv30c.js → instruction-discovery-jsbhksmn.js} +13 -13
  168. package/dist/chunks/{repository-cache-yv2cmth8.js → instruction-discovery-jzmsqkqv.js} +1 -1
  169. package/dist/chunks/{repository-cache-f94wsmf1.js → instruction-discovery-jzrtge32.js} +4 -4
  170. package/dist/chunks/{repository-cache-065m31h9.js → instruction-discovery-k5dps1se.js} +11 -11
  171. package/dist/chunks/{repository-cache-kqe08t1d.js → instruction-discovery-k61mxn43.js} +11 -11
  172. package/dist/chunks/instruction-discovery-k6hny6gd.js +107 -0
  173. package/dist/chunks/{repository-cache-vzs5sf6e.js → instruction-discovery-k814nvkf.js} +1 -1
  174. package/dist/chunks/{repository-cache-xkrbr206.js → instruction-discovery-kb0avjr6.js} +8 -8
  175. package/dist/chunks/{repository-cache-77a66swy.js → instruction-discovery-kbp23r6j.js} +7 -7
  176. package/dist/chunks/{repository-cache-rpjgfq5s.js → instruction-discovery-kdbzq6ew.js} +9 -9
  177. package/dist/chunks/{repository-cache-jsg4jcbs.js → instruction-discovery-kdmjmd4e.js} +1 -1
  178. package/dist/chunks/{repository-cache-t5nm1h7p.js → instruction-discovery-kj7e2tww.js} +49 -50
  179. package/dist/chunks/{repository-cache-tfp3dpkf.js → instruction-discovery-kkh84317.js} +11 -18
  180. package/dist/chunks/{repository-cache-9hn6k4tm.js → instruction-discovery-kmzgegqq.js} +8 -8
  181. package/dist/chunks/{repository-cache-pmx6p9t5.js → instruction-discovery-kr28pkn3.js} +32 -32
  182. package/dist/chunks/{repository-cache-3zsf4n22.js → instruction-discovery-m1714858.js} +1 -1
  183. package/dist/chunks/{repository-cache-xfkkasph.js → instruction-discovery-m37sd98t.js} +1 -2
  184. package/dist/chunks/{repository-cache-zmy0eq9j.js → instruction-discovery-m46e9dn8.js} +20 -16
  185. package/dist/chunks/{repository-cache-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{repository-cache-jaym3td0.js → instruction-discovery-ma4p4v89.js} +26 -22
  187. package/dist/chunks/{repository-cache-maspj1v3.js → instruction-discovery-maspj1v3.js} +1 -1
  188. package/dist/chunks/{repository-cache-hs0qwjvp.js → instruction-discovery-mbvnayvm.js} +33 -31
  189. package/dist/chunks/{repository-cache-8mywswrd.js → instruction-discovery-me5bcav6.js} +1 -1
  190. package/dist/chunks/{repository-cache-rmtct2jg.js → instruction-discovery-mfa5g8gf.js} +16 -16
  191. package/dist/chunks/{repository-cache-zp864mkb.js → instruction-discovery-mg3zv8ep.js} +23 -23
  192. package/dist/chunks/{repository-cache-7303zb1f.js → instruction-discovery-mjatteds.js} +14 -14
  193. package/dist/chunks/{repository-cache-q0p071b0.js → instruction-discovery-mn6tycs6.js} +10 -14
  194. package/dist/chunks/{repository-cache-k1jycaz7.js → instruction-discovery-mpx851pd.js} +25 -28
  195. package/dist/chunks/{repository-cache-hbb7npd7.js → instruction-discovery-mt3ysty9.js} +3 -3
  196. package/dist/chunks/{repository-cache-fcy631f0.js → instruction-discovery-n0p0277s.js} +1 -1
  197. package/dist/chunks/{repository-cache-ys5mczsm.js → instruction-discovery-n4jvz8kw.js} +8 -8
  198. package/dist/chunks/{repository-cache-9m35c2r0.js → instruction-discovery-n5194rg1.js} +314 -307
  199. package/dist/chunks/{repository-cache-s5met55r.js → instruction-discovery-nad4mkqt.js} +8 -8
  200. package/dist/chunks/{repository-cache-a3c7ahw6.js → instruction-discovery-nttn14j9.js} +4 -4
  201. package/dist/chunks/{repository-cache-yjxqy5ha.js → instruction-discovery-nxsjqf5t.js} +8 -8
  202. package/dist/chunks/{repository-cache-775gj3j1.js → instruction-discovery-p015t6z3.js} +2 -2
  203. package/dist/chunks/{repository-cache-h1schjng.js → instruction-discovery-p3ram5kx.js} +32 -33
  204. package/dist/chunks/{repository-cache-ps8kb85m.js → instruction-discovery-p4az2c5k.js} +11 -11
  205. package/dist/chunks/{repository-cache-rfmm8jvy.js → instruction-discovery-p8t554mv.js} +22 -22
  206. package/dist/chunks/{repository-cache-e80seqcp.js → instruction-discovery-pc1v25hk.js} +2 -4
  207. package/dist/chunks/{repository-cache-d2qeb4wf.js → instruction-discovery-pd3xbwyj.js} +19 -19
  208. package/dist/chunks/{repository-cache-2ky2kwtz.js → instruction-discovery-pk22050n.js} +2 -2
  209. package/dist/chunks/{repository-cache-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  210. package/dist/chunks/{repository-cache-gpqw730e.js → instruction-discovery-pmz5xcbe.js} +8 -8
  211. package/dist/chunks/{repository-cache-t4rnqcab.js → instruction-discovery-pp5hwqdy.js} +3 -3
  212. package/dist/chunks/{repository-cache-7vt9yzvg.js → instruction-discovery-psq905b5.js} +9 -9
  213. package/dist/chunks/{repository-cache-x06a86kn.js → instruction-discovery-pthf9bv3.js} +13 -13
  214. package/dist/chunks/{repository-cache-6xjvsea3.js → instruction-discovery-pytpe3gf.js} +17 -11
  215. package/dist/chunks/{repository-cache-0xfcnhey.js → instruction-discovery-qhhs3wjj.js} +27 -27
  216. package/dist/chunks/{repository-cache-a75ad8v4.js → instruction-discovery-qz04j05z.js} +1 -1
  217. package/dist/chunks/{repository-cache-tyytaxap.js → instruction-discovery-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{repository-cache-bjx1sjef.js → instruction-discovery-r41sfy63.js} +6 -6
  219. package/dist/chunks/{repository-cache-gec8gq51.js → instruction-discovery-r6ff3mpm.js} +8 -8
  220. package/dist/chunks/{repository-cache-tazgh4e4.js → instruction-discovery-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{repository-cache-na3b46a7.js → instruction-discovery-rh2kdvv3.js} +18 -26
  222. package/dist/chunks/{repository-cache-ek4c2f0v.js → instruction-discovery-rjw99gz0.js} +6 -6
  223. package/dist/chunks/{repository-cache-3tvqynh2.js → instruction-discovery-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{repository-cache-bf4bmw04.js → instruction-discovery-rtqr9ste.js} +21 -25
  225. package/dist/chunks/{repository-cache-kq77jz7h.js → instruction-discovery-rx7ecff6.js} +5 -5
  226. package/dist/chunks/{repository-cache-knhxpfbp.js → instruction-discovery-ryq7zjd3.js} +13 -13
  227. package/dist/chunks/{repository-cache-a58n7r3a.js → instruction-discovery-scaas24c.js} +34 -34
  228. package/dist/chunks/{repository-cache-rd8qctj1.js → instruction-discovery-scfq87m9.js} +6 -6
  229. package/dist/chunks/{repository-cache-gtsbe4v4.js → instruction-discovery-sm5tp0dc.js} +10 -10
  230. package/dist/chunks/{repository-cache-6xb47vfp.js → instruction-discovery-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{repository-cache-1acjjqhc.js → instruction-discovery-ssfehs1z.js} +5 -15
  232. package/dist/chunks/{repository-cache-dv4jvz6s.js → instruction-discovery-t31xmjpq.js} +21 -21
  233. package/dist/chunks/{repository-cache-83whknbm.js → instruction-discovery-t633519e.js} +33 -33
  234. package/dist/chunks/{repository-cache-r8qzytx6.js → instruction-discovery-t8qa7zg5.js} +6 -6
  235. package/dist/chunks/{repository-cache-8g2mbw9h.js → instruction-discovery-ta8jwj2a.js} +21 -21
  236. package/dist/chunks/{repository-cache-gd4qta3r.js → instruction-discovery-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{repository-cache-37cqxn50.js → instruction-discovery-tmqhwsdc.js} +3 -3
  238. package/dist/chunks/{repository-cache-tdstcens.js → instruction-discovery-tw8zr1ps.js} +1 -1
  239. package/dist/chunks/{repository-cache-v7p4zvkq.js → instruction-discovery-twv2r8f4.js} +2 -2
  240. package/dist/chunks/{repository-cache-fww2ha2b.js → instruction-discovery-tzjzgnfr.js} +10 -10
  241. package/dist/chunks/{repository-cache-zz6a9he3.js → instruction-discovery-v1wb27er.js} +33 -33
  242. package/dist/chunks/{repository-cache-pmx89wj9.js → instruction-discovery-v2dnm4n9.js} +14 -14
  243. package/dist/chunks/{repository-cache-mn5j6xz9.js → instruction-discovery-v3tkh1aj.js} +15 -7
  244. package/dist/chunks/{repository-cache-47cwnsyn.js → instruction-discovery-v466f70q.js} +21 -45
  245. package/dist/chunks/{repository-cache-46mephjz.js → instruction-discovery-v4gdxem8.js} +28 -28
  246. package/dist/chunks/{repository-cache-rdw6cm16.js → instruction-discovery-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{repository-cache-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  248. package/dist/chunks/{repository-cache-4tyzw6xh.js → instruction-discovery-vfjveysg.js} +7 -7
  249. package/dist/chunks/{repository-cache-s2b0mt3v.js → instruction-discovery-vp60xasa.js} +1 -1
  250. package/dist/chunks/{repository-cache-6bq45c98.js → instruction-discovery-vw33scy9.js} +18 -18
  251. package/dist/chunks/{repository-cache-x2gnjtg4.js → instruction-discovery-w0ap69e3.js} +7 -7
  252. package/dist/chunks/{repository-cache-c15zmvx5.js → instruction-discovery-w194z9kg.js} +10 -10
  253. package/dist/chunks/{repository-cache-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{repository-cache-6e57763q.js → instruction-discovery-w76j0mqj.js} +2 -2
  255. package/dist/chunks/{repository-cache-1ze9gtzp.js → instruction-discovery-w7zjqt6n.js} +4 -4
  256. package/dist/chunks/{repository-cache-qnc92qwc.js → instruction-discovery-wakvkjy4.js} +9 -5
  257. package/dist/chunks/{repository-cache-v30mg9q2.js → instruction-discovery-wbmymcea.js} +8 -8
  258. package/dist/chunks/{repository-cache-savvjd0x.js → instruction-discovery-wcs0vwrk.js} +105 -29
  259. package/dist/chunks/{repository-cache-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  260. package/dist/chunks/{repository-cache-fj6qct2w.js → instruction-discovery-wh2p867q.js} +42 -42
  261. package/dist/chunks/{repository-cache-1ngx28bn.js → instruction-discovery-wkr28yqr.js} +7 -8
  262. package/dist/chunks/{repository-cache-b4nzaj04.js → instruction-discovery-wp4rg1a9.js} +5 -5
  263. package/dist/chunks/{repository-cache-2v5tj3gs.js → instruction-discovery-x0kw00z1.js} +10 -10
  264. package/dist/chunks/{repository-cache-z86wre2g.js → instruction-discovery-x2c3sws5.js} +24 -24
  265. package/dist/chunks/{repository-cache-ms89s1xg.js → instruction-discovery-x2sbbjmw.js} +129 -129
  266. package/dist/chunks/{repository-cache-znqen040.js → instruction-discovery-x62216mf.js} +11 -11
  267. package/dist/chunks/{repository-cache-1q92ejr7.js → instruction-discovery-xac4ky40.js} +21 -21
  268. package/dist/chunks/{repository-cache-kf0zwkk2.js → instruction-discovery-xg53n6nb.js} +24 -25
  269. package/dist/chunks/{repository-cache-vbfgae2j.js → instruction-discovery-y09thtp3.js} +4 -4
  270. package/dist/chunks/{repository-cache-dzxp512b.js → instruction-discovery-y299mpjs.js} +47 -47
  271. package/dist/chunks/{repository-cache-ezhy60ay.js → instruction-discovery-y78a4wcp.js} +26 -33
  272. package/dist/chunks/{repository-cache-y50tnaxc.js → instruction-discovery-y8a8xdaa.js} +9 -9
  273. package/dist/chunks/{repository-cache-c5ggqzvz.js → instruction-discovery-y9awcm76.js} +5 -5
  274. package/dist/chunks/{repository-cache-pjvnvgmy.js → instruction-discovery-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{repository-cache-njebe5fw.js → instruction-discovery-ygtqa21c.js} +19 -19
  276. package/dist/chunks/{repository-cache-86eqfcce.js → instruction-discovery-ymqv4qqa.js} +9 -9
  277. package/dist/chunks/{repository-cache-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{repository-cache-y1fvbwt7.js → instruction-discovery-z38nccrw.js} +1 -1
  279. package/dist/chunks/{repository-cache-4wehpdsn.js → instruction-discovery-z81weg6a.js} +24 -24
  280. package/dist/chunks/{repository-cache-addxnjmp.js → instruction-discovery-zba5tm1j.js} +4 -4
  281. package/dist/chunks/{repository-cache-dmpxat65.js → instruction-discovery-zhtsgqh5.js} +4 -4
  282. package/dist/chunks/{repository-cache-hgz4x7wa.js → instruction-discovery-zkg84ctx.js} +1 -1
  283. package/dist/chunks/{repository-cache-5dycw2n2.js → instruction-discovery-znn5w31e.js} +3 -3
  284. package/dist/chunks/{repository-cache-6nq3099y.js → instruction-discovery-zspgb8vt.js} +2 -2
  285. package/dist/chunks/{repository-cache-b2ckp95n.js → instruction-discovery-ztzjzgcq.js} +10 -10
  286. package/dist/chunks/{repository-cache-r8mc9fw8.js → instruction-discovery-zygdztbw.js} +7 -7
  287. package/dist/chunks/instruction-discovery-zyp4ce26.js +523 -0
  288. package/dist/codemode/catalog.js +1 -3
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +115 -115
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +83 -83
  323. package/dist/database/database.js +72 -72
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +5 -3
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +95 -82
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -107
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -15
  428. package/dist/filesystem.js +104 -110
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -106
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -361
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +179 -151
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -358
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +94 -94
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +4 -2
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +98 -98
  481. package/dist/models-dev.js +105 -105
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +78 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +105 -111
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -168
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +229 -223
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +84 -84
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +132 -132
  578. package/dist/session/context.js +164 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -215
  584. package/dist/session/execution.js +130 -129
  585. package/dist/session/generate.js +164 -155
  586. package/dist/session/history.js +13 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +229 -223
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -100
  606. package/dist/session/runner/publish-llm-event.js +116 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +1 -1
  611. package/dist/session/session.js +165 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -206
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +168 -159
  621. package/dist/session/to-session-error.js +114 -113
  622. package/dist/session/transfer.js +211 -205
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -206
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -209
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +111 -110
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +4 -2
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/types/agent.d.ts +3 -3
  659. package/dist/types/aisdk.d.ts +2 -2
  660. package/dist/types/codemode/catalog.d.ts +7 -8
  661. package/dist/types/codemode/tool.d.ts +1 -7
  662. package/dist/types/database/path.d.ts +1 -0
  663. package/dist/types/file-access.d.ts +2 -2
  664. package/dist/types/filesystem/search.d.ts +4 -8
  665. package/dist/types/filesystem/watcher.d.ts +6 -49
  666. package/dist/types/filesystem.d.ts +11 -13
  667. package/dist/types/instance.d.ts +1 -1
  668. package/dist/types/integration.d.ts +2 -2
  669. package/dist/types/job.d.ts +1 -0
  670. package/dist/types/location-activity.d.ts +2 -1
  671. package/dist/types/mcp/client.d.ts +1 -0
  672. package/dist/types/mime.d.ts +1 -0
  673. package/dist/types/permission/saved.d.ts +14 -22
  674. package/dist/types/permission.d.ts +14 -39
  675. package/dist/types/persistent-pty/daemon.d.ts +39 -21
  676. package/dist/types/plugin/internal.d.ts +3 -2
  677. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  678. package/dist/types/pty.d.ts +2 -2
  679. package/dist/types/session/error.d.ts +1 -0
  680. package/dist/types/session/execution.d.ts +2 -5
  681. package/dist/types/session/history.d.ts +10 -5
  682. package/dist/types/session/model-request.d.ts +1 -1
  683. package/dist/types/session/run-coordinator.d.ts +2 -5
  684. package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
  685. package/dist/types/session/runner/step.d.ts +1 -1
  686. package/dist/types/session/sql.d.ts +1 -1
  687. package/dist/types/session/transfer.d.ts +10 -2
  688. package/dist/types/session.d.ts +38 -38
  689. package/dist/types/tool/mcp.d.ts +2 -1
  690. package/dist/types/tool/plugin/read.d.ts +1 -1
  691. package/dist/types/tool/runtime.d.ts +1 -0
  692. package/dist/types/tool-output.d.ts +2 -0
  693. package/dist/types/v1/config/migrate.d.ts +2 -28
  694. package/dist/types/voice.d.ts +42 -2
  695. package/dist/types/worktree/git.d.ts +3 -3
  696. package/dist/types/worktree/sql.d.ts +1 -1
  697. package/dist/util/error-summary.js +1 -1
  698. package/dist/util/git-executable.js +2 -2
  699. package/dist/util/lazy.js +1 -1
  700. package/dist/util/slug.js +1 -1
  701. package/dist/util/token.js +1 -1
  702. package/dist/util/which.js +1 -1
  703. package/dist/util/wildcard.js +1 -1
  704. package/dist/v1/config/agent.js +5 -5
  705. package/dist/v1/config/command.js +3 -3
  706. package/dist/v1/config/mcp.js +4 -4
  707. package/dist/v1/config/migrate.js +94 -94
  708. package/dist/v1/config/permission.js +3 -3
  709. package/dist/v1/config/plugin.js +3 -3
  710. package/dist/v1/config/provider-options.js +1 -1
  711. package/dist/v1/config/provider.js +4 -4
  712. package/dist/variant.js +93 -93
  713. package/dist/vcs/patch.js +1 -1
  714. package/dist/vcs.js +91 -91
  715. package/dist/voice.js +90 -90
  716. package/dist/websearch.js +82 -82
  717. package/dist/wellknown/plugin.js +78 -78
  718. package/dist/wellknown.js +81 -81
  719. package/dist/workspace/driver.js +7 -7
  720. package/dist/workspace/sql.js +1 -1
  721. package/dist/workspace.js +82 -82
  722. package/dist/worktree/directory.js +2 -2
  723. package/dist/worktree/git.js +8 -8
  724. package/dist/worktree/sql.js +5 -5
  725. package/dist/worktree/strategies.js +91 -91
  726. package/dist/worktree.js +96 -96
  727. package/package.json +9 -9
  728. package/dist/chunks/repository-cache-1kg9ymc8.js +0 -6
  729. package/dist/chunks/repository-cache-2axfhc9x.js +0 -49
  730. package/dist/chunks/repository-cache-94p6wp9x.js +0 -71
  731. package/dist/chunks/repository-cache-9wrj4pc9.js +0 -257
  732. package/dist/chunks/repository-cache-by5v678g.js +0 -18
  733. package/dist/chunks/repository-cache-v061a9c2.js +0 -517
  734. package/dist/chunks/repository-cache-w2nph7ph.js +0 -26
  735. package/dist/types/util/error.d.ts +0 -273
  736. package/dist/types/util/iife.d.ts +0 -1
  737. package/dist/types/v1/config/error.d.ts +0 -393
  738. package/dist/util/error.js +0 -6
  739. package/dist/util/iife.js +0 -6
  740. package/dist/v1/config/error.js +0 -27
  741. /package/dist/chunks/{repository-cache-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  742. /package/dist/chunks/{repository-cache-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  743. /package/dist/chunks/{repository-cache-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  744. /package/dist/chunks/{repository-cache-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  745. /package/dist/chunks/{repository-cache-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  746. /package/dist/chunks/{repository-cache-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  747. /package/dist/chunks/{repository-cache-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
  748. /package/dist/chunks/{repository-cache-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  749. /package/dist/chunks/{repository-cache-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  750. /package/dist/chunks/{repository-cache-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  751. /package/dist/chunks/{repository-cache-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  752. /package/dist/chunks/{repository-cache-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  753. /package/dist/chunks/{repository-cache-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  754. /package/dist/chunks/{repository-cache-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  755. /package/dist/chunks/{repository-cache-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  756. /package/dist/chunks/{repository-cache-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  757. /package/dist/chunks/{repository-cache-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  758. /package/dist/chunks/{repository-cache-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  759. /package/dist/chunks/{repository-cache-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
  760. /package/dist/chunks/{repository-cache-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  761. /package/dist/chunks/{repository-cache-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
  762. /package/dist/chunks/{repository-cache-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  763. /package/dist/chunks/{repository-cache-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  764. /package/dist/chunks/{repository-cache-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  765. /package/dist/chunks/{repository-cache-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
  766. /package/dist/chunks/{repository-cache-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  767. /package/dist/chunks/{repository-cache-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  768. /package/dist/chunks/{repository-cache-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
  769. /package/dist/chunks/{repository-cache-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  770. /package/dist/chunks/{repository-cache-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  771. /package/dist/chunks/{repository-cache-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  772. /package/dist/chunks/{repository-cache-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  773. /package/dist/chunks/{repository-cache-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  774. /package/dist/chunks/{repository-cache-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  775. /package/dist/chunks/{repository-cache-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  776. /package/dist/chunks/{repository-cache-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  777. /package/dist/chunks/{repository-cache-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  778. /package/dist/chunks/{repository-cache-c2sed5cq.js → instruction-discovery-c2sed5cq.js} +0 -0
  779. /package/dist/chunks/{repository-cache-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  780. /package/dist/chunks/{repository-cache-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  781. /package/dist/chunks/{repository-cache-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  782. /package/dist/chunks/{repository-cache-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  783. /package/dist/chunks/{repository-cache-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  784. /package/dist/chunks/{repository-cache-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  785. /package/dist/chunks/{repository-cache-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  786. /package/dist/chunks/{repository-cache-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  787. /package/dist/chunks/{repository-cache-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  788. /package/dist/chunks/{repository-cache-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  789. /package/dist/chunks/{repository-cache-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  790. /package/dist/chunks/{repository-cache-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  791. /package/dist/chunks/{repository-cache-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  792. /package/dist/chunks/{repository-cache-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  793. /package/dist/chunks/{repository-cache-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  794. /package/dist/chunks/{repository-cache-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  795. /package/dist/chunks/{repository-cache-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  796. /package/dist/chunks/{repository-cache-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  797. /package/dist/chunks/{repository-cache-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  798. /package/dist/chunks/{repository-cache-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  799. /package/dist/chunks/{repository-cache-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  800. /package/dist/chunks/{repository-cache-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
  801. /package/dist/chunks/{repository-cache-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  802. /package/dist/chunks/{repository-cache-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  803. /package/dist/chunks/{repository-cache-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  804. /package/dist/chunks/{repository-cache-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  805. /package/dist/chunks/{repository-cache-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  806. /package/dist/chunks/{repository-cache-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  807. /package/dist/chunks/{repository-cache-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
  808. /package/dist/chunks/{repository-cache-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  809. /package/dist/chunks/{repository-cache-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
  810. /package/dist/chunks/{repository-cache-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  811. /package/dist/chunks/{repository-cache-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  812. /package/dist/chunks/{repository-cache-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  813. /package/dist/chunks/{repository-cache-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  814. /package/dist/chunks/{repository-cache-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  815. /package/dist/chunks/{repository-cache-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
  816. /package/dist/chunks/{repository-cache-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  817. /package/dist/chunks/{repository-cache-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  818. /package/dist/chunks/{repository-cache-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  819. /package/dist/chunks/{repository-cache-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  820. /package/dist/chunks/{repository-cache-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  821. /package/dist/chunks/{repository-cache-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  822. /package/dist/chunks/{repository-cache-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  823. /package/dist/chunks/{repository-cache-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  824. /package/dist/chunks/{repository-cache-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  825. /package/dist/chunks/{repository-cache-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  826. /package/dist/chunks/{repository-cache-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
  827. /package/dist/chunks/{repository-cache-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  828. /package/dist/chunks/{repository-cache-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  829. /package/dist/chunks/{repository-cache-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  830. /package/dist/chunks/{repository-cache-wjj7prxr.js → instruction-discovery-wjj7prxr.js} +0 -0
  831. /package/dist/chunks/{repository-cache-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  832. /package/dist/chunks/{repository-cache-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  833. /package/dist/chunks/{repository-cache-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  834. /package/dist/chunks/{repository-cache-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  835. /package/dist/chunks/{repository-cache-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  836. /package/dist/chunks/{repository-cache-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  837. /package/dist/chunks/{repository-cache-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  838. /package/dist/chunks/{repository-cache-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
  839. /package/dist/chunks/{repository-cache-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -30,6 +30,7 @@ export type CallToolContent = {
30
30
  readonly type: "media";
31
31
  readonly data: string;
32
32
  readonly mimeType: string;
33
+ readonly uri?: string;
33
34
  };
34
35
  export interface CallToolResult {
35
36
  readonly isError: boolean;
@@ -1,2 +1,3 @@
1
1
  export * as Mime from "./mime.js";
2
2
  export declare function detect(bytes: Uint8Array): "application/octet-stream" | "application/pdf" | "image/avif" | "image/bmp" | "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "text/plain";
3
+ export declare const isTextual: (mime: string) => boolean;
@@ -1,5 +1,6 @@
1
1
  export * as PermissionSaved from "./saved.js";
2
2
  import { Cause, Context, Effect, Schema } from "effect";
3
+ import type { Project } from "@opencode/schema/project";
3
4
  export declare const ID: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
4
5
  create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
5
6
  };
@@ -19,28 +20,19 @@ export declare const Info: Schema.Struct<{
19
20
  }>;
20
21
  }>;
21
22
  export type Info = typeof Info.Type;
22
- export declare const ListInput: Schema.Struct<{
23
- readonly projectID: Schema.optional<Schema.brand<Schema.String, "Project.ID"> & {
24
- global: string & import("effect/Brand").Brand<"Project.ID">;
25
- }>;
26
- }>;
27
- export type ListInput = typeof ListInput.Type;
28
- export declare const AddInput: Schema.Struct<{
29
- readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
30
- global: string & import("effect/Brand").Brand<"Project.ID">;
31
- };
32
- readonly action: Schema.String;
33
- readonly resources: Schema.$Array<Schema.String>;
34
- }>;
35
- export type AddInput = typeof AddInput.Type;
36
- export declare const UpdateInput: Schema.Struct<{
37
- readonly id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
38
- create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
39
- };
40
- readonly action: Schema.optional<Schema.String>;
41
- readonly resource: Schema.optional<Schema.String>;
42
- }>;
43
- export type UpdateInput = typeof UpdateInput.Type;
23
+ export interface ListInput {
24
+ readonly projectID?: Project.ID;
25
+ }
26
+ export interface AddInput {
27
+ readonly projectID: Project.ID;
28
+ readonly action: string;
29
+ readonly resources: readonly string[];
30
+ }
31
+ export interface UpdateInput {
32
+ readonly id: ID;
33
+ readonly action?: string;
34
+ readonly resource?: string;
35
+ }
44
36
  declare const NotFoundError_base: Schema.Class<NotFoundError, Schema.TaggedStruct<"PermissionSaved.NotFoundError", {
45
37
  readonly id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
46
38
  create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
@@ -1,6 +1,7 @@
1
1
  export * as Permission from "./permission.js";
2
2
  import { Context, Effect, Schema } from "effect";
3
3
  import { Permission } from "@opencode/schema/permission";
4
+ import { Agent } from "./agent.js";
4
5
  import { SessionErrors } from "./session/error.js";
5
6
  import { SessionSchema } from "./session/schema.js";
6
7
  declare const PermissionEffect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
@@ -42,45 +43,19 @@ export declare const Request: Schema.Struct<{
42
43
  export type Request = typeof Request.Type;
43
44
  export declare const Reply: Schema.Literals<readonly ["once", "always", "reject"]>;
44
45
  export type Reply = typeof Reply.Type;
45
- export declare const AssertInput: Schema.Struct<{
46
- readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
47
- create: () => string & import("effect/Brand").Brand<"SessionID">;
48
- descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
49
- };
50
- readonly action: Schema.String;
51
- readonly resources: Schema.$Array<Schema.String>;
52
- readonly save: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
53
- readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
54
- readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Struct<{
55
- readonly type: Schema.Literal<"tool">;
56
- readonly messageID: Schema.String;
57
- readonly id: Schema.String;
58
- }>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
59
- readonly type: Schema.Literal<"tool">;
60
- readonly messageID: Schema.String;
61
- readonly id: Schema.String;
62
- }>]>>, never, never>;
63
- readonly id: Schema.optional<Schema.brand<Schema.String, "Permission.ID"> & {
64
- create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
65
- }>;
66
- readonly agent: Schema.optional<Schema.brand<Schema.String, "Agent.ID">>;
67
- }>;
68
- export type AssertInput = typeof AssertInput.Type;
69
- export declare const ReplyInput: Schema.Struct<{
70
- readonly requestID: Schema.brand<Schema.String, "Permission.ID"> & {
71
- create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
72
- };
73
- readonly reply: Schema.Literals<readonly ["once", "always", "reject"]>;
74
- readonly message: Schema.optional<Schema.String>;
75
- }>;
76
- export type ReplyInput = typeof ReplyInput.Type;
77
- export declare const AskResult: Schema.Struct<{
78
- readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
79
- create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
80
- };
81
- readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
82
- }>;
83
- export type AskResult = typeof AskResult.Type;
46
+ export interface AssertInput extends Omit<Request, "id" | "message"> {
47
+ readonly id?: ID;
48
+ readonly agent?: Agent.ID;
49
+ }
50
+ export interface ReplyInput {
51
+ readonly requestID: ID;
52
+ readonly reply: Reply;
53
+ readonly message?: string;
54
+ }
55
+ export interface AskResult {
56
+ readonly id: ID;
57
+ readonly effect: Permission.Effect;
58
+ }
84
59
  export { Event } from "@opencode/schema/permission";
85
60
  declare const DeclinedError_base: Schema.Class<DeclinedError, Schema.TaggedStruct<"Permission.DeclinedError", {}>, import("effect/Cause").YieldableError>;
86
61
  export declare class DeclinedError extends DeclinedError_base {
@@ -5,7 +5,10 @@ export declare const WireTerminal: Schema.Struct<{
5
5
  readonly pid: Schema.NullOr<Schema.Number>;
6
6
  readonly title: Schema.String;
7
7
  readonly foreground_process: Schema.NullOr<Schema.String>;
8
- readonly group_id: Schema.String;
8
+ readonly group_id: Schema.brand<Schema.String, "SessionID"> & {
9
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
11
+ };
9
12
  readonly command: Schema.$Array<Schema.String>;
10
13
  readonly cwd: Schema.String;
11
14
  readonly cols: Schema.Number;
@@ -35,7 +38,10 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
35
38
  readonly pid: Schema.NullOr<Schema.Number>;
36
39
  readonly title: Schema.String;
37
40
  readonly foreground_process: Schema.NullOr<Schema.String>;
38
- readonly group_id: Schema.String;
41
+ readonly group_id: Schema.brand<Schema.String, "SessionID"> & {
42
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
43
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
44
+ };
39
45
  readonly command: Schema.$Array<Schema.String>;
40
46
  readonly cwd: Schema.String;
41
47
  readonly cols: Schema.Number;
@@ -59,7 +65,10 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
59
65
  readonly pid: Schema.NullOr<Schema.Number>;
60
66
  readonly title: Schema.String;
61
67
  readonly foreground_process: Schema.NullOr<Schema.String>;
62
- readonly group_id: Schema.String;
68
+ readonly group_id: Schema.brand<Schema.String, "SessionID"> & {
69
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
70
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
71
+ };
63
72
  readonly command: Schema.$Array<Schema.String>;
64
73
  readonly cwd: Schema.String;
65
74
  readonly cols: Schema.Number;
@@ -91,7 +100,10 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
91
100
  readonly pid: Schema.NullOr<Schema.Number>;
92
101
  readonly title: Schema.String;
93
102
  readonly foreground_process: Schema.NullOr<Schema.String>;
94
- readonly group_id: Schema.String;
103
+ readonly group_id: Schema.brand<Schema.String, "SessionID"> & {
104
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
105
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
106
+ };
95
107
  readonly command: Schema.$Array<Schema.String>;
96
108
  readonly cwd: Schema.String;
97
109
  readonly cols: Schema.Number;
@@ -119,7 +131,10 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
119
131
  readonly pid: Schema.NullOr<Schema.Number>;
120
132
  readonly title: Schema.String;
121
133
  readonly foreground_process: Schema.NullOr<Schema.String>;
122
- readonly group_id: Schema.String;
134
+ readonly group_id: Schema.brand<Schema.String, "SessionID"> & {
135
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
136
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
137
+ };
123
138
  readonly command: Schema.$Array<Schema.String>;
124
139
  readonly cwd: Schema.String;
125
140
  readonly cols: Schema.Number;
@@ -146,7 +161,10 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
146
161
  readonly pid: Schema.NullOr<Schema.Number>;
147
162
  readonly title: Schema.String;
148
163
  readonly foreground_process: Schema.NullOr<Schema.String>;
149
- readonly group_id: Schema.String;
164
+ readonly group_id: Schema.brand<Schema.String, "SessionID"> & {
165
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
166
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
167
+ };
150
168
  readonly command: Schema.$Array<Schema.String>;
151
169
  readonly cwd: Schema.String;
152
170
  readonly cols: Schema.Number;
@@ -272,7 +290,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
272
290
  readonly pid: number | null;
273
291
  readonly title: string;
274
292
  readonly foreground_process: string | null;
275
- readonly group_id: string;
293
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
276
294
  readonly command: readonly string[];
277
295
  readonly cwd: string;
278
296
  readonly cols: number;
@@ -296,7 +314,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
296
314
  readonly pid: number | null;
297
315
  readonly title: string;
298
316
  readonly foreground_process: string | null;
299
- readonly group_id: string;
317
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
300
318
  readonly command: readonly string[];
301
319
  readonly cwd: string;
302
320
  readonly cols: number;
@@ -328,7 +346,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
328
346
  readonly pid: number | null;
329
347
  readonly title: string;
330
348
  readonly foreground_process: string | null;
331
- readonly group_id: string;
349
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
332
350
  readonly command: readonly string[];
333
351
  readonly cwd: string;
334
352
  readonly cols: number;
@@ -356,7 +374,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
356
374
  readonly pid: number | null;
357
375
  readonly title: string;
358
376
  readonly foreground_process: string | null;
359
- readonly group_id: string;
377
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
360
378
  readonly command: readonly string[];
361
379
  readonly cwd: string;
362
380
  readonly cols: number;
@@ -383,7 +401,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
383
401
  readonly pid: number | null;
384
402
  readonly title: string;
385
403
  readonly foreground_process: string | null;
386
- readonly group_id: string;
404
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
387
405
  readonly command: readonly string[];
388
406
  readonly cwd: string;
389
407
  readonly cols: number;
@@ -440,7 +458,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
440
458
  readonly pid: number | null;
441
459
  readonly title: string;
442
460
  readonly foreground_process: string | null;
443
- readonly group_id: string;
461
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
444
462
  readonly command: readonly string[];
445
463
  readonly cwd: string;
446
464
  readonly cols: number;
@@ -464,7 +482,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
464
482
  readonly pid: number | null;
465
483
  readonly title: string;
466
484
  readonly foreground_process: string | null;
467
- readonly group_id: string;
485
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
468
486
  readonly command: readonly string[];
469
487
  readonly cwd: string;
470
488
  readonly cols: number;
@@ -496,7 +514,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
496
514
  readonly pid: number | null;
497
515
  readonly title: string;
498
516
  readonly foreground_process: string | null;
499
- readonly group_id: string;
517
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
500
518
  readonly command: readonly string[];
501
519
  readonly cwd: string;
502
520
  readonly cols: number;
@@ -524,7 +542,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
524
542
  readonly pid: number | null;
525
543
  readonly title: string;
526
544
  readonly foreground_process: string | null;
527
- readonly group_id: string;
545
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
528
546
  readonly command: readonly string[];
529
547
  readonly cwd: string;
530
548
  readonly cols: number;
@@ -551,7 +569,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
551
569
  readonly pid: number | null;
552
570
  readonly title: string;
553
571
  readonly foreground_process: string | null;
554
- readonly group_id: string;
572
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
555
573
  readonly command: readonly string[];
556
574
  readonly cwd: string;
557
575
  readonly cols: number;
@@ -608,7 +626,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
608
626
  readonly pid: number | null;
609
627
  readonly title: string;
610
628
  readonly foreground_process: string | null;
611
- readonly group_id: string;
629
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
612
630
  readonly command: readonly string[];
613
631
  readonly cwd: string;
614
632
  readonly cols: number;
@@ -632,7 +650,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
632
650
  readonly pid: number | null;
633
651
  readonly title: string;
634
652
  readonly foreground_process: string | null;
635
- readonly group_id: string;
653
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
636
654
  readonly command: readonly string[];
637
655
  readonly cwd: string;
638
656
  readonly cols: number;
@@ -664,7 +682,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
664
682
  readonly pid: number | null;
665
683
  readonly title: string;
666
684
  readonly foreground_process: string | null;
667
- readonly group_id: string;
685
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
668
686
  readonly command: readonly string[];
669
687
  readonly cwd: string;
670
688
  readonly cols: number;
@@ -692,7 +710,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
692
710
  readonly pid: number | null;
693
711
  readonly title: string;
694
712
  readonly foreground_process: string | null;
695
- readonly group_id: string;
713
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
696
714
  readonly command: readonly string[];
697
715
  readonly cwd: string;
698
716
  readonly cols: number;
@@ -719,7 +737,7 @@ export declare const makeDaemonTransport: (root: string, initialID: string, bina
719
737
  readonly pid: number | null;
720
738
  readonly title: string;
721
739
  readonly foreground_process: string | null;
722
- readonly group_id: string;
740
+ readonly group_id: string & import("effect/Brand").Brand<"SessionID">;
723
741
  readonly command: readonly string[];
724
742
  readonly cwd: string;
725
743
  readonly cols: number;
@@ -35,6 +35,7 @@ import { Npm } from "@opencode/util/npm";
35
35
  import { Permission } from "../permission.js";
36
36
  import { Reference } from "../reference.js";
37
37
  import { WebSearch } from "../websearch.js";
38
+ import { Voice } from "../voice.js";
38
39
  import { Ripgrep } from "../ripgrep.js";
39
40
  import { Session } from "../session.js";
40
41
  import { SessionCompaction } from "../session/compaction.js";
@@ -50,9 +51,9 @@ import { ReadToolFileSystem } from "../tool/read-filesystem.js";
50
51
  import { Tool } from "../tool.js";
51
52
  import { ToolOutput } from "../tool-output.js";
52
53
  import { WellKnown } from "../wellknown.js";
53
- declare const services: readonly [typeof Agent.Service, typeof AppProcess.Service, typeof Provider.Service, typeof Model.Service, typeof Command.Service, typeof Config.Service, typeof Credential.Service, typeof Bus.Service, typeof Environment.Service, typeof FileAccess.Service, typeof FileMutation.Service, typeof Formatter.Service, typeof LocationWatcherPolicy.Service, typeof FileSystem.Service, typeof FSUtil.Service, typeof Global.Service, Context.Service<HttpClient.HttpClient, HttpClient.HttpClient>, typeof Image.Service, typeof InstructionDiscovery.Service, typeof Integration.Service, typeof Job.Service, typeof KV.Service, typeof import("@opencode/ai").LLMClientService, typeof Location.Service, typeof ManagedPolicy.Service, typeof ModelsDev.Service, typeof Mcp.Service, typeof Npm.Service, typeof Permission.Service, typeof Form.Service, typeof ReadToolFileSystem.Service, typeof Reference.Service, typeof WebSearch.Service, typeof Ripgrep.Service, typeof Session.Service, typeof SessionCompaction.Service, typeof SessionInstructions.Service, typeof SubagentJob.Service, typeof Shell.Service, typeof ShellSelect.Service, typeof Snapshot.Service, typeof Skill.Service, typeof SkillDiscovery.Service, typeof Tool.Service, typeof ToolOutput.Service, typeof Watcher.Service, typeof WellKnown.Service, typeof Worktree.Service, typeof WorktreeStrategies.Service];
54
+ declare const services: readonly [typeof Agent.Service, typeof AppProcess.Service, typeof Provider.Service, typeof Model.Service, typeof Command.Service, typeof Config.Service, typeof Credential.Service, typeof Bus.Service, typeof Environment.Service, typeof FileAccess.Service, typeof FileMutation.Service, typeof Formatter.Service, typeof LocationWatcherPolicy.Service, typeof FileSystem.Service, typeof FSUtil.Service, typeof Global.Service, Context.Service<HttpClient.HttpClient, HttpClient.HttpClient>, typeof Image.Service, typeof InstructionDiscovery.Service, typeof Integration.Service, typeof Job.Service, typeof KV.Service, typeof import("@opencode/ai").LLMClientService, typeof Location.Service, typeof ManagedPolicy.Service, typeof ModelsDev.Service, typeof Mcp.Service, typeof Npm.Service, typeof Permission.Service, typeof Form.Service, typeof ReadToolFileSystem.Service, typeof Reference.Service, typeof WebSearch.Service, typeof Ripgrep.Service, typeof Session.Service, typeof SessionCompaction.Service, typeof SessionInstructions.Service, typeof SubagentJob.Service, typeof Shell.Service, typeof ShellSelect.Service, typeof Snapshot.Service, typeof Skill.Service, typeof SkillDiscovery.Service, typeof Tool.Service, typeof ToolOutput.Service, typeof Voice.Service, typeof Watcher.Service, typeof WellKnown.Service, typeof Worktree.Service, typeof WorktreeStrategies.Service];
54
55
  export type Requirements = Context.Service.Identifier<(typeof services)[number]>;
55
- export declare const requirements: LayerNode.Graph<HttpClient.HttpClient | import("@opencode/ai").LLMClientService | Global.Service | FSUtil.Service | AppProcess.Service | Location.Service | Bus.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Provider.Service | Model.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | Permission.Service | Environment.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Tool.Service | FileAccess.Service | FileMutation.Service | Formatter.Service | ShellSelect.Service | Mcp.Service | Job.Service | InstructionDiscovery.Service | Reference.Service | Skill.Service | Snapshot.Service | ToolOutput.Service | Shell.Service | Session.Service | WebSearch.Service | WorktreeStrategies.Service | Worktree.Service | LocationWatcherPolicy.Service | ManagedPolicy.Service | SessionInstructions.Service | ReadToolFileSystem.Service | SubagentJob.Service | SessionCompaction.Service | SkillDiscovery.Service | ModelsDev.Service, FileSystem.DirectoryAccessDeniedError | FileSystem.DirectoryNotFoundError, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
56
+ export declare const requirements: LayerNode.Graph<HttpClient.HttpClient | import("@opencode/ai").LLMClientService | Global.Service | FSUtil.Service | AppProcess.Service | Location.Service | Bus.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Provider.Service | Model.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | Permission.Service | Environment.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Tool.Service | FileAccess.Service | FileMutation.Service | Formatter.Service | Voice.Service | ShellSelect.Service | Mcp.Service | Job.Service | InstructionDiscovery.Service | ToolOutput.Service | ReadToolFileSystem.Service | Reference.Service | Skill.Service | Snapshot.Service | Shell.Service | Session.Service | WebSearch.Service | WorktreeStrategies.Service | Worktree.Service | LocationWatcherPolicy.Service | ManagedPolicy.Service | SessionInstructions.Service | SubagentJob.Service | SessionCompaction.Service | SkillDiscovery.Service | ModelsDev.Service, FileSystem.DirectoryAccessDeniedError | FileSystem.DirectoryNotFoundError, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
56
57
  export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
57
58
  export declare const guarded: ReadonlySet<string>;
58
59
  export declare const list: () => Effect.Effect<{
@@ -2,4 +2,5 @@ import { Scope } from "effect";
2
2
  import { HttpClient } from "effect/http";
3
3
  import { Bus } from "../../bus.js";
4
4
  import { ManagedPolicy } from "../../managed-policy.js";
5
- export declare const OpencodePlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | Scope.Scope | Bus.Service | ManagedPolicy.Service>;
5
+ import { Voice } from "../../voice.js";
6
+ export declare const OpencodePlugin: import("@opencode/plugin/effect/plugin").Plugin<HttpClient.HttpClient | Scope.Scope | Bus.Service | Voice.Service | ManagedPolicy.Service>;
@@ -27,7 +27,7 @@ export declare const CreateInput: Schema.Struct<{
27
27
  readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
28
28
  readonly env: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
29
29
  }>;
30
- export type CreateInput = Types.DeepMutable<typeof CreateInput.Type>;
30
+ export type CreateInput = typeof CreateInput.Type;
31
31
  export declare const UpdateInput: Schema.Struct<{
32
32
  readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
33
33
  readonly size: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -38,7 +38,7 @@ export declare const UpdateInput: Schema.Struct<{
38
38
  readonly cols: Schema.Int;
39
39
  }>>, never, never>;
40
40
  }>;
41
- export type UpdateInput = Types.DeepMutable<typeof UpdateInput.Type>;
41
+ export type UpdateInput = typeof UpdateInput.Type;
42
42
  export { Event } from "@opencode/schema/pty";
43
43
  export type AttachInput = {
44
44
  readonly cursor?: number;
@@ -66,6 +66,7 @@ declare const StepFailedError_base: Schema.Class<StepFailedError, Schema.TaggedS
66
66
  }>>>, Schema.optionalKey<Schema.Struct<{
67
67
  readonly body: Schema.String;
68
68
  }>>, never, never>;
69
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
69
70
  }>;
70
71
  }>, import("effect/Cause").YieldableError>;
71
72
  export declare class StepFailedError extends StepFailedError_base {
@@ -20,13 +20,10 @@ export interface Interface {
20
20
  * Interrupt active work owned by this process. Idle interruption is a no-op. Resolves once
21
21
  * the interruption is accepted; cleanup settles asynchronously in the execution fiber.
22
22
  * Returns whether an active execution was interrupted. Compose with `awaitIdle` when
23
- * settlement matters. `awaitSettlement` waits only for the interrupted execution,
24
- * rather than fresh work admitted during its cleanup.
23
+ * settlement matters.
25
24
  */
26
25
  readonly interrupt: (sessionID: SessionSchema.ID, options?: {
27
26
  readonly resume?: boolean;
28
- readonly reason?: "user" | "inactivity";
29
- readonly awaitSettlement?: boolean;
30
27
  }) => Effect.Effect<boolean>;
31
28
  /** Resolves once this process owns no active execution for the Session. Returns immediately when idle and never starts work. */
32
29
  readonly awaitIdle: (sessionID: SessionSchema.ID) => Effect.Effect<void>;
@@ -35,7 +32,7 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionExec
35
32
  /** Routes execution from a Session ID to its selected instance's runner. */
36
33
  export declare class Service extends Service_base {
37
34
  }
38
- type InterruptReason = "user" | "shutdown" | "inactivity";
35
+ type InterruptReason = "user" | "shutdown";
39
36
  export declare function terminal(exit: Exit.Exit<void, SessionRunner.RunError>, reason?: InterruptReason): {
40
37
  type: "succeeded";
41
38
  reason?: undefined;
@@ -19,11 +19,6 @@ export declare const isNativeCompaction: (message: SessionMessage.Info) => messa
19
19
  };
20
20
  /** A native compaction's window: canonical AI messages, stored as JSON. */
21
21
  export declare const NativeWindow: Schema.toCodecJson<Schema.$Array<typeof Message>>;
22
- export declare const latestCompaction: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
23
- $client: import("effect/sql/SqlClient").SqlClient;
24
- }, sessionID: string & import("effect/Brand").Brand<"SessionID">, boundary: Boundary, before?: number | undefined) => Effect.Effect<{
25
- seq: number;
26
- } | undefined, never, never>;
27
22
  export declare const decodeMessageRowSync: (row: typeof SessionMessageTable.$inferSelect) => {
28
23
  readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
29
24
  readonly metadata?: {
@@ -94,6 +89,7 @@ export declare const decodeMessageRowSync: (row: typeof SessionMessageTable.$inf
94
89
  readonly response?: {
95
90
  readonly body: string;
96
91
  } | undefined;
92
+ readonly retryAfterMs?: number | undefined;
97
93
  };
98
94
  } | {
99
95
  readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -174,6 +170,7 @@ export declare const decodeMessageRowSync: (row: typeof SessionMessageTable.$inf
174
170
  readonly response?: {
175
171
  readonly body: string;
176
172
  } | undefined;
173
+ readonly retryAfterMs?: number | undefined;
177
174
  };
178
175
  readonly content?: readonly [{
179
176
  readonly type: "text";
@@ -245,6 +242,7 @@ export declare const decodeMessageRowSync: (row: typeof SessionMessageTable.$inf
245
242
  readonly response?: {
246
243
  readonly body: string;
247
244
  } | undefined;
245
+ readonly retryAfterMs?: number | undefined;
248
246
  } | undefined;
249
247
  readonly retry?: {
250
248
  readonly attempt: number;
@@ -256,6 +254,7 @@ export declare const decodeMessageRowSync: (row: typeof SessionMessageTable.$inf
256
254
  readonly response?: {
257
255
  readonly body: string;
258
256
  } | undefined;
257
+ readonly retryAfterMs?: number | undefined;
259
258
  };
260
259
  } | undefined;
261
260
  readonly time: {
@@ -280,6 +279,7 @@ export declare const decodeMessageRowSync: (row: typeof SessionMessageTable.$inf
280
279
  readonly response?: {
281
280
  readonly body: string;
282
281
  } | undefined;
282
+ readonly retryAfterMs?: number | undefined;
283
283
  } | undefined;
284
284
  } | {
285
285
  readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -493,6 +493,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
493
493
  readonly response?: {
494
494
  readonly body: string;
495
495
  } | undefined;
496
+ readonly retryAfterMs?: number | undefined;
496
497
  };
497
498
  } | {
498
499
  readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -573,6 +574,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
573
574
  readonly response?: {
574
575
  readonly body: string;
575
576
  } | undefined;
577
+ readonly retryAfterMs?: number | undefined;
576
578
  };
577
579
  readonly content?: readonly [{
578
580
  readonly type: "text";
@@ -644,6 +646,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
644
646
  readonly response?: {
645
647
  readonly body: string;
646
648
  } | undefined;
649
+ readonly retryAfterMs?: number | undefined;
647
650
  } | undefined;
648
651
  readonly retry?: {
649
652
  readonly attempt: number;
@@ -655,6 +658,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
655
658
  readonly response?: {
656
659
  readonly body: string;
657
660
  } | undefined;
661
+ readonly retryAfterMs?: number | undefined;
658
662
  };
659
663
  } | undefined;
660
664
  readonly time: {
@@ -679,6 +683,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
679
683
  readonly response?: {
680
684
  readonly body: string;
681
685
  } | undefined;
686
+ readonly retryAfterMs?: number | undefined;
682
687
  } | undefined;
683
688
  } | {
684
689
  readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -40,7 +40,7 @@ export interface Input {
40
40
  };
41
41
  }
42
42
  /** The default output limit: the catalog limit, fitted to the room the prompt leaves in the context window. */
43
- export declare const outputLimit: (limit: Model.Info["limit"], kind: "primary" | "compaction", inputTokens?: Input["inputTokens"]) => number;
43
+ export declare const outputLimit: (limit: Model.Info["limit"], inputTokens?: Input["inputTokens"]) => number;
44
44
  export declare const baseTranscript: (input: {
45
45
  readonly agent: Agent.Info;
46
46
  readonly model: SessionRunnerModel.Resolved;
@@ -15,12 +15,9 @@ export interface Coordinator<Key, E, Reason = never> {
15
15
  * Stops the active execution and clears its doorbell. No-op when idle. Resolves once the
16
16
  * interruption is accepted, not when cleanup settles: the execution fiber finishes its
17
17
  * finalizers and settled hook on its own time. Returns whether an active execution was
18
- * interrupted. `awaitSettlement` waits for this execution's cleanup and settled hook,
19
- * without following fresh work admitted during cleanup. `awaitIdle` follows successors too.
18
+ * interrupted.
20
19
  */
21
- readonly interrupt: (key: Key, reason?: Reason, options?: {
22
- readonly awaitSettlement?: boolean;
23
- }) => Effect.Effect<boolean>;
20
+ readonly interrupt: (key: Key, reason?: Reason) => Effect.Effect<boolean>;
24
21
  /** Resolves once no execution is active for the key. Returns immediately when already idle and never starts work. */
25
22
  readonly awaitIdle: (key: Key) => Effect.Effect<void>;
26
23
  }
@@ -3,13 +3,13 @@ import type { Agent } from "@opencode/schema/agent";
3
3
  import type { Model } from "@opencode/schema/model";
4
4
  import type { RelativePath } from "@opencode/schema/schema";
5
5
  import type { Snapshot } from "@opencode/schema/snapshot";
6
+ import type { TokenUsage } from "@opencode/schema/token-usage";
6
7
  import { Effect } from "effect";
7
8
  import { Bus } from "../../bus.js";
8
9
  import { SessionMessage } from "../message.js";
9
10
  import { SessionSchema } from "../schema.js";
10
11
  import { SessionError } from "@opencode/schema/session-error";
11
12
  import { Money } from "@opencode/schema/money";
12
- import { SessionUsage } from "../usage.js";
13
13
  import type { Tool } from "../../tool.js";
14
14
  type Input = {
15
15
  readonly sessionID: SessionSchema.ID;
@@ -35,7 +35,7 @@ export interface StepRecord {
35
35
  }>["reason"]["normalized"];
36
36
  readonly rawFinish?: string;
37
37
  readonly native?: SessionMessage.Native;
38
- readonly tokens: ReturnType<typeof SessionUsage.tokens>;
38
+ readonly tokens: TokenUsage.Info;
39
39
  };
40
40
  readonly needsContinuation: boolean;
41
41
  }
@@ -61,7 +61,7 @@ export declare const createLLMEventPublisher: (bus: Pick<Bus.Interface, "publish
61
61
  failTool: (id: string, error: SessionError.Error, metadata?: Readonly<Record<string, any>> | undefined) => Effect.Effect<boolean, never, never>;
62
62
  publishStepFailure: (details?: {
63
63
  readonly cost?: Money.USD;
64
- readonly tokens?: ReturnType<typeof SessionUsage.tokens>;
64
+ readonly tokens?: TokenUsage.Info;
65
65
  readonly snapshot?: Snapshot.ID;
66
66
  readonly files?: readonly RelativePath[];
67
67
  } | undefined) => Effect.Effect<void, never, never>;
@@ -202,4 +202,4 @@ export declare const make: Effect.Effect<{
202
202
  readonly error: SessionError.Error;
203
203
  readonly decision: SessionRunnerRetry.Decision;
204
204
  }, AIError | StepFailedError, never>;
205
- }, never, import("@opencode/ai").LLMClientService | Bus.Service | Snapshot.Service | ToolOutput.Service>;
205
+ }, never, import("@opencode/ai").LLMClientService | Bus.Service | ToolOutput.Service | Snapshot.Service>;
@@ -458,7 +458,7 @@ export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
458
458
  name: string;
459
459
  tableName: "session_v2";
460
460
  dataType: "string";
461
- data: string;
461
+ data: string & import("effect/Brand").Brand<"Agent.ID">;
462
462
  driverParam: string;
463
463
  notNull: false;
464
464
  hasDefault: false;