@opencode/core 0.0.0-dev-21173 → 0.0.0-dev-21177

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{permission-drsr8dxn.js → pty-072y95tq.js} +7 -7
  8. package/dist/chunks/{permission-r4srm0at.js → pty-0dcab6yb.js} +11 -11
  9. package/dist/chunks/{permission-wnq6p54b.js → pty-0gva8j83.js} +2 -2
  10. package/dist/chunks/{permission-d9yvnbgr.js → pty-0s4jjkv3.js} +19 -19
  11. package/dist/chunks/{permission-ex63grbc.js → pty-0ss45e0g.js} +18 -18
  12. package/dist/chunks/{permission-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{permission-52nvs3jd.js → pty-0xndvgp0.js} +8 -8
  14. package/dist/chunks/{permission-z0sxxenh.js → pty-14wynrn6.js} +44 -44
  15. package/dist/chunks/{permission-vem2bndm.js → pty-1bqj5c5m.js} +13 -13
  16. package/dist/chunks/{permission-mssvzdjt.js → pty-1cy1fvz2.js} +18 -18
  17. package/dist/chunks/{permission-1ep4rre3.js → pty-1ep4rre3.js} +1 -1
  18. package/dist/chunks/{permission-mg40r85c.js → pty-1fde4gmb.js} +3 -3
  19. package/dist/chunks/{permission-j5c0rtpf.js → pty-1gwhweqv.js} +16 -16
  20. package/dist/chunks/{permission-86n1mj31.js → pty-1kmnnw2n.js} +45 -45
  21. package/dist/chunks/{permission-vn7rx3mx.js → pty-1qawy49j.js} +7 -7
  22. package/dist/chunks/{permission-qgv7edb0.js → pty-1ycz83fm.js} +19 -19
  23. package/dist/chunks/{permission-8ank75fn.js → pty-2ktf0ed2.js} +8 -8
  24. package/dist/chunks/{permission-7erdcn4e.js → pty-2wak32hr.js} +90 -88
  25. package/dist/chunks/{permission-3tsz0k1y.js → pty-2yf9htnm.js} +16 -16
  26. package/dist/chunks/{permission-am1g5jcw.js → pty-332j5t5e.js} +90 -90
  27. package/dist/chunks/{permission-6wb9g5se.js → pty-35ddvwna.js} +4 -4
  28. package/dist/chunks/{permission-k2a504bc.js → pty-37sfe3bm.js} +8 -8
  29. package/dist/chunks/{permission-fhff0x2d.js → pty-3b9qt4hj.js} +9 -9
  30. package/dist/chunks/{permission-34c6xbdq.js → pty-3cxe0ccz.js} +32 -32
  31. package/dist/chunks/{permission-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{permission-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{permission-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{permission-n33x0n62.js → pty-3s2wwjdv.js} +4 -4
  35. package/dist/chunks/{permission-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{permission-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{permission-1ve0sr6a.js → pty-3zk10d63.js} +12 -12
  38. package/dist/chunks/{permission-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{permission-679rbtpy.js → pty-409dx5e0.js} +11 -11
  40. package/dist/chunks/{permission-9d88y16z.js → pty-4esk8sqt.js} +10 -10
  41. package/dist/chunks/{permission-zv85pfc2.js → pty-4fnc5vpd.js} +19 -19
  42. package/dist/chunks/{permission-ybz1v3hc.js → pty-4g4s6x68.js} +21 -21
  43. package/dist/chunks/{permission-62weq7xx.js → pty-4z5pf2em.js} +17 -17
  44. package/dist/chunks/{permission-54ma36ye.js → pty-54ma36ye.js} +1 -1
  45. package/dist/chunks/{permission-z12mz8nn.js → pty-58h69jjx.js} +15 -15
  46. package/dist/chunks/{permission-a01j9zgm.js → pty-58hng72m.js} +5 -5
  47. package/dist/chunks/{permission-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{permission-kq8zwz2w.js → pty-5w01hbp6.js} +22 -22
  49. package/dist/chunks/{permission-5xtgfte3.js → pty-5xtgfte3.js} +1 -1
  50. package/dist/chunks/{permission-9vmy51qk.js → pty-628d53px.js} +21 -21
  51. package/dist/chunks/{permission-8ewgqdn5.js → pty-65wgkzmg.js} +3 -3
  52. package/dist/chunks/{permission-f9veggc8.js → pty-66etgr7v.js} +3 -3
  53. package/dist/chunks/{permission-twrxp6fg.js → pty-67ajme4p.js} +7 -7
  54. package/dist/chunks/{permission-6827pfxn.js → pty-6827pfxn.js} +1 -1
  55. package/dist/chunks/{permission-kgn3ypzw.js → pty-68tnz3e8.js} +15 -15
  56. package/dist/chunks/{permission-4t2fw5rj.js → pty-69nb7mte.js} +15 -15
  57. package/dist/chunks/{permission-ycjyx8h4.js → pty-6afr2rje.js} +13 -13
  58. package/dist/chunks/{permission-8zc1cckh.js → pty-6cywv53g.js} +4 -4
  59. package/dist/chunks/{permission-07v8h7rd.js → pty-6q74b9t9.js} +21 -21
  60. package/dist/chunks/{permission-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{permission-xvxcje8t.js → pty-6yvmd6g0.js} +5 -5
  62. package/dist/chunks/{permission-4xpgt2w9.js → pty-6yz0wx8n.js} +5 -5
  63. package/dist/chunks/{permission-nkttc7hj.js → pty-72b35rd4.js} +17 -14
  64. package/dist/chunks/{permission-775gj3j1.js → pty-775gj3j1.js} +2 -2
  65. package/dist/chunks/{permission-p2tdy616.js → pty-7a63cxzq.js} +17 -17
  66. package/dist/chunks/{permission-cqqwjfhv.js → pty-7baah2nz.js} +8 -8
  67. package/dist/chunks/{permission-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{permission-rd8qctj1.js → pty-7dks1d1n.js} +6 -6
  69. package/dist/chunks/{permission-0jwsre1p.js → pty-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{permission-bkn1ecx9.js → pty-7k3t91vn.js} +14 -14
  71. package/dist/chunks/{permission-e4q6xfnd.js → pty-7k8jbme7.js} +34 -34
  72. package/dist/chunks/{permission-wms60x7z.js → pty-7ppyhzjx.js} +8 -8
  73. package/dist/chunks/{permission-dvd777c1.js → pty-7y4pe9zb.js} +23 -23
  74. package/dist/chunks/{permission-e8xftk41.js → pty-80xcpyq8.js} +33 -33
  75. package/dist/chunks/{permission-2h6rptny.js → pty-81y4a27x.js} +42 -42
  76. package/dist/chunks/{permission-kefz2fe2.js → pty-835y3cmd.js} +23 -23
  77. package/dist/chunks/{permission-cgbfxkfx.js → pty-83gy3yq2.js} +19 -19
  78. package/dist/chunks/{permission-w1eejvng.js → pty-84txncab.js} +5 -5
  79. package/dist/chunks/{permission-sfhytqpz.js → pty-88sqq7ae.js} +38 -38
  80. package/dist/chunks/{permission-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{permission-mtpeagzc.js → pty-8whp40kv.js} +3 -3
  82. package/dist/chunks/{permission-q8rx9e2s.js → pty-8ww2gede.js} +8 -8
  83. package/dist/chunks/{permission-93ygb5af.js → pty-909p1r3q.js} +6 -6
  84. package/dist/chunks/{permission-91qna3x0.js → pty-91qna3x0.js} +3 -3
  85. package/dist/chunks/{permission-6rvxw5sn.js → pty-94204gn9.js} +11 -11
  86. package/dist/chunks/{permission-2r1j4600.js → pty-967benbv.js} +11 -11
  87. package/dist/chunks/{permission-8c1f8xcx.js → pty-97s3qq9m.js} +11 -11
  88. package/dist/chunks/{permission-njesq0nn.js → pty-9m6qkdem.js} +23 -23
  89. package/dist/chunks/pty-9sh4wc5j.js +18 -0
  90. package/dist/chunks/{permission-pyw7ptjn.js → pty-9xagcj41.js} +23 -23
  91. package/dist/chunks/pty-a0bbkc97.js +513 -0
  92. package/dist/chunks/{permission-sjj1ezhr.js → pty-a0r78awy.js} +10 -10
  93. package/dist/chunks/{permission-j3b4mjbm.js → pty-a7a43a3w.js} +22 -22
  94. package/dist/chunks/{permission-wsx3hvt7.js → pty-amwms54f.js} +12 -12
  95. package/dist/chunks/{permission-bhfq43n9.js → pty-apzkc9dc.js} +1 -1
  96. package/dist/chunks/{permission-hpcv5792.js → pty-aqrjem7b.js} +23 -23
  97. package/dist/chunks/{permission-9pvks7pb.js → pty-aw5400a1.js} +9 -9
  98. package/dist/chunks/{permission-xf9p42ms.js → pty-awrjh9yh.js} +5 -5
  99. package/dist/chunks/{permission-zp0dxnma.js → pty-axj4d8xa.js} +25 -25
  100. package/dist/chunks/{permission-k3ytq7h8.js → pty-b0jp0bej.js} +33 -33
  101. package/dist/chunks/{permission-wfxrttv2.js → pty-b2n2c3pj.js} +18 -18
  102. package/dist/chunks/{permission-217f33nw.js → pty-b5k0m31y.js} +5 -5
  103. package/dist/chunks/{permission-y7nndgyc.js → pty-bacj9t34.js} +9 -9
  104. package/dist/chunks/{permission-09m9v7wa.js → pty-bd0ch2rs.js} +14 -14
  105. package/dist/chunks/{permission-e854n5p3.js → pty-bdcde2ps.js} +9 -9
  106. package/dist/chunks/{permission-ed1k8py6.js → pty-bfabrp63.js} +9 -9
  107. package/dist/chunks/{permission-1ffvrpkg.js → pty-bjx1sjef.js} +6 -6
  108. package/dist/chunks/{permission-a1d774nw.js → pty-brpn0yq7.js} +11 -11
  109. package/dist/chunks/{permission-es1vcfrp.js → pty-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{permission-jc443jqb.js → pty-c23c3mz0.js} +22 -22
  111. package/dist/chunks/{permission-bq6kd7ym.js → pty-c29rd6g0.js} +5 -5
  112. package/dist/chunks/{permission-k72kjj42.js → pty-c2qwrsdn.js} +17 -17
  113. package/dist/chunks/{permission-c1w56vrw.js → pty-cansen50.js} +10 -10
  114. package/dist/chunks/{permission-k9b3hqck.js → pty-cf5e3918.js} +32 -32
  115. package/dist/chunks/{permission-sracg0sp.js → pty-cvftb236.js} +45 -45
  116. package/dist/chunks/{permission-sdqebhr8.js → pty-d0epqsfp.js} +54 -54
  117. package/dist/chunks/{permission-fdv2f9s8.js → pty-d0we51xq.js} +4 -4
  118. package/dist/chunks/{permission-h7s7r6s9.js → pty-d1a28jh7.js} +4 -2
  119. package/dist/chunks/{permission-a7q9m0hx.js → pty-d9vhn3nc.js} +10 -10
  120. package/dist/chunks/pty-dexk7st3.js +26 -0
  121. package/dist/chunks/{permission-qkk6pvw8.js → pty-deyktbey.js} +11 -11
  122. package/dist/chunks/{permission-ft3hqk2c.js → pty-djszqvmq.js} +9 -9
  123. package/dist/chunks/{permission-jm1y66nn.js → pty-e0qr5ad7.js} +31 -31
  124. package/dist/chunks/{permission-ypbhf5bf.js → pty-e2f4d7w4.js} +20 -20
  125. package/dist/chunks/{permission-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  126. package/dist/chunks/{permission-t2jeqs59.js → pty-e5dabrwz.js} +10 -10
  127. package/dist/chunks/{permission-e80seqcp.js → pty-e80seqcp.js} +1 -1
  128. package/dist/chunks/{permission-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{permission-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{permission-vwfnp5qh.js → pty-efs6wv9h.js} +21 -21
  131. package/dist/chunks/{permission-k0419ymk.js → pty-eqhzy62x.js} +17 -17
  132. package/dist/chunks/{permission-sg7hg3kh.js → pty-fce1ctzp.js} +51 -33
  133. package/dist/chunks/{permission-fcy631f0.js → pty-fcy631f0.js} +1 -1
  134. package/dist/chunks/{permission-pr8tz6aa.js → pty-fhh11s5w.js} +11 -11
  135. package/dist/chunks/{permission-ptcfasrv.js → pty-fkbnvjhs.js} +31 -31
  136. package/dist/chunks/{permission-fn9t717r.js → pty-fn9t717r.js} +3 -3
  137. package/dist/chunks/{permission-2284a349.js → pty-fncnja3r.js} +13 -13
  138. package/dist/chunks/{permission-1x3few19.js → pty-frxe1693.js} +11 -11
  139. package/dist/chunks/{permission-44ez1h4z.js → pty-fwkr8rng.js} +36 -36
  140. package/dist/chunks/{permission-ewftvr95.js → pty-g049fyg0.js} +18 -18
  141. package/dist/chunks/{permission-hqxt2sjs.js → pty-g72yd4k4.js} +12 -12
  142. package/dist/chunks/{permission-7vnwjbg5.js → pty-gd41frsq.js} +11 -11
  143. package/dist/chunks/{permission-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{permission-vhs5kszj.js → pty-gfwb8sf1.js} +24 -24
  145. package/dist/chunks/{permission-ba7z67q3.js → pty-ggbzsg95.js} +37 -37
  146. package/dist/chunks/{permission-hq7ypz19.js → pty-gv7bhpe8.js} +8 -8
  147. package/dist/chunks/{permission-jhze0r06.js → pty-h2tq07ke.js} +15 -15
  148. package/dist/chunks/{permission-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{permission-fwwk8vbp.js → pty-h71w788e.js} +9 -9
  150. package/dist/chunks/pty-h75fbyn9.js +257 -0
  151. package/dist/chunks/{permission-9013ynpr.js → pty-h7nv9fm5.js} +15 -15
  152. package/dist/chunks/{permission-4j4tgtq5.js → pty-h9wp8z5w.js} +4 -4
  153. package/dist/chunks/{permission-6dtzrycv.js → pty-hbazd458.js} +22 -22
  154. package/dist/chunks/{permission-qvw17ysa.js → pty-hfbyhya8.js} +10 -10
  155. package/dist/chunks/{permission-bsvpxg9q.js → pty-hfeceh65.js} +32 -32
  156. package/dist/chunks/{permission-90e9d9f0.js → pty-hghq5j4z.js} +5 -5
  157. package/dist/chunks/{permission-gehf44jm.js → pty-hgpdn4cj.js} +11 -11
  158. package/dist/chunks/{permission-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{permission-0stshzec.js → pty-hj273wnv.js} +1 -1
  160. package/dist/chunks/{permission-fxaymqdw.js → pty-hq3c8me3.js} +4 -4
  161. package/dist/chunks/{permission-r64pe9ar.js → pty-hr141zjg.js} +11 -11
  162. package/dist/chunks/{permission-ybx72fxx.js → pty-hst5n1cs.js} +15 -15
  163. package/dist/chunks/{permission-j4gjcjtj.js → pty-hzaj131z.js} +20 -20
  164. package/dist/chunks/{permission-t50d1m6t.js → pty-jd7jt2a4.js} +9 -9
  165. package/dist/chunks/{permission-cnjn3bnt.js → pty-jeqqnt0n.js} +184 -184
  166. package/dist/chunks/{permission-86vk3z46.js → pty-jgvqkc2b.js} +4 -4
  167. package/dist/chunks/{permission-j01kmr5k.js → pty-jkg51xq8.js} +22 -22
  168. package/dist/chunks/{permission-w35dv4fm.js → pty-jmzfcjas.js} +34 -34
  169. package/dist/chunks/{permission-9j1099w1.js → pty-jr8d78rx.js} +18 -18
  170. package/dist/chunks/{permission-h3wqeaw2.js → pty-k2yecyca.js} +35 -35
  171. package/dist/chunks/{permission-p0sm3d7e.js → pty-k76gfw63.js} +6 -6
  172. package/dist/chunks/{permission-127b9nq3.js → pty-k8h85fj7.js} +3 -3
  173. package/dist/chunks/{permission-fpvv6138.js → pty-kj9v1f3y.js} +6 -6
  174. package/dist/chunks/{permission-azvvqzwa.js → pty-kmz0bz7s.js} +20 -20
  175. package/dist/chunks/{permission-txm3e8qz.js → pty-kqv3x6rj.js} +9 -9
  176. package/dist/chunks/{permission-wte75qjz.js → pty-kqx1b4hy.js} +4 -4
  177. package/dist/chunks/{permission-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{permission-hafq2as1.js → pty-kxx41s58.js} +33 -33
  179. package/dist/chunks/{permission-tbfew0k9.js → pty-kzp2p6b7.js} +5 -5
  180. package/dist/chunks/{permission-sxyek8tm.js → pty-m2nf4q9z.js} +21 -21
  181. package/dist/chunks/{permission-8jjg13rq.js → pty-m79dkcvs.js} +8 -8
  182. package/dist/chunks/{permission-91kj5k6h.js → pty-m997ahh4.js} +23 -23
  183. package/dist/chunks/{permission-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{permission-maspj1v3.js → pty-maspj1v3.js} +1 -1
  185. package/dist/chunks/{permission-gqtdsdt7.js → pty-mxvxcxwy.js} +4 -4
  186. package/dist/chunks/{permission-swfsrv1g.js → pty-n8j0ad3c.js} +3 -3
  187. package/dist/chunks/{permission-kcbr4h58.js → pty-n96cp4bh.js} +11 -11
  188. package/dist/chunks/{permission-s0ekgt81.js → pty-njarxngx.js} +15 -15
  189. package/dist/chunks/{permission-vy0dehag.js → pty-nmbh15fm.js} +11 -11
  190. package/dist/chunks/{permission-eq0rhscs.js → pty-p1rwgv3d.js} +11 -11
  191. package/dist/chunks/{permission-erv48bnj.js → pty-p2ccqsff.js} +34 -34
  192. package/dist/chunks/{permission-s6pmxk2t.js → pty-p4pkk9xt.js} +16 -16
  193. package/dist/chunks/{permission-82d2ktkz.js → pty-pa5kwetm.js} +35 -35
  194. package/dist/chunks/{permission-phj4qgcq.js → pty-phb1sbsg.js} +13 -13
  195. package/dist/chunks/{permission-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{permission-pknna89w.js → pty-pknna89w.js} +1 -1
  197. package/dist/chunks/{permission-e322r7pm.js → pty-pp87jdt4.js} +18 -18
  198. package/dist/chunks/{permission-xydg9nj3.js → pty-pqkvj9g1.js} +16 -16
  199. package/dist/chunks/{permission-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
  200. package/dist/chunks/{permission-6frk1szt.js → pty-q1r0pa81.js} +4 -4
  201. package/dist/chunks/{permission-2zrb9pfn.js → pty-q62wak94.js} +24 -24
  202. package/dist/chunks/{permission-ryr25ayn.js → pty-qa3qhgw8.js} +4 -4
  203. package/dist/chunks/{permission-yq6drjdh.js → pty-qcfsp7vy.js} +29 -29
  204. package/dist/chunks/{permission-14086wcg.js → pty-qfrtht0v.js} +26 -26
  205. package/dist/chunks/{permission-rjsr3vcn.js → pty-qfw355cv.js} +27 -27
  206. package/dist/chunks/{permission-had4kgfk.js → pty-qh8vdwx1.js} +6 -6
  207. package/dist/chunks/{permission-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{permission-qsdy395h.js → pty-qsdy395h.js} +1 -1
  209. package/dist/chunks/{permission-fef0arss.js → pty-qzsep9jm.js} +25 -25
  210. package/dist/chunks/{permission-qptxjfpk.js → pty-r04b27we.js} +9 -9
  211. package/dist/chunks/{permission-grxcxy9j.js → pty-r61qxybf.js} +8 -8
  212. package/dist/chunks/{permission-recxsxx3.js → pty-r84pq0rk.js} +9 -9
  213. package/dist/chunks/{permission-ar1n46mt.js → pty-r8mqjg1b.js} +5 -5
  214. package/dist/chunks/{permission-byj9yqak.js → pty-rbakw9sr.js} +21 -21
  215. package/dist/chunks/{permission-ykx2tj4g.js → pty-rbnwg7cj.js} +23 -23
  216. package/dist/chunks/{permission-aef7rqc7.js → pty-rcgycnpc.js} +18 -16
  217. package/dist/chunks/{permission-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{permission-tkb22qbm.js → pty-rert0e01.js} +2 -2
  219. package/dist/chunks/{permission-fdy4yjdv.js → pty-ret9kwh0.js} +16 -16
  220. package/dist/chunks/{permission-02nrjc1r.js → pty-rhjbct0v.js} +6 -6
  221. package/dist/chunks/{permission-c41wscbt.js → pty-rj3eygr5.js} +2 -2
  222. package/dist/chunks/{permission-5e16jgyb.js → pty-rnmvysgz.js} +4 -4
  223. package/dist/chunks/{permission-y6gk02k8.js → pty-rwkv9rtx.js} +13 -13
  224. package/dist/chunks/{permission-jcm4bbxk.js → pty-s7r2tet0.js} +27 -27
  225. package/dist/chunks/{permission-1x75wf9g.js → pty-s857ash9.js} +5 -5
  226. package/dist/chunks/{permission-dp9dz0jq.js → pty-s88jxsq4.js} +18 -18
  227. package/dist/chunks/{permission-12tgygga.js → pty-s8pxmgfm.js} +50 -50
  228. package/dist/chunks/{permission-qksshjc5.js → pty-sa09w3ef.js} +49 -49
  229. package/dist/chunks/{permission-c8ax2afj.js → pty-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{permission-bhvq7qsz.js → pty-sajpmnx7.js} +9 -9
  231. package/dist/chunks/{permission-qcz0wrwd.js → pty-sn3stvbn.js} +57 -57
  232. package/dist/chunks/{permission-71cbbrtp.js → pty-sq9yydtn.js} +24 -24
  233. package/dist/chunks/{permission-e24zdz5m.js → pty-st0368v5.js} +10 -10
  234. package/dist/chunks/{permission-syv4x271.js → pty-syv4x271.js} +1 -1
  235. package/dist/chunks/{permission-j4c8x1sc.js → pty-tafwdsvs.js} +3 -3
  236. package/dist/chunks/{permission-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{permission-89znhe33.js → pty-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{permission-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{permission-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{permission-9c9gt24k.js → pty-tnmnn7e4.js} +36 -36
  241. package/dist/chunks/{permission-tyytaxap.js → pty-tyytaxap.js} +1 -1
  242. package/dist/chunks/{permission-0javqkgf.js → pty-v210v162.js} +9 -9
  243. package/dist/chunks/{permission-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{permission-p345wmns.js → pty-v7xcn73q.js} +7 -7
  245. package/dist/chunks/{permission-btbmdjwj.js → pty-v7z2bvyd.js} +4 -4
  246. package/dist/chunks/{permission-8xncanqv.js → pty-va5r0dq2.js} +6 -6
  247. package/dist/chunks/{permission-z0aj456m.js → pty-vbfgae2j.js} +4 -4
  248. package/dist/chunks/{permission-vjq3qjw7.js → pty-vcqq2ea7.js} +10 -10
  249. package/dist/chunks/{permission-veqvce7d.js → pty-veqvce7d.js} +1 -1
  250. package/dist/chunks/{permission-w8hz4tvn.js → pty-vgdf0v3q.js} +48 -48
  251. package/dist/chunks/{permission-3rb3ap3k.js → pty-vqeq0fhp.js} +60 -60
  252. package/dist/chunks/{permission-hpvpcn7a.js → pty-vqjddh0d.js} +4 -4
  253. package/dist/chunks/{permission-qf384av7.js → pty-vv9rr97d.js} +46 -46
  254. package/dist/chunks/{permission-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{permission-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{permission-rya1tkyh.js → pty-wb9rhkdy.js} +43 -43
  257. package/dist/chunks/{permission-wd87259q.js → pty-wd87259q.js} +1 -1
  258. package/dist/chunks/{permission-n3cnth5e.js → pty-wps1s803.js} +11 -11
  259. package/dist/chunks/{permission-qaxwxvv2.js → pty-x21xsnty.js} +5 -5
  260. package/dist/chunks/{permission-6qm11y7v.js → pty-x3kre6es.js} +4 -4
  261. package/dist/chunks/{permission-ykt43d86.js → pty-x4yz0ptf.js} +25 -25
  262. package/dist/chunks/{permission-drwq78ky.js → pty-xfkkasph.js} +4 -4
  263. package/dist/chunks/{permission-kgfr93wy.js → pty-xhfpyqwv.js} +11 -11
  264. package/dist/chunks/{permission-482br3es.js → pty-y14wdc3z.js} +11 -11
  265. package/dist/chunks/{permission-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{permission-dpkg50ah.js → pty-y71avatq.js} +4 -4
  267. package/dist/chunks/{permission-tac8m9nk.js → pty-y9exhfjj.js} +18 -18
  268. package/dist/chunks/{permission-y14210vx.js → pty-ybqv58y2.js} +15 -15
  269. package/dist/chunks/{permission-x57v9ssy.js → pty-yfzaheh6.js} +30 -30
  270. package/dist/chunks/{permission-mcyszzrv.js → pty-yn45kn81.js} +45 -45
  271. package/dist/chunks/{permission-1acjjqhc.js → pty-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{permission-6t7m39cn.js → pty-ypxfhh66.js} +28 -28
  273. package/dist/chunks/{permission-xt4njr3s.js → pty-yqc6bamn.js} +1 -1
  274. package/dist/chunks/{permission-kqjv193p.js → pty-ysa5gsqv.js} +30 -30
  275. package/dist/chunks/{permission-fmf6086p.js → pty-ywxwm15a.js} +35 -35
  276. package/dist/chunks/{permission-tsv76eat.js → pty-z09azjc0.js} +26 -26
  277. package/dist/chunks/{permission-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{permission-mavth47d.js → pty-z0scchpv.js} +24 -24
  279. package/dist/chunks/{permission-47jkzegy.js → pty-z6c3x22d.js} +5 -5
  280. package/dist/chunks/{permission-894fjdzg.js → pty-z8esweh3.js} +27 -27
  281. package/dist/chunks/{permission-jwn3wsmf.js → pty-zmkc6qbt.js} +6 -6
  282. package/dist/chunks/{permission-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{permission-afdssyjb.js → pty-zvt5dnpc.js} +4 -4
  284. package/dist/chunks/{permission-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{permission-c23mvb43.js → pty-zxxshg8d.js} +13 -13
  286. package/dist/chunks/{permission-6mdckws8.js → pty-zysym8wc.js} +28 -28
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +116 -116
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +215 -215
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +103 -103
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +109 -109
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +117 -117
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +1 -1
  496. package/dist/plugin/internal.js +331 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +115 -115
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +346 -346
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +92 -92
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/webfetch.js +114 -114
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +12 -12
  656. package/dist/types/session/session.d.ts +2 -0
  657. package/dist/types/session/store.d.ts +3 -0
  658. package/dist/types/session.d.ts +5 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +88 -88
  681. package/dist/websearch.js +82 -82
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +81 -81
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +100 -100
  692. package/package.json +8 -8
  693. package/dist/chunks/permission-2jd6s88s.js +0 -257
  694. package/dist/chunks/permission-740dsj1m.js +0 -513
  695. package/dist/chunks/permission-ewqg9zyh.js +0 -26
  696. package/dist/chunks/permission-ht5y0zrb.js +0 -18
  697. /package/dist/chunks/{permission-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{permission-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{permission-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{permission-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{permission-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{permission-24dcb14g.js → pty-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{permission-2710q6r3.js → pty-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{permission-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{permission-2bv980vf.js → pty-2bv980vf.js} +0 -0
  706. /package/dist/chunks/{permission-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{permission-359p4xyc.js → pty-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{permission-3asan66x.js → pty-3asan66x.js} +0 -0
  709. /package/dist/chunks/{permission-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  710. /package/dist/chunks/{permission-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{permission-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{permission-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{permission-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{permission-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{permission-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{permission-53557ph1.js → pty-53557ph1.js} +0 -0
  717. /package/dist/chunks/{permission-550bvhaj.js → pty-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{permission-6prwharc.js → pty-6prwharc.js} +0 -0
  719. /package/dist/chunks/{permission-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  720. /package/dist/chunks/{permission-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{permission-7m9af43g.js → pty-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{permission-822emrt2.js → pty-822emrt2.js} +0 -0
  723. /package/dist/chunks/{permission-84wd9syh.js → pty-84wd9syh.js} +0 -0
  724. /package/dist/chunks/{permission-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{permission-8n3pysct.js → pty-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{permission-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  727. /package/dist/chunks/{permission-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{permission-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{permission-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{permission-af5trqkr.js → pty-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{permission-afrmfg78.js → pty-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{permission-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{permission-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{permission-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{permission-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{permission-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{permission-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{permission-d9fn303g.js → pty-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{permission-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{permission-dajrwvna.js → pty-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{permission-dap0rakb.js → pty-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{permission-df08tz66.js → pty-df08tz66.js} +0 -0
  743. /package/dist/chunks/{permission-dy18nga0.js → pty-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{permission-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{permission-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{permission-ec1grn59.js → pty-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{permission-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{permission-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{permission-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{permission-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{permission-faypxj3z.js → pty-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{permission-fd410y7t.js → pty-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{permission-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{permission-g86h250q.js → pty-g86h250q.js} +0 -0
  755. /package/dist/chunks/{permission-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{permission-gftt206x.js → pty-gftt206x.js} +0 -0
  757. /package/dist/chunks/{permission-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
  758. /package/dist/chunks/{permission-hk9envan.js → pty-hk9envan.js} +0 -0
  759. /package/dist/chunks/{permission-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{permission-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{permission-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{permission-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{permission-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{permission-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
  765. /package/dist/chunks/{permission-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{permission-m18g726c.js → pty-m18g726c.js} +0 -0
  767. /package/dist/chunks/{permission-mp448xyj.js → pty-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{permission-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{permission-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{permission-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{permission-njntx4h6.js → pty-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{permission-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
  773. /package/dist/chunks/{permission-pyv0edze.js → pty-pyv0edze.js} +0 -0
  774. /package/dist/chunks/{permission-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{permission-q74kybfr.js → pty-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{permission-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{permission-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{permission-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{permission-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{permission-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{permission-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{permission-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{permission-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{permission-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  785. /package/dist/chunks/{permission-w803qqfp.js → pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{permission-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{permission-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{permission-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
  789. /package/dist/chunks/{permission-wtztk69x.js → pty-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{permission-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{permission-x61499pn.js → pty-x61499pn.js} +0 -0
  792. /package/dist/chunks/{permission-y44na4kk.js → pty-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{permission-y8f7s663.js → pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{permission-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{permission-ym463w8f.js → pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{permission-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{permission-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./permission-f9veggc8.js";
4
+ } from "./pty-66etgr7v.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./permission-86vk3z46.js";
8
+ } from "./pty-jgvqkc2b.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./permission-pknna89w.js";
11
+ } from "./pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./permission-3zsf4n22.js";
14
+ } from "./pty-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./permission-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID10,
26
- Info: () => Info20,
27
- Key: () => Key3,
25
+ ID: () => ID12,
26
+ Info: () => Info23,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service69,
29
+ Service: () => Service72,
30
30
  Value: () => Value2,
31
- node: () => node72
31
+ node: () => node75
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID10 = Credential.ID;
38
+ var ID12 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key3 = Credential.Key;
40
+ var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event17 = Credential.Event;
43
+ var Event18 = Credential.Event;
44
44
 
45
- class Info20 extends Schema.Class("Credential.Info")({
46
- id: ID10,
45
+ class Info23 extends Schema.Class("Credential.Info")({
46
+ id: ID12,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service69 extends Context.Service()("@opencode/Credential") {
53
+ class Service72 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service69, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
56
56
  const db = (yield* Service86).db;
57
57
  const bus = yield* Service85;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info20({
62
+ return new Info23({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service69.of({
73
+ return Service72.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info20({
82
- id: input.id ?? ID10.create(),
81
+ const credential = new Info23({
82
+ id: input.id ?? ID12.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event17.Updated, {}, { global: true });
113
+ yield* bus.publish(Event18.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event17.Updated, {}, { global: true });
167
+ yield* bus.publish(Event18.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event17.Updated, {}, { global: true });
200
+ yield* bus.publish(Event18.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node72 = makeGlobalNode({ service: Service69, layer, deps: [node90, node89] });
206
+ var node75 = makeGlobalNode({ service: Service72, layer, deps: [node90, node89] });
207
207
 
208
- export { ID10, OAuth3, Key3, External2, Value2, Event17, Info20, Service69, node72, exports_credential };
208
+ export { ID12, OAuth3, Key4, External2, Value2, Event18, Info23, Service72, node75, exports_credential };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./permission-86vk3z46.js";
4
+ } from "./pty-jgvqkc2b.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./permission-3tsz0k1y.js";
6
+ Service82,
7
+ node86
8
+ } from "./pty-2yf9htnm.js";
9
9
  import {
10
- Service79,
11
- node82
12
- } from "./permission-71cbbrtp.js";
10
+ Service74,
11
+ node77
12
+ } from "./pty-sq9yydtn.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./permission-gd4qta3r.js";
15
+ } from "./pty-gd4qta3r.js";
16
16
  import {
17
- Service56,
17
+ Service78,
18
18
  args2,
19
- node60
20
- } from "./permission-s6pmxk2t.js";
19
+ node82
20
+ } from "./pty-p4pkk9xt.js";
21
21
  import {
22
- Service74,
23
- node77
24
- } from "./permission-8ank75fn.js";
22
+ Service80,
23
+ node84
24
+ } from "./pty-2ktf0ed2.js";
25
25
  import {
26
- Service45,
27
- node49
28
- } from "./permission-grxcxy9j.js";
26
+ Service66,
27
+ node69
28
+ } from "./pty-r61qxybf.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./permission-mtpeagzc.js";
31
+ } from "./pty-8whp40kv.js";
32
32
  import {
33
33
  latest2,
34
- Service47,
35
- node51
36
- } from "./permission-qksshjc5.js";
34
+ Service67,
35
+ node70
36
+ } from "./pty-sa09w3ef.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./permission-n3cnth5e.js";
40
+ } from "./pty-wps1s803.js";
41
41
  import {
42
42
  __export
43
- } from "./permission-9rqn6x4v.js";
43
+ } from "./pty-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError10,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service44,
51
+ Service: () => Service65,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node48
54
+ node: () => node68
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service44 extends Context.Service()("@opencode/Shell") {
74
+ class Service65 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service44, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service65, Effect.gen(function* () {
91
91
  const bus = yield* Service85;
92
- const location = yield* Service81;
92
+ const location = yield* Service82;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service56;
95
- const environment = yield* Service79;
96
- const hooks = yield* Service74;
97
- const environments = yield* Service45;
98
- const config = yield* Service47;
94
+ const shell = yield* Service78;
95
+ const environment = yield* Service74;
96
+ const hooks = yield* Service80;
97
+ const environments = yield* Service66;
98
+ const config = yield* Service67;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError5({ id });
119
+ return yield* new NotFoundError10({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError10({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -332,22 +332,22 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
332
332
  const command = yield* Deferred.await(ready);
333
333
  return command.info;
334
334
  });
335
- return Service44.of({ create, list, get, wait, result, timeout, output, remove });
335
+ return Service65.of({ create, list, get, wait, result, timeout, output, remove });
336
336
  }));
337
- var node48 = makeLocationNode({
338
- service: Service44,
337
+ var node68 = makeLocationNode({
338
+ service: Service65,
339
339
  layer: layer(),
340
340
  deps: [
341
341
  node89,
342
- node85,
342
+ node86,
343
343
  Global.node,
344
- node60,
345
344
  node82,
346
345
  node77,
347
- node49,
348
- node51,
346
+ node84,
347
+ node69,
348
+ node70,
349
349
  cleanupNode
350
350
  ]
351
351
  });
352
352
 
353
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service44, cleanup2, node48, exports_shell4 };
353
+ export { NotFoundError10, RETENTION2, DIRECTORY2, Service65, cleanup2, node68, exports_shell4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make17
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make17 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make17, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service70
3
- } from "./permission-qcz0wrwd.js";
2
+ Service60
3
+ } from "./pty-sn3stvbn.js";
4
4
  import {
5
- ID5,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service32
10
- } from "./permission-14086wcg.js";
9
+ Service53
10
+ } from "./pty-qfrtht0v.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill = {};
17
- __export(exports_skill, {
18
- Input: () => Input8,
19
- Output: () => Output6,
20
- Plugin: () => Plugin10,
21
- SkillTool: () => exports_skill,
22
- description: () => description4,
23
- name: () => name8,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input5,
19
+ Output: () => Output4,
20
+ Plugin: () => Plugin22,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description2,
23
+ name: () => name5,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name8 = "skill";
30
- var Input8 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name5 = "skill";
30
+ var Input5 = Schema.Struct({
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output6 = Schema.Struct({
33
+ var Output4 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description4 = [
38
+ var description2 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin10 = {
46
+ var Plugin22 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service32;
51
- const permission = yield* Service70;
50
+ const skills = yield* Service53;
51
+ const permission = yield* Service60;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name8,
53
+ name: name5,
54
54
  options: { codemode: false },
55
- description: description4,
56
- input: Input8,
57
- output: Output6,
55
+ description: description2,
56
+ input: Input5,
57
+ output: Output4,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name8,
64
+ action: name5,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin10 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name8, Input8, Output6, description4, toModelOutput2, Plugin10, exports_skill };
82
+ export { name5, Input5, Output4, description2, toModelOutput2, Plugin22, exports_skill2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./permission-4j4tgtq5.js";
4
+ } from "./pty-h9wp8z5w.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./permission-86vk3z46.js";
4
+ } from "./pty-jgvqkc2b.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  External2,
8
- Service69,
9
- node72
10
- } from "./permission-x57v9ssy.js";
8
+ Service72,
9
+ node75
10
+ } from "./pty-yfzaheh6.js";
11
11
  import {
12
12
  create3
13
- } from "./permission-rdw6cm16.js";
13
+ } from "./pty-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./permission-gqtdsdt7.js";
16
+ } from "./pty-mxvxcxwy.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./permission-njesq0nn.js";
20
+ } from "./pty-9m6qkdem.js";
21
21
  import {
22
22
  __export
23
- } from "./permission-9rqn6x4v.js";
23
+ } from "./pty-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event16,
38
+ Event: () => Event17,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID9,
41
- Info: () => Info18,
40
+ ID: () => ID11,
41
+ Info: () => Info21,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service68,
49
- node: () => node71
48
+ Service: () => Service71,
49
+ node: () => node74
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
- import { Event as Event16 } from "@opencode/schema/integration";
72
- var ID9 = Integration.ID;
71
+ import { Event as Event17 } from "@opencode/schema/integration";
72
+ var ID11 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info18 = Integration.Info;
81
+ var Info21 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID9,
104
+ integrationID: ID11,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service68 extends Context.Service()("@opencode/Integration") {
110
+ class Service71 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service68, Effect.gen(function* () {
116
- const credentials = yield* Service69;
115
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
116
+ const credentials = yield* Service72;
117
117
  const bus = yield* Service85;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info18.make({
217
+ const project = (entry, connections) => Info21.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
301
301
  const persistence = yield* createCredential({
302
302
  integrationID: attempt.integrationID,
303
303
  label: attempt.label,
304
- value: Key3.make({ type: "key", key: exit.value })
304
+ value: Key4.make({ type: "key", key: exit.value })
305
305
  }).pipe(Effect.asVoid, Effect.exit);
306
306
  const settledAt = yield* Clock.currentTimeMillis;
307
307
  const terminal = Exit.isSuccess(persistence) ? {
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service68.of({
450
+ return Service71.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
469
469
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
470
470
  if (connection.type === "env") {
471
471
  const key = process.env[connection.name];
472
- return key ? Key3.make({ type: "key", key }) : undefined;
472
+ return key ? Key4.make({ type: "key", key }) : undefined;
473
473
  }
474
474
  const credential = yield* credentials.get(connection.id);
475
475
  if (!credential)
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
502
502
  yield* createCredential({
503
503
  integrationID: input.integrationID,
504
504
  label: input.label,
505
- value: Key3.make({
505
+ value: Key4.make({
506
506
  type: "key",
507
507
  key: input.key,
508
508
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node71 = makeLocationNode({
633
- service: Service68,
632
+ var node74 = makeLocationNode({
633
+ service: Service71,
634
634
  layer,
635
- deps: [node72, node89, AppProcess.node]
635
+ deps: [node75, node89, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node71, exports_integration, Event16 };
638
+ export { ID11, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node74, exports_integration, Event17 };