@opencode/core 0.0.0-dev-21207 → 0.0.0-dev-21215

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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 +77 -77
  7. package/dist/chunks/{persistent-pty-rtvdsvz0.js → credential-06nq0k6z.js} +13 -13
  8. package/dist/chunks/{persistent-pty-0b5g1ynf.js → credential-0b5g1ynf.js} +4 -4
  9. package/dist/chunks/{persistent-pty-e0pc35xj.js → credential-0cmwrtj6.js} +39 -39
  10. package/dist/chunks/{persistent-pty-g1kxasap.js → credential-0dyyysyc.js} +17 -17
  11. package/dist/chunks/{persistent-pty-catab2z7.js → credential-0f85jzr4.js} +3 -3
  12. package/dist/chunks/{persistent-pty-pb1esjts.js → credential-0p78r4x4.js} +10 -10
  13. package/dist/chunks/{persistent-pty-0bamrq62.js → credential-0pvv1c5q.js} +17 -17
  14. package/dist/chunks/{persistent-pty-0vbcp93d.js → credential-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{persistent-pty-bzeyqsqd.js → credential-1ep4rre3.js} +4 -4
  16. package/dist/chunks/{persistent-pty-dcvyzbc9.js → credential-1gy2kdvj.js} +26 -26
  17. package/dist/chunks/{persistent-pty-0e4dr41z.js → credential-1sbg73nq.js} +33 -33
  18. package/dist/chunks/{persistent-pty-1mgnj47k.js → credential-1yamg18a.js} +3 -3
  19. package/dist/chunks/{persistent-pty-pxmy34vh.js → credential-1zyqs4bv.js} +13 -13
  20. package/dist/chunks/{persistent-pty-vvgahrge.js → credential-20jjewhm.js} +31 -31
  21. package/dist/chunks/{persistent-pty-1nwxscpy.js → credential-2cmv458r.js} +5 -5
  22. package/dist/chunks/{persistent-pty-39vged4c.js → credential-2jygy2ed.js} +17 -17
  23. package/dist/chunks/{persistent-pty-7y5ptgp2.js → credential-2v16nk6n.js} +11 -11
  24. package/dist/chunks/{persistent-pty-76nj6dhf.js → credential-30vr69rm.js} +7 -7
  25. package/dist/chunks/{persistent-pty-bgfh09k4.js → credential-380xsyfr.js} +14 -14
  26. package/dist/chunks/{persistent-pty-t6dt94yt.js → credential-3chf03wh.js} +11 -11
  27. package/dist/chunks/{persistent-pty-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{persistent-pty-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{persistent-pty-3hwn7j4h.js → credential-3hwn7j4h.js} +2 -2
  30. package/dist/chunks/{persistent-pty-v9ncrnjw.js → credential-3rt8v641.js} +9 -9
  31. package/dist/chunks/{persistent-pty-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{persistent-pty-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{persistent-pty-zswavtpb.js → credential-3w6712nq.js} +2 -2
  34. package/dist/chunks/{persistent-pty-3zsf4n22.js → credential-3zsf4n22.js} +1 -1
  35. package/dist/chunks/{persistent-pty-7g7x9kjy.js → credential-43vcnrrz.js} +8 -8
  36. package/dist/chunks/{persistent-pty-gm31ynds.js → credential-461nxmbv.js} +5 -5
  37. package/dist/chunks/credential-4dnkb904.js +257 -0
  38. package/dist/chunks/{persistent-pty-5cdwp8x1.js → credential-4heb770w.js} +13 -13
  39. package/dist/chunks/{persistent-pty-0jmz7zhd.js → credential-4hkcjtf4.js} +13 -13
  40. package/dist/chunks/{persistent-pty-v2rhndg3.js → credential-4r8w9sj8.js} +32 -32
  41. package/dist/chunks/{persistent-pty-fawagqxt.js → credential-4t7bjcx1.js} +30 -30
  42. package/dist/chunks/{persistent-pty-b3kbpvds.js → credential-4wnpk8s1.js} +50 -50
  43. package/dist/chunks/{persistent-pty-hv3fvgxa.js → credential-512sb6hd.js} +4 -4
  44. package/dist/chunks/{persistent-pty-s4e55a1y.js → credential-513fjzst.js} +5 -5
  45. package/dist/chunks/{persistent-pty-pjnrv22w.js → credential-54e3wb9v.js} +11 -11
  46. package/dist/chunks/{persistent-pty-54ma36ye.js → credential-54ma36ye.js} +1 -1
  47. package/dist/chunks/{persistent-pty-4d3befan.js → credential-5b35b6x0.js} +43 -43
  48. package/dist/chunks/{persistent-pty-18g55aa2.js → credential-5ej6fcjw.js} +6 -6
  49. package/dist/chunks/{persistent-pty-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{persistent-pty-7s8vtvkc.js → credential-5mrcxfar.js} +5 -5
  51. package/dist/chunks/{persistent-pty-vxb9f0te.js → credential-5njsp6db.js} +7 -7
  52. package/dist/chunks/{persistent-pty-7gvejd0q.js → credential-5qndpx2w.js} +24 -24
  53. package/dist/chunks/{persistent-pty-zvkna10r.js → credential-61m3evwq.js} +25 -25
  54. package/dist/chunks/{persistent-pty-h5h55k1t.js → credential-66w41kd0.js} +18 -18
  55. package/dist/chunks/{persistent-pty-6hcchj7j.js → credential-67jerfv6.js} +77 -77
  56. package/dist/chunks/{persistent-pty-6827pfxn.js → credential-6827pfxn.js} +1 -1
  57. package/dist/chunks/{persistent-pty-7b0e7y4m.js → credential-6b1s8aqa.js} +6 -6
  58. package/dist/chunks/{persistent-pty-0a4xt203.js → credential-6geq063x.js} +22 -22
  59. package/dist/chunks/{persistent-pty-zdhjww4c.js → credential-6h8f2rna.js} +9 -9
  60. package/dist/chunks/{persistent-pty-hkajtpqc.js → credential-6j60vss0.js} +16 -16
  61. package/dist/chunks/{persistent-pty-29jpnasx.js → credential-6jwzgjy8.js} +7 -7
  62. package/dist/chunks/{persistent-pty-z5tkq5nc.js → credential-6mdt5s3y.js} +32 -32
  63. package/dist/chunks/{persistent-pty-68spmrpe.js → credential-6nfcpfgj.js} +3 -3
  64. package/dist/chunks/{persistent-pty-8nqwyyrr.js → credential-6r64h49w.js} +25 -25
  65. package/dist/chunks/{persistent-pty-9nv551d5.js → credential-6s6qny9t.js} +15 -15
  66. package/dist/chunks/{persistent-pty-6xb47vfp.js → credential-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{persistent-pty-ak0n8wqr.js → credential-6ywvrrbf.js} +11 -11
  68. package/dist/chunks/{persistent-pty-yfcvgves.js → credential-725pgwpr.js} +21 -21
  69. package/dist/chunks/{persistent-pty-775gj3j1.js → credential-775gj3j1.js} +2 -2
  70. package/dist/chunks/{persistent-pty-8m4ndff2.js → credential-79yp3gha.js} +28 -28
  71. package/dist/chunks/{persistent-pty-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{persistent-pty-607tc6va.js → credential-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{persistent-pty-1gzh7x8v.js → credential-7w6pf623.js} +17 -17
  74. package/dist/chunks/{persistent-pty-mswjsdq2.js → credential-7wzbnvvj.js} +26 -26
  75. package/dist/chunks/{persistent-pty-84txncab.js → credential-84txncab.js} +1 -1
  76. package/dist/chunks/{persistent-pty-296pqcyw.js → credential-89vt8edy.js} +2 -2
  77. package/dist/chunks/{persistent-pty-6v03kn10.js → credential-8a3m53ms.js} +32 -32
  78. package/dist/chunks/{persistent-pty-argqn24j.js → credential-8e5g1rqf.js} +25 -25
  79. package/dist/chunks/{persistent-pty-ca7w653e.js → credential-8gxqpgph.js} +4 -4
  80. package/dist/chunks/{persistent-pty-8m6m0r52.js → credential-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{persistent-pty-7fkffz83.js → credential-8sze2n9a.js} +8 -8
  82. package/dist/chunks/{persistent-pty-1pav5ndx.js → credential-8w7r8evj.js} +20 -20
  83. package/dist/chunks/{persistent-pty-x5hm6bvw.js → credential-90dfvdtc.js} +12 -12
  84. package/dist/chunks/{persistent-pty-dy0tp0j6.js → credential-92k2zvrm.js} +10 -10
  85. package/dist/chunks/{persistent-pty-hdfxv9rf.js → credential-93s0933k.js} +13 -13
  86. package/dist/chunks/{persistent-pty-bcxm7vqe.js → credential-9c4mg81w.js} +14 -14
  87. package/dist/chunks/{persistent-pty-gakes9sg.js → credential-9hnj8m91.js} +6 -6
  88. package/dist/chunks/credential-9sh4wc5j.js +18 -0
  89. package/dist/chunks/{persistent-pty-hk8s4rpe.js → credential-9t102qjt.js} +18 -18
  90. package/dist/chunks/{persistent-pty-md3yr6xj.js → credential-9wahvfne.js} +9 -9
  91. package/dist/chunks/{persistent-pty-vzm2s9ff.js → credential-9x5ey5cj.js} +8 -8
  92. package/dist/chunks/{persistent-pty-a4xxkpja.js → credential-9y47tcxd.js} +13 -13
  93. package/dist/chunks/{persistent-pty-1msrarhd.js → credential-a10rd6rt.js} +26 -26
  94. package/dist/chunks/{persistent-pty-0vs1brv3.js → credential-a79hjy9g.js} +8 -8
  95. package/dist/chunks/{persistent-pty-2sf5w7c0.js → credential-aj285h1q.js} +10 -10
  96. package/dist/chunks/{persistent-pty-26pvtrrv.js → credential-avxm8t77.js} +22 -22
  97. package/dist/chunks/{persistent-pty-0m15zpmn.js → credential-axc9g66b.js} +12 -12
  98. package/dist/chunks/{persistent-pty-0kq1vnt2.js → credential-bay5n71e.js} +19 -19
  99. package/dist/chunks/{persistent-pty-cw4vxgxd.js → credential-bbfmeh70.js} +29 -29
  100. package/dist/chunks/{persistent-pty-xpyhv29g.js → credential-bbz974h8.js} +27 -27
  101. package/dist/chunks/{persistent-pty-wjr9rjd7.js → credential-bjx1sjef.js} +6 -6
  102. package/dist/chunks/{persistent-pty-ts10gvyd.js → credential-c0x4bacm.js} +14 -14
  103. package/dist/chunks/{persistent-pty-c1fqxshp.js → credential-c1fqxshp.js} +3 -3
  104. package/dist/chunks/{persistent-pty-qgccrhvw.js → credential-c1k0pwhg.js} +10 -10
  105. package/dist/chunks/{persistent-pty-q5rwhrtr.js → credential-c5zn6ab1.js} +34 -34
  106. package/dist/chunks/{persistent-pty-w9qdmkss.js → credential-cbq5fey3.js} +23 -23
  107. package/dist/chunks/{persistent-pty-j4yfb354.js → credential-ccgbtwgc.js} +11 -11
  108. package/dist/chunks/{persistent-pty-h2955e8q.js → credential-ckajj5ea.js} +20 -20
  109. package/dist/chunks/{persistent-pty-znznz47e.js → credential-cq23epbd.js} +18 -18
  110. package/dist/chunks/{persistent-pty-kee9eehy.js → credential-csey17fn.js} +8 -8
  111. package/dist/chunks/{persistent-pty-36rq9ymx.js → credential-ctzxj63w.js} +6 -6
  112. package/dist/chunks/{persistent-pty-c75t29hq.js → credential-cvfz62vn.js} +9 -9
  113. package/dist/chunks/{persistent-pty-d1a28jh7.js → credential-d1a28jh7.js} +2 -2
  114. package/dist/chunks/{persistent-pty-1jge3f37.js → credential-d7y2a5kd.js} +36 -36
  115. package/dist/chunks/{persistent-pty-4p1cenkk.js → credential-d9etbekp.js} +43 -43
  116. package/dist/chunks/{persistent-pty-dpkg50ah.js → credential-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{persistent-pty-t0tz8gfx.js → credential-dqbfcr17.js} +14 -14
  118. package/dist/chunks/{persistent-pty-vk73as10.js → credential-dw66w2fq.js} +22 -22
  119. package/dist/chunks/{persistent-pty-7j2qrq70.js → credential-dywbpq8p.js} +34 -34
  120. package/dist/chunks/{persistent-pty-sxcaecc0.js → credential-e80seqcp.js} +3 -3
  121. package/dist/chunks/{persistent-pty-tcxp8tq6.js → credential-e8qrt4b5.js} +3 -3
  122. package/dist/chunks/{persistent-pty-zd0masta.js → credential-e92nyhhr.js} +60 -60
  123. package/dist/chunks/{persistent-pty-eej6y6fw.js → credential-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{persistent-pty-3j7kj2y8.js → credential-ef4r2ry2.js} +16 -16
  125. package/dist/chunks/{persistent-pty-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{persistent-pty-0tz9w1hv.js → credential-en15c0wn.js} +46 -46
  127. package/dist/chunks/{persistent-pty-gs0drmb7.js → credential-ernspkd5.js} +3 -3
  128. package/dist/chunks/{persistent-pty-nmhvfjt2.js → credential-evqws8cg.js} +20 -20
  129. package/dist/chunks/{persistent-pty-m1skjvb8.js → credential-ewrq8mh2.js} +1 -1
  130. package/dist/chunks/{persistent-pty-8qw7ce1p.js → credential-f79d26hd.js} +24 -24
  131. package/dist/chunks/{persistent-pty-df3a40xp.js → credential-fb9h1zpd.js} +20 -20
  132. package/dist/chunks/{persistent-pty-fcy631f0.js → credential-fcy631f0.js} +1 -1
  133. package/dist/chunks/{persistent-pty-1qpcq0yb.js → credential-fenvdmpd.js} +11 -11
  134. package/dist/chunks/{persistent-pty-mswsvpz6.js → credential-fjznstmf.js} +4 -4
  135. package/dist/chunks/{persistent-pty-m05fbbj0.js → credential-frvhg24z.js} +89 -89
  136. package/dist/chunks/{persistent-pty-1w2wqhfv.js → credential-fxaymqdw.js} +4 -4
  137. package/dist/chunks/{persistent-pty-1ajx6rf5.js → credential-g0445xdp.js} +8 -8
  138. package/dist/chunks/{persistent-pty-287dc9gj.js → credential-g69bhtys.js} +14 -14
  139. package/dist/chunks/{persistent-pty-5fykfdj7.js → credential-g6yfr6ja.js} +5 -5
  140. package/dist/chunks/{persistent-pty-nt017e08.js → credential-g7srfa3y.js} +6 -6
  141. package/dist/chunks/{persistent-pty-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{persistent-pty-68g6xwqn.js → credential-gmpf7xjb.js} +28 -28
  143. package/dist/chunks/{persistent-pty-3a83a0n4.js → credential-gqxmd7mw.js} +8 -8
  144. package/dist/chunks/{persistent-pty-2pvdeqne.js → credential-gsb9xmde.js} +98 -98
  145. package/dist/chunks/{persistent-pty-7eqp7xtn.js → credential-gzatps39.js} +151 -151
  146. package/dist/chunks/{persistent-pty-9qjz7egn.js → credential-h532h9cs.js} +25 -25
  147. package/dist/chunks/{persistent-pty-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{persistent-pty-he0cfhpc.js → credential-h7hsvas8.js} +46 -46
  149. package/dist/chunks/{persistent-pty-9ae44cfy.js → credential-h896pcm5.js} +6 -6
  150. package/dist/chunks/{persistent-pty-dq407baf.js → credential-hbb7npd7.js} +6 -6
  151. package/dist/chunks/{persistent-pty-ryt5ycva.js → credential-hbd093e1.js} +15 -15
  152. package/dist/chunks/{persistent-pty-3fkmq7pq.js → credential-hc0tyw59.js} +9 -9
  153. package/dist/chunks/{persistent-pty-hgz4x7wa.js → credential-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{persistent-pty-xacqwv33.js → credential-ht59szz0.js} +11 -11
  155. package/dist/chunks/{persistent-pty-pkm7e8th.js → credential-hy9hen9y.js} +6 -6
  156. package/dist/chunks/{persistent-pty-3dedrcqz.js → credential-hzrfc1p4.js} +3 -3
  157. package/dist/chunks/{persistent-pty-91qna3x0.js → credential-j09zfasm.js} +3 -3
  158. package/dist/chunks/{persistent-pty-374251z8.js → credential-j842fqs5.js} +16 -16
  159. package/dist/chunks/{persistent-pty-k3bwfq85.js → credential-jh272vkw.js} +4 -4
  160. package/dist/chunks/{persistent-pty-0ehmmcyw.js → credential-jh7hm8j6.js} +15 -15
  161. package/dist/chunks/{persistent-pty-hyry98jx.js → credential-jkpwzps6.js} +28 -28
  162. package/dist/chunks/{persistent-pty-c0nr5bpp.js → credential-jrfj64d4.js} +23 -23
  163. package/dist/chunks/{persistent-pty-m87p00k5.js → credential-jrpbdnyg.js} +11 -11
  164. package/dist/chunks/{persistent-pty-fgg1h6tp.js → credential-jvzc6p6r.js} +18 -18
  165. package/dist/chunks/{persistent-pty-368fk4db.js → credential-kebpaez3.js} +2 -2
  166. package/dist/chunks/{persistent-pty-qs13swd0.js → credential-kfj755v5.js} +49 -49
  167. package/dist/chunks/{persistent-pty-h26kdy9n.js → credential-knbwcmz6.js} +27 -27
  168. package/dist/chunks/{persistent-pty-ybt6a39d.js → credential-krdey6nc.js} +6 -6
  169. package/dist/chunks/credential-ks3bqvez.js +513 -0
  170. package/dist/chunks/{persistent-pty-kwb1v3vj.js → credential-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{persistent-pty-vxttbewe.js → credential-m0azfdyz.js} +9 -9
  172. package/dist/chunks/{persistent-pty-p1dnjvcc.js → credential-m8cyb89a.js} +5 -5
  173. package/dist/chunks/{persistent-pty-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{persistent-pty-maspj1v3.js → credential-maspj1v3.js} +1 -1
  175. package/dist/chunks/{persistent-pty-8mxaw1fa.js → credential-memnpynf.js} +48 -48
  176. package/dist/chunks/{persistent-pty-54f956qq.js → credential-mhe0g0p5.js} +13 -13
  177. package/dist/chunks/{persistent-pty-g7fa7svs.js → credential-mjbp1h77.js} +22 -22
  178. package/dist/chunks/{persistent-pty-vhekmsjv.js → credential-nb43gqgm.js} +1 -1
  179. package/dist/chunks/{persistent-pty-38phfjcn.js → credential-ndn5nttk.js} +9 -9
  180. package/dist/chunks/{persistent-pty-4rmh7taa.js → credential-nk85k8h4.js} +8 -8
  181. package/dist/chunks/{persistent-pty-n61013np.js → credential-npw39rc8.js} +8 -8
  182. package/dist/chunks/{persistent-pty-pwxqqvpq.js → credential-p6agkp8v.js} +33 -33
  183. package/dist/chunks/{persistent-pty-dcsvv0a8.js → credential-pcz0vat3.js} +3 -3
  184. package/dist/chunks/{persistent-pty-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
  185. package/dist/chunks/{persistent-pty-pknna89w.js → credential-pknna89w.js} +1 -1
  186. package/dist/chunks/{persistent-pty-h90v2x9d.js → credential-pmwpe40e.js} +4 -4
  187. package/dist/chunks/{persistent-pty-6xcvt31d.js → credential-pnzf6mjf.js} +1 -1
  188. package/dist/chunks/{persistent-pty-nq3qw2vm.js → credential-ps2zx4jn.js} +4 -4
  189. package/dist/chunks/{persistent-pty-cne5fydz.js → credential-psmgkcev.js} +15 -15
  190. package/dist/chunks/{persistent-pty-se3cmajw.js → credential-q4rarndx.js} +18 -18
  191. package/dist/chunks/{persistent-pty-sj31pcmn.js → credential-q5vzdzv7.js} +37 -37
  192. package/dist/chunks/{persistent-pty-d216944b.js → credential-qa3qhgw8.js} +7 -7
  193. package/dist/chunks/{persistent-pty-2mq1h16s.js → credential-qmqgtz8f.js} +9 -9
  194. package/dist/chunks/{persistent-pty-qnc92qwc.js → credential-qnc92qwc.js} +1 -1
  195. package/dist/chunks/{persistent-pty-qsdy395h.js → credential-qsdy395h.js} +1 -1
  196. package/dist/chunks/{persistent-pty-vtbat0ks.js → credential-qxe1je4p.js} +17 -17
  197. package/dist/chunks/{persistent-pty-23hfca39.js → credential-r0969brx.js} +4 -4
  198. package/dist/chunks/{persistent-pty-tpbvzr1y.js → credential-r2qj04q3.js} +11 -11
  199. package/dist/chunks/{persistent-pty-45yxkxq5.js → credential-r6762b1f.js} +4 -4
  200. package/dist/chunks/{persistent-pty-xf8yqmad.js → credential-r9w3djhf.js} +9 -9
  201. package/dist/chunks/{persistent-pty-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
  202. package/dist/chunks/{persistent-pty-rert0e01.js → credential-rert0e01.js} +2 -2
  203. package/dist/chunks/{persistent-pty-pes8a9te.js → credential-rg17d408.js} +41 -41
  204. package/dist/chunks/{persistent-pty-sxgg5vg7.js → credential-rgnxk938.js} +15 -15
  205. package/dist/chunks/{persistent-pty-rj3eygr5.js → credential-rj3eygr5.js} +2 -2
  206. package/dist/chunks/{persistent-pty-9nmz2bca.js → credential-rnd2wdxm.js} +9 -9
  207. package/dist/chunks/{persistent-pty-fwbmh39w.js → credential-rryqzpf7.js} +7 -7
  208. package/dist/chunks/{persistent-pty-3126pgvt.js → credential-s0q3ftad.js} +31 -31
  209. package/dist/chunks/{persistent-pty-fqyjd71p.js → credential-s1vs6g8m.js} +32 -32
  210. package/dist/chunks/{persistent-pty-q4d4j6bt.js → credential-s2jpechx.js} +15 -15
  211. package/dist/chunks/{persistent-pty-k8xwrkek.js → credential-s6bezc7p.js} +22 -22
  212. package/dist/chunks/{persistent-pty-sa8ekw3f.js → credential-sa8ekw3f.js} +2 -2
  213. package/dist/chunks/{persistent-pty-546wh2b3.js → credential-sfvx59jg.js} +13 -13
  214. package/dist/chunks/{persistent-pty-0hvxqb6d.js → credential-sg07zk51.js} +35 -35
  215. package/dist/chunks/{persistent-pty-7k8y39tb.js → credential-srqharbm.js} +53 -53
  216. package/dist/chunks/{persistent-pty-tea6mbfw.js → credential-staw5rj3.js} +13 -13
  217. package/dist/chunks/{persistent-pty-syv4x271.js → credential-syv4x271.js} +1 -1
  218. package/dist/chunks/{persistent-pty-97aeaand.js → credential-sz15zhhw.js} +4 -4
  219. package/dist/chunks/{persistent-pty-t550f9t1.js → credential-t550f9t1.js} +1 -1
  220. package/dist/chunks/{persistent-pty-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{persistent-pty-89znhe33.js → credential-tcezcvh9.js} +4 -4
  222. package/dist/chunks/{persistent-pty-57ws9skg.js → credential-tdsb1xpv.js} +21 -21
  223. package/dist/chunks/{persistent-pty-tdstcens.js → credential-tdstcens.js} +1 -1
  224. package/dist/chunks/{persistent-pty-3sv35849.js → credential-tet0x2x5.js} +34 -34
  225. package/dist/chunks/{persistent-pty-tm0kqsz3.js → credential-tm0kqsz3.js} +1 -1
  226. package/dist/chunks/{persistent-pty-98kr54cv.js → credential-tph0s9dr.js} +33 -33
  227. package/dist/chunks/{persistent-pty-2b974e2a.js → credential-tpwfj9q7.js} +16 -16
  228. package/dist/chunks/{persistent-pty-wak88xg7.js → credential-trq7bz11.js} +22 -22
  229. package/dist/chunks/{persistent-pty-2xt21v74.js → credential-ttjwvx26.js} +16 -16
  230. package/dist/chunks/{persistent-pty-tyytaxap.js → credential-tyytaxap.js} +1 -1
  231. package/dist/chunks/{persistent-pty-4rv9xmb7.js → credential-v322raa9.js} +11 -11
  232. package/dist/chunks/{persistent-pty-v7p4zvkq.js → credential-v7p4zvkq.js} +2 -2
  233. package/dist/chunks/{persistent-pty-cp937pt4.js → credential-v7z2bvyd.js} +4 -4
  234. package/dist/chunks/{persistent-pty-veqvce7d.js → credential-veqvce7d.js} +1 -1
  235. package/dist/chunks/{persistent-pty-5x0spf49.js → credential-vnr1arqv.js} +52 -52
  236. package/dist/chunks/{persistent-pty-nt2cm5g7.js → credential-vp0bfksy.js} +2 -2
  237. package/dist/chunks/{persistent-pty-qgzg94dt.js → credential-vpc0mzyy.js} +24 -24
  238. package/dist/chunks/{persistent-pty-vnvv926v.js → credential-vywkzp4v.js} +11 -11
  239. package/dist/chunks/{persistent-pty-vzs5sf6e.js → credential-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{persistent-pty-b2df57q2.js → credential-w1v47t14.js} +1 -1
  241. package/dist/chunks/{persistent-pty-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{persistent-pty-fqhbsnr5.js → credential-w3x9v1nk.js} +8 -8
  243. package/dist/chunks/{persistent-pty-mbjmp2z7.js → credential-w5ht28hd.js} +54 -50
  244. package/dist/chunks/{persistent-pty-gshnfpyh.js → credential-w5na9dqb.js} +18 -18
  245. package/dist/chunks/{persistent-pty-wd87259q.js → credential-wd87259q.js} +1 -1
  246. package/dist/chunks/{persistent-pty-41mnrj5z.js → credential-weban0cd.js} +12 -12
  247. package/dist/chunks/{persistent-pty-cdqe3acw.js → credential-wgahhr0x.js} +8 -8
  248. package/dist/chunks/{persistent-pty-53wmdg2z.js → credential-wjgm3cta.js} +32 -32
  249. package/dist/chunks/{persistent-pty-bfc3jzxx.js → credential-wwmtcwyt.js} +14 -14
  250. package/dist/chunks/{persistent-pty-6m2evtbw.js → credential-x01h19mw.js} +16 -16
  251. package/dist/chunks/{persistent-pty-mxvxcxwy.js → credential-x661k3y3.js} +4 -4
  252. package/dist/chunks/{persistent-pty-ww7z4zes.js → credential-x74xmnxk.js} +17 -17
  253. package/dist/chunks/{persistent-pty-v210v162.js → credential-x8ga927e.js} +7 -7
  254. package/dist/chunks/{persistent-pty-ay5c0bv3.js → credential-x9cw3gm2.js} +27 -27
  255. package/dist/chunks/{persistent-pty-rx905nvw.js → credential-xayeaa42.js} +11 -11
  256. package/dist/chunks/{persistent-pty-fv4sm444.js → credential-xc7ywzxk.js} +33 -33
  257. package/dist/chunks/{persistent-pty-e87gf2rh.js → credential-xeb3evp0.js} +12 -12
  258. package/dist/chunks/{persistent-pty-qqeeq2t9.js → credential-xfkkasph.js} +7 -7
  259. package/dist/chunks/{persistent-pty-a0z8gye3.js → credential-xjwyxz4n.js} +15 -15
  260. package/dist/chunks/{persistent-pty-khzq4x05.js → credential-xveeyqv2.js} +32 -32
  261. package/dist/chunks/{persistent-pty-jj579w2g.js → credential-xy8xnxtw.js} +27 -27
  262. package/dist/chunks/{persistent-pty-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{persistent-pty-19m9vfay.js → credential-y2ygvm3z.js} +21 -21
  264. package/dist/chunks/{persistent-pty-v293qw80.js → credential-y3btf78e.js} +27 -27
  265. package/dist/chunks/{persistent-pty-v9t8k6fh.js → credential-y49t6yxk.js} +17 -17
  266. package/dist/chunks/{persistent-pty-avyh4w4k.js → credential-y5p4ve91.js} +16 -16
  267. package/dist/chunks/{persistent-pty-kjd40bgk.js → credential-y7nndgyc.js} +9 -9
  268. package/dist/chunks/{persistent-pty-6qx5ffhj.js → credential-yamxdr06.js} +1 -1
  269. package/dist/chunks/{persistent-pty-aacha31a.js → credential-yb3yv1n8.js} +12 -12
  270. package/dist/chunks/{persistent-pty-f2n192rq.js → credential-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{persistent-pty-9n49pgr6.js → credential-yqncb7ba.js} +22 -22
  272. package/dist/chunks/{persistent-pty-nxe4pcap.js → credential-yrcj3v3g.js} +4 -4
  273. package/dist/chunks/{persistent-pty-gzqd72by.js → credential-ysvnem4g.js} +18 -18
  274. package/dist/chunks/{persistent-pty-bq3rfpty.js → credential-yzdsqd8r.js} +24 -24
  275. package/dist/chunks/{persistent-pty-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{persistent-pty-wjr337jx.js → credential-z32c81yc.js} +25 -25
  277. package/dist/chunks/{persistent-pty-39z47dss.js → credential-z5crsmww.js} +11 -11
  278. package/dist/chunks/{persistent-pty-bx0gyb4h.js → credential-z6c3x22d.js} +5 -5
  279. package/dist/chunks/{persistent-pty-0qfx4vg1.js → credential-ze2cff16.js} +3 -3
  280. package/dist/chunks/{persistent-pty-07hm112z.js → credential-zet2wr62.js} +22 -22
  281. package/dist/chunks/{persistent-pty-t0pyhqcw.js → credential-zqma82cw.js} +11 -11
  282. package/dist/chunks/{persistent-pty-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{persistent-pty-s1rzx2rx.js → credential-ztkx55p6.js} +16 -16
  284. package/dist/chunks/credential-zwenznck.js +26 -0
  285. package/dist/chunks/{persistent-pty-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +72 -72
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +81 -81
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -95
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +76 -76
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +76 -76
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +136 -136
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +89 -89
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +98 -98
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +86 -86
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +111 -111
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +90 -90
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +118 -118
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -350
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +219 -219
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +90 -90
  561. package/dist/provider.js +97 -97
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +95 -95
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +218 -218
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +155 -155
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +164 -164
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +77 -77
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +202 -202
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +217 -217
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +214 -214
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +114 -114
  631. package/dist/snapshot.js +93 -93
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +118 -118
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +213 -213
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +88 -88
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/persistent-pty-7n7aetrn.js +0 -513
  690. package/dist/chunks/persistent-pty-9zy3g968.js +0 -26
  691. package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
  692. package/dist/chunks/persistent-pty-kt23qymt.js +0 -257
  693. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-24dcb14g.js → credential-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-2710q6r3.js → credential-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2bv980vf.js → credential-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-359p4xyc.js → credential-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3asan66x.js → credential-3asan66x.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → credential-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-53557ph1.js → credential-53557ph1.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-550bvhaj.js → credential-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → credential-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-6prwharc.js → credential-6prwharc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-7m9af43g.js → credential-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-822emrt2.js → credential-822emrt2.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-84wd9syh.js → credential-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-8n3pysct.js → credential-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-af5trqkr.js → credential-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-afrmfg78.js → credential-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-d9fn303g.js → credential-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-dajrwvna.js → credential-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dap0rakb.js → credential-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-df08tz66.js → credential-df08tz66.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-dy18nga0.js → credential-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-ec1grn59.js → credential-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-faypxj3z.js → credential-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-fd410y7t.js → credential-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-g86h250q.js → credential-g86h250q.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-gftt206x.js → credential-gftt206x.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-hk9envan.js → credential-hk9envan.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-m18g726c.js → credential-m18g726c.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-mp448xyj.js → credential-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-njntx4h6.js → credential-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → credential-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-pyv0edze.js → credential-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-q74kybfr.js → credential-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-w803qqfp.js → credential-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wjj7prxr.js → credential-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wtztk69x.js → credential-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-x61499pn.js → credential-x61499pn.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-y44na4kk.js → credential-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y8f7s663.js → credential-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-ym463w8f.js → credential-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-z9919s4g.js → credential-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./persistent-pty-h5h55k1t.js";
5
- import {
6
- Service82,
2
+ Service83,
7
3
  node86
8
- } from "./persistent-pty-hkajtpqc.js";
4
+ } from "./credential-66w41kd0.js";
9
5
  import {
10
- ID16,
11
- Service79,
6
+ Service80,
12
7
  node83
13
- } from "./persistent-pty-bq3rfpty.js";
8
+ } from "./credential-6j60vss0.js";
9
+ import {
10
+ ID10,
11
+ Service72,
12
+ node74
13
+ } from "./credential-yzdsqd8r.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./persistent-pty-ybt6a39d.js";
15
+ NotFoundError9
16
+ } from "./credential-krdey6nc.js";
17
17
  import {
18
- Service55,
19
- node58
20
- } from "./persistent-pty-v9t8k6fh.js";
18
+ Service70,
19
+ node72
20
+ } from "./credential-y49t6yxk.js";
21
21
  import {
22
22
  match2
23
- } from "./persistent-pty-y1fvbwt7.js";
23
+ } from "./credential-y1fvbwt7.js";
24
24
  import {
25
- Service56,
26
- node59
27
- } from "./persistent-pty-v293qw80.js";
25
+ Service71,
26
+ node73
27
+ } from "./credential-y3btf78e.js";
28
28
  import {
29
- Service59,
30
- node62
31
- } from "./persistent-pty-3a83a0n4.js";
29
+ Service73,
30
+ node75
31
+ } from "./credential-gqxmd7mw.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./credential-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
46
- ID: () => ID6,
47
- NotFoundError: () => NotFoundError6,
45
+ Event: () => Event14,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service54,
54
+ Service: () => Service69,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node57
58
+ node: () => node71
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
64
+ import { Event as Event14 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID16.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service54 extends Context.Service()("@opencode/Permission") {
128
+ class Service69 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service54, Effect.gen(function* () {
131
- const bus = yield* Service85;
132
- const location = yield* Service82;
133
- const agents = yield* Service79;
134
- const sessions = yield* Service55;
135
- const saved = yield* Service56;
136
- const hooks = yield* Service59;
130
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
131
+ const bus = yield* Service83;
132
+ const location = yield* Service80;
133
+ const agents = yield* Service72;
134
+ const sessions = yield* Service70;
135
+ const saved = yield* Service71;
136
+ const hooks = yield* Service73;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError7({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID6.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID6.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError6({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service54.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service69.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node57 = makeLocationNode({
303
- service: Service54,
302
+ var node71 = makeLocationNode({
303
+ service: Service69,
304
304
  layer,
305
- deps: [node89, node86, node83, node58, node59, node62]
305
+ deps: [node86, node83, node74, node72, node73, node75]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service54, node57, exports_permission2, Rule3, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node71, exports_permission2, Rule3, Ruleset2, Event14 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-z5v4ffb3.js";
4
+ } from "./credential-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./persistent-pty-3dedrcqz.js";
7
+ } from "./credential-hzrfc1p4.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./persistent-pty-h5h55k1t.js";
2
+ Service83,
3
+ node86
4
+ } from "./credential-66w41kd0.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-tazgh4e4.js";
9
+ } from "./credential-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./persistent-pty-4d3befan.js";
12
+ } from "./credential-5b35b6x0.js";
13
13
  import {
14
- Service82,
15
- node86
16
- } from "./persistent-pty-hkajtpqc.js";
14
+ Service80,
15
+ node83
16
+ } from "./credential-6j60vss0.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./persistent-pty-rdw6cm16.js";
20
+ } from "./credential-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-9rqn6x4v.js";
23
+ } from "./credential-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info26,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service81,
35
+ Service: () => Service25,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node85
37
+ node: () => node28
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info26, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service81 extends Context.Service()("@opencode/Vcs") {
57
+ class Service25 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service81, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service82;
62
- const bus = yield* Service85;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info26));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service81.of({
132
+ return Service25.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node85 = makeLocationNode({
191
- service: Service81,
190
+ var node28 = makeLocationNode({
191
+ service: Service25,
192
192
  layer,
193
- deps: [FSUtil.node, node86, node89]
193
+ deps: [FSUtil.node, node83, node86]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info26, Mode2, DiffError2, InitializeError2, Service81, node85, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service25, node28, exports_vcs };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service43
3
- } from "./persistent-pty-7k8y39tb.js";
2
+ Service64
3
+ } from "./credential-srqharbm.js";
4
4
  import {
5
- Service80
6
- } from "./persistent-pty-38phfjcn.js";
5
+ Service63
6
+ } from "./credential-ndn5nttk.js";
7
7
  import {
8
8
  observe2
9
- } from "./persistent-pty-qsdy395h.js";
9
+ } from "./credential-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./credential-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin17
18
+ Plugin: () => Plugin39
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin17 = define({
22
+ var Plugin39 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service43;
26
- const image = yield* Service80;
25
+ const config = yield* Service64;
26
+ const image = yield* Service63;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin17 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin17, exports_image };
46
+ export { Plugin39, exports_image };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./persistent-pty-368fk4db.js";
5
+ } from "./credential-kebpaez3.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./persistent-pty-emrn6kk6.js";
4
+ } from "./credential-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service42,
8
+ Service: () => Service44,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node44
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service42, () => {
17
+ var layer = Layer.sync(Service44, () => {
18
18
  const environments = new Map;
19
- return Service42.of({
19
+ return Service44.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node44 = makeGlobalNode({ service: Service42, layer, deps: [] });
29
+ var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
30
30
 
31
- export { Service42, node44, exports_environment };
31
+ export { Service44, node47, exports_environment };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./persistent-pty-h5h55k1t.js";
5
- import {
6
- Service82,
2
+ Service83,
7
3
  node86
8
- } from "./persistent-pty-hkajtpqc.js";
4
+ } from "./credential-66w41kd0.js";
5
+ import {
6
+ Service80,
7
+ node83
8
+ } from "./credential-6j60vss0.js";
9
9
  import {
10
- Service65,
11
- node68
12
- } from "./persistent-pty-8qw7ce1p.js";
10
+ Service47,
11
+ node50
12
+ } from "./credential-f79d26hd.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./persistent-pty-gd4qta3r.js";
15
+ } from "./credential-gd4qta3r.js";
16
16
  import {
17
- Service69,
17
+ Service56,
18
18
  args2,
19
- node73
20
- } from "./persistent-pty-0kq1vnt2.js";
19
+ node58
20
+ } from "./credential-bay5n71e.js";
21
21
  import {
22
- Service59,
23
- node62
24
- } from "./persistent-pty-3a83a0n4.js";
22
+ Service73,
23
+ node75
24
+ } from "./credential-gqxmd7mw.js";
25
25
  import {
26
- Service42,
27
- node44
28
- } from "./persistent-pty-fqhbsnr5.js";
26
+ Service44,
27
+ node47
28
+ } from "./credential-w3x9v1nk.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./persistent-pty-3dedrcqz.js";
31
+ } from "./credential-hzrfc1p4.js";
32
32
  import {
33
33
  latest2,
34
- Service43,
35
- node45
36
- } from "./persistent-pty-7k8y39tb.js";
34
+ Service64,
35
+ node66
36
+ } from "./credential-srqharbm.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./persistent-pty-t0pyhqcw.js";
40
+ } from "./credential-zqma82cw.js";
41
41
  import {
42
42
  __export
43
- } from "./persistent-pty-9rqn6x4v.js";
43
+ } from "./credential-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: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service41,
51
+ Service: () => Service43,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node46
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 NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 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 Service41 extends Context.Service()("@opencode/Shell") {
74
+ class Service43 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(Service41, Effect.gen(function* () {
91
- const bus = yield* Service85;
92
- const location = yield* Service82;
90
+ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
91
+ const bus = yield* Service83;
92
+ const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service69;
95
- const environment = yield* Service65;
96
- const hooks = yield* Service59;
97
- const environments = yield* Service42;
98
- const config = yield* Service43;
94
+ const shell = yield* Service56;
95
+ const environment = yield* Service47;
96
+ const hooks = yield* Service73;
97
+ const environments = yield* Service44;
98
+ const config = yield* Service64;
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(Service41, 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 NotFoundError4({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,8 +129,10 @@ var layer = () => Layer.effect(Service41, 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 NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
+ if (command.info.status === "running")
135
+ yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
134
136
  yield* bus.publish(Shell.Event.Deleted, { id });
135
137
  });
136
138
  const remove = Effect.fn("Shell.remove")(function* (id) {
@@ -298,6 +300,8 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
298
300
  })));
299
301
  const outcome = yield* Deferred.await(ended);
300
302
  yield* outputDone.await;
303
+ if (commands.get(id) !== command)
304
+ return;
301
305
  command.info = produce(command.info, (draft) => {
302
306
  draft.status = outcome.status;
303
307
  if (outcome.exit !== undefined)
@@ -332,22 +336,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
332
336
  const command = yield* Deferred.await(ready);
333
337
  return command.info;
334
338
  });
335
- return Service41.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service43.of({ create, list, get, wait, result, timeout, output, remove });
336
340
  }));
337
- var node43 = makeLocationNode({
338
- service: Service41,
341
+ var node46 = makeLocationNode({
342
+ service: Service43,
339
343
  layer: layer(),
340
344
  deps: [
341
- node89,
342
345
  node86,
346
+ node83,
343
347
  Global.node,
344
- node73,
345
- node68,
346
- node62,
347
- node44,
348
- node45,
348
+ node58,
349
+ node50,
350
+ node75,
351
+ node47,
352
+ node66,
349
353
  cleanupNode
350
354
  ]
351
355
  });
352
356
 
353
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service41, cleanup2, node43, exports_shell4 };
357
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service43, cleanup2, node46, exports_shell4 };