@opencode/core 0.0.0-dev-876 → 0.0.0-dev-878

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 (931) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +254 -254
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{worktree-yj3eevqz.js → pty-0082486v.js} +15 -15
  9. package/dist/chunks/pty-00ve6mdn.js +18 -0
  10. package/dist/chunks/{worktree-034tev2y.js → pty-034tev2y.js} +2 -2
  11. package/dist/chunks/{worktree-5t3d7a3k.js → pty-04qyyzkb.js} +7 -7
  12. package/dist/chunks/{worktree-ytk5wrf7.js → pty-04taggxf.js} +5 -5
  13. package/dist/chunks/{worktree-gx8s1m7d.js → pty-08zs3z5t.js} +43 -43
  14. package/dist/chunks/{worktree-fr6q3a25.js → pty-0apqa2j6.js} +5 -5
  15. package/dist/chunks/{worktree-6yb0qn0r.js → pty-0bm0vtwv.js} +11 -11
  16. package/dist/chunks/{worktree-kn36w4dj.js → pty-0cs6619n.js} +31 -31
  17. package/dist/chunks/{worktree-qtw7g3dn.js → pty-0dbdcyb4.js} +25 -25
  18. package/dist/chunks/{worktree-2a8qswhe.js → pty-0jk4gzvn.js} +10 -10
  19. package/dist/chunks/{worktree-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
  20. package/dist/chunks/{worktree-yjkye314.js → pty-0p2chd15.js} +20 -20
  21. package/dist/chunks/{worktree-g54w9w6m.js → pty-0pcgz03n.js} +21 -21
  22. package/dist/chunks/{worktree-dmeswyfq.js → pty-0t2mkgep.js} +6 -6
  23. package/dist/chunks/{worktree-vcgv1jvt.js → pty-0xgshe2y.js} +13 -13
  24. package/dist/chunks/{worktree-e1jeyye4.js → pty-0yg79bww.js} +5 -5
  25. package/dist/chunks/{worktree-ywv6jdkf.js → pty-18b1hh0p.js} +11 -11
  26. package/dist/chunks/{worktree-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{worktree-1ep2p91f.js → pty-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{worktree-fmkapcpn.js → pty-1gpdc67x.js} +33 -33
  29. package/dist/chunks/{worktree-h2jaypqm.js → pty-1p738f31.js} +27 -27
  30. package/dist/chunks/{worktree-tgqk8ax3.js → pty-1sfhq3gh.js} +31 -31
  31. package/dist/chunks/{worktree-4tnarq1t.js → pty-1v2g13eq.js} +6 -6
  32. package/dist/chunks/{worktree-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
  33. package/dist/chunks/{worktree-9818xe2a.js → pty-1xn430j4.js} +16 -16
  34. package/dist/chunks/{worktree-1yq9hg58.js → pty-1yq9hg58.js} +1 -1
  35. package/dist/chunks/{worktree-3t9b5ztq.js → pty-1z2ezsn0.js} +4 -4
  36. package/dist/chunks/{worktree-5pgy0sqj.js → pty-22wp63zj.js} +2 -2
  37. package/dist/chunks/{worktree-8b3vzgkx.js → pty-25h84942.js} +4 -4
  38. package/dist/chunks/{worktree-694dpcrp.js → pty-26wfx3k0.js} +7 -7
  39. package/dist/chunks/{worktree-8qs9z106.js → pty-27rxkcxv.js} +20 -20
  40. package/dist/chunks/{worktree-x08jbc1h.js → pty-2cdpqtk9.js} +4 -4
  41. package/dist/chunks/{worktree-nrnxe7g4.js → pty-2eh0f1sg.js} +27 -27
  42. package/dist/chunks/{worktree-2fc7eemy.js → pty-2fc7eemy.js} +1 -1
  43. package/dist/chunks/{worktree-mc5f456h.js → pty-2kkn5h22.js} +26 -26
  44. package/dist/chunks/{worktree-v5ddwjkq.js → pty-2n6tcy7a.js} +45 -45
  45. package/dist/chunks/{worktree-ad21tgm2.js → pty-2p60zmnr.js} +4 -4
  46. package/dist/chunks/{worktree-qdaxnh4s.js → pty-2ss5f5ss.js} +20 -20
  47. package/dist/chunks/{worktree-652cxmf2.js → pty-2twxdwbq.js} +13 -13
  48. package/dist/chunks/{worktree-8gharz4h.js → pty-2zz3xz3r.js} +14 -14
  49. package/dist/chunks/{worktree-rzg6y5rp.js → pty-38aws4xb.js} +4 -4
  50. package/dist/chunks/{worktree-6hp0vh1z.js → pty-38nka762.js} +9 -9
  51. package/dist/chunks/{worktree-ymqredyb.js → pty-39sgvy3e.js} +4 -4
  52. package/dist/chunks/{worktree-580gg2hr.js → pty-3bzhzpnf.js} +16 -16
  53. package/dist/chunks/{worktree-ebq998nt.js → pty-3cse29s9.js} +11 -11
  54. package/dist/chunks/{worktree-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{worktree-3nnrz6f6.js → pty-3nnrz6f6.js} +1 -1
  56. package/dist/chunks/{worktree-s5qfgb0b.js → pty-3p62j0nb.js} +29 -29
  57. package/dist/chunks/{worktree-p0tsr9h6.js → pty-3ryz99p0.js} +4 -4
  58. package/dist/chunks/{worktree-y1h7p9cg.js → pty-3txdrh00.js} +31 -31
  59. package/dist/chunks/{worktree-nm267vgp.js → pty-3txg0pd7.js} +7 -7
  60. package/dist/chunks/{worktree-1b81r9ak.js → pty-3z8vx0gr.js} +11 -11
  61. package/dist/chunks/{worktree-g05xnsqx.js → pty-3zjvswjq.js} +18 -18
  62. package/dist/chunks/{worktree-r0zvtrp7.js → pty-40vsxc6j.js} +38 -38
  63. package/dist/chunks/{worktree-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
  64. package/dist/chunks/{worktree-twhtcdx9.js → pty-44pmzq9c.js} +4 -4
  65. package/dist/chunks/{worktree-e4cp3w0r.js → pty-46cyrfev.js} +36 -36
  66. package/dist/chunks/{worktree-6t8vew8t.js → pty-47rsk148.js} +4 -4
  67. package/dist/chunks/{worktree-cp2gts92.js → pty-47t61vtt.js} +9 -9
  68. package/dist/chunks/{worktree-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
  69. package/dist/chunks/{worktree-r542h3bh.js → pty-4f25tdd0.js} +5 -5
  70. package/dist/chunks/{worktree-vq0qa3sh.js → pty-4g3sdj5g.js} +9 -9
  71. package/dist/chunks/{worktree-1mnq2rn5.js → pty-4kkdjnw8.js} +5 -5
  72. package/dist/chunks/{worktree-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
  73. package/dist/chunks/{worktree-8dsy49kh.js → pty-4rzh7d7z.js} +3 -3
  74. package/dist/chunks/{worktree-th8bndh3.js → pty-4tc4dv8y.js} +26 -26
  75. package/dist/chunks/{worktree-4v008n1t.js → pty-4v008n1t.js} +1 -1
  76. package/dist/chunks/{worktree-vnv757bt.js → pty-4vtpdmjt.js} +17 -17
  77. package/dist/chunks/{worktree-312kjg9w.js → pty-4wh9bgn2.js} +43 -43
  78. package/dist/chunks/{worktree-z88rdk3t.js → pty-50emzza2.js} +9 -9
  79. package/dist/chunks/{worktree-pgwwkgmt.js → pty-54x8tjhq.js} +25 -25
  80. package/dist/chunks/{worktree-0fjqr56q.js → pty-58yve0v1.js} +48 -48
  81. package/dist/chunks/{worktree-qnv3v84h.js → pty-59t9ct3m.js} +29 -29
  82. package/dist/chunks/{worktree-w2eysc6j.js → pty-5enarcya.js} +6 -6
  83. package/dist/chunks/{worktree-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  84. package/dist/chunks/{worktree-9tvpxs1q.js → pty-5w1mdqt7.js} +4 -4
  85. package/dist/chunks/{worktree-rmc2q4zv.js → pty-5yffcetz.js} +18 -18
  86. package/dist/chunks/{worktree-r6tpngtj.js → pty-5zdad6yg.js} +30 -30
  87. package/dist/chunks/{worktree-v1vpa7ms.js → pty-60zgrctx.js} +32 -32
  88. package/dist/chunks/{worktree-y0qtmf1c.js → pty-633pgj7g.js} +9 -9
  89. package/dist/chunks/{worktree-kyknme5q.js → pty-69e6bcea.js} +42 -42
  90. package/dist/chunks/{worktree-s5pfmh0r.js → pty-6ba9x97p.js} +5 -5
  91. package/dist/chunks/{worktree-1d15302f.js → pty-6eqzpwgz.js} +17 -17
  92. package/dist/chunks/{worktree-775hqbnd.js → pty-775hqbnd.js} +3 -3
  93. package/dist/chunks/{worktree-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  94. package/dist/chunks/{worktree-b6pxc0bj.js → pty-7f6k4x6h.js} +31 -31
  95. package/dist/chunks/{worktree-7nqkf5r1.js → pty-7nqkf5r1.js} +2 -2
  96. package/dist/chunks/{worktree-b14wh7ra.js → pty-7vr8248e.js} +7 -7
  97. package/dist/chunks/{worktree-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{worktree-7weczvnd.js → pty-7weczvnd.js} +1 -1
  99. package/dist/chunks/{worktree-w6dtqm7y.js → pty-809by22w.js} +14 -14
  100. package/dist/chunks/{worktree-v8xpr2tt.js → pty-80m5xgxj.js} +8 -8
  101. package/dist/chunks/{worktree-89287pr7.js → pty-89287pr7.js} +1 -1
  102. package/dist/chunks/{worktree-b7j26gq9.js → pty-8b1rxbth.js} +12 -12
  103. package/dist/chunks/{worktree-8cg7mtm3.js → pty-8cg7mtm3.js} +1 -1
  104. package/dist/chunks/{worktree-3bgf9gas.js → pty-8dfptpqb.js} +4 -4
  105. package/dist/chunks/{worktree-xcg1njma.js → pty-8faw8f8c.js} +18 -18
  106. package/dist/chunks/{worktree-16r388aq.js → pty-8j47f66f.js} +18 -18
  107. package/dist/chunks/{worktree-375ef93n.js → pty-8ktfmd0n.js} +19 -19
  108. package/dist/chunks/{worktree-n33nyn98.js → pty-8mz1epvh.js} +9 -9
  109. package/dist/chunks/{worktree-bdezwmdf.js → pty-8mz64x2b.js} +13 -13
  110. package/dist/chunks/{worktree-ebrhe4rp.js → pty-8nbbg8x2.js} +32 -32
  111. package/dist/chunks/{worktree-8sxe6kv8.js → pty-8sxe6kv8.js} +2 -2
  112. package/dist/chunks/{worktree-8t99kr38.js → pty-8t99kr38.js} +1 -1
  113. package/dist/chunks/{worktree-my4zabxr.js → pty-8vct2pgr.js} +3 -3
  114. package/dist/chunks/{worktree-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{worktree-yts2a8qm.js → pty-8xz27cp9.js} +4 -4
  116. package/dist/chunks/{worktree-8zv0xmg5.js → pty-8zv0xmg5.js} +1 -1
  117. package/dist/chunks/{worktree-c98qqzty.js → pty-921m9cvt.js} +19 -19
  118. package/dist/chunks/{worktree-8hfctyyf.js → pty-93xmyh8q.js} +7 -7
  119. package/dist/chunks/{worktree-941r128d.js → pty-963hk181.js} +9 -9
  120. package/dist/chunks/{worktree-myrazpsb.js → pty-96n9kpwt.js} +33 -33
  121. package/dist/chunks/{worktree-hz4ry9me.js → pty-98nhdtpx.js} +18 -18
  122. package/dist/chunks/{worktree-57yekzay.js → pty-99p0pbf1.js} +12 -12
  123. package/dist/chunks/{worktree-8xz3r9v3.js → pty-9hqnwgn2.js} +16 -16
  124. package/dist/chunks/{worktree-qz8t2q7x.js → pty-9kx878ab.js} +19 -19
  125. package/dist/chunks/{worktree-18z9xd8w.js → pty-9kzszawf.js} +22 -22
  126. package/dist/chunks/{worktree-f9xadq7v.js → pty-9njvccht.js} +11 -11
  127. package/dist/chunks/{worktree-rewxhgdy.js → pty-9nn8jzqe.js} +12 -12
  128. package/dist/chunks/{worktree-mmx1mfjr.js → pty-9q8g9sv8.js} +4 -4
  129. package/dist/chunks/{worktree-v438kgpn.js → pty-9rqhy0gk.js} +7 -7
  130. package/dist/chunks/{worktree-nc4e8w7g.js → pty-9tqcrzep.js} +5 -5
  131. package/dist/chunks/{worktree-0smjzh1v.js → pty-9w05e4yq.js} +15 -15
  132. package/dist/chunks/{worktree-xp2necrq.js → pty-9yd64rvx.js} +7 -7
  133. package/dist/chunks/{worktree-2xajh5zb.js → pty-a1bywv3g.js} +11 -11
  134. package/dist/chunks/{worktree-ktck1cjp.js → pty-a6s57dw6.js} +6 -6
  135. package/dist/chunks/{worktree-p2whz3dm.js → pty-a88a05zy.js} +63 -63
  136. package/dist/chunks/{worktree-5e0d172x.js → pty-a8fw8dpm.js} +10 -10
  137. package/dist/chunks/{worktree-zby73h3y.js → pty-a9t87r5b.js} +9 -9
  138. package/dist/chunks/{worktree-h2pwbspx.js → pty-abdd1da8.js} +3 -3
  139. package/dist/chunks/{worktree-avtn9qcw.js → pty-adwjc2gj.js} +14 -14
  140. package/dist/chunks/{worktree-ayjs7tqn.js → pty-ayjs7tqn.js} +2 -2
  141. package/dist/chunks/{worktree-tp1jb13k.js → pty-b26ddj6h.js} +7 -7
  142. package/dist/chunks/{worktree-y52b0xvd.js → pty-b4gxanwm.js} +11 -11
  143. package/dist/chunks/pty-b54npr3t.js +265 -0
  144. package/dist/chunks/{worktree-gb1ff4ap.js → pty-bb3v7csw.js} +39 -39
  145. package/dist/chunks/{worktree-s26c8eb5.js → pty-bhfd478d.js} +4 -4
  146. package/dist/chunks/{worktree-brfdd9qz.js → pty-bkex9085.js} +24 -24
  147. package/dist/chunks/{worktree-sd8pfm1b.js → pty-bpby739f.js} +24 -24
  148. package/dist/chunks/{worktree-4nye5q1n.js → pty-bss83mh3.js} +33 -33
  149. package/dist/chunks/{worktree-bstexjd6.js → pty-bstexjd6.js} +1 -1
  150. package/dist/chunks/{worktree-e4f0vapy.js → pty-cbe0rfx5.js} +39 -39
  151. package/dist/chunks/{worktree-zajhp84f.js → pty-cejnyw8d.js} +15 -15
  152. package/dist/chunks/{worktree-cg3fcpn4.js → pty-ceq6pwch.js} +6 -6
  153. package/dist/chunks/{worktree-ch37w9fq.js → pty-ceqba5fk.js} +6 -6
  154. package/dist/chunks/{worktree-5rxgzxpx.js → pty-cfgfe6qy.js} +6 -6
  155. package/dist/chunks/pty-ckk0m6t8.js +26 -0
  156. package/dist/chunks/{worktree-6javb3e4.js → pty-cvkznf98.js} +11 -11
  157. package/dist/chunks/{worktree-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
  158. package/dist/chunks/{worktree-3gt45yws.js → pty-cyba7k96.js} +23 -23
  159. package/dist/chunks/{worktree-24f2x2dk.js → pty-cype4qj0.js} +8 -8
  160. package/dist/chunks/{worktree-z5dy9mcm.js → pty-d0348f81.js} +28 -28
  161. package/dist/chunks/{worktree-90k5dtdd.js → pty-d0aryzzk.js} +10 -10
  162. package/dist/chunks/{worktree-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
  163. package/dist/chunks/{worktree-ecmwbb5v.js → pty-dgr674m3.js} +7 -7
  164. package/dist/chunks/{worktree-4fm65zrg.js → pty-dngp1z67.js} +23 -23
  165. package/dist/chunks/{worktree-7e0eevm2.js → pty-dqshaehc.js} +18 -18
  166. package/dist/chunks/{worktree-dt77769w.js → pty-dt77769w.js} +1 -1
  167. package/dist/chunks/{worktree-76jjydz9.js → pty-dtcxya6b.js} +195 -195
  168. package/dist/chunks/{worktree-9exxrxam.js → pty-dy9yr7n6.js} +8 -8
  169. package/dist/chunks/{worktree-q2xrrvxt.js → pty-dztdy51g.js} +5 -5
  170. package/dist/chunks/{worktree-pp4f2fj0.js → pty-e122xtr5.js} +8 -8
  171. package/dist/chunks/{worktree-e834z07m.js → pty-e834z07m.js} +1 -1
  172. package/dist/chunks/{worktree-8ps23s3r.js → pty-eet2z5pg.js} +4 -4
  173. package/dist/chunks/{worktree-2djbjr8n.js → pty-eh10xta4.js} +22 -22
  174. package/dist/chunks/{worktree-bqjbz6yh.js → pty-ehzz4f29.js} +14 -14
  175. package/dist/chunks/{worktree-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
  176. package/dist/chunks/{worktree-nkmw6x8p.js → pty-esg4am8y.js} +6 -6
  177. package/dist/chunks/{worktree-86k87xt5.js → pty-ewsep2p7.js} +371 -371
  178. package/dist/chunks/{worktree-64ws81xy.js → pty-f19t754q.js} +9 -9
  179. package/dist/chunks/{worktree-8ptg7hdn.js → pty-f3qa8j51.js} +34 -34
  180. package/dist/chunks/{worktree-7dzfrn01.js → pty-f4p513t7.js} +22 -22
  181. package/dist/chunks/{worktree-pgf5czva.js → pty-fepdw2rr.js} +7 -7
  182. package/dist/chunks/{worktree-fffv3p7h.js → pty-fffv3p7h.js} +1 -1
  183. package/dist/chunks/{worktree-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
  184. package/dist/chunks/{worktree-b6m2m06e.js → pty-fjqbmyx6.js} +18 -18
  185. package/dist/chunks/{worktree-kq17g8gv.js → pty-fk8gtyjw.js} +4 -4
  186. package/dist/chunks/{worktree-mhnvv647.js → pty-fnswmh6e.js} +47 -47
  187. package/dist/chunks/{worktree-p43zptcs.js → pty-fr8k9c85.js} +95 -95
  188. package/dist/chunks/{worktree-m4e3sh4x.js → pty-frxkz94v.js} +9 -9
  189. package/dist/chunks/{worktree-aerrpmfy.js → pty-fs2dvzz7.js} +3 -3
  190. package/dist/chunks/{worktree-dy308w4s.js → pty-fsks4cma.js} +60 -60
  191. package/dist/chunks/{worktree-2gy4tjja.js → pty-fwc2svcw.js} +22 -22
  192. package/dist/chunks/{worktree-n0pmqs7d.js → pty-fyb4e8dn.js} +3 -3
  193. package/dist/chunks/{worktree-bxx79vyn.js → pty-fym87a9z.js} +9 -9
  194. package/dist/chunks/{worktree-g9z7bzmd.js → pty-fz8d4r01.js} +28 -28
  195. package/dist/chunks/{worktree-q8vtkh3p.js → pty-g3jbxykj.js} +3 -3
  196. package/dist/chunks/{worktree-htnqgwg1.js → pty-g3rnwk3w.js} +22 -22
  197. package/dist/chunks/{worktree-m0w1fft5.js → pty-g3vstw99.js} +89 -89
  198. package/dist/chunks/{worktree-vn85b901.js → pty-g6c3fb9v.js} +36 -36
  199. package/dist/chunks/{worktree-dkz3ms8m.js → pty-g6dqhxga.js} +13 -13
  200. package/dist/chunks/{worktree-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
  201. package/dist/chunks/{worktree-203qqadr.js → pty-gdqab8my.js} +5 -5
  202. package/dist/chunks/{worktree-d2q2w57c.js → pty-ge1ywzqw.js} +5 -5
  203. package/dist/chunks/{worktree-3adw4bt5.js → pty-gerka9tj.js} +9 -9
  204. package/dist/chunks/{worktree-sdt5j0rm.js → pty-ghrv1g9c.js} +4 -4
  205. package/dist/chunks/{worktree-tg7s7b5t.js → pty-gxs71cxp.js} +4 -4
  206. package/dist/chunks/{worktree-0ne6p79n.js → pty-gywgbd97.js} +15 -15
  207. package/dist/chunks/{worktree-tqvm73pp.js → pty-h3bhj36x.js} +13 -13
  208. package/dist/chunks/{worktree-vv84mwdr.js → pty-h7y6kpk3.js} +36 -36
  209. package/dist/chunks/{worktree-gshxjf2t.js → pty-haa2gdgc.js} +1 -1
  210. package/dist/chunks/{worktree-pm74ahej.js → pty-hbkh6egr.js} +18 -18
  211. package/dist/chunks/{worktree-kwmph2q0.js → pty-hed8x5pp.js} +20 -20
  212. package/dist/chunks/{worktree-hgzwgvze.js → pty-hgzwgvze.js} +2 -2
  213. package/dist/chunks/{worktree-wjsw3cxz.js → pty-hhhpeewf.js} +18 -18
  214. package/dist/chunks/{worktree-jnd2yggj.js → pty-hksc1h4c.js} +9 -9
  215. package/dist/chunks/{worktree-88grwdsf.js → pty-hvafhk7n.js} +10 -10
  216. package/dist/chunks/{worktree-zkb9xe9g.js → pty-hxe8y6dz.js} +31 -31
  217. package/dist/chunks/{worktree-wbkev1sj.js → pty-hyhbfk1d.js} +12 -12
  218. package/dist/chunks/{worktree-p54rz49h.js → pty-hzd41w0g.js} +41 -41
  219. package/dist/chunks/{worktree-y90ccvgh.js → pty-j76rc6j0.js} +12 -12
  220. package/dist/chunks/{worktree-j9nxzz3g.js → pty-j9nxzz3g.js} +3 -3
  221. package/dist/chunks/{worktree-6qwmnac3.js → pty-jars5984.js} +29 -29
  222. package/dist/chunks/{worktree-gb2tz0v7.js → pty-jdtdxccs.js} +21 -21
  223. package/dist/chunks/{worktree-any1n6rk.js → pty-jjv5dbsr.js} +84 -84
  224. package/dist/chunks/{worktree-k84nyyd0.js → pty-jk53xk4x.js} +19 -19
  225. package/dist/chunks/{worktree-jm70asfg.js → pty-jm70asfg.js} +1 -1
  226. package/dist/chunks/{worktree-scmk72rv.js → pty-jv5ccajn.js} +5 -5
  227. package/dist/chunks/{worktree-9yra9w35.js → pty-jv83zg00.js} +32 -32
  228. package/dist/chunks/{worktree-0na2v0kx.js → pty-jw43pf4q.js} +2 -2
  229. package/dist/chunks/{worktree-w3vqc4ke.js → pty-kg8bz2x9.js} +8 -8
  230. package/dist/chunks/{worktree-vmqe41cb.js → pty-kj9n5bvh.js} +4 -4
  231. package/dist/chunks/{worktree-x7p4v2nc.js → pty-kse531ts.js} +6 -6
  232. package/dist/chunks/{worktree-7hdxzzg1.js → pty-ktgmmb4d.js} +14 -14
  233. package/dist/chunks/{worktree-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
  234. package/dist/chunks/{worktree-m1714858.js → pty-m1714858.js} +1 -1
  235. package/dist/chunks/{worktree-qrs8q7n9.js → pty-m47b2bw1.js} +6 -6
  236. package/dist/chunks/{worktree-betqdr7d.js → pty-m4stcnjn.js} +37 -37
  237. package/dist/chunks/{worktree-msbwm9am.js → pty-m51r4pbd.js} +59 -59
  238. package/dist/chunks/{worktree-shx2t69h.js → pty-m8nksg7b.js} +17 -17
  239. package/dist/chunks/{worktree-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  240. package/dist/chunks/{worktree-mb7mbhnz.js → pty-mb7mbhnz.js} +3 -3
  241. package/dist/chunks/{worktree-df56s2wf.js → pty-mcq5r29y.js} +24 -24
  242. package/dist/chunks/{worktree-mm06edep.js → pty-mm06edep.js} +1 -1
  243. package/dist/chunks/{worktree-qwxe55kh.js → pty-mn8fajdh.js} +16 -16
  244. package/dist/chunks/{worktree-kz03g9q9.js → pty-n106aawh.js} +37 -37
  245. package/dist/chunks/{worktree-47qexrcb.js → pty-n320gsn2.js} +4 -4
  246. package/dist/chunks/{worktree-34gaj1rj.js → pty-nf9c1y2s.js} +27 -27
  247. package/dist/chunks/{worktree-htftdbas.js → pty-npb1cd9b.js} +13 -13
  248. package/dist/chunks/{worktree-f341sazs.js → pty-nt907s04.js} +3 -3
  249. package/dist/chunks/{worktree-be1z6a4n.js → pty-nx29rwgw.js} +44 -44
  250. package/dist/chunks/{worktree-bqkj7jx5.js → pty-nxby5gjy.js} +8 -8
  251. package/dist/chunks/{worktree-qgfj628s.js → pty-p0e36eh4.js} +24 -24
  252. package/dist/chunks/{worktree-w76xjer3.js → pty-p76me67c.js} +4 -4
  253. package/dist/chunks/{worktree-cvvjmy0s.js → pty-pbcbsg1z.js} +14 -14
  254. package/dist/chunks/{worktree-qyn0da8d.js → pty-pg4gvk7m.js} +25 -25
  255. package/dist/chunks/{worktree-pknna89w.js → pty-pknna89w.js} +1 -1
  256. package/dist/chunks/{worktree-yss0fc0k.js → pty-pm9a3we5.js} +4 -4
  257. package/dist/chunks/{worktree-wwg86t57.js → pty-ppmfd51v.js} +47 -47
  258. package/dist/chunks/{worktree-0t1acx1g.js → pty-psbgffb8.js} +8 -8
  259. package/dist/chunks/{worktree-vt2d6wap.js → pty-px7qpgcn.js} +4 -4
  260. package/dist/chunks/{worktree-pxzaa117.js → pty-pxzaa117.js} +1 -1
  261. package/dist/chunks/{worktree-fm4hmcbf.js → pty-q342b858.js} +11 -11
  262. package/dist/chunks/{worktree-918maj3v.js → pty-q9aerynr.js} +8 -8
  263. package/dist/chunks/{worktree-2bzmwc8c.js → pty-q9n4gdzj.js} +16 -16
  264. package/dist/chunks/{worktree-0gmcev4p.js → pty-qkv3rem4.js} +10 -10
  265. package/dist/chunks/{worktree-2bjpcdwq.js → pty-qp0z4bg5.js} +11 -11
  266. package/dist/chunks/{worktree-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
  267. package/dist/chunks/{worktree-gsf1mcs1.js → pty-qte9jbze.js} +23 -23
  268. package/dist/chunks/{worktree-593f2610.js → pty-r7zrbnjn.js} +4 -4
  269. package/dist/chunks/{worktree-06y6qy68.js → pty-rata28ys.js} +12 -12
  270. package/dist/chunks/{worktree-p332nbp2.js → pty-rb71q7y6.js} +44 -44
  271. package/dist/chunks/{worktree-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
  272. package/dist/chunks/{worktree-rgc9cx3e.js → pty-rgc9cx3e.js} +2 -2
  273. package/dist/chunks/{worktree-f8xhtnpd.js → pty-rgz6n6rx.js} +10 -10
  274. package/dist/chunks/{worktree-rt5dr6hb.js → pty-rt5dr6hb.js} +1 -1
  275. package/dist/chunks/{worktree-v3ztkqce.js → pty-rxb1p1s1.js} +7 -7
  276. package/dist/chunks/{worktree-r3434bb1.js → pty-s6edmc55.js} +40 -40
  277. package/dist/chunks/{worktree-ymj14byy.js → pty-s7n17px4.js} +18 -18
  278. package/dist/chunks/{worktree-sbya78hr.js → pty-sbya78hr.js} +1 -1
  279. package/dist/chunks/{worktree-vyk5wav3.js → pty-scjesttz.js} +10 -10
  280. package/dist/chunks/{worktree-7emmk19a.js → pty-sdphcbdy.js} +45 -45
  281. package/dist/chunks/{worktree-gsmn3gxm.js → pty-seytm3nm.js} +15 -15
  282. package/dist/chunks/{worktree-hf6jneh0.js → pty-skz1c840.js} +4 -4
  283. package/dist/chunks/{worktree-f837n8dq.js → pty-sp6fxa1v.js} +5 -5
  284. package/dist/chunks/{worktree-fnm34e0k.js → pty-sp85y8nd.js} +5 -5
  285. package/dist/chunks/{worktree-0j7gp832.js → pty-sqjzf8x2.js} +4 -4
  286. package/dist/chunks/{worktree-6fkpvdwx.js → pty-stavab1t.js} +17 -17
  287. package/dist/chunks/{worktree-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
  288. package/dist/chunks/{worktree-8akjpyn6.js → pty-t48jrnqq.js} +3 -3
  289. package/dist/chunks/{worktree-79mk3d4k.js → pty-t8jwajwe.js} +8 -8
  290. package/dist/chunks/{worktree-tbpn7jtk.js → pty-tbpn7jtk.js} +1 -1
  291. package/dist/chunks/{worktree-ykvdsdrm.js → pty-tbr06ty0.js} +3 -3
  292. package/dist/chunks/{worktree-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
  293. package/dist/chunks/{worktree-69v4073s.js → pty-teqb63yc.js} +2 -2
  294. package/dist/chunks/{worktree-ddvn7d3w.js → pty-tg1vr1qt.js} +8 -8
  295. package/dist/chunks/{worktree-jht64jd1.js → pty-tr8x705m.js} +4 -4
  296. package/dist/chunks/{worktree-p1s6h0e3.js → pty-trznscfr.js} +13 -13
  297. package/dist/chunks/{worktree-twssxy5n.js → pty-twssxy5n.js} +2 -2
  298. package/dist/chunks/{worktree-9jnhvaxx.js → pty-tww72jes.js} +30 -30
  299. package/dist/chunks/{worktree-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{worktree-hn432qw4.js → pty-v3bet1kp.js} +12 -12
  301. package/dist/chunks/{worktree-fr1mmx5p.js → pty-v7mmdcvx.js} +9 -9
  302. package/dist/chunks/{worktree-ztfy9ymt.js → pty-v855rb8b.js} +20 -20
  303. package/dist/chunks/{worktree-ap0byz54.js → pty-vengajp4.js} +6 -6
  304. package/dist/chunks/{worktree-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
  305. package/dist/chunks/{worktree-jgnk4836.js → pty-vytcc3n6.js} +11 -11
  306. package/dist/chunks/{worktree-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/{worktree-wr3re1en.js → pty-w687dnns.js} +4 -4
  308. package/dist/chunks/{worktree-dwd418qm.js → pty-w6dd7dqy.js} +25 -25
  309. package/dist/chunks/{worktree-jepy0x0m.js → pty-w6jv0akn.js} +35 -35
  310. package/dist/chunks/{worktree-9tmrbz05.js → pty-w79yem6f.js} +8 -8
  311. package/dist/chunks/{worktree-kg4exk81.js → pty-w9mgb9cs.js} +1 -1
  312. package/dist/chunks/{worktree-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{worktree-wd87259q.js → pty-wd87259q.js} +1 -1
  314. package/dist/chunks/{worktree-wegkxhrn.js → pty-wegkxhrn.js} +2 -2
  315. package/dist/chunks/{worktree-k3cx6fhe.js → pty-wfdx5ztx.js} +4 -4
  316. package/dist/chunks/{worktree-c7cw818c.js → pty-wt99tj4q.js} +5 -5
  317. package/dist/chunks/{worktree-wvr8xscb.js → pty-wvr8xscb.js} +1 -1
  318. package/dist/chunks/{worktree-d0rayg98.js → pty-wxdqhy8h.js} +41 -41
  319. package/dist/chunks/{worktree-d50vzyxe.js → pty-x29g231t.js} +32 -32
  320. package/dist/chunks/{worktree-2mk49qmx.js → pty-x6nv49v7.js} +12 -12
  321. package/dist/chunks/{worktree-11k30d3q.js → pty-x6ys3mke.js} +26 -26
  322. package/dist/chunks/{worktree-e92yqwkf.js → pty-xa8p5b4w.js} +13 -13
  323. package/dist/chunks/{worktree-m0a7g44c.js → pty-xbvcmb25.js} +18 -18
  324. package/dist/chunks/{worktree-g905b71m.js → pty-xm0ds19w.js} +10 -10
  325. package/dist/chunks/{worktree-bagyajxr.js → pty-xr467vmq.js} +66 -66
  326. package/dist/chunks/{worktree-qqmgvvew.js → pty-xrayn4mq.js} +18 -18
  327. package/dist/chunks/{worktree-mjjmsc0q.js → pty-xw67e2bj.js} +3 -3
  328. package/dist/chunks/{worktree-rh63n522.js → pty-xwat37db.js} +48 -48
  329. package/dist/chunks/{worktree-4xsb4cgd.js → pty-xxp4v5x7.js} +6 -6
  330. package/dist/chunks/{worktree-wwxyxtgy.js → pty-xxs4k7t5.js} +16 -16
  331. package/dist/chunks/{worktree-xxschbft.js → pty-xxschbft.js} +1 -1
  332. package/dist/chunks/{worktree-9gt8dvnd.js → pty-y2nftq3q.js} +19 -19
  333. package/dist/chunks/pty-y32xxt00.js +16 -0
  334. package/dist/chunks/{worktree-mmgdhjjn.js → pty-y3553xwh.js} +20 -20
  335. package/dist/chunks/{worktree-1y0e0ryk.js → pty-y4fhefma.js} +35 -35
  336. package/dist/chunks/{worktree-d5c055qx.js → pty-y8hmd71w.js} +25 -25
  337. package/dist/chunks/{worktree-b4k47k2s.js → pty-y9jn183w.js} +5 -5
  338. package/dist/chunks/{worktree-6fat5w0g.js → pty-yav2mz9j.js} +48 -48
  339. package/dist/chunks/{worktree-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
  340. package/dist/chunks/{worktree-904zz7ha.js → pty-ygrf3vfw.js} +9 -9
  341. package/dist/chunks/{worktree-pt5ehxk6.js → pty-yqvbvejr.js} +25 -25
  342. package/dist/chunks/{worktree-yr705xyq.js → pty-yr705xyq.js} +1 -1
  343. package/dist/chunks/{worktree-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
  344. package/dist/chunks/{worktree-hvqd4bvc.js → pty-yz34gs5w.js} +11 -11
  345. package/dist/chunks/{worktree-mk65jrrt.js → pty-zfst2eag.js} +14 -14
  346. package/dist/chunks/{worktree-by8ty0bx.js → pty-zpdbqgja.js} +4 -4
  347. package/dist/chunks/{worktree-mt8hy3hj.js → pty-ztbk0tnv.js} +4 -4
  348. package/dist/chunks/{worktree-9vjq21ta.js → pty-zwdqw3m7.js} +8 -8
  349. package/dist/chunks/{worktree-q39s8syp.js → pty-zyqshqmw.js} +4 -4
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +7 -7
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +94 -94
  356. package/dist/config/discovery.js +97 -97
  357. package/dist/config/integration.js +1 -1
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +131 -131
  362. package/dist/config/plugin/command.js +238 -238
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +132 -132
  370. package/dist/config/plugin/mcp.js +141 -141
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +132 -132
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +131 -131
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +129 -129
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +94 -94
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +81 -81
  391. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +14 -14
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +108 -108
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +1 -1
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +109 -109
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +85 -85
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +90 -90
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +253 -253
  498. package/dist/filesystem/protected.js +3 -3
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +7 -7
  502. package/dist/filesystem.js +116 -116
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +93 -93
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +118 -118
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +104 -104
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +3 -3
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +95 -95
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +3 -3
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +98 -98
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +185 -185
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +100 -100
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +124 -124
  555. package/dist/mcp/instructions.js +189 -189
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +110 -110
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +106 -106
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +113 -113
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +115 -115
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +93 -93
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +156 -156
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +101 -101
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +85 -85
  577. package/dist/plugin/command.js +117 -117
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +3 -3
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +409 -409
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  605. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  613. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +87 -87
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +419 -419
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +4 -4
  672. package/dist/plugin/websearch/parallel.js +7 -7
  673. package/dist/plugin/websearch/provider.js +1 -1
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +7 -7
  676. package/dist/plugin.js +255 -255
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +8 -8
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +101 -101
  681. package/dist/provider.js +112 -112
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +113 -113
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +99 -99
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +259 -259
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +3 -3
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +173 -173
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +254 -254
  707. package/dist/session/execution.js +169 -169
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +148 -148
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +4 -4
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +169 -169
  718. package/dist/session/model-transport.js +7 -7
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +188 -188
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +87 -87
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +2 -2
  741. package/dist/session/subagent-completion.js +3 -3
  742. package/dist/session/subagent-job.js +233 -233
  743. package/dist/session/system-prompt.js +1 -1
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +251 -251
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +243 -243
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +9 -9
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +154 -154
  757. package/dist/skill.js +161 -161
  758. package/dist/snapshot.js +104 -104
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +188 -188
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +245 -245
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +151 -151
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +243 -243
  776. package/dist/tool/plugin/skill.js +160 -160
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +160 -160
  780. package/dist/tool/plugin/websearch.js +158 -158
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +116 -116
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +161 -161
  787. package/dist/usage-limits.js +94 -94
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +5 -5
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +1 -1
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +99 -99
  807. package/dist/websearch.js +101 -101
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +88 -88
  810. package/dist/workspace/driver.js +3 -3
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +91 -91
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +11 -11
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +111 -111
  818. package/package.json +8 -8
  819. package/dist/chunks/worktree-208nbn7x.js +0 -16
  820. package/dist/chunks/worktree-7yv5xa0k.js +0 -18
  821. package/dist/chunks/worktree-v4e9jq5d.js +0 -26
  822. package/dist/chunks/worktree-z69atzdp.js +0 -265
  823. /package/dist/chunks/{worktree-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  824. /package/dist/chunks/{worktree-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  825. /package/dist/chunks/{worktree-108x4f4w.js → pty-108x4f4w.js} +0 -0
  826. /package/dist/chunks/{worktree-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  827. /package/dist/chunks/{worktree-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  828. /package/dist/chunks/{worktree-1kah00gy.js → pty-1kah00gy.js} +0 -0
  829. /package/dist/chunks/{worktree-24dcb14g.js → pty-24dcb14g.js} +0 -0
  830. /package/dist/chunks/{worktree-2710q6r3.js → pty-2710q6r3.js} +0 -0
  831. /package/dist/chunks/{worktree-2bv980vf.js → pty-2bv980vf.js} +0 -0
  832. /package/dist/chunks/{worktree-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  833. /package/dist/chunks/{worktree-359p4xyc.js → pty-359p4xyc.js} +0 -0
  834. /package/dist/chunks/{worktree-3af0jn4w.js → pty-3af0jn4w.js} +0 -0
  835. /package/dist/chunks/{worktree-3asan66x.js → pty-3asan66x.js} +0 -0
  836. /package/dist/chunks/{worktree-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  837. /package/dist/chunks/{worktree-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  838. /package/dist/chunks/{worktree-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  839. /package/dist/chunks/{worktree-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  840. /package/dist/chunks/{worktree-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
  841. /package/dist/chunks/{worktree-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  842. /package/dist/chunks/{worktree-53557ph1.js → pty-53557ph1.js} +0 -0
  843. /package/dist/chunks/{worktree-550bvhaj.js → pty-550bvhaj.js} +0 -0
  844. /package/dist/chunks/{worktree-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
  845. /package/dist/chunks/{worktree-6agm2x70.js → pty-6agm2x70.js} +0 -0
  846. /package/dist/chunks/{worktree-6prwharc.js → pty-6prwharc.js} +0 -0
  847. /package/dist/chunks/{worktree-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  848. /package/dist/chunks/{worktree-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  849. /package/dist/chunks/{worktree-7m9af43g.js → pty-7m9af43g.js} +0 -0
  850. /package/dist/chunks/{worktree-822emrt2.js → pty-822emrt2.js} +0 -0
  851. /package/dist/chunks/{worktree-84wd9syh.js → pty-84wd9syh.js} +0 -0
  852. /package/dist/chunks/{worktree-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  853. /package/dist/chunks/{worktree-8n3pysct.js → pty-8n3pysct.js} +0 -0
  854. /package/dist/chunks/{worktree-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  855. /package/dist/chunks/{worktree-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  856. /package/dist/chunks/{worktree-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  857. /package/dist/chunks/{worktree-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  858. /package/dist/chunks/{worktree-af5trqkr.js → pty-af5trqkr.js} +0 -0
  859. /package/dist/chunks/{worktree-afrmfg78.js → pty-afrmfg78.js} +0 -0
  860. /package/dist/chunks/{worktree-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  861. /package/dist/chunks/{worktree-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  862. /package/dist/chunks/{worktree-beh6qq61.js → pty-beh6qq61.js} +0 -0
  863. /package/dist/chunks/{worktree-bhmrqjy3.js → pty-bhmrqjy3.js} +0 -0
  864. /package/dist/chunks/{worktree-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  865. /package/dist/chunks/{worktree-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  866. /package/dist/chunks/{worktree-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  867. /package/dist/chunks/{worktree-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
  868. /package/dist/chunks/{worktree-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  869. /package/dist/chunks/{worktree-d9fn303g.js → pty-d9fn303g.js} +0 -0
  870. /package/dist/chunks/{worktree-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  871. /package/dist/chunks/{worktree-dap0rakb.js → pty-dap0rakb.js} +0 -0
  872. /package/dist/chunks/{worktree-df08tz66.js → pty-df08tz66.js} +0 -0
  873. /package/dist/chunks/{worktree-dy18nga0.js → pty-dy18nga0.js} +0 -0
  874. /package/dist/chunks/{worktree-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  875. /package/dist/chunks/{worktree-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
  876. /package/dist/chunks/{worktree-ec1grn59.js → pty-ec1grn59.js} +0 -0
  877. /package/dist/chunks/{worktree-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  878. /package/dist/chunks/{worktree-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  879. /package/dist/chunks/{worktree-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  880. /package/dist/chunks/{worktree-faypxj3z.js → pty-faypxj3z.js} +0 -0
  881. /package/dist/chunks/{worktree-fd410y7t.js → pty-fd410y7t.js} +0 -0
  882. /package/dist/chunks/{worktree-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
  883. /package/dist/chunks/{worktree-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  884. /package/dist/chunks/{worktree-g86h250q.js → pty-g86h250q.js} +0 -0
  885. /package/dist/chunks/{worktree-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  886. /package/dist/chunks/{worktree-gftt206x.js → pty-gftt206x.js} +0 -0
  887. /package/dist/chunks/{worktree-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
  888. /package/dist/chunks/{worktree-hk9envan.js → pty-hk9envan.js} +0 -0
  889. /package/dist/chunks/{worktree-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  890. /package/dist/chunks/{worktree-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  891. /package/dist/chunks/{worktree-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  892. /package/dist/chunks/{worktree-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  893. /package/dist/chunks/{worktree-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  894. /package/dist/chunks/{worktree-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
  895. /package/dist/chunks/{worktree-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  896. /package/dist/chunks/{worktree-m18g726c.js → pty-m18g726c.js} +0 -0
  897. /package/dist/chunks/{worktree-mp448xyj.js → pty-mp448xyj.js} +0 -0
  898. /package/dist/chunks/{worktree-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  899. /package/dist/chunks/{worktree-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  900. /package/dist/chunks/{worktree-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  901. /package/dist/chunks/{worktree-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
  902. /package/dist/chunks/{worktree-njntx4h6.js → pty-njntx4h6.js} +0 -0
  903. /package/dist/chunks/{worktree-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
  904. /package/dist/chunks/{worktree-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  905. /package/dist/chunks/{worktree-q74kybfr.js → pty-q74kybfr.js} +0 -0
  906. /package/dist/chunks/{worktree-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{worktree-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{worktree-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{worktree-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{worktree-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{worktree-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{worktree-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{worktree-syrav9an.js → pty-syrav9an.js} +0 -0
  914. /package/dist/chunks/{worktree-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
  915. /package/dist/chunks/{worktree-ty7weeps.js → pty-ty7weeps.js} +0 -0
  916. /package/dist/chunks/{worktree-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  917. /package/dist/chunks/{worktree-vtarvj67.js → pty-vtarvj67.js} +0 -0
  918. /package/dist/chunks/{worktree-w803qqfp.js → pty-w803qqfp.js} +0 -0
  919. /package/dist/chunks/{worktree-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  920. /package/dist/chunks/{worktree-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  921. /package/dist/chunks/{worktree-wtztk69x.js → pty-wtztk69x.js} +0 -0
  922. /package/dist/chunks/{worktree-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  923. /package/dist/chunks/{worktree-x4th4bpe.js → pty-x4th4bpe.js} +0 -0
  924. /package/dist/chunks/{worktree-x61499pn.js → pty-x61499pn.js} +0 -0
  925. /package/dist/chunks/{worktree-y44na4kk.js → pty-y44na4kk.js} +0 -0
  926. /package/dist/chunks/{worktree-y8f7s663.js → pty-y8f7s663.js} +0 -0
  927. /package/dist/chunks/{worktree-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  928. /package/dist/chunks/{worktree-z0h12gs8.js → pty-z0h12gs8.js} +0 -0
  929. /package/dist/chunks/{worktree-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  930. /package/dist/chunks/{worktree-z9919s4g.js → pty-z9919s4g.js} +0 -0
  931. /package/dist/chunks/{worktree-zxpyjp51.js → pty-zxpyjp51.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service90,
4
- node94
5
- } from "./worktree-580gg2hr.js";
3
+ Service91,
4
+ node95
5
+ } from "./pty-3bzhzpnf.js";
6
6
  import {
7
- Service88,
8
- node92
9
- } from "./worktree-vcgv1jvt.js";
7
+ Service69,
8
+ node71
9
+ } from "./pty-0xgshe2y.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event10,
19
+ Event: () => Event14,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service67,
22
+ Service: () => Service68,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
25
  node: () => node70,
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service67 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service68 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event10 = {
51
+ var Event14 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service67, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service88;
85
- const bus = yield* Service90;
84
+ const kv = yield* Service69;
85
+ const bus = yield* Service91;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
88
88
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event10.Updated, {}, { global: true });
115
+ yield* bus.publish(Event14.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service67.of({
118
+ return Service68.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
127
127
  const origins = yield* readOrigins;
128
128
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
129
129
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
130
- yield* bus.publish(Event10.Updated, {}, { global: true });
130
+ yield* bus.publish(Event14.Updated, {}, { global: true });
131
131
  return entry;
132
132
  }, (effect, _value) => lock.withPermit(effect)),
133
133
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
141
141
  next.delete(origin);
142
142
  return next;
143
143
  });
144
- yield* bus.publish(Event10.Updated, {}, { global: true });
144
+ yield* bus.publish(Event14.Updated, {}, { global: true });
145
145
  }, (effect, _value) => lock.withPermit(effect)),
146
146
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
147
147
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
154
154
  })
155
155
  });
156
156
  }));
157
- var node70 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node92, node94] });
157
+ var node70 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node71, node95] });
158
158
 
159
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event10, inspect2, resolve4, node70, exports_wellknown };
159
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event14, inspect2, resolve4, node70, exports_wellknown };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./worktree-550bvhaj.js";
3
+ } from "./pty-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./worktree-j5zkgpj8.js";
6
+ } from "./pty-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./worktree-3asan66x.js";
9
+ } from "./pty-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./worktree-203qqadr.js";
12
+ } from "./pty-gdqab8my.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./worktree-0ma9gw4f.js";
4
+ } from "./pty-0ma9gw4f.js";
5
5
  import {
6
- Service68,
7
- node71
8
- } from "./worktree-jepy0x0m.js";
6
+ Service83,
7
+ node87
8
+ } from "./pty-w6jv0akn.js";
9
9
  import {
10
- Service52,
11
- node54
12
- } from "./worktree-v5ddwjkq.js";
10
+ Service81,
11
+ node85
12
+ } from "./pty-2n6tcy7a.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./worktree-2fc7eemy.js";
15
+ } from "./pty-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
21
  var exports_generate2 = {};
@@ -25,11 +25,11 @@ __export(exports_generate2, {
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service44,
29
- UnavailableError: () => UnavailableError4,
28
+ Service: () => Service80,
29
+ UnavailableError: () => UnavailableError5,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer20,
32
- node: () => node47
31
+ layer: () => layer26,
32
+ node: () => node84
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service44 extends Context.Service()("@opencode/Generate") {
84
+ class Service80 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer20 = Layer.effect(Service44, Effect.gen(function* () {
86
+ var layer26 = Layer.effect(Service80, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service52;
89
- const models = yield* Service68;
88
+ const resolver = yield* Service81;
89
+ const models = yield* Service83;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer20 = Layer.effect(Service44, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError5({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError5({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(ai.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer20 = Layer.effect(Service44, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
- return Service44.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
166
+ return Service80.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node47 = makeLocationNode({
219
- service: Service44,
220
- layer: layer20,
221
- deps: [node54, node71, llmClient2, requestExecutor2]
218
+ var node84 = makeLocationNode({
219
+ service: Service80,
220
+ layer: layer26,
221
+ deps: [node85, node87, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service44, layer20, node47, exports_generate2 };
224
+ export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service80, layer26, node84, exports_generate2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/model-retry.ts
6
6
  var exports_model_retry = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service90,
3
- node94
4
- } from "./worktree-580gg2hr.js";
2
+ Service91,
3
+ node95
4
+ } from "./pty-3bzhzpnf.js";
5
5
  import {
6
6
  __export
7
- } from "./worktree-9rqn6x4v.js";
7
+ } from "./pty-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event14,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info24,
19
+ ID: () => ID19,
20
+ Info: () => Info28,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError13,
24
24
  Reply: () => Reply3,
25
- Service: () => Service71,
25
+ Service: () => Service86,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
28
  layer: () => layer28,
29
- node: () => node74,
29
+ node: () => node90,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event14 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info24 = Form.Info;
38
+ var ID19 = Form.ID;
39
+ var Info28 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When3 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
47
+ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID19
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID19
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID19
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID19,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service71 extends Context.Service()("@opencode/Form") {
82
+ class Service86 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer28 = Layer.effect(Service71, Effect.gen(function* () {
85
- const bus = yield* Service90;
84
+ var layer28 = Layer.effect(Service86, Effect.gen(function* () {
85
+ const bus = yield* Service91;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID14.create();
93
+ const id = input.id ?? ID19.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service71, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service71.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service86.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node74 = makeLocationNode({ service: Service71, layer: layer28, deps: [node94] });
167
+ var node90 = makeLocationNode({ service: Service86, layer: layer28, deps: [node95] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID14, Info24, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer28, node74, validateAnswer2, validateFields2, exports_form, Event14 };
319
+ export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service86, layer28, node90, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service70,
4
- node73
5
- } from "./worktree-s5qfgb0b.js";
2
+ ID18,
3
+ Service85,
4
+ node89
5
+ } from "./pty-3p62j0nb.js";
6
6
  import {
7
- ID12,
7
+ ID17,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service69,
19
- node72
20
- } from "./worktree-4nye5q1n.js";
18
+ Service84,
19
+ node88
20
+ } from "./pty-bss83mh3.js";
21
21
  import {
22
- Service53,
23
- node55
24
- } from "./worktree-rewxhgdy.js";
22
+ Service82,
23
+ node86
24
+ } from "./pty-9nn8jzqe.js";
25
25
  import {
26
- ID11,
26
+ ID16,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service68,
30
- node71,
29
+ Service83,
30
+ node87,
31
31
  supportsText2
32
- } from "./worktree-jepy0x0m.js";
32
+ } from "./pty-w6jv0akn.js";
33
33
  import {
34
34
  __export
35
- } from "./worktree-9rqn6x4v.js";
35
+ } from "./pty-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service52,
44
+ Service: () => Service81,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer23,
52
- node: () => node54,
51
+ layer: () => layer27,
52
+ node: () => node85,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -66,8 +66,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
66
66
  import { Context, Effect, Layer, Schema, Struct } from "effect";
67
67
  import { Npm } from "@opencode/util/npm";
68
68
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
69
- providerID: ID12,
70
- modelID: ID11,
69
+ providerID: ID17,
70
+ modelID: ID16,
71
71
  variant: VariantID2
72
72
  }) {
73
73
  get message() {
@@ -76,8 +76,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  }
77
77
 
78
78
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
79
- providerID: ID12,
80
- modelID: ID11,
79
+ providerID: ID17,
80
+ modelID: ID16,
81
81
  package: Schema.String
82
82
  }) {
83
83
  get message() {
@@ -87,8 +87,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
88
88
 
89
89
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
90
- providerID: ID12,
91
- modelID: ID11,
90
+ providerID: ID17,
91
+ modelID: ID16,
92
92
  package: Schema.String,
93
93
  detail: Schema.String
94
94
  }) {
@@ -98,8 +98,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
98
98
  }
99
99
 
100
100
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
101
- providerID: ID12,
102
- modelID: ID11,
101
+ providerID: ID17,
102
+ modelID: ID16,
103
103
  package: Schema.String,
104
104
  phase: InitializationPhase2,
105
105
  detail: Schema.String
@@ -110,8 +110,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
110
110
  }
111
111
 
112
112
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
113
- providerID: ID12,
114
- modelID: ID11,
113
+ providerID: ID17,
114
+ modelID: ID16,
115
115
  variables: Schema.Array(Schema.String)
116
116
  }) {
117
117
  get message() {
@@ -120,8 +120,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
120
120
  }
121
121
 
122
122
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
123
- providerID: ID12,
124
- modelID: ID11,
123
+ providerID: ID17,
124
+ modelID: ID16,
125
125
  route: Schema.String
126
126
  }) {
127
127
  get message() {
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
129
129
  }
130
130
  }
131
131
 
132
- class Service52 extends Context.Service()("@opencode/ModelResolver") {
132
+ class Service81 extends Context.Service()("@opencode/ModelResolver") {
133
133
  }
134
134
  var withVariant2 = (model, variantID) => {
135
135
  const id = variantID === "default" ? undefined : variantID;
@@ -273,7 +273,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
273
273
  return tokenSettings(specifier, credential.access);
274
274
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
275
275
  return { auth: "sigv4" };
276
- if (model.providerID === ID12.azure)
276
+ if (model.providerID === ID17.azure)
277
277
  return tokenSettings(specifier, "azure-cli");
278
278
  return {};
279
279
  };
@@ -308,19 +308,19 @@ var causeMessage = (cause) => {
308
308
  };
309
309
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
310
310
  var hasPackage2 = (model) => Boolean(model.package);
311
- var layer23 = Layer.effect(Service52, Effect.gen(function* () {
312
- const providers = yield* Service69;
313
- const models = yield* Service68;
314
- const integrations = yield* Service70;
311
+ var layer27 = Layer.effect(Service81, Effect.gen(function* () {
312
+ const providers = yield* Service84;
313
+ const models = yield* Service83;
314
+ const integrations = yield* Service85;
315
315
  const npm = yield* Npm.Service;
316
- const aisdk = yield* Service53;
316
+ const aisdk = yield* Service82;
317
317
  const dependencies = {
318
318
  loadPackage: (specifier) => loadPackage2(specifier, npm),
319
319
  loadAISDK: (model) => aisdk.model(model)
320
320
  };
321
321
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
322
322
  const provider = yield* providers.get(selected.providerID);
323
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
323
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
324
324
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
325
325
  const selectedVariant = yield* withVariant2(selected, variant);
326
326
  const runtimeInfo = {
@@ -356,7 +356,7 @@ var layer23 = Layer.effect(Service52, Effect.gen(function* () {
356
356
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
357
357
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
358
358
  });
359
- return Service52.of({
359
+ return Service81.of({
360
360
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
361
361
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
362
362
  if (!selected)
@@ -415,10 +415,10 @@ function usesAPIKeyAuth(packageName) {
415
415
  return false;
416
416
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
417
417
  }
418
- var node54 = makeLocationNode({
419
- service: Service52,
420
- layer: layer23,
421
- deps: [node72, node71, node73, Npm.node, node55]
418
+ var node85 = makeLocationNode({
419
+ service: Service81,
420
+ layer: layer27,
421
+ deps: [node88, node87, node89, Npm.node, node86]
422
422
  });
423
423
 
424
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node54, exports_model_resolver };
424
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service81, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer27, node85, exports_model_resolver };
@@ -1,9 +1,9 @@
1
1
  import {
2
- load4
3
- } from "./worktree-jht64jd1.js";
2
+ load3
3
+ } from "./pty-tr8x705m.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/probe.ts
9
9
  var exports_probe = {};
@@ -38,7 +38,7 @@ var run2 = Effect.fn("ClaudeProbe.run")(function* (options) {
38
38
  const stop = Promise.withResolvers();
39
39
  return yield* Effect.acquireUseRelease(Effect.tryPromise({
40
40
  try: async () => {
41
- const { query } = await load4();
41
+ const { query } = await load3();
42
42
  return query({ prompt: waitFor(stop.promise), options: { ...options, persistSession: false } });
43
43
  },
44
44
  catch: (cause) => new ProbeError2({ cause })
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  makeFiles2
3
- } from "./worktree-rgc9cx3e.js";
3
+ } from "./pty-rgc9cx3e.js";
4
4
  import {
5
5
  makeLocalDriver2
6
- } from "./worktree-cwrgdav8.js";
6
+ } from "./pty-cwrgdav8.js";
7
7
  import {
8
- Service84,
9
- node88
10
- } from "./worktree-2bzmwc8c.js";
8
+ Service88,
9
+ node92
10
+ } from "./pty-q9n4gdzj.js";
11
11
  import {
12
- Service83,
13
- node86
14
- } from "./worktree-6qwmnac3.js";
12
+ Service78,
13
+ node81
14
+ } from "./pty-jars5984.js";
15
15
  import {
16
16
  __export
17
- } from "./worktree-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/environment/environment.ts
20
20
  var exports_environment3 = {};
21
21
  __export(exports_environment3, {
22
22
  EnvironmentService: () => exports_environment3,
23
- Service: () => Service82,
24
- node: () => node85
23
+ Service: () => Service77,
24
+ node: () => node80
25
25
  });
26
26
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
27
27
  import { makeLocationNode } from "@opencode/util/effect/app-node";
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
30
- class Service82 extends Context.Service()("@opencode/Environment") {
30
+ class Service77 extends Context.Service()("@opencode/Environment") {
31
31
  }
32
- var layer = Layer.effect(Service82, Effect.gen(function* () {
32
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
33
33
  const spawner = yield* ChildProcessSpawner;
34
- const location = yield* Service84;
35
- const workspace = yield* Service83;
34
+ const location = yield* Service88;
35
+ const workspace = yield* Service78;
36
36
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
37
- return Service82.of({ files: makeFiles2(driver), spawner: driver.spawner });
37
+ return Service77.of({ files: makeFiles2(driver), spawner: driver.spawner });
38
38
  }));
39
- var node85 = makeLocationNode({
40
- service: Service82,
39
+ var node80 = makeLocationNode({
40
+ service: Service77,
41
41
  layer,
42
- deps: [CrossSpawnSpawner.node, node88, node86]
42
+ deps: [CrossSpawnSpawner.node, node92, node81]
43
43
  });
44
44
 
45
- export { Service82, node85, exports_environment3 };
45
+ export { Service77, node80, exports_environment3 };