@opencode/core 0.0.0-dev-431 → 0.0.0-dev-433

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 (919) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +240 -240
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{shell-3jq89af5.js → console-access-00av7mmf.js} +5 -5
  9. package/dist/chunks/{shell-dfm17qbt.js → console-access-00p7q2hf.js} +15 -15
  10. package/dist/chunks/{shell-m5jddc9g.js → console-access-02fwh478.js} +4 -4
  11. package/dist/chunks/{shell-6d8d064b.js → console-access-02t4sq1s.js} +12 -12
  12. package/dist/chunks/{shell-034tev2y.js → console-access-034tev2y.js} +2 -2
  13. package/dist/chunks/{shell-pts3bsq2.js → console-access-05t2sh6f.js} +23 -23
  14. package/dist/chunks/{shell-0pdkte95.js → console-access-0ew0hkvc.js} +14 -14
  15. package/dist/chunks/{shell-53e3z61x.js → console-access-0ha3e93w.js} +30 -30
  16. package/dist/chunks/{shell-fw9za8th.js → console-access-0hqesebc.js} +21 -21
  17. package/dist/chunks/{shell-sqjzf8x2.js → console-access-0j7gp832.js} +4 -4
  18. package/dist/chunks/{shell-pgqxr0th.js → console-access-0m9q59s6.js} +4 -4
  19. package/dist/chunks/{shell-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
  20. package/dist/chunks/{shell-5vpa3fvx.js → console-access-0tsexbhg.js} +17 -17
  21. package/dist/chunks/{shell-2a9e1g32.js → console-access-0w7k0494.js} +11 -11
  22. package/dist/chunks/{shell-2s9xahkc.js → console-access-1419jydy.js} +28 -28
  23. package/dist/chunks/console-access-197h7524.js +261 -0
  24. package/dist/chunks/{shell-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
  25. package/dist/chunks/{shell-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{shell-k5t1f9zg.js → console-access-1q7276rs.js} +16 -16
  27. package/dist/chunks/{shell-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{shell-fy5x2faz.js → console-access-203mhtba.js} +14 -14
  29. package/dist/chunks/{shell-ca97wcc6.js → console-access-20tp8xjj.js} +28 -28
  30. package/dist/chunks/{shell-gx1fp3rr.js → console-access-26pqs6nj.js} +19 -19
  31. package/dist/chunks/console-access-2b1ea8az.js +26 -0
  32. package/dist/chunks/{shell-ep6pe98a.js → console-access-2bswbpgz.js} +5 -5
  33. package/dist/chunks/{shell-29tc179s.js → console-access-2jw11307.js} +59 -59
  34. package/dist/chunks/{shell-mpc68446.js → console-access-2k1rgnn7.js} +25 -25
  35. package/dist/chunks/{shell-a91jf8s9.js → console-access-2km8vjms.js} +10 -10
  36. package/dist/chunks/{shell-xpve62cf.js → console-access-2mbjfaxd.js} +4 -4
  37. package/dist/chunks/{shell-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
  38. package/dist/chunks/{shell-nxcvrfrm.js → console-access-2qztzx85.js} +8 -8
  39. package/dist/chunks/{shell-r3j2m9q7.js → console-access-32brnyq3.js} +21 -14
  40. package/dist/chunks/{shell-e4bj9h60.js → console-access-32zczr2d.js} +12 -12
  41. package/dist/chunks/{shell-kshj9d31.js → console-access-35kh23ch.js} +6 -6
  42. package/dist/chunks/{shell-16czvpr3.js → console-access-3c7btp5b.js} +40 -40
  43. package/dist/chunks/{shell-gsw2m7k6.js → console-access-3ebwg681.js} +22 -22
  44. package/dist/chunks/{shell-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{shell-rrq56t4b.js → console-access-3j5t2d9f.js} +11 -11
  46. package/dist/chunks/{shell-pe8ga148.js → console-access-3nnav6hm.js} +45 -45
  47. package/dist/chunks/{shell-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{shell-t3fnm34t.js → console-access-3r17c5hc.js} +5 -5
  49. package/dist/chunks/{shell-5ks5dv4j.js → console-access-3tx67vzs.js} +11 -11
  50. package/dist/chunks/{shell-qpe0jarf.js → console-access-3vdmjzpb.js} +2 -2
  51. package/dist/chunks/{shell-2jhx4df4.js → console-access-3x2cfskp.js} +26 -26
  52. package/dist/chunks/{shell-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
  53. package/dist/chunks/{shell-47m6qkpp.js → console-access-44490wat.js} +5 -5
  54. package/dist/chunks/{shell-ddhhfkrp.js → console-access-44h3ma3a.js} +21 -21
  55. package/dist/chunks/{shell-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
  56. package/dist/chunks/{shell-0hjszs0j.js → console-access-49t63ssp.js} +40 -40
  57. package/dist/chunks/{shell-8cg7mtm3.js → console-access-4d2dtj2f.js} +4 -4
  58. package/dist/chunks/{shell-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
  59. package/dist/chunks/{shell-a9sg7ebt.js → console-access-4ennmbap.js} +14 -14
  60. package/dist/chunks/{shell-r542h3bh.js → console-access-4f25tdd0.js} +5 -5
  61. package/dist/chunks/{shell-2v0ht2yf.js → console-access-4mjf9r3x.js} +11 -11
  62. package/dist/chunks/{shell-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
  63. package/dist/chunks/{shell-4v008n1t.js → console-access-4v008n1t.js} +1 -1
  64. package/dist/chunks/{shell-s1qxcrks.js → console-access-4xd968k4.js} +16 -16
  65. package/dist/chunks/{shell-xsehgyx0.js → console-access-563btd7h.js} +5 -5
  66. package/dist/chunks/{shell-f2tph26c.js → console-access-571740d0.js} +7 -7
  67. package/dist/chunks/{shell-ww7bwvyr.js → console-access-5b8k0r9c.js} +32 -32
  68. package/dist/chunks/{shell-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{shell-jdeeg1qm.js → console-access-5wrq2rbh.js} +14 -14
  70. package/dist/chunks/{shell-9p09wbjf.js → console-access-61ggehfe.js} +17 -17
  71. package/dist/chunks/{shell-pja29dwb.js → console-access-624zahf0.js} +15 -15
  72. package/dist/chunks/{shell-pg1dvydq.js → console-access-65bz48rw.js} +12 -12
  73. package/dist/chunks/{shell-ftcdnxrm.js → console-access-65ev8zx0.js} +18 -18
  74. package/dist/chunks/{shell-hmtj6hyv.js → console-access-660m4eb8.js} +7 -7
  75. package/dist/chunks/{shell-03qx06a8.js → console-access-6bmp6cfx.js} +18 -18
  76. package/dist/chunks/{shell-xwmtk72n.js → console-access-6dgg9zbw.js} +8 -8
  77. package/dist/chunks/{shell-tkzv1ga7.js → console-access-6hbwdsfx.js} +15 -15
  78. package/dist/chunks/{shell-h76zyjsb.js → console-access-6hk9n0ea.js} +12 -12
  79. package/dist/chunks/{shell-8xa2vke9.js → console-access-6kqfrh7j.js} +16 -16
  80. package/dist/chunks/{shell-mr0dpwp4.js → console-access-6nk58est.js} +9 -9
  81. package/dist/chunks/{shell-775hqbnd.js → console-access-775hqbnd.js} +3 -3
  82. package/dist/chunks/{shell-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{shell-7kr66rt3.js → console-access-7kr66rt3.js} +1 -1
  84. package/dist/chunks/{shell-wqbwz6hm.js → console-access-7rvrq7f4.js} +10 -10
  85. package/dist/chunks/{shell-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{shell-7weczvnd.js → console-access-7weczvnd.js} +1 -1
  87. package/dist/chunks/{shell-q6vr76yn.js → console-access-80w7pvyj.js} +36 -36
  88. package/dist/chunks/{shell-8dxzr75f.js → console-access-87n1kqyy.js} +4 -4
  89. package/dist/chunks/{shell-qtf35215.js → console-access-88vr49vm.js} +3 -3
  90. package/dist/chunks/{shell-89287pr7.js → console-access-89287pr7.js} +1 -1
  91. package/dist/chunks/{shell-25h84942.js → console-access-8b3vzgkx.js} +4 -4
  92. package/dist/chunks/{shell-j9v2cv05.js → console-access-8qrsqr4h.js} +37 -37
  93. package/dist/chunks/{shell-8t99kr38.js → console-access-8t99kr38.js} +1 -1
  94. package/dist/chunks/{shell-5j95cqby.js → console-access-8v9p3ssr.js} +30 -30
  95. package/dist/chunks/{shell-qnqasnye.js → console-access-8wjgamp7.js} +6 -6
  96. package/dist/chunks/{shell-8kj1ydmj.js → console-access-8wp918wm.js} +16 -16
  97. package/dist/chunks/{shell-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{shell-qzgp0jr4.js → console-access-8xz27cp9.js} +4 -4
  99. package/dist/chunks/{shell-90zstvax.js → console-access-90zstvax.js} +1 -1
  100. package/dist/chunks/{shell-94s5f2xb.js → console-access-94s5f2xb.js} +1 -1
  101. package/dist/chunks/{shell-wws03c5r.js → console-access-95sp4hdf.js} +4 -4
  102. package/dist/chunks/{shell-0mtp185z.js → console-access-963hk181.js} +9 -9
  103. package/dist/chunks/{shell-awk99s3a.js → console-access-9e4rpczb.js} +5 -5
  104. package/dist/chunks/{shell-xzv52cwv.js → console-access-9nafbtnp.js} +3 -3
  105. package/dist/chunks/{shell-6a1czsq8.js → console-access-9qw355mz.js} +21 -21
  106. package/dist/chunks/{shell-qern7cq5.js → console-access-9tctw3ba.js} +18 -18
  107. package/dist/chunks/{shell-27jdjj3w.js → console-access-9w206snf.js} +21 -21
  108. package/dist/chunks/{shell-23aqdb85.js → console-access-ae3jze8m.js} +43 -43
  109. package/dist/chunks/{shell-pzk6pdkc.js → console-access-aj1mvpr4.js} +5 -5
  110. package/dist/chunks/{shell-00n2stnc.js → console-access-amavfpzd.js} +9 -9
  111. package/dist/chunks/{shell-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
  112. package/dist/chunks/{shell-1mp7wfbt.js → console-access-aysgnqn4.js} +11 -11
  113. package/dist/chunks/{shell-b6vsg801.js → console-access-b6vsg801.js} +2 -2
  114. package/dist/chunks/{shell-23tpq7wy.js → console-access-bax3s44t.js} +10 -10
  115. package/dist/chunks/{shell-193d5v67.js → console-access-bdz60pnr.js} +8 -8
  116. package/dist/chunks/{shell-ysh69y78.js → console-access-bht54dp0.js} +21 -21
  117. package/dist/chunks/{shell-at2q98t1.js → console-access-bja887sn.js} +19 -19
  118. package/dist/chunks/{shell-mpfhh4bd.js → console-access-bm74mb0m.js} +8 -8
  119. package/dist/chunks/{shell-d5z4bkxr.js → console-access-bmmx49x9.js} +9 -9
  120. package/dist/chunks/{shell-js6r64sq.js → console-access-bntk4jd2.js} +11 -11
  121. package/dist/chunks/{shell-50d2ek6j.js → console-access-brn5acms.js} +4 -4
  122. package/dist/chunks/{shell-bstexjd6.js → console-access-bstexjd6.js} +1 -1
  123. package/dist/chunks/{shell-a5amgwqt.js → console-access-bzp3zv0g.js} +4 -4
  124. package/dist/chunks/{shell-sn2ktsvh.js → console-access-c32zfq3f.js} +8 -8
  125. package/dist/chunks/{shell-x150ncgg.js → console-access-c51p6570.js} +2 -2
  126. package/dist/chunks/{shell-d53n7f21.js → console-access-c7ftmb2r.js} +11 -11
  127. package/dist/chunks/{shell-9z47e9rq.js → console-access-ca12re6t.js} +32 -32
  128. package/dist/chunks/{shell-dt4w99j0.js → console-access-cagrh3hw.js} +33 -33
  129. package/dist/chunks/{shell-qm8rpqes.js → console-access-cf7ccg46.js} +5 -5
  130. package/dist/chunks/{shell-0wycx49y.js → console-access-cf9kkq94.js} +72 -72
  131. package/dist/chunks/{shell-phq0g8v8.js → console-access-ck75m63q.js} +7 -7
  132. package/dist/chunks/{shell-1r95fj2c.js → console-access-cm52n9z7.js} +17 -17
  133. package/dist/chunks/{shell-0ahs07zn.js → console-access-cpvd08na.js} +4 -4
  134. package/dist/chunks/{shell-vt4r9rmy.js → console-access-ctmpqb7w.js} +9 -9
  135. package/dist/chunks/{shell-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
  136. package/dist/chunks/{shell-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
  137. package/dist/chunks/{shell-hbvq878w.js → console-access-d5n505qg.js} +33 -33
  138. package/dist/chunks/{shell-edm37t96.js → console-access-d6anhaet.js} +6 -6
  139. package/dist/chunks/console-access-d77dj7jw.js +18 -0
  140. package/dist/chunks/{shell-jjpqhn5j.js → console-access-d7cgytp7.js} +9 -9
  141. package/dist/chunks/{shell-wemtzmhb.js → console-access-d8wyahrb.js} +16 -16
  142. package/dist/chunks/{shell-ssme6qjn.js → console-access-dchadnsn.js} +4 -4
  143. package/dist/chunks/{shell-yw61gdr6.js → console-access-dhp1pzdk.js} +78 -78
  144. package/dist/chunks/{shell-96zc22sb.js → console-access-dn2vjhsa.js} +14 -14
  145. package/dist/chunks/{shell-hgbhmszv.js → console-access-dp702t2q.js} +32 -32
  146. package/dist/chunks/{shell-dv96216k.js → console-access-dr2entw9.js} +4 -4
  147. package/dist/chunks/{shell-dt77769w.js → console-access-dt77769w.js} +1 -1
  148. package/dist/chunks/{shell-sb8b9r4h.js → console-access-dwz0axpt.js} +8 -8
  149. package/dist/chunks/{shell-1aeagxc9.js → console-access-dyam4349.js} +49 -49
  150. package/dist/chunks/{shell-19sdd6re.js → console-access-e4534mb3.js} +8 -8
  151. package/dist/chunks/{shell-34f0rf5s.js → console-access-e56qxkt4.js} +30 -30
  152. package/dist/chunks/{shell-dwccqcs6.js → console-access-e64j4m66.js} +12 -12
  153. package/dist/chunks/{shell-e834z07m.js → console-access-e834z07m.js} +1 -1
  154. package/dist/chunks/console-access-e9r9mnye.js +16 -0
  155. package/dist/chunks/{shell-j6qs954z.js → console-access-ed3pzxm2.js} +11 -11
  156. package/dist/chunks/{shell-rvxhxrx3.js → console-access-eetyt14z.js} +9 -9
  157. package/dist/chunks/{shell-af30khrr.js → console-access-ekpns71v.js} +17 -17
  158. package/dist/chunks/{shell-qj97zj8m.js → console-access-eq9a65a0.js} +11 -11
  159. package/dist/chunks/{shell-85ngfxgw.js → console-access-eqfkf0xx.js} +23 -23
  160. package/dist/chunks/{shell-krcm13gg.js → console-access-eqrgg9w4.js} +7 -7
  161. package/dist/chunks/{shell-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
  162. package/dist/chunks/{shell-hs3yxfaz.js → console-access-f097nb4k.js} +5 -5
  163. package/dist/chunks/{shell-w6by9cwq.js → console-access-f2p2tf0y.js} +9 -9
  164. package/dist/chunks/{shell-nt907s04.js → console-access-f341sazs.js} +3 -3
  165. package/dist/chunks/{shell-49c4kh4a.js → console-access-f5j6v7nx.js} +17 -17
  166. package/dist/chunks/{shell-w5aa2add.js → console-access-f91rbz3w.js} +10 -10
  167. package/dist/chunks/{shell-fffv3p7h.js → console-access-fffv3p7h.js} +1 -1
  168. package/dist/chunks/{shell-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
  169. package/dist/chunks/{shell-be5f4zms.js → console-access-fmq8jk01.js} +8 -8
  170. package/dist/chunks/{shell-v2e1rrdw.js → console-access-fqdzsgb0.js} +6 -6
  171. package/dist/chunks/{shell-0mbfgmpk.js → console-access-g1qykwzp.js} +12 -12
  172. package/dist/chunks/{shell-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
  173. package/dist/chunks/{shell-vrcsa8qx.js → console-access-gcjdgkn2.js} +9 -9
  174. package/dist/chunks/{shell-hg96msre.js → console-access-gfm785mt.js} +4 -4
  175. package/dist/chunks/{shell-dpce6frn.js → console-access-gggg4n29.js} +6 -6
  176. package/dist/chunks/{shell-jrprd1cy.js → console-access-gkk73xtb.js} +10 -10
  177. package/dist/chunks/{shell-qsg8cjn6.js → console-access-gqcb6hht.js} +4 -4
  178. package/dist/chunks/{shell-473whfzz.js → console-access-h0d7pj0g.js} +12 -12
  179. package/dist/chunks/{shell-r1bspy9s.js → console-access-h41qf60r.js} +27 -27
  180. package/dist/chunks/{shell-qrkgw2b2.js → console-access-h94p8a1g.js} +4 -4
  181. package/dist/chunks/console-access-hdva3y54.js +555 -0
  182. package/dist/chunks/{shell-6cwvt60a.js → console-access-hfzwmhse.js} +27 -27
  183. package/dist/chunks/{shell-rjkqrftx.js → console-access-hkt98v1s.js} +18 -18
  184. package/dist/chunks/{shell-jxe04nha.js → console-access-hmdw8s6j.js} +31 -31
  185. package/dist/chunks/{shell-hpg1pkwy.js → console-access-hpg1pkwy.js} +1 -1
  186. package/dist/chunks/{shell-rmpjmhqv.js → console-access-hqzgcn0m.js} +16 -16
  187. package/dist/chunks/{shell-cags73dr.js → console-access-j4b6t5e8.js} +14 -14
  188. package/dist/chunks/{shell-g8k90hx5.js → console-access-j8vetwd8.js} +14 -14
  189. package/dist/chunks/{shell-j9nxzz3g.js → console-access-j9nxzz3g.js} +3 -3
  190. package/dist/chunks/{shell-vemd5yc8.js → console-access-jbd4zzkw.js} +11 -11
  191. package/dist/chunks/{shell-5n0rnk8e.js → console-access-jkdcm5hg.js} +4 -4
  192. package/dist/chunks/{shell-1ecnrbv4.js → console-access-jn0pxsew.js} +6 -6
  193. package/dist/chunks/{shell-y30x783a.js → console-access-jsq335zf.js} +44 -44
  194. package/dist/chunks/{shell-jtnps1zs.js → console-access-jtnps1zs.js} +2 -2
  195. package/dist/chunks/{shell-52wx9f6h.js → console-access-jyg7yfag.js} +12 -12
  196. package/dist/chunks/{shell-k46dd5bg.js → console-access-k46dd5bg.js} +1 -1
  197. package/dist/chunks/{shell-hzwt6x4n.js → console-access-k4850m39.js} +26 -26
  198. package/dist/chunks/{shell-jxzydp3a.js → console-access-k5a151g4.js} +15 -15
  199. package/dist/chunks/{shell-3gkcky3x.js → console-access-kb88sqat.js} +4 -4
  200. package/dist/chunks/{shell-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
  201. package/dist/chunks/{shell-mehg9rzj.js → console-access-kwbmt926.js} +7 -7
  202. package/dist/chunks/{shell-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
  203. package/dist/chunks/{shell-afcwrtac.js → console-access-m0hf8jcj.js} +29 -29
  204. package/dist/chunks/{shell-m1714858.js → console-access-m1714858.js} +1 -1
  205. package/dist/chunks/{shell-v3v67mam.js → console-access-m4nd2gbn.js} +24 -24
  206. package/dist/chunks/{shell-vhxfk71n.js → console-access-m7azzab1.js} +37 -37
  207. package/dist/chunks/{shell-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
  208. package/dist/chunks/{shell-pe85184h.js → console-access-mb483vwh.js} +54 -54
  209. package/dist/chunks/{shell-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
  210. package/dist/chunks/{shell-fn389wq5.js → console-access-mbm9ywtd.js} +52 -52
  211. package/dist/chunks/{shell-rjedfxjv.js → console-access-mhnjywtp.js} +7 -7
  212. package/dist/chunks/{shell-669m41n7.js → console-access-mk685369.js} +5 -5
  213. package/dist/chunks/{shell-w79nt68w.js → console-access-mmx1mfjr.js} +4 -4
  214. package/dist/chunks/{shell-jet8nhkm.js → console-access-msd2a3qm.js} +8 -8
  215. package/dist/chunks/{shell-apd33ypq.js → console-access-my7rd139.js} +32 -32
  216. package/dist/chunks/{shell-qtvg5wgd.js → console-access-mz61v94s.js} +6 -6
  217. package/dist/chunks/{shell-8smpb43d.js → console-access-n3ftmwcj.js} +6 -6
  218. package/dist/chunks/{shell-est5w5t7.js → console-access-n7jeh3hd.js} +4 -4
  219. package/dist/chunks/{shell-yp9xkj78.js → console-access-n98nm5mz.js} +21 -21
  220. package/dist/chunks/{shell-ns98cv9x.js → console-access-naghedjd.js} +18 -18
  221. package/dist/chunks/{shell-1sa8tzgh.js → console-access-ne9zgeam.js} +3 -3
  222. package/dist/chunks/{shell-ky55b5b1.js → console-access-nemnqzpn.js} +4 -4
  223. package/dist/chunks/{shell-c0k28r9c.js → console-access-nrfea6y3.js} +10 -10
  224. package/dist/chunks/{shell-sj254tvt.js → console-access-nthzbqcj.js} +27 -27
  225. package/dist/chunks/{shell-d97evh6t.js → console-access-nymz80y4.js} +11 -11
  226. package/dist/chunks/{shell-wvr8xscb.js → console-access-nyxvvj5y.js} +4 -4
  227. package/dist/chunks/{shell-1abavcy4.js → console-access-p2qpf694.js} +3 -3
  228. package/dist/chunks/{shell-ebwyk99b.js → console-access-p2zan2kg.js} +27 -27
  229. package/dist/chunks/{shell-sbegqkxp.js → console-access-p3g3b7x5.js} +6 -6
  230. package/dist/chunks/{shell-7r2je9tv.js → console-access-p40bz6hx.js} +9 -9
  231. package/dist/chunks/{shell-y74ve27q.js → console-access-p78171e1.js} +4 -4
  232. package/dist/chunks/{shell-p7vhpwh8.js → console-access-p7vhpwh8.js} +1 -1
  233. package/dist/chunks/{shell-kxpnq44j.js → console-access-p8ps3hb8.js} +24 -24
  234. package/dist/chunks/{shell-vnbwfcdt.js → console-access-p9xbtx66.js} +36 -36
  235. package/dist/chunks/{shell-jqhn00se.js → console-access-pcwncv2z.js} +30 -30
  236. package/dist/chunks/{shell-7nfgxnna.js → console-access-pcz7d684.js} +16 -16
  237. package/dist/chunks/{shell-pknna89w.js → console-access-pknna89w.js} +1 -1
  238. package/dist/chunks/{shell-ne0be9nn.js → console-access-pmajhwk5.js} +20 -20
  239. package/dist/chunks/{shell-jaqyf2j9.js → console-access-pr5jbasx.js} +38 -38
  240. package/dist/chunks/{shell-m0jv0hdf.js → console-access-qc1ntex2.js} +13 -13
  241. package/dist/chunks/{shell-a5fx33f2.js → console-access-qj27ec1j.js} +6 -6
  242. package/dist/chunks/{shell-fwvz4vmm.js → console-access-qnsy8n07.js} +47 -47
  243. package/dist/chunks/{shell-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
  244. package/dist/chunks/{shell-qqvy8y24.js → console-access-qqvy8y24.js} +1 -1
  245. package/dist/chunks/{shell-k3cx6fhe.js → console-access-qtyhj1r4.js} +4 -4
  246. package/dist/chunks/{shell-fv59jycd.js → console-access-qy3c2dy2.js} +28 -28
  247. package/dist/chunks/{shell-r8cjbfhs.js → console-access-qzgz55fp.js} +36 -36
  248. package/dist/chunks/{shell-ecea3fza.js → console-access-r2yk7pyr.js} +6 -6
  249. package/dist/chunks/{shell-hbdj9fbj.js → console-access-r30bgqk9.js} +20 -20
  250. package/dist/chunks/{shell-w2eysc6j.js → console-access-r41sfy63.js} +6 -6
  251. package/dist/chunks/{shell-nnrrg0xj.js → console-access-r83a0y0t.js} +39 -39
  252. package/dist/chunks/{shell-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
  253. package/dist/chunks/{shell-zenbbnxs.js → console-access-rc7cmy01.js} +8 -8
  254. package/dist/chunks/{shell-zmdx3j86.js → console-access-rktk457n.js} +35 -35
  255. package/dist/chunks/{shell-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
  256. package/dist/chunks/{shell-xbrr9mx4.js → console-access-s0mm9f8n.js} +15 -15
  257. package/dist/chunks/{shell-0d23rnfz.js → console-access-s6vb3pn5.js} +89 -89
  258. package/dist/chunks/{shell-sa3fpqfw.js → console-access-sa3fpqfw.js} +2 -2
  259. package/dist/chunks/{shell-sbya78hr.js → console-access-sbya78hr.js} +1 -1
  260. package/dist/chunks/{shell-vb80j1wh.js → console-access-sbz71ybr.js} +3 -3
  261. package/dist/chunks/{shell-28jz28yf.js → console-access-sg3757jj.js} +9 -9
  262. package/dist/chunks/{shell-knwd8g3y.js → console-access-sg3y9fdz.js} +19 -19
  263. package/dist/chunks/{shell-hz4wpdd1.js → console-access-shtwd5y1.js} +32 -32
  264. package/dist/chunks/{shell-fy4j1bx8.js → console-access-sjdh2dpj.js} +12 -12
  265. package/dist/chunks/{shell-45dxp6m0.js → console-access-snaf2v67.js} +32 -32
  266. package/dist/chunks/{shell-nkqxqv0c.js → console-access-stew84z7.js} +9 -9
  267. package/dist/chunks/{shell-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
  268. package/dist/chunks/{shell-szwm4crx.js → console-access-szwm4crx.js} +4 -4
  269. package/dist/chunks/{shell-c2na2264.js → console-access-t6bg1q5k.js} +2 -2
  270. package/dist/chunks/{shell-datw7qtq.js → console-access-t6q6zta1.js} +8 -8
  271. package/dist/chunks/{shell-62zd5tzk.js → console-access-tb2mrvc9.js} +7 -7
  272. package/dist/chunks/{shell-y3r9dpew.js → console-access-tcr3xm27.js} +16 -16
  273. package/dist/chunks/{shell-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
  274. package/dist/chunks/{shell-tg7s7b5t.js → console-access-tg7s7b5t.js} +1 -1
  275. package/dist/chunks/{shell-8h403a68.js → console-access-th2hp9ev.js} +12 -12
  276. package/dist/chunks/{shell-44ekhfcb.js → console-access-tk0ms0d2.js} +21 -21
  277. package/dist/chunks/{shell-tr8x705m.js → console-access-tr8x705m.js} +1 -1
  278. package/dist/chunks/{shell-mkkrgnv3.js → console-access-tvdfthjb.js} +5 -5
  279. package/dist/chunks/{shell-qajwpk2t.js → console-access-twecacrr.js} +7 -7
  280. package/dist/chunks/{shell-twssxy5n.js → console-access-twssxy5n.js} +2 -2
  281. package/dist/chunks/{shell-ykzqzvbr.js → console-access-txr9fdxt.js} +14 -14
  282. package/dist/chunks/{shell-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
  283. package/dist/chunks/{shell-7tpyp9vw.js → console-access-v5hpj9dd.js} +8 -8
  284. package/dist/chunks/{shell-s12w367s.js → console-access-v67kxy0c.js} +5 -5
  285. package/dist/chunks/{shell-etrnj9s7.js → console-access-v8xpr2tt.js} +11 -11
  286. package/dist/chunks/{shell-4mnzwx94.js → console-access-vck3djmw.js} +11 -11
  287. package/dist/chunks/{shell-5jphrwgc.js → console-access-ve1xdzxf.js} +32 -32
  288. package/dist/chunks/{shell-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
  289. package/dist/chunks/{shell-15qtk8ma.js → console-access-vt2d6wap.js} +4 -4
  290. package/dist/chunks/{shell-g965az4h.js → console-access-vvcrky5h.js} +17 -17
  291. package/dist/chunks/{shell-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
  292. package/dist/chunks/{shell-7322416x.js → console-access-w4912arp.js} +9 -9
  293. package/dist/chunks/{shell-wr3re1en.js → console-access-w687dnns.js} +4 -4
  294. package/dist/chunks/{shell-mhn0qtha.js → console-access-w8m5eqbn.js} +9 -9
  295. package/dist/chunks/{shell-76cb1hcw.js → console-access-w8qtt4th.js} +4 -4
  296. package/dist/chunks/{shell-vj50rhab.js → console-access-w9bn5hmw.js} +8 -8
  297. package/dist/chunks/{shell-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
  298. package/dist/chunks/{shell-wd87259q.js → console-access-wd87259q.js} +1 -1
  299. package/dist/chunks/{shell-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
  300. package/dist/chunks/{shell-4d9h2s3f.js → console-access-wh2kfbg9.js} +35 -35
  301. package/dist/chunks/{shell-psnt6a2q.js → console-access-wkzek7yd.js} +36 -36
  302. package/dist/chunks/{shell-wnhgecwx.js → console-access-wnhgecwx.js} +1 -1
  303. package/dist/chunks/{shell-4dvwkgbn.js → console-access-wv0g8kj6.js} +29 -29
  304. package/dist/chunks/{shell-gvp7022y.js → console-access-wvm0jmw7.js} +24 -24
  305. package/dist/chunks/{shell-97vmwqgx.js → console-access-wxzgy38h.js} +20 -20
  306. package/dist/chunks/{shell-e797dk3c.js → console-access-wyywacbw.js} +32 -32
  307. package/dist/chunks/{shell-hkk57xb1.js → console-access-x0e1k7q0.js} +42 -34
  308. package/dist/chunks/{shell-r1x2dnd5.js → console-access-x3s7tck7.js} +20 -20
  309. package/dist/chunks/{shell-t8erkws8.js → console-access-x3t8qkxb.js} +5 -5
  310. package/dist/chunks/{shell-kerhshr9.js → console-access-xh49vxj8.js} +5 -5
  311. package/dist/chunks/{shell-n69phmws.js → console-access-xkwa9bch.js} +47 -47
  312. package/dist/chunks/{shell-k44714xv.js → console-access-xmfvk442.js} +1 -1
  313. package/dist/chunks/{shell-sj7nrpyn.js → console-access-xmpds20m.js} +8 -8
  314. package/dist/chunks/{shell-n3t645yb.js → console-access-xpy6zrrm.js} +15 -15
  315. package/dist/chunks/{shell-fn0rv3ya.js → console-access-xyg4pv5p.js} +15 -15
  316. package/dist/chunks/{shell-fhg22z1w.js → console-access-y0bzh6gv.js} +22 -22
  317. package/dist/chunks/{shell-y5knf827.js → console-access-y4rj72h1.js} +26 -26
  318. package/dist/chunks/{shell-7t0112fz.js → console-access-y8dnxcz5.js} +33 -33
  319. package/dist/chunks/{shell-h047cagb.js → console-access-yaw5mgj3.js} +33 -33
  320. package/dist/chunks/{shell-frwvv92n.js → console-access-yazd0vcr.js} +8 -8
  321. package/dist/chunks/{shell-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
  322. package/dist/chunks/{shell-a09rhta5.js → console-access-yeznf84t.js} +18 -18
  323. package/dist/chunks/{shell-jm1fsxv2.js → console-access-yp6xf2cv.js} +47 -47
  324. package/dist/chunks/{shell-p80v23td.js → console-access-yqxc2111.js} +8 -8
  325. package/dist/chunks/{shell-yr705xyq.js → console-access-yr705xyq.js} +1 -1
  326. package/dist/chunks/{shell-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
  327. package/dist/chunks/{shell-w8v0wgg0.js → console-access-yxrvy3v0.js} +28 -28
  328. package/dist/chunks/{shell-38aws4xb.js → console-access-z080rjh6.js} +4 -4
  329. package/dist/chunks/{shell-kgdx1aw0.js → console-access-z4kzdpr4.js} +21 -21
  330. package/dist/chunks/{shell-aems2vrd.js → console-access-z4q7sbr8.js} +11 -11
  331. package/dist/chunks/{shell-s0h6qfwx.js → console-access-z50gqtt7.js} +17 -17
  332. package/dist/chunks/{shell-71gw76tb.js → console-access-za5s83ga.js} +9 -9
  333. package/dist/chunks/{shell-x30drkm9.js → console-access-zf7524d8.js} +9 -9
  334. package/dist/chunks/{shell-npg553gx.js → console-access-zj094p6x.js} +193 -193
  335. package/dist/chunks/{shell-zm27gg57.js → console-access-zm27gg57.js} +2 -2
  336. package/dist/chunks/{shell-hccd5xc6.js → console-access-zpzp6d8n.js} +8 -8
  337. package/dist/chunks/{shell-s0q158zn.js → console-access-zx36r2f9.js} +21 -21
  338. package/dist/chunks/{shell-0fdr8kfq.js → console-access-zze2878w.js} +13 -13
  339. package/dist/chunks/{shell-2x3j5zyt.js → console-access-zzq8e1qd.js} +20 -20
  340. package/dist/chunks/{shell-v736ed2x.js → console-access-zzrv6hmv.js} +3 -3
  341. package/dist/codemode/catalog.js +1 -1
  342. package/dist/codemode/execution.js +5 -5
  343. package/dist/codemode/fetch.js +145 -145
  344. package/dist/codemode/instructions.js +5 -5
  345. package/dist/codemode/tool.js +151 -151
  346. package/dist/command.js +92 -92
  347. package/dist/config/discovery.js +97 -97
  348. package/dist/config/integration.js +1 -1
  349. package/dist/config/managed.js +1 -1
  350. package/dist/config/markdown.js +1 -1
  351. package/dist/config/normalize.js +112 -112
  352. package/dist/config/plugin/agent.js +132 -132
  353. package/dist/config/plugin/command.js +231 -231
  354. package/dist/config/plugin/compaction.js +171 -171
  355. package/dist/config/plugin/compatibility.js +150 -150
  356. package/dist/config/plugin/entry-observer.js +1 -1
  357. package/dist/config/plugin/formatter.js +131 -131
  358. package/dist/config/plugin/image.js +130 -130
  359. package/dist/config/plugin/instruction.js +130 -130
  360. package/dist/config/plugin/location-watcher.js +132 -132
  361. package/dist/config/plugin/mcp.js +141 -141
  362. package/dist/config/plugin/policy.js +130 -130
  363. package/dist/config/plugin/provider.js +128 -128
  364. package/dist/config/plugin/reference.js +132 -132
  365. package/dist/config/plugin/shell.js +130 -130
  366. package/dist/config/plugin/skill-file.js +146 -146
  367. package/dist/config/plugin/skill-scan.js +1 -1
  368. package/dist/config/plugin/skill.js +153 -153
  369. package/dist/config/plugin/snapshot.js +130 -130
  370. package/dist/config/plugin/source.js +133 -133
  371. package/dist/config/plugin/tool-output.js +131 -131
  372. package/dist/config/plugin/websearch.js +129 -129
  373. package/dist/config/plugin/worktree.js +132 -132
  374. package/dist/config/variable.js +1 -1
  375. package/dist/config/watch.js +1 -1
  376. package/dist/config.js +133 -133
  377. package/dist/console-access.js +1 -1
  378. package/dist/credential/sql.js +2 -2
  379. package/dist/credential.js +94 -94
  380. package/dist/database/database.js +77 -77
  381. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  382. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  383. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  384. package/dist/database/drizzle/index.js +15 -15
  385. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  388. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  390. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  394. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  395. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  396. package/dist/database/drizzle.js +16 -16
  397. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  398. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  399. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  400. package/dist/database/migration/20260225215848_workspace.js +1 -1
  401. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  402. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  403. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  404. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  405. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  406. package/dist/database/migration/20260323234822_events.js +1 -1
  407. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  408. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  409. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  410. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  411. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  412. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  413. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  414. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  415. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  416. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  417. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  418. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  419. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  420. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  421. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  422. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  423. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  424. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  425. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  426. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  427. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  428. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  429. package/dist/database/migration/20260611035744_credential.js +1 -1
  430. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  431. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  432. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  433. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  434. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  435. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  436. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  437. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  438. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  439. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  440. package/dist/database/migration/20260812213948_worktree.js +1 -1
  441. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  442. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  443. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  444. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  445. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  446. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  447. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  448. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  449. package/dist/database/migration/20261025123711_blob.js +1 -1
  450. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  451. package/dist/database/migration/20261026223005_schedule.js +1 -1
  452. package/dist/database/migration/20261029002625_session_part.js +1 -1
  453. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  454. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  455. package/dist/database/migration/20261030054400_job.js +1 -1
  456. package/dist/database/migration.gen.js +60 -60
  457. package/dist/database/migration.js +62 -62
  458. package/dist/database/path.js +2 -2
  459. package/dist/database/schema.gen.js +1 -1
  460. package/dist/database/schema.sql.js +1 -1
  461. package/dist/database/sqlite.bun.js +1 -1
  462. package/dist/database/sqlite.js +1 -1
  463. package/dist/database/sqlite.node.js +1 -1
  464. package/dist/database/sqlite.workerd.js +1 -1
  465. package/dist/database/v1-migration.bun.js +105 -105
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +430 -430
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +3 -3
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +106 -106
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +106 -106
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +3 -3
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +81 -81
  481. package/dist/file-access.js +156 -156
  482. package/dist/file-mutation.js +107 -107
  483. package/dist/file-retention.js +1 -1
  484. package/dist/filesystem/fff.bun.js +2 -2
  485. package/dist/filesystem/fff.js +1 -1
  486. package/dist/filesystem/fff.node.js +2 -2
  487. package/dist/filesystem/fff.workerd.js +2 -2
  488. package/dist/filesystem/file-watch.js +88 -88
  489. package/dist/filesystem/location-watcher-policy.js +6 -6
  490. package/dist/filesystem/location-watcher.js +245 -245
  491. package/dist/filesystem/protected.js +3 -3
  492. package/dist/filesystem/search.js +112 -112
  493. package/dist/filesystem/watcher-binding.js +1 -1
  494. package/dist/filesystem/watcher.js +11 -11
  495. package/dist/filesystem.js +117 -117
  496. package/dist/form.js +87 -87
  497. package/dist/formatter/builtins.js +4 -4
  498. package/dist/formatter.js +100 -100
  499. package/dist/generate.js +120 -120
  500. package/dist/git.js +11 -11
  501. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  502. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  503. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  505. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  506. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  507. package/dist/github-copilot/copilot-provider.js +17 -17
  508. package/dist/github-copilot/models.js +104 -104
  509. package/dist/github-copilot/openai-compatible-error.js +1 -1
  510. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  511. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  512. package/dist/github-copilot/responses/openai-error.js +1 -1
  513. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  514. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  515. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  516. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  517. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  520. package/dist/image/notice.js +3 -3
  521. package/dist/image/photon-normalize.js +1 -1
  522. package/dist/image/photon-worker.js +1 -1
  523. package/dist/image/photon.js +4 -4
  524. package/dist/image.js +6 -6
  525. package/dist/instance/service.js +5 -5
  526. package/dist/instance.js +421 -421
  527. package/dist/instruction-discovery.js +95 -95
  528. package/dist/instructions/builtins.js +100 -100
  529. package/dist/instructions/index.js +3 -3
  530. package/dist/integration/connection.js +3 -3
  531. package/dist/integration.js +98 -98
  532. package/dist/job/sql.js +2 -2
  533. package/dist/job.js +86 -86
  534. package/dist/kv/sql.js +2 -2
  535. package/dist/kv.js +84 -84
  536. package/dist/location-activity.js +184 -178
  537. package/dist/location-lifecycle.js +150 -150
  538. package/dist/location-service-map.js +99 -99
  539. package/dist/location-services.js +418 -418
  540. package/dist/location.js +100 -100
  541. package/dist/managed-policy.js +3 -3
  542. package/dist/mcp/client.js +104 -104
  543. package/dist/mcp/index.js +120 -120
  544. package/dist/mcp/instructions.js +179 -179
  545. package/dist/mcp/oauth.js +89 -89
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +103 -103
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +104 -104
  550. package/dist/model-resolver.js +110 -110
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +113 -113
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +121 -121
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/permission/saved.js +93 -93
  557. package/dist/permission/sql.js +5 -5
  558. package/dist/permission.js +155 -155
  559. package/dist/persistent-pty/binary.bun.js +1 -1
  560. package/dist/persistent-pty/daemon.js +1 -1
  561. package/dist/persistent-pty/index.js +101 -101
  562. package/dist/persistent-pty/pty-binding.js +1 -1
  563. package/dist/persistent-pty.js +86 -86
  564. package/dist/plugin/agent.js +87 -87
  565. package/dist/plugin/command.js +115 -115
  566. package/dist/plugin/goal.js +3 -3
  567. package/dist/plugin/hooks.js +5 -5
  568. package/dist/plugin/host.js +236 -236
  569. package/dist/plugin/identity.js +5 -5
  570. package/dist/plugin/instance.js +5 -5
  571. package/dist/plugin/internal.js +397 -397
  572. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  573. package/dist/plugin/models-dev.js +110 -110
  574. package/dist/plugin/module.js +127 -127
  575. package/dist/plugin/optimize.js +4 -4
  576. package/dist/plugin/plan.js +146 -146
  577. package/dist/plugin/promise.js +1 -1
  578. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  579. package/dist/plugin/provider/azure.js +132 -132
  580. package/dist/plugin/provider/cerebras.js +1 -1
  581. package/dist/plugin/provider/chatgpt.js +130 -130
  582. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  583. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  588. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  589. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  590. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  591. package/dist/plugin/provider/claude-agent/index.js +145 -145
  592. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  593. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  596. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  597. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  601. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  602. package/dist/plugin/provider/claude-agent/session.js +114 -114
  603. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  604. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  607. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  613. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  614. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  615. package/dist/plugin/provider/configured.js +126 -126
  616. package/dist/plugin/provider/credential-settings.js +85 -85
  617. package/dist/plugin/provider/databricks.js +1 -1
  618. package/dist/plugin/provider/digitalocean.js +108 -108
  619. package/dist/plugin/provider/dynamic.js +2 -2
  620. package/dist/plugin/provider/github-copilot.js +110 -110
  621. package/dist/plugin/provider/gitlab.js +107 -107
  622. package/dist/plugin/provider/google-vertex.js +127 -127
  623. package/dist/plugin/provider/kilo.js +1 -1
  624. package/dist/plugin/provider/llmgateway.js +89 -89
  625. package/dist/plugin/provider/lmstudio.js +139 -139
  626. package/dist/plugin/provider/local.js +136 -136
  627. package/dist/plugin/provider/modal.js +107 -107
  628. package/dist/plugin/provider/neon.js +1 -1
  629. package/dist/plugin/provider/nvidia.js +1 -1
  630. package/dist/plugin/provider/ollama.js +139 -139
  631. package/dist/plugin/provider/openai-context-caps.js +103 -103
  632. package/dist/plugin/provider/openai.js +132 -132
  633. package/dist/plugin/provider/opencode.js +132 -132
  634. package/dist/plugin/provider/openrouter.js +104 -104
  635. package/dist/plugin/provider/poe.js +90 -90
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +104 -104
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  641. package/dist/plugin/provider/vllm.js +139 -139
  642. package/dist/plugin/provider/xai.js +104 -104
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +212 -212
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +149 -149
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +407 -407
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +106 -106
  655. package/dist/plugin/warming.js +128 -128
  656. package/dist/plugin/websearch/exa.js +7 -7
  657. package/dist/plugin/websearch/firecrawl.js +8 -8
  658. package/dist/plugin/websearch/index.js +9 -9
  659. package/dist/plugin/websearch/mcp.js +4 -4
  660. package/dist/plugin/websearch/parallel.js +8 -8
  661. package/dist/plugin/websearch/tavily.js +6 -6
  662. package/dist/plugin/websearch/tinyfish.js +8 -8
  663. package/dist/plugin.js +245 -245
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +8 -8
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +101 -101
  668. package/dist/provider.js +112 -112
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +113 -113
  672. package/dist/reference/instructions.js +99 -99
  673. package/dist/reference.js +103 -103
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +110 -110
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +241 -241
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +247 -247
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +129 -129
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +173 -173
  688. package/dist/session/context.js +198 -198
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +243 -243
  694. package/dist/session/execution.js +163 -163
  695. package/dist/session/generate.js +200 -200
  696. package/dist/session/history.js +136 -136
  697. package/dist/session/inbox.js +147 -147
  698. package/dist/session/info.js +3 -3
  699. package/dist/session/instruction-entry.js +86 -86
  700. package/dist/session/instruction-state.js +8 -8
  701. package/dist/session/instructions.js +141 -141
  702. package/dist/session/message-updater.js +2 -2
  703. package/dist/session/message.js +1 -1
  704. package/dist/session/model-request.js +168 -168
  705. package/dist/session/model-transport.js +9 -9
  706. package/dist/session/move.js +165 -165
  707. package/dist/session/projector.js +143 -143
  708. package/dist/session/prompt.js +148 -148
  709. package/dist/session/recent-text.js +1 -1
  710. package/dist/session/revert.js +139 -139
  711. package/dist/session/run-coordinator.js +3 -3
  712. package/dist/session/runner/index.js +3 -3
  713. package/dist/session/runner/llm.js +248 -248
  714. package/dist/session/runner/max-steps.js +1 -1
  715. package/dist/session/runner/model.js +113 -113
  716. package/dist/session/runner/publish-llm-event.js +149 -149
  717. package/dist/session/runner/retry.js +5 -5
  718. package/dist/session/runner/step.js +161 -161
  719. package/dist/session/runner/to-llm-message.js +137 -137
  720. package/dist/session/schema.js +5 -5
  721. package/dist/session/session.js +181 -181
  722. package/dist/session/shell.js +144 -144
  723. package/dist/session/skill.js +147 -147
  724. package/dist/session/sql.js +5 -5
  725. package/dist/session/stats.js +84 -84
  726. package/dist/session/store.js +142 -142
  727. package/dist/session/stored.js +2 -2
  728. package/dist/session/subagent-completion.js +3 -3
  729. package/dist/session/subagent-job.js +229 -229
  730. package/dist/session/system-prompt.js +3 -3
  731. package/dist/session/title.js +196 -196
  732. package/dist/session/to-session-error.js +148 -148
  733. package/dist/session/transfer.js +237 -237
  734. package/dist/session/usage.js +3 -3
  735. package/dist/session.js +233 -233
  736. package/dist/shared-cache.js +5 -5
  737. package/dist/shell/parse.js +6 -6
  738. package/dist/shell/result.js +1 -1
  739. package/dist/shell/scan.js +1 -1
  740. package/dist/shell/select.js +13 -13
  741. package/dist/shell.js +146 -146
  742. package/dist/skill/discovery.js +6 -6
  743. package/dist/skill/instructions.js +149 -149
  744. package/dist/skill.js +156 -156
  745. package/dist/snapshot.js +102 -102
  746. package/dist/state.js +1 -1
  747. package/dist/tool/html-markdown.js +1 -1
  748. package/dist/tool/http-body.js +1 -1
  749. package/dist/tool/mcp.js +180 -180
  750. package/dist/tool/plugin/artifact.js +228 -228
  751. package/dist/tool/plugin/edit.js +164 -164
  752. package/dist/tool/plugin/file-diff.js +1 -1
  753. package/dist/tool/plugin/glob.js +166 -166
  754. package/dist/tool/plugin/grep.js +168 -168
  755. package/dist/tool/plugin/image-generate.js +231 -231
  756. package/dist/tool/plugin/mcp-resource.js +162 -162
  757. package/dist/tool/plugin/opencode.js +161 -161
  758. package/dist/tool/plugin/patch.js +166 -166
  759. package/dist/tool/plugin/question.js +148 -148
  760. package/dist/tool/plugin/read.js +169 -169
  761. package/dist/tool/plugin/schedule.js +245 -245
  762. package/dist/tool/plugin/shell.js +233 -233
  763. package/dist/tool/plugin/skill.js +155 -155
  764. package/dist/tool/plugin/subagent.js +234 -234
  765. package/dist/tool/plugin/todo.js +153 -153
  766. package/dist/tool/plugin/webfetch.js +155 -155
  767. package/dist/tool/plugin/websearch.js +153 -153
  768. package/dist/tool/plugin/write.js +166 -166
  769. package/dist/tool/read-filesystem.js +115 -115
  770. package/dist/tool/runtime.js +1 -1
  771. package/dist/tool-output.js +7 -7
  772. package/dist/tool.js +161 -161
  773. package/dist/types/location-lifecycle.d.ts +6 -1
  774. package/dist/usage-limits.js +100 -100
  775. package/dist/util/error-summary.js +1 -1
  776. package/dist/util/git-executable.js +3 -3
  777. package/dist/util/lazy.js +1 -1
  778. package/dist/util/slug.js +1 -1
  779. package/dist/util/token.js +1 -1
  780. package/dist/util/which.js +1 -1
  781. package/dist/util/wildcard.js +1 -1
  782. package/dist/v1/config/agent.js +7 -7
  783. package/dist/v1/config/command.js +3 -3
  784. package/dist/v1/config/mcp.js +4 -4
  785. package/dist/v1/config/migrate.js +105 -105
  786. package/dist/v1/config/permission.js +3 -3
  787. package/dist/v1/config/plugin.js +1 -1
  788. package/dist/v1/config/provider-options.js +1 -1
  789. package/dist/v1/config/provider.js +4 -4
  790. package/dist/variant.js +106 -106
  791. package/dist/vcs/patch.js +1 -1
  792. package/dist/vcs.js +98 -98
  793. package/dist/voice.js +99 -99
  794. package/dist/websearch.js +101 -101
  795. package/dist/wellknown/plugin.js +87 -87
  796. package/dist/wellknown.js +90 -90
  797. package/dist/workspace/driver.js +7 -7
  798. package/dist/workspace/sql.js +1 -1
  799. package/dist/workspace.js +93 -93
  800. package/dist/worktree/directory.js +2 -2
  801. package/dist/worktree/git.js +11 -11
  802. package/dist/worktree/sql.js +5 -5
  803. package/dist/worktree/strategies.js +102 -102
  804. package/dist/worktree.js +111 -111
  805. package/package.json +8 -8
  806. package/dist/chunks/shell-3qqjmfxr.js +0 -555
  807. package/dist/chunks/shell-a610t88q.js +0 -18
  808. package/dist/chunks/shell-bnf9rp9e.js +0 -26
  809. package/dist/chunks/shell-ranh0xe7.js +0 -16
  810. package/dist/chunks/shell-vjm3mk0c.js +0 -261
  811. /package/dist/chunks/{shell-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
  812. /package/dist/chunks/{shell-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
  813. /package/dist/chunks/{shell-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
  814. /package/dist/chunks/{shell-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
  815. /package/dist/chunks/{shell-1kah00gy.js → console-access-1kah00gy.js} +0 -0
  816. /package/dist/chunks/{shell-1pevy3nx.js → console-access-1pevy3nx.js} +0 -0
  817. /package/dist/chunks/{shell-24dcb14g.js → console-access-24dcb14g.js} +0 -0
  818. /package/dist/chunks/{shell-2710q6r3.js → console-access-2710q6r3.js} +0 -0
  819. /package/dist/chunks/{shell-2bv980vf.js → console-access-2bv980vf.js} +0 -0
  820. /package/dist/chunks/{shell-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
  821. /package/dist/chunks/{shell-359p4xyc.js → console-access-359p4xyc.js} +0 -0
  822. /package/dist/chunks/{shell-3asan66x.js → console-access-3asan66x.js} +0 -0
  823. /package/dist/chunks/{shell-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
  824. /package/dist/chunks/{shell-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
  825. /package/dist/chunks/{shell-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{shell-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{shell-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{shell-4vcrnpx2.js → console-access-4vcrnpx2.js} +0 -0
  829. /package/dist/chunks/{shell-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
  830. /package/dist/chunks/{shell-53557ph1.js → console-access-53557ph1.js} +0 -0
  831. /package/dist/chunks/{shell-550bvhaj.js → console-access-550bvhaj.js} +0 -0
  832. /package/dist/chunks/{shell-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
  833. /package/dist/chunks/{shell-6agm2x70.js → console-access-6agm2x70.js} +0 -0
  834. /package/dist/chunks/{shell-6prwharc.js → console-access-6prwharc.js} +0 -0
  835. /package/dist/chunks/{shell-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{shell-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{shell-7m9af43g.js → console-access-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{shell-7stb81gk.js → console-access-7stb81gk.js} +0 -0
  839. /package/dist/chunks/{shell-822emrt2.js → console-access-822emrt2.js} +0 -0
  840. /package/dist/chunks/{shell-84wd9syh.js → console-access-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{shell-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{shell-8n3pysct.js → console-access-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{shell-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{shell-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{shell-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{shell-a6k6eb26.js → console-access-a6k6eb26.js} +0 -0
  847. /package/dist/chunks/{shell-af5trqkr.js → console-access-af5trqkr.js} +0 -0
  848. /package/dist/chunks/{shell-afrmfg78.js → console-access-afrmfg78.js} +0 -0
  849. /package/dist/chunks/{shell-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{shell-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{shell-beh6qq61.js → console-access-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{shell-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
  853. /package/dist/chunks/{shell-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
  854. /package/dist/chunks/{shell-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
  855. /package/dist/chunks/{shell-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
  856. /package/dist/chunks/{shell-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
  857. /package/dist/chunks/{shell-d9fn303g.js → console-access-d9fn303g.js} +0 -0
  858. /package/dist/chunks/{shell-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
  859. /package/dist/chunks/{shell-dap0rakb.js → console-access-dap0rakb.js} +0 -0
  860. /package/dist/chunks/{shell-df08tz66.js → console-access-df08tz66.js} +0 -0
  861. /package/dist/chunks/{shell-dy18nga0.js → console-access-dy18nga0.js} +0 -0
  862. /package/dist/chunks/{shell-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
  863. /package/dist/chunks/{shell-e73j6tqm.js → console-access-e73j6tqm.js} +0 -0
  864. /package/dist/chunks/{shell-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
  865. /package/dist/chunks/{shell-ec1grn59.js → console-access-ec1grn59.js} +0 -0
  866. /package/dist/chunks/{shell-eh3zwz77.js → console-access-eh3zwz77.js} +0 -0
  867. /package/dist/chunks/{shell-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
  868. /package/dist/chunks/{shell-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
  869. /package/dist/chunks/{shell-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
  870. /package/dist/chunks/{shell-faypxj3z.js → console-access-faypxj3z.js} +0 -0
  871. /package/dist/chunks/{shell-fd410y7t.js → console-access-fd410y7t.js} +0 -0
  872. /package/dist/chunks/{shell-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
  873. /package/dist/chunks/{shell-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
  874. /package/dist/chunks/{shell-g86h250q.js → console-access-g86h250q.js} +0 -0
  875. /package/dist/chunks/{shell-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
  876. /package/dist/chunks/{shell-gftt206x.js → console-access-gftt206x.js} +0 -0
  877. /package/dist/chunks/{shell-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
  878. /package/dist/chunks/{shell-hk9envan.js → console-access-hk9envan.js} +0 -0
  879. /package/dist/chunks/{shell-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
  880. /package/dist/chunks/{shell-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
  881. /package/dist/chunks/{shell-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
  882. /package/dist/chunks/{shell-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
  883. /package/dist/chunks/{shell-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
  884. /package/dist/chunks/{shell-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
  885. /package/dist/chunks/{shell-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
  886. /package/dist/chunks/{shell-m18g726c.js → console-access-m18g726c.js} +0 -0
  887. /package/dist/chunks/{shell-mp448xyj.js → console-access-mp448xyj.js} +0 -0
  888. /package/dist/chunks/{shell-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
  889. /package/dist/chunks/{shell-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
  890. /package/dist/chunks/{shell-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
  891. /package/dist/chunks/{shell-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
  892. /package/dist/chunks/{shell-njntx4h6.js → console-access-njntx4h6.js} +0 -0
  893. /package/dist/chunks/{shell-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
  894. /package/dist/chunks/{shell-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
  895. /package/dist/chunks/{shell-q74kybfr.js → console-access-q74kybfr.js} +0 -0
  896. /package/dist/chunks/{shell-qaymkmh1.js → console-access-qaymkmh1.js} +0 -0
  897. /package/dist/chunks/{shell-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
  898. /package/dist/chunks/{shell-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
  899. /package/dist/chunks/{shell-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
  900. /package/dist/chunks/{shell-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
  901. /package/dist/chunks/{shell-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
  902. /package/dist/chunks/{shell-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
  903. /package/dist/chunks/{shell-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
  904. /package/dist/chunks/{shell-syrav9an.js → console-access-syrav9an.js} +0 -0
  905. /package/dist/chunks/{shell-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
  906. /package/dist/chunks/{shell-ty7weeps.js → console-access-ty7weeps.js} +0 -0
  907. /package/dist/chunks/{shell-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
  908. /package/dist/chunks/{shell-vtarvj67.js → console-access-vtarvj67.js} +0 -0
  909. /package/dist/chunks/{shell-w803qqfp.js → console-access-w803qqfp.js} +0 -0
  910. /package/dist/chunks/{shell-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
  911. /package/dist/chunks/{shell-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
  912. /package/dist/chunks/{shell-wtztk69x.js → console-access-wtztk69x.js} +0 -0
  913. /package/dist/chunks/{shell-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
  914. /package/dist/chunks/{shell-x61499pn.js → console-access-x61499pn.js} +0 -0
  915. /package/dist/chunks/{shell-y44na4kk.js → console-access-y44na4kk.js} +0 -0
  916. /package/dist/chunks/{shell-y8f7s663.js → console-access-y8f7s663.js} +0 -0
  917. /package/dist/chunks/{shell-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
  918. /package/dist/chunks/{shell-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
  919. /package/dist/chunks/{shell-z9919s4g.js → console-access-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service70
3
- } from "./shell-y30x783a.js";
2
+ Service49
3
+ } from "./console-access-jsq335zf.js";
4
4
  import {
5
5
  definition2,
6
6
  normalizedName2
7
- } from "./shell-7stb81gk.js";
7
+ } from "./console-access-7stb81gk.js";
8
8
  import {
9
9
  toSessionError2
10
- } from "./shell-669m41n7.js";
10
+ } from "./console-access-mk685369.js";
11
11
  import {
12
- Service65
13
- } from "./shell-ranh0xe7.js";
12
+ Service36
13
+ } from "./console-access-e9r9mnye.js";
14
14
  import {
15
15
  extension2,
16
16
  display2
17
- } from "./shell-krcm13gg.js";
17
+ } from "./console-access-eqrgg9w4.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./console-access-9rqn6x4v.js";
21
21
 
22
22
  // src/codemode/tool.ts
23
23
  var exports_tool2 = {};
@@ -102,7 +102,7 @@ var create3 = (inventory, executeTool, permission) => {
102
102
  return resultValue(executed);
103
103
  }),
104
104
  hooks: progressHooks(record)
105
- }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service65, context), Effect.provideService(Service70, permission));
105
+ }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service36, context), Effect.provideService(Service49, permission));
106
106
  const toolCalls = yield* Ref.get(calls);
107
107
  const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
108
108
  const output = formatResult(result);
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./console-access-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./console-access-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks2 = {};
7
7
  __export(exports_hooks2, {
8
8
  PluginHooks: () => exports_hooks2,
9
- Service: () => Service74,
10
- node: () => node76
9
+ Service: () => Service67,
10
+ node: () => node69
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service74 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service67 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service74, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service74.of({ has, register, trigger });
57
+ return Service67.of({ has, register, trigger });
58
58
  }));
59
- var node76 = makeLocationNode({ service: Service74, layer, deps: [] });
59
+ var node69 = makeLocationNode({ service: Service67, layer, deps: [] });
60
60
 
61
- export { Service74, node76, exports_hooks2 };
61
+ export { Service67, node69, exports_hooks2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-z5v4ffb3.js";
3
+ } from "./console-access-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./shell-emrn6kk6.js";
4
+ } from "./console-access-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./shell-qfa1cgps.js";
3
+ } from "./console-access-qfa1cgps.js";
4
4
  import {
5
5
  SessionTable2
6
- } from "./shell-mb7mbhnz.js";
6
+ } from "./console-access-mb7mbhnz.js";
7
7
 
8
8
  // src/schedule/sql.ts
9
9
  import { sql } from "drizzle-orm";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./shell-svcy3p9a.js";
3
+ } from "./console-access-svcy3p9a.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./shell-z5v4ffb3.js";
6
+ } from "./console-access-z5v4ffb3.js";
7
7
  import {
8
- Service85
9
- } from "./shell-k5t1f9zg.js";
8
+ Service86
9
+ } from "./console-access-1q7276rs.js";
10
10
  import {
11
- Service60
12
- } from "./shell-v3v67mam.js";
11
+ Service78
12
+ } from "./console-access-m4nd2gbn.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service45
16
- } from "./shell-rjkqrftx.js";
15
+ Service77
16
+ } from "./console-access-hkt98v1s.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./shell-hgbhmszv.js";
23
+ } from "./console-access-dp702t2q.js";
24
24
  import {
25
- Service70
26
- } from "./shell-y30x783a.js";
25
+ Service49
26
+ } from "./console-access-jsq335zf.js";
27
27
  import {
28
- Service18
29
- } from "./shell-mpc68446.js";
28
+ Service16
29
+ } from "./console-access-2k1rgnn7.js";
30
30
  import {
31
31
  __export
32
- } from "./shell-9rqn6x4v.js";
32
+ } from "./console-access-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin2,
41
- name: () => name2,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input7,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin8,
41
+ name: () => name7,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai/effect";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name2 = "grep";
48
- var Input2 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output2 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin2 = {
86
+ var Plugin8 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service60;
90
- const ripgrep = yield* Service45;
91
- const location = yield* Service85;
92
- const access = yield* Service18;
93
- const permission = yield* Service70;
89
+ const environment = yield* Service78;
90
+ const ripgrep = yield* Service77;
91
+ const location = yield* Service86;
92
+ const access = yield* Service16;
93
+ const permission = yield* Service49;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input2,
99
- output: Output2,
98
+ input: Input7,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name2,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin2 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin2 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
157
+ export { name7, Input7, Output5, toModelContent3, Plugin8, exports_grep };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Ref3,
3
- Service81
4
- } from "./shell-e797dk3c.js";
3
+ Service71
4
+ } from "./console-access-wyywacbw.js";
5
5
  import {
6
- Service75
7
- } from "./shell-fn389wq5.js";
6
+ Service68
7
+ } from "./console-access-mbm9ywtd.js";
8
8
  import {
9
9
  observe2
10
- } from "./shell-hpg1pkwy.js";
10
+ } from "./console-access-hpg1pkwy.js";
11
11
  import {
12
- Service60
13
- } from "./shell-v3v67mam.js";
12
+ Service78
13
+ } from "./console-access-m4nd2gbn.js";
14
14
  import {
15
15
  SessionMessage2
16
- } from "./shell-gftt206x.js";
16
+ } from "./console-access-gftt206x.js";
17
17
  import {
18
- Service70
19
- } from "./shell-y30x783a.js";
18
+ Service49
19
+ } from "./console-access-jsq335zf.js";
20
20
  import {
21
- Service18
22
- } from "./shell-mpc68446.js";
21
+ Service16
22
+ } from "./console-access-2k1rgnn7.js";
23
23
  import {
24
- Service20
25
- } from "./shell-jqhn00se.js";
24
+ Service55
25
+ } from "./console-access-pcwncv2z.js";
26
26
  import {
27
- text3
28
- } from "./shell-25h84942.js";
27
+ text2
28
+ } from "./console-access-8b3vzgkx.js";
29
29
  import {
30
- Service42
31
- } from "./shell-h76zyjsb.js";
30
+ Service52
31
+ } from "./console-access-6hk9n0ea.js";
32
32
  import {
33
33
  detect2
34
- } from "./shell-4pyp9zr9.js";
34
+ } from "./console-access-4pyp9zr9.js";
35
35
  import {
36
- Service22
37
- } from "./shell-0d23rnfz.js";
36
+ Service21
37
+ } from "./console-access-s6vb3pn5.js";
38
38
  import {
39
39
  collectBoundedResponseBody2
40
- } from "./shell-3v8g72cx.js";
40
+ } from "./console-access-3v8g72cx.js";
41
41
  import {
42
42
  __export
43
- } from "./shell-9rqn6x4v.js";
43
+ } from "./console-access-9rqn6x4v.js";
44
44
 
45
45
  // src/tool/plugin/image-generate.ts
46
46
  var exports_image_generate = {};
@@ -48,7 +48,7 @@ __export(exports_image_generate, {
48
48
  ImageGenerateTool: () => exports_image_generate,
49
49
  Input: () => Input8,
50
50
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
51
- Output: () => Output8,
51
+ Output: () => Output6,
52
52
  Plugin: () => Plugin9,
53
53
  defaultModel: () => defaultModel2,
54
54
  description: () => description4,
@@ -94,7 +94,7 @@ var Input8 = Schema.Struct({
94
94
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
95
95
  })
96
96
  });
97
- var Output8 = Schema.Struct({
97
+ var Output6 = Schema.Struct({
98
98
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
99
99
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
100
100
  model: Schema.String.annotate({ description: "providerID/modelID" })
@@ -102,17 +102,17 @@ var Output8 = Schema.Struct({
102
102
  var Plugin9 = {
103
103
  id: "opencode.tool.image-generate",
104
104
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
105
- const access = yield* Service18;
106
- const environment = yield* Service60;
107
- const generate = yield* Service20;
105
+ const access = yield* Service16;
106
+ const environment = yield* Service78;
107
+ const generate = yield* Service55;
108
108
  const global = yield* Global.Service;
109
109
  const http = yield* HttpClient.HttpClient;
110
- const config = yield* Service75;
111
- const jobs = yield* Service42;
110
+ const config = yield* Service68;
111
+ const jobs = yield* Service52;
112
112
  const scope = yield* Scope.Scope;
113
- const sessions = yield* Service22;
114
- const models = yield* Service81;
115
- const permission = yield* Service70;
113
+ const sessions = yield* Service21;
114
+ const models = yield* Service71;
115
+ const permission = yield* Service49;
116
116
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
117
117
  const available = yield* models.available(["image"]);
118
118
  if (!input) {
@@ -188,7 +188,7 @@ var Plugin9 = {
188
188
  id: input.notificationID,
189
189
  sessionID: input.sessionID,
190
190
  description: "Image generation",
191
- text: text3({
191
+ text: text2({
192
192
  id: input.id,
193
193
  state: info.status,
194
194
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
@@ -216,7 +216,7 @@ var Plugin9 = {
216
216
  options: { codemode: false },
217
217
  description: description4,
218
218
  input: Input8,
219
- output: Output8,
219
+ output: Output6,
220
220
  execute: (input, context) => Effect.gen(function* () {
221
221
  const source = { type: "tool", messageID: context.messageID, id: context.id };
222
222
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
@@ -333,4 +333,4 @@ function acceptsImages(model) {
333
333
  return model.capabilities.input.some((item) => item.startsWith("image"));
334
334
  }
335
335
 
336
- export { name8, MAX_INPUT_BYTES2, description4, Input8, Output8, Plugin9, defaultModel2, exports_image_generate };
336
+ export { name8, MAX_INPUT_BYTES2, description4, Input8, Output6, Plugin9, defaultModel2, exports_image_generate };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./console-access-9rqn6x4v.js";
4
4
 
5
5
  // src/model-retry.ts
6
6
  var exports_model_retry = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./shell-m5jddc9g.js";
4
+ } from "./console-access-02fwh478.js";
5
5
  import {
6
6
  environment2
7
- } from "./shell-at2q98t1.js";
7
+ } from "./console-access-bja887sn.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./shell-1pevy3nx.js";
10
+ } from "./console-access-1pevy3nx.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./console-access-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  InvalidCwdError: () => InvalidCwdError2,
20
- NotFoundError: () => NotFoundError9,
21
- Options: () => Options4,
20
+ NotFoundError: () => NotFoundError3,
21
+ Options: () => Options3,
22
22
  PersistentPty: () => exports_persistent_pty,
23
- Service: () => Service62,
24
- UnavailableError: () => UnavailableError5,
23
+ Service: () => Service17,
24
+ UnavailableError: () => UnavailableError2,
25
25
  UnsupportedError: () => UnsupportedError2,
26
- available: () => available4,
27
- configured: () => configured6,
28
- layer: () => layer21,
29
- node: () => node65
26
+ available: () => available3,
27
+ configured: () => configured3,
28
+ layer: () => layer10,
29
+ node: () => node20
30
30
  });
31
31
  import { stat } from "node:fs/promises";
32
32
  import path from "node:path";
@@ -44,18 +44,18 @@ import { Pty } from "@opencode/schema/pty";
44
44
  import { Global } from "@opencode/util/global";
45
45
  import { resolveBinary } from "#persistent-pty-binary";
46
46
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
47
- import { available as available4 } from "#persistent-pty-binary";
48
- var Options4 = Schema.Struct({
47
+ import { available as available3 } from "#persistent-pty-binary";
48
+ var Options3 = Schema.Struct({
49
49
  handoff: Schema.optional(Handoff),
50
50
  root: Schema.optional(Schema.String)
51
51
  });
52
52
 
53
- class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
53
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
54
54
  message: Schema.String
55
55
  }) {
56
56
  }
57
57
 
58
- class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
58
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
59
59
  ptyID: Pty.ID
60
60
  }) {
61
61
  }
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
71
71
  }) {
72
72
  }
73
73
 
74
- class Service62 extends Context.Service()("@opencode/PersistentPty") {
74
+ class Service17 extends Context.Service()("@opencode/PersistentPty") {
75
75
  }
76
- var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
76
+ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* () {
77
77
  const bus = yield* Service89;
78
78
  const global = yield* Global.Service;
79
79
  const context = yield* Effect.context();
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* (
96
96
  const get = Effect.fn("PersistentPty.get")(function* (id) {
97
97
  const found = (yield* list()).find((terminal) => terminal.id === id);
98
98
  if (!found)
99
- return yield* new NotFoundError9({ ptyID: id });
99
+ return yield* new NotFoundError3({ ptyID: id });
100
100
  return found;
101
101
  });
102
102
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -201,7 +201,7 @@ var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* (
201
201
  });
202
202
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
203
203
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
204
- return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
204
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
205
205
  const id = current.get(sessionID);
206
206
  if (!id)
207
207
  return null;
@@ -287,7 +287,7 @@ var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* (
287
287
  detach: attachment.detach
288
288
  };
289
289
  });
290
- return Service62.of({
290
+ return Service17.of({
291
291
  list,
292
292
  get,
293
293
  create,
@@ -304,17 +304,17 @@ var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* (
304
304
  attach
305
305
  });
306
306
  }));
307
- var layer21 = makeLayer();
308
- var configured6 = (options) => makeGlobalNode({
309
- service: Service62,
310
- layer: options === undefined ? layer21 : makeLayer(options),
307
+ var layer10 = makeLayer();
308
+ var configured3 = (options) => makeGlobalNode({
309
+ service: Service17,
310
+ layer: options === undefined ? layer10 : makeLayer(options),
311
311
  deps: [node92, Global.node]
312
312
  });
313
- var node65 = configured6();
313
+ var node20 = configured3();
314
314
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
315
315
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
316
- var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
317
- var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
316
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
317
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
318
318
  function toInfo(value) {
319
319
  const status = value.lifecycle.status;
320
320
  return {
@@ -347,4 +347,4 @@ function fromID(value) {
347
347
  return parsed;
348
348
  }
349
349
 
350
- export { Options4, UnavailableError5, NotFoundError9, InvalidCwdError2, UnsupportedError2, Service62, layer21, configured6, node65, exports_persistent_pty, Handoff2, available4 };
350
+ export { Options3, UnavailableError2, NotFoundError3, InvalidCwdError2, UnsupportedError2, Service17, layer10, configured3, node20, exports_persistent_pty, Handoff2, available3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./shell-0ma9gw4f.js";
3
+ } from "./console-access-0ma9gw4f.js";
4
4
  import {
5
- ID18,
6
- Service83,
7
- node86
8
- } from "./shell-hzwt6x4n.js";
5
+ ID17,
6
+ Service81,
7
+ node84
8
+ } from "./console-access-k4850m39.js";
9
9
  import {
10
10
  __export
11
- } from "./shell-9rqn6x4v.js";
11
+ } from "./console-access-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service14,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service41,
18
+ UnavailableError: () => UnavailableError3,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer9,
21
- node: () => node16
20
+ layer: () => layer18,
21
+ node: () => node43
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service14 extends Context.Service()("@opencode/Voice") {
40
+ class Service41 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer9 = Layer.effect(Service14, Effect.gen(function* () {
42
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service83;
45
- const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
44
+ const integrations = yield* Service81;
45
+ const findConnection = (provider, methods = ["key"]) => integrations.get(ID17.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
46
46
  const source = Effect.fnUntraced(function* (engine) {
47
47
  const connection = yield* findConnection(engine.provider);
48
48
  if (connection)
@@ -67,10 +67,10 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
67
67
  if (!engine)
68
68
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
69
69
  const found = yield* source(engine);
70
- const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
70
+ const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
71
71
  const access = found && credential && sessionAccess(found.provider, credential);
72
72
  if (found === undefined || access === undefined)
73
- return yield* new UnavailableError2({
73
+ return yield* new UnavailableError3({
74
74
  service: engine.provider,
75
75
  message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
76
76
  });
@@ -79,14 +79,14 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
79
79
  session: input.session,
80
80
  transport: input.transport,
81
81
  ...access
82
- }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
82
+ }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
83
83
  });
84
- return Service14.of({ models, session });
84
+ return Service41.of({ models, session });
85
85
  }));
86
- var node16 = makeLocationNode({
87
- service: Service14,
88
- layer: layer9,
89
- deps: [node86, requestExecutor2]
86
+ var node43 = makeLocationNode({
87
+ service: Service41,
88
+ layer: layer18,
89
+ deps: [node84, requestExecutor2]
90
90
  });
91
91
  var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
92
92
  var sessionAccess = (provider, credential) => {
@@ -108,4 +108,4 @@ var missingKeyMessage = {
108
108
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
109
109
  };
110
110
 
111
- export { InvalidRequestError2, UnavailableError2, Service14, layer9, node16, exports_voice };
111
+ export { InvalidRequestError2, UnavailableError3, Service41, layer18, node43, exports_voice };