@opencode/core 0.0.0-dev-1032 → 0.0.0-dev-1035

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 (901) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +244 -244
  7. package/dist/bus.js +86 -86
  8. package/dist/chunks/{persistent-pty-5xfnvs9t.js → session-004vsan7.js} +93 -93
  9. package/dist/chunks/{persistent-pty-aj7mw0zk.js → session-034tev2y.js} +2 -2
  10. package/dist/chunks/{persistent-pty-cwqy654b.js → session-06ans4sc.js} +25 -25
  11. package/dist/chunks/{persistent-pty-zd7gysdr.js → session-07rjnbsc.js} +4 -4
  12. package/dist/chunks/{persistent-pty-w6a4rfzh.js → session-07xjpvws.js} +47 -47
  13. package/dist/chunks/{persistent-pty-dr9jq6ps.js → session-09e9vt85.js} +19 -19
  14. package/dist/chunks/{persistent-pty-0j7gp832.js → session-0j7gp832.js} +1 -1
  15. package/dist/chunks/{persistent-pty-bykntp9t.js → session-0k8n1jvn.js} +155 -155
  16. package/dist/chunks/{persistent-pty-0ma9gw4f.js → session-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{persistent-pty-xe6pezxp.js → session-0mtp185z.js} +5 -5
  18. package/dist/chunks/{persistent-pty-tycv7n3a.js → session-0php2d2a.js} +4 -4
  19. package/dist/chunks/{persistent-pty-69r9trhz.js → session-0xqb3yf3.js} +9 -9
  20. package/dist/chunks/{persistent-pty-05rmg206.js → session-10kj9emf.js} +5 -5
  21. package/dist/chunks/{persistent-pty-8q0qjtas.js → session-11praj1z.js} +10 -10
  22. package/dist/chunks/{persistent-pty-4ed64wak.js → session-129wp8fc.js} +11 -11
  23. package/dist/chunks/{persistent-pty-55g2q5p5.js → session-19gkfjnk.js} +2 -2
  24. package/dist/chunks/{persistent-pty-1aqsckx4.js → session-1aqsckx4.js} +1 -1
  25. package/dist/chunks/{persistent-pty-27w5k9zf.js → session-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{persistent-pty-ny6mnk2g.js → session-1mtmz2ev.js} +15 -15
  27. package/dist/chunks/{persistent-pty-weqc7sb9.js → session-1njtx4es.js} +2 -2
  28. package/dist/chunks/{persistent-pty-73xb0yka.js → session-1r7pcxhb.js} +14 -14
  29. package/dist/chunks/{persistent-pty-msd2a3qm.js → session-1v2g13eq.js} +4 -4
  30. package/dist/chunks/{persistent-pty-1x2knyw4.js → session-1x2knyw4.js} +1 -1
  31. package/dist/chunks/{persistent-pty-fjsbg05v.js → session-214mfmz3.js} +26 -26
  32. package/dist/chunks/{persistent-pty-c5zvymhv.js → session-229tvxdn.js} +4 -4
  33. package/dist/chunks/{persistent-pty-s5zrq09q.js → session-266325jp.js} +8 -8
  34. package/dist/chunks/{persistent-pty-2j4fkh89.js → session-2b0ppgdm.js} +23 -23
  35. package/dist/chunks/{persistent-pty-2fc7eemy.js → session-2fc7eemy.js} +1 -1
  36. package/dist/chunks/{persistent-pty-99dq7pwz.js → session-2hstjc24.js} +18 -18
  37. package/dist/chunks/{persistent-pty-gvm60899.js → session-2nfgxt3t.js} +32 -32
  38. package/dist/chunks/{persistent-pty-2p60zmnr.js → session-2p60zmnr.js} +2 -2
  39. package/dist/chunks/{persistent-pty-n18yd1gk.js → session-2y650p2w.js} +7 -7
  40. package/dist/chunks/{persistent-pty-av2grgkj.js → session-30xjqf5d.js} +3 -3
  41. package/dist/chunks/{persistent-pty-phrewnzr.js → session-33jayjx7.js} +18 -18
  42. package/dist/chunks/{persistent-pty-ms3ackzp.js → session-39xny0z1.js} +7 -7
  43. package/dist/chunks/{persistent-pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{persistent-pty-61c202f5.js → session-3hhxy6qe.js} +7 -7
  45. package/dist/chunks/{persistent-pty-3nnrz6f6.js → session-3nnrz6f6.js} +1 -1
  46. package/dist/chunks/{persistent-pty-r17fbvme.js → session-3qgwywyc.js} +4 -4
  47. package/dist/chunks/{persistent-pty-xmx7xj34.js → session-3ryz99p0.js} +4 -4
  48. package/dist/chunks/{persistent-pty-40y6dtc2.js → session-40y6dtc2.js} +1 -1
  49. package/dist/chunks/{persistent-pty-yz7qpr75.js → session-411pd3fp.js} +6 -6
  50. package/dist/chunks/{persistent-pty-44pmzq9c.js → session-44pmzq9c.js} +2 -2
  51. package/dist/chunks/{persistent-pty-7m7xz3kt.js → session-4585399y.js} +33 -33
  52. package/dist/chunks/{persistent-pty-ar7zn80h.js → session-48yjr85p.js} +27 -27
  53. package/dist/chunks/{persistent-pty-jrfjmkz9.js → session-4ab527s9.js} +22 -22
  54. package/dist/chunks/{persistent-pty-gaczjh3k.js → session-4cza9xhs.js} +25 -25
  55. package/dist/chunks/{persistent-pty-4dx1dgte.js → session-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{persistent-pty-rmy5batf.js → session-4jk35adj.js} +2 -2
  57. package/dist/chunks/{persistent-pty-4tkbxcjd.js → session-4jqbg0vq.js} +13 -13
  58. package/dist/chunks/{persistent-pty-8xb43s2n.js → session-4pk3sz26.js} +11 -11
  59. package/dist/chunks/{persistent-pty-4pyp9zr9.js → session-4pyp9zr9.js} +1 -1
  60. package/dist/chunks/{persistent-pty-4v008n1t.js → session-4v008n1t.js} +1 -1
  61. package/dist/chunks/{persistent-pty-wxs8n6r9.js → session-4wtmbywt.js} +12 -12
  62. package/dist/chunks/{persistent-pty-xnrb1esw.js → session-4yk136rf.js} +80 -80
  63. package/dist/chunks/{persistent-pty-fmdh6ntc.js → session-5404s7cw.js} +9 -9
  64. package/dist/chunks/{persistent-pty-syht00xc.js → session-553wvx7h.js} +21 -21
  65. package/dist/chunks/{persistent-pty-vsn8s1db.js → session-58tb78vh.js} +11 -11
  66. package/dist/chunks/{persistent-pty-w8mjxz1x.js → session-5azktag2.js} +2 -2
  67. package/dist/chunks/{persistent-pty-y2nh019w.js → session-5bpk227z.js} +2 -2
  68. package/dist/chunks/{persistent-pty-4s0af25y.js → session-5bqctfzp.js} +12 -12
  69. package/dist/chunks/{persistent-pty-xv6pghre.js → session-5eaa87dd.js} +3 -3
  70. package/dist/chunks/{persistent-pty-r41sfy63.js → session-5enarcya.js} +9 -9
  71. package/dist/chunks/{persistent-pty-q8epvwh5.js → session-5k9nsk0k.js} +15 -15
  72. package/dist/chunks/{persistent-pty-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  73. package/dist/chunks/{persistent-pty-vmxsyvj6.js → session-5n0rnk8e.js} +4 -4
  74. package/dist/chunks/{persistent-pty-wc1zf1mw.js → session-5vgzxpp6.js} +6 -6
  75. package/dist/chunks/{persistent-pty-s47rahr7.js → session-5whx36p1.js} +4 -4
  76. package/dist/chunks/{persistent-pty-sdwrp5t9.js → session-5xdsncsq.js} +5 -5
  77. package/dist/chunks/{persistent-pty-s5qqf86t.js → session-648tqgk9.js} +20 -20
  78. package/dist/chunks/{persistent-pty-0xt30dj7.js → session-66rjgp0a.js} +9 -9
  79. package/dist/chunks/{persistent-pty-ty8hj3pf.js → session-6acj9vyv.js} +6 -6
  80. package/dist/chunks/{persistent-pty-8z2w2hfr.js → session-6act4pnq.js} +33 -33
  81. package/dist/chunks/{persistent-pty-wzb0nzr7.js → session-6b8e9njp.js} +2 -2
  82. package/dist/chunks/{persistent-pty-y68qyc85.js → session-6bmana56.js} +46 -46
  83. package/dist/chunks/{persistent-pty-wsecr1wj.js → session-6c6y3bjk.js} +44 -44
  84. package/dist/chunks/{persistent-pty-wfd0njk8.js → session-6d7aqqgb.js} +11 -11
  85. package/dist/chunks/{persistent-pty-zeej7hz5.js → session-6jbkmm31.js} +29 -29
  86. package/dist/chunks/{persistent-pty-vwcz1f45.js → session-6y2b864j.js} +7 -7
  87. package/dist/chunks/{persistent-pty-90ej29g3.js → session-73yy6ya2.js} +25 -25
  88. package/dist/chunks/{persistent-pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{persistent-pty-ta65xwbd.js → session-7hrrxk50.js} +13 -13
  90. package/dist/chunks/{persistent-pty-h6rfbwat.js → session-7qyc9z36.js} +9 -9
  91. package/dist/chunks/{persistent-pty-tg1vr1qt.js → session-7tpyp9vw.js} +4 -4
  92. package/dist/chunks/{persistent-pty-7w2ypzdf.js → session-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{persistent-pty-7weczvnd.js → session-7weczvnd.js} +1 -1
  94. package/dist/chunks/{persistent-pty-g6axq7c8.js → session-80m5xgxj.js} +11 -11
  95. package/dist/chunks/{persistent-pty-775hqbnd.js → session-80mg3ag8.js} +3 -3
  96. package/dist/chunks/{persistent-pty-80pdk984.js → session-80pdk984.js} +1 -1
  97. package/dist/chunks/{persistent-pty-85jq8dht.js → session-85jq8dht.js} +1 -1
  98. package/dist/chunks/{persistent-pty-7d9xhrrr.js → session-88rn1gh2.js} +5 -5
  99. package/dist/chunks/{persistent-pty-8a1dtk4b.js → session-898atfjq.js} +17 -17
  100. package/dist/chunks/{persistent-pty-8b3vzgkx.js → session-8b3vzgkx.js} +1 -1
  101. package/dist/chunks/{persistent-pty-q4374hh0.js → session-8g9x758g.js} +13 -13
  102. package/dist/chunks/{persistent-pty-ycmh1q3e.js → session-8jev9a8r.js} +7 -7
  103. package/dist/chunks/{persistent-pty-4xkt0fpb.js → session-8k8vqbkb.js} +11 -11
  104. package/dist/chunks/{persistent-pty-m3j6vy3e.js → session-8njyd3dh.js} +45 -45
  105. package/dist/chunks/{persistent-pty-bb3mmwvh.js → session-8sxe6kv8.js} +2 -2
  106. package/dist/chunks/{persistent-pty-d92j7ps2.js → session-8t0y8k1v.js} +26 -26
  107. package/dist/chunks/{persistent-pty-54kb3r0y.js → session-8wjggt8d.js} +14 -14
  108. package/dist/chunks/{persistent-pty-8wtp7s3z.js → session-8wtp7s3z.js} +1 -1
  109. package/dist/chunks/session-8x060fmy.js +18 -0
  110. package/dist/chunks/{persistent-pty-8zv0xmg5.js → session-8zv0xmg5.js} +1 -1
  111. package/dist/chunks/{persistent-pty-tc6a3jrq.js → session-939bh8jf.js} +5 -5
  112. package/dist/chunks/{persistent-pty-j95aavqs.js → session-9nrp62ew.js} +36 -36
  113. package/dist/chunks/{persistent-pty-v0t96s7a.js → session-9q8g9sv8.js} +4 -4
  114. package/dist/chunks/{persistent-pty-dbatw319.js → session-9rqfe4ad.js} +3 -3
  115. package/dist/chunks/{persistent-pty-kmekj7m2.js → session-9sk33afj.js} +8 -8
  116. package/dist/chunks/{persistent-pty-wcm5dmz2.js → session-a3cxkf77.js} +16 -16
  117. package/dist/chunks/{persistent-pty-g701k7s0.js → session-ad2epmmf.js} +27 -27
  118. package/dist/chunks/{persistent-pty-spg3d6gt.js → session-ad4d2wh0.js} +8 -8
  119. package/dist/chunks/{persistent-pty-m2436x33.js → session-af23tvmx.js} +25 -25
  120. package/dist/chunks/{persistent-pty-pm8j4n8z.js → session-afpmxkn4.js} +11 -11
  121. package/dist/chunks/{persistent-pty-3wy79f45.js → session-ags90a5x.js} +4 -4
  122. package/dist/chunks/{persistent-pty-0aepn986.js → session-akz1y9sa.js} +3 -3
  123. package/dist/chunks/{persistent-pty-ba2680mm.js → session-asdf7mj1.js} +4 -4
  124. package/dist/chunks/{persistent-pty-xw1at7cb.js → session-at0h8jc3.js} +4 -4
  125. package/dist/chunks/{persistent-pty-3cbjf1nt.js → session-ayjs7tqn.js} +2 -2
  126. package/dist/chunks/{persistent-pty-b26ddj6h.js → session-b26ddj6h.js} +4 -4
  127. package/dist/chunks/{persistent-pty-gkh3b8fz.js → session-b2vy73zm.js} +14 -14
  128. package/dist/chunks/{persistent-pty-h28t7544.js → session-b6p6zzas.js} +3 -3
  129. package/dist/chunks/{persistent-pty-pg1md4vx.js → session-bc1z3e6j.js} +16 -16
  130. package/dist/chunks/{persistent-pty-02x640a5.js → session-bc66kjyb.js} +16 -16
  131. package/dist/chunks/{persistent-pty-xd9cc171.js → session-bstexjd6.js} +5 -5
  132. package/dist/chunks/{persistent-pty-zpdbqgja.js → session-by8ty0bx.js} +4 -4
  133. package/dist/chunks/{persistent-pty-vyy6dw9k.js → session-c043ce66.js} +7 -7
  134. package/dist/chunks/{persistent-pty-2xaxmgsp.js → session-c414qtde.js} +13 -13
  135. package/dist/chunks/{persistent-pty-7kd3kb55.js → session-c6zpv22c.js} +18 -18
  136. package/dist/chunks/{persistent-pty-c7cw818c.js → session-c7cw818c.js} +2 -2
  137. package/dist/chunks/{persistent-pty-arjrttjv.js → session-cknfthjh.js} +27 -27
  138. package/dist/chunks/{persistent-pty-n8y2t71q.js → session-cqshfmb3.js} +3 -3
  139. package/dist/chunks/{persistent-pty-m3bwdyvc.js → session-crwcsahh.js} +20 -20
  140. package/dist/chunks/{persistent-pty-4g3sdj5g.js → session-ctmpqb7w.js} +9 -9
  141. package/dist/chunks/{persistent-pty-ebr616tk.js → session-ctst738n.js} +6 -6
  142. package/dist/chunks/{persistent-pty-pha4g85c.js → session-cw35tvbj.js} +14 -14
  143. package/dist/chunks/{persistent-pty-cwrgdav8.js → session-cwrgdav8.js} +2 -2
  144. package/dist/chunks/{persistent-pty-36dpt3f9.js → session-cymgxjg5.js} +13 -13
  145. package/dist/chunks/{persistent-pty-z51dkrce.js → session-d0kwmjpa.js} +10 -10
  146. package/dist/chunks/{persistent-pty-pw9jqd11.js → session-d0sv50r0.js} +36 -36
  147. package/dist/chunks/{persistent-pty-3aq5kzzx.js → session-d300fm4a.js} +33 -33
  148. package/dist/chunks/{persistent-pty-d4v9tmah.js → session-d4v9tmah.js} +2 -2
  149. package/dist/chunks/{persistent-pty-ggh1vzxf.js → session-d51s47ph.js} +12 -12
  150. package/dist/chunks/{persistent-pty-xww8vq85.js → session-d5wtkh1g.js} +25 -25
  151. package/dist/chunks/{persistent-pty-kj3403fm.js → session-d6htae0v.js} +14 -14
  152. package/dist/chunks/{persistent-pty-f33r9zn5.js → session-d6kh3mdg.js} +7 -7
  153. package/dist/chunks/{persistent-pty-e9f91jjt.js → session-d7h608er.js} +34 -34
  154. package/dist/chunks/{persistent-pty-jt10jbkf.js → session-d8ayht3b.js} +21 -21
  155. package/dist/chunks/{persistent-pty-50mnmyd9.js → session-db0t5ekk.js} +1 -1
  156. package/dist/chunks/{persistent-pty-5thev09r.js → session-dbfahj80.js} +8 -8
  157. package/dist/chunks/{persistent-pty-3rmaysnb.js → session-dcfy4m7g.js} +18 -18
  158. package/dist/chunks/{persistent-pty-qgtht8ak.js → session-dd247a9c.js} +59 -59
  159. package/dist/chunks/{persistent-pty-ygyn9pw1.js → session-decz40d6.js} +32 -32
  160. package/dist/chunks/{persistent-pty-rem7qn2m.js → session-dh1dqcs1.js} +4 -4
  161. package/dist/chunks/{persistent-pty-ch55aqef.js → session-drts1hv6.js} +21 -21
  162. package/dist/chunks/{persistent-pty-6v3nz0sg.js → session-dsk6wzvc.js} +10 -10
  163. package/dist/chunks/{persistent-pty-dt77769w.js → session-dt77769w.js} +1 -1
  164. package/dist/chunks/{persistent-pty-72ghnh0f.js → session-dx2d513j.js} +22 -22
  165. package/dist/chunks/{persistent-pty-xynthp8b.js → session-e174pryb.js} +8 -8
  166. package/dist/chunks/{persistent-pty-mqsrdytg.js → session-e2jgqnb2.js} +14 -14
  167. package/dist/chunks/{persistent-pty-w9w8mt4n.js → session-e45fk36t.js} +4 -4
  168. package/dist/chunks/{persistent-pty-yzcavgq9.js → session-e50bnvt6.js} +14 -14
  169. package/dist/chunks/{persistent-pty-ybd7cc9e.js → session-eh1xkk5s.js} +11 -11
  170. package/dist/chunks/{persistent-pty-r45nfa48.js → session-ekhvmsd2.js} +9 -9
  171. package/dist/chunks/{persistent-pty-wkx8cfqz.js → session-ekpkdr4c.js} +6 -6
  172. package/dist/chunks/{persistent-pty-eqw4pqj1.js → session-eqw4pqj1.js} +2 -2
  173. package/dist/chunks/session-evyxtfj4.js +35 -0
  174. package/dist/chunks/{persistent-pty-39j3dj9y.js → session-ez50bbzc.js} +11 -11
  175. package/dist/chunks/{persistent-pty-9npe7we1.js → session-f1xd2d74.js} +28 -28
  176. package/dist/chunks/{persistent-pty-t5n3652n.js → session-f20pwbmj.js} +29 -29
  177. package/dist/chunks/{persistent-pty-nd2qx06s.js → session-f2nzj6et.js} +9 -9
  178. package/dist/chunks/{persistent-pty-fwcjjeez.js → session-f4cstaaw.js} +47 -47
  179. package/dist/chunks/{persistent-pty-s2fyzqp6.js → session-f4ymwd89.js} +5 -5
  180. package/dist/chunks/{persistent-pty-2s9mae96.js → session-f80thpwy.js} +6 -6
  181. package/dist/chunks/{persistent-pty-pa83dvsw.js → session-fa8cqrb6.js} +10 -10
  182. package/dist/chunks/{persistent-pty-fcrd7kek.js → session-fcrd7kek.js} +1 -1
  183. package/dist/chunks/{persistent-pty-052w9z54.js → session-fdm9rnd4.js} +23 -23
  184. package/dist/chunks/{persistent-pty-gk9vpw29.js → session-fjzjq6pd.js} +11 -11
  185. package/dist/chunks/{persistent-pty-w0vng6zx.js → session-fptm8sga.js} +25 -25
  186. package/dist/chunks/{persistent-pty-cs3vapk0.js → session-fr2zrk6t.js} +23 -23
  187. package/dist/chunks/{persistent-pty-pev27ssz.js → session-fs8bmpa7.js} +19 -19
  188. package/dist/chunks/{persistent-pty-b5fbxp4f.js → session-fv1ywcqh.js} +4 -4
  189. package/dist/chunks/{persistent-pty-ds68585e.js → session-fyydvtbx.js} +19 -19
  190. package/dist/chunks/{persistent-pty-ckdg7d4d.js → session-g8skt20n.js} +43 -43
  191. package/dist/chunks/{persistent-pty-ysae8jbx.js → session-gag8qd9r.js} +18 -18
  192. package/dist/chunks/{persistent-pty-gbjdnr5j.js → session-gbjdnr5j.js} +2 -2
  193. package/dist/chunks/session-gdxrvgq0.js +273 -0
  194. package/dist/chunks/{persistent-pty-m0qw8bp9.js → session-gfssdxk4.js} +10 -10
  195. package/dist/chunks/{persistent-pty-ghrv1g9c.js → session-ghrv1g9c.js} +1 -1
  196. package/dist/chunks/{persistent-pty-b1zmcwxq.js → session-gmqpgk4x.js} +9 -9
  197. package/dist/chunks/{persistent-pty-vsm2qhy0.js → session-gpnjexd0.js} +45 -45
  198. package/dist/chunks/{persistent-pty-enbdjs5f.js → session-gr4xz3hj.js} +9 -9
  199. package/dist/chunks/{persistent-pty-tg7s7b5t.js → session-gxs71cxp.js} +4 -4
  200. package/dist/chunks/{persistent-pty-p8pjvayg.js → session-h0h32d3b.js} +3 -3
  201. package/dist/chunks/{persistent-pty-tyhh164w.js → session-h28kg6rh.js} +23 -23
  202. package/dist/chunks/{persistent-pty-axkw7k22.js → session-h2cvrfbc.js} +16 -16
  203. package/dist/chunks/{persistent-pty-x165wbyp.js → session-hcb80m79.js} +10 -10
  204. package/dist/chunks/{persistent-pty-hgzwgvze.js → session-hgzwgvze.js} +2 -2
  205. package/dist/chunks/{persistent-pty-7thzb1bs.js → session-hknxt8c4.js} +22 -22
  206. package/dist/chunks/{persistent-pty-8y4adk89.js → session-hq0c1rnk.js} +12 -12
  207. package/dist/chunks/{persistent-pty-99eawj82.js → session-hwkyjen6.js} +11 -11
  208. package/dist/chunks/{persistent-pty-0kwzp1h3.js → session-hxq9gabx.js} +4 -4
  209. package/dist/chunks/{persistent-pty-3h6zqhk3.js → session-j2trdzaz.js} +52 -52
  210. package/dist/chunks/{persistent-pty-3p3vrp57.js → session-j64r1s95.js} +35 -35
  211. package/dist/chunks/{persistent-pty-twhczwgq.js → session-j7j34wb0.js} +24 -24
  212. package/dist/chunks/{persistent-pty-z5hjdsb2.js → session-j7mncw5t.js} +35 -35
  213. package/dist/chunks/{persistent-pty-3c49005s.js → session-j99pe2cq.js} +41 -41
  214. package/dist/chunks/{persistent-pty-sgfnyq3m.js → session-jk83d3q9.js} +11 -11
  215. package/dist/chunks/{persistent-pty-yswt24xe.js → session-jkyac8e3.js} +5 -5
  216. package/dist/chunks/{persistent-pty-jm70asfg.js → session-jm70asfg.js} +1 -1
  217. package/dist/chunks/{persistent-pty-mj7rnnrd.js → session-jtebxeh8.js} +26 -26
  218. package/dist/chunks/{persistent-pty-t8erkws8.js → session-jv5ccajn.js} +5 -5
  219. package/dist/chunks/{persistent-pty-13s9knam.js → session-k0zef275.js} +35 -35
  220. package/dist/chunks/session-k3w9j0e6.js +26 -0
  221. package/dist/chunks/{persistent-pty-fzvzvf7m.js → session-k40n0ez3.js} +30 -30
  222. package/dist/chunks/{persistent-pty-yc0zpe5z.js → session-k9s2myw9.js} +12 -12
  223. package/dist/chunks/{persistent-pty-66bn7b26.js → session-ka0gdbz1.js} +6 -6
  224. package/dist/chunks/{persistent-pty-bq5mnsak.js → session-kfn62fte.js} +18 -18
  225. package/dist/chunks/{persistent-pty-kt3bjfbg.js → session-kt3bjfbg.js} +1 -1
  226. package/dist/chunks/{persistent-pty-y5ydw4mn.js → session-kwc19p6y.js} +29 -29
  227. package/dist/chunks/{persistent-pty-kzczzf4v.js → session-kzczzf4v.js} +1 -1
  228. package/dist/chunks/{persistent-pty-1q07fp1w.js → session-kze6nzna.js} +7 -7
  229. package/dist/chunks/{persistent-pty-m1714858.js → session-m1714858.js} +1 -1
  230. package/dist/chunks/{persistent-pty-qz9v9b44.js → session-m4wkk3mm.js} +12 -12
  231. package/dist/chunks/{persistent-pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  232. package/dist/chunks/{persistent-pty-8z6m94af.js → session-mb7mbhnz.js} +3 -3
  233. package/dist/chunks/{persistent-pty-e5per85x.js → session-mm4ngpvd.js} +16 -16
  234. package/dist/chunks/{persistent-pty-20apqqgx.js → session-mr3tbpza.js} +19 -19
  235. package/dist/chunks/{persistent-pty-mjncsf6d.js → session-mt573a97.js} +20 -20
  236. package/dist/chunks/{persistent-pty-hj7m51sm.js → session-mx33avyk.js} +15 -15
  237. package/dist/chunks/{persistent-pty-0dbea112.js → session-mxzn1egb.js} +27 -27
  238. package/dist/chunks/{persistent-pty-j6kp0q3a.js → session-mz9snk5v.js} +4 -4
  239. package/dist/chunks/{persistent-pty-f6krd2ps.js → session-n0j2tacc.js} +9 -9
  240. package/dist/chunks/{persistent-pty-xex4k2qj.js → session-n1t648g8.js} +35 -35
  241. package/dist/chunks/{persistent-pty-n3j33rb6.js → session-n3j33rb6.js} +1 -1
  242. package/dist/chunks/{persistent-pty-vqvjgts4.js → session-nc0zb0vg.js} +40 -40
  243. package/dist/chunks/{persistent-pty-7wt2j25k.js → session-nqzd7fjx.js} +11 -11
  244. package/dist/chunks/{persistent-pty-yg04shzz.js → session-nt4h2hq7.js} +11 -11
  245. package/dist/chunks/{persistent-pty-bqtkhzzp.js → session-ntwg0xza.js} +5 -5
  246. package/dist/chunks/{persistent-pty-y9hymxjv.js → session-p03e3ka6.js} +4 -4
  247. package/dist/chunks/{persistent-pty-p7vhpwh8.js → session-p7vhpwh8.js} +1 -1
  248. package/dist/chunks/{persistent-pty-7906w3qj.js → session-pewt5hyp.js} +36 -36
  249. package/dist/chunks/{persistent-pty-jvna2xk7.js → session-pfkqc1qn.js} +16 -16
  250. package/dist/chunks/{persistent-pty-ytgt8nph.js → session-pj4vbncy.js} +17 -17
  251. package/dist/chunks/{persistent-pty-pknna89w.js → session-pknna89w.js} +1 -1
  252. package/dist/chunks/{persistent-pty-fg9p65nk.js → session-prq7xxp2.js} +6 -6
  253. package/dist/chunks/{persistent-pty-xy9cmw47.js → session-pz47eqtp.js} +41 -41
  254. package/dist/chunks/{persistent-pty-55mce0kc.js → session-pz8cf33p.js} +32 -32
  255. package/dist/chunks/{persistent-pty-67mr8n5m.js → session-pzjm16t0.js} +3 -3
  256. package/dist/chunks/{persistent-pty-54d1fxz7.js → session-q2ppftd2.js} +26 -26
  257. package/dist/chunks/{persistent-pty-q42tzrxa.js → session-q42tzrxa.js} +1 -1
  258. package/dist/chunks/session-q7r4dzd0.js +577 -0
  259. package/dist/chunks/{persistent-pty-nm6gbtbr.js → session-qawts5ky.js} +4 -4
  260. package/dist/chunks/{persistent-pty-529v019t.js → session-qb5hzfck.js} +32 -32
  261. package/dist/chunks/{persistent-pty-6nqa5c8e.js → session-qg74nxhh.js} +29 -29
  262. package/dist/chunks/{persistent-pty-efq2r9mz.js → session-qjfqcjef.js} +19 -19
  263. package/dist/chunks/{persistent-pty-qp7r0hxv.js → session-qp7r0hxv.js} +1 -1
  264. package/dist/chunks/{persistent-pty-gb55vkr1.js → session-qqxn877c.js} +13 -13
  265. package/dist/chunks/{persistent-pty-vhnx89g9.js → session-qrhraqvg.js} +6 -6
  266. package/dist/chunks/{persistent-pty-4f25tdd0.js → session-r542h3bh.js} +5 -5
  267. package/dist/chunks/{persistent-pty-rb9dy4dg.js → session-rb9dy4dg.js} +1 -1
  268. package/dist/chunks/{persistent-pty-qa0vgdwz.js → session-rc5gsvhr.js} +19 -19
  269. package/dist/chunks/{persistent-pty-9mhjgwg6.js → session-rceqhxez.js} +8 -8
  270. package/dist/chunks/{persistent-pty-rgc9cx3e.js → session-rgc9cx3e.js} +2 -2
  271. package/dist/chunks/{persistent-pty-94e33dpz.js → session-rj7jtxy8.js} +3 -3
  272. package/dist/chunks/{persistent-pty-q2m9hkf6.js → session-rnbfpsbe.js} +29 -29
  273. package/dist/chunks/{persistent-pty-nyg080gc.js → session-s8bpvz2e.js} +9 -9
  274. package/dist/chunks/{persistent-pty-fqzc6vv2.js → session-s8rmvscc.js} +25 -25
  275. package/dist/chunks/{persistent-pty-q4dd99bp.js → session-s968vkjm.js} +26 -26
  276. package/dist/chunks/{persistent-pty-sbya78hr.js → session-sbya78hr.js} +1 -1
  277. package/dist/chunks/{persistent-pty-anvcme1c.js → session-sf9y72b7.js} +4 -4
  278. package/dist/chunks/{persistent-pty-5m6a7xby.js → session-sq4s6wq1.js} +6 -6
  279. package/dist/chunks/{persistent-pty-svcy3p9a.js → session-svcy3p9a.js} +1 -1
  280. package/dist/chunks/{persistent-pty-ef9rmxvn.js → session-t58ysrjg.js} +10 -10
  281. package/dist/chunks/{persistent-pty-3c8g2tnf.js → session-t78nftqh.js} +5 -5
  282. package/dist/chunks/{persistent-pty-q2wvz720.js → session-tbd4er4q.js} +6 -6
  283. package/dist/chunks/{persistent-pty-tbpn7jtk.js → session-tbpn7jtk.js} +1 -1
  284. package/dist/chunks/{persistent-pty-tczq8hjw.js → session-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{persistent-pty-tr8x705m.js → session-tr8x705m.js} +1 -1
  286. package/dist/chunks/{persistent-pty-9xd27y89.js → session-tsbe1gfb.js} +6 -6
  287. package/dist/chunks/{persistent-pty-xcj8ebhb.js → session-ttcdv07e.js} +10 -10
  288. package/dist/chunks/{persistent-pty-tvtps2q9.js → session-tvtps2q9.js} +1 -1
  289. package/dist/chunks/{persistent-pty-266besvt.js → session-tvzcr0s1.js} +16 -16
  290. package/dist/chunks/{persistent-pty-twssxy5n.js → session-twssxy5n.js} +2 -2
  291. package/dist/chunks/{persistent-pty-v2r1d0zg.js → session-v2r1d0zg.js} +1 -1
  292. package/dist/chunks/{persistent-pty-dkpjsqx5.js → session-v75htaq3.js} +6 -6
  293. package/dist/chunks/{persistent-pty-x9q7tyzk.js → session-vahc30mb.js} +11 -11
  294. package/dist/chunks/{persistent-pty-zkm723st.js → session-vd24h3x2.js} +15 -15
  295. package/dist/chunks/{persistent-pty-s5k2yxe7.js → session-ve14sg7r.js} +22 -22
  296. package/dist/chunks/{persistent-pty-5fv5qszf.js → session-vg8592v2.js} +10 -10
  297. package/dist/chunks/{persistent-pty-vjf35v1f.js → session-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{persistent-pty-hj0xet7m.js → session-vjhrddsw.js} +5 -5
  299. package/dist/chunks/{persistent-pty-wzfa06mn.js → session-vmqe41cb.js} +4 -4
  300. package/dist/chunks/{persistent-pty-b1h36zfr.js → session-vpb4v2jf.js} +7 -7
  301. package/dist/chunks/{persistent-pty-zbnt2kpn.js → session-vqqj8dcy.js} +14 -14
  302. package/dist/chunks/{persistent-pty-02sw5z67.js → session-vt5ka884.js} +19 -19
  303. package/dist/chunks/{persistent-pty-1yyk7nd3.js → session-vx2sy5jh.js} +27 -27
  304. package/dist/chunks/{persistent-pty-ydbwe5aa.js → session-vxwy7evn.js} +7 -7
  305. package/dist/chunks/{persistent-pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{persistent-pty-wakvkjy4.js → session-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{persistent-pty-2naa2pyn.js → session-wanqqa17.js} +20 -20
  308. package/dist/chunks/{persistent-pty-wd87259q.js → session-wd87259q.js} +1 -1
  309. package/dist/chunks/{persistent-pty-3m0b6qpz.js → session-wdt6k690.js} +47 -47
  310. package/dist/chunks/{persistent-pty-nx4vzyjd.js → session-wegkxhrn.js} +2 -2
  311. package/dist/chunks/{persistent-pty-eyg57hv5.js → session-weh8csvj.js} +1 -1
  312. package/dist/chunks/{persistent-pty-wfdx5ztx.js → session-wfdx5ztx.js} +1 -1
  313. package/dist/chunks/{persistent-pty-9ct73esb.js → session-wjcvrq0c.js} +34 -34
  314. package/dist/chunks/{persistent-pty-4159fx6g.js → session-wn79rs8n.js} +39 -39
  315. package/dist/chunks/{persistent-pty-7csf6rvh.js → session-wq13t35g.js} +15 -15
  316. package/dist/chunks/{persistent-pty-wr3re1en.js → session-wr3re1en.js} +1 -1
  317. package/dist/chunks/{persistent-pty-ghdv7bgm.js → session-x1rw5a29.js} +16 -16
  318. package/dist/chunks/{persistent-pty-8xfrfp31.js → session-x6g1tf2c.js} +15 -15
  319. package/dist/chunks/{persistent-pty-fhsyb8a2.js → session-xaej0n6x.js} +21 -21
  320. package/dist/chunks/{persistent-pty-cbyt66wj.js → session-xd14w7b3.js} +2 -2
  321. package/dist/chunks/{persistent-pty-j5k2q35g.js → session-xgdc9yd3.js} +5 -5
  322. package/dist/chunks/{persistent-pty-gerka9tj.js → session-xjbsd7zy.js} +9 -9
  323. package/dist/chunks/{persistent-pty-tjvb8cdj.js → session-xkkxtad0.js} +9 -9
  324. package/dist/chunks/{persistent-pty-6dwjhfha.js → session-xpaagfnw.js} +8 -8
  325. package/dist/chunks/{persistent-pty-wma4bvzc.js → session-xqf2pqdp.js} +57 -57
  326. package/dist/chunks/{persistent-pty-kx5zn6kr.js → session-xr1yr3wg.js} +11 -11
  327. package/dist/chunks/{persistent-pty-yqzk7gxy.js → session-xsq9ft9s.js} +7 -7
  328. package/dist/chunks/{persistent-pty-d8p3t516.js → session-xsvq7cjt.js} +4 -4
  329. package/dist/chunks/session-xtyr0vxr.js +16 -0
  330. package/dist/chunks/{persistent-pty-6166w2t8.js → session-xvb81xa7.js} +11 -11
  331. package/dist/chunks/{persistent-pty-1ghd4wvb.js → session-xwvxhq05.js} +12 -12
  332. package/dist/chunks/{persistent-pty-xjr6c8m4.js → session-xxschbft.js} +4 -4
  333. package/dist/chunks/{persistent-pty-z1w6mwej.js → session-y7zm3j6b.js} +36 -36
  334. package/dist/chunks/{persistent-pty-yb20nhc3.js → session-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{persistent-pty-m528r48h.js → session-yh1frphp.js} +4 -4
  336. package/dist/chunks/{persistent-pty-yr705xyq.js → session-yr705xyq.js} +1 -1
  337. package/dist/chunks/{persistent-pty-babktaw3.js → session-yts2a8qm.js} +4 -4
  338. package/dist/chunks/{persistent-pty-yvtc2x31.js → session-yvtc2x31.js} +1 -1
  339. package/dist/chunks/{persistent-pty-479eyxvy.js → session-ywthjcrc.js} +14 -14
  340. package/dist/chunks/{persistent-pty-w5f4t4jj.js → session-yx92g8n9.js} +11 -11
  341. package/dist/chunks/{persistent-pty-gj5mtfrs.js → session-yy75hewy.js} +39 -39
  342. package/dist/chunks/{persistent-pty-6kvezxzn.js → session-z58kxkzk.js} +84 -84
  343. package/dist/chunks/{persistent-pty-j9nxzz3g.js → session-ze75qvmd.js} +3 -3
  344. package/dist/chunks/{persistent-pty-xq3kv1yr.js → session-zpemznmz.js} +13 -13
  345. package/dist/chunks/{persistent-pty-daccadq3.js → session-zpmv3r1q.js} +29 -29
  346. package/dist/chunks/{persistent-pty-nw5eecxx.js → session-zzxsfh0g.js} +1 -1
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  349. package/dist/codemode/fetch.js +148 -148
  350. package/dist/codemode/instructions.js +9 -9
  351. package/dist/codemode/tool.js +155 -155
  352. package/dist/command.js +94 -94
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +3 -3
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +133 -133
  359. package/dist/config/plugin/command.js +240 -240
  360. package/dist/config/plugin/compaction.js +173 -173
  361. package/dist/config/plugin/compatibility.js +153 -153
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +130 -130
  367. package/dist/config/plugin/mcp.js +145 -145
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +130 -130
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +132 -132
  372. package/dist/config/plugin/skill-file.js +149 -149
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +156 -156
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +132 -132
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +131 -131
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +133 -133
  383. package/dist/console-access.js +1 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +90 -90
  386. package/dist/database/batch.js +1 -1
  387. package/dist/database/database.js +77 -77
  388. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  389. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  390. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  391. package/dist/database/drizzle/index.js +15 -15
  392. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  395. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  396. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  397. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  402. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  403. package/dist/database/drizzle.js +16 -16
  404. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  405. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  406. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  407. package/dist/database/migration/20260225215848_workspace.js +1 -1
  408. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  409. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  410. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  411. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  412. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  413. package/dist/database/migration/20260323234822_events.js +1 -1
  414. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  415. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  416. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  417. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  418. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  419. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  420. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  421. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  422. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  423. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  424. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  425. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  426. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  427. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  428. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  429. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  430. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  431. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  432. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  433. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  434. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  435. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  436. package/dist/database/migration/20260611035744_credential.js +1 -1
  437. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  438. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  439. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  440. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  441. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  442. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  443. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  444. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  445. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  446. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  447. package/dist/database/migration/20260812213948_worktree.js +1 -1
  448. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  449. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  450. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  451. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  452. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  453. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  454. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  455. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  456. package/dist/database/migration/20261025123711_blob.js +1 -1
  457. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  458. package/dist/database/migration/20261026223005_schedule.js +1 -1
  459. package/dist/database/migration/20261029002625_session_part.js +1 -1
  460. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  461. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  462. package/dist/database/migration/20261030054400_job.js +1 -1
  463. package/dist/database/migration.gen.js +60 -60
  464. package/dist/database/migration.js +76 -76
  465. package/dist/database/path.js +2 -2
  466. package/dist/database/schema.gen.js +1 -1
  467. package/dist/database/schema.sql.js +1 -1
  468. package/dist/database/v1-migration.bun.js +111 -103
  469. package/dist/database/v1-migration.js +5 -4
  470. package/dist/effect/app-node-builder.js +441 -441
  471. package/dist/effect/app-node-platform.js +2 -2
  472. package/dist/effect/keyed-mutex.js +3 -3
  473. package/dist/effect/websocket-constructor.js +1 -1
  474. package/dist/environment/driver.js +1 -1
  475. package/dist/environment/environment.js +105 -105
  476. package/dist/environment/exec-defaults.js +2 -2
  477. package/dist/environment/files.js +1 -1
  478. package/dist/environment/index.js +107 -107
  479. package/dist/environment/local.js +2 -2
  480. package/dist/environment/memory.js +2 -2
  481. package/dist/environment/unavailable.js +1 -1
  482. package/dist/event/sql.js +1 -1
  483. package/dist/event-logger.js +85 -85
  484. package/dist/file-access.js +160 -160
  485. package/dist/file-mutation.js +106 -106
  486. package/dist/file-retention.js +1 -1
  487. package/dist/file-write.js +164 -164
  488. package/dist/filesystem/fff.bun.js +2 -2
  489. package/dist/filesystem/fff.js +1 -1
  490. package/dist/filesystem/fff.node.js +2 -2
  491. package/dist/filesystem/fff.workerd.js +2 -2
  492. package/dist/filesystem/file-watch.js +91 -91
  493. package/dist/filesystem/location-watcher-policy.js +6 -6
  494. package/dist/filesystem/location-watcher.js +251 -251
  495. package/dist/filesystem/protected.js +1 -1
  496. package/dist/filesystem/search.js +113 -113
  497. package/dist/filesystem/watcher-binding.js +1 -1
  498. package/dist/filesystem/watcher.js +11 -11
  499. package/dist/filesystem.js +116 -116
  500. package/dist/flag.js +135 -135
  501. package/dist/form.js +93 -93
  502. package/dist/formatter/builtins.js +4 -4
  503. package/dist/formatter.js +100 -100
  504. package/dist/generate.js +120 -120
  505. package/dist/git.js +11 -11
  506. package/dist/github-copilot/models.js +112 -112
  507. package/dist/image/notice.js +1 -1
  508. package/dist/image/photon-normalize.js +1 -1
  509. package/dist/image/photon-worker.js +1 -1
  510. package/dist/image/photon.js +4 -4
  511. package/dist/image.js +6 -6
  512. package/dist/instance/service.js +5 -5
  513. package/dist/instance.js +432 -432
  514. package/dist/instruction-discovery.js +95 -95
  515. package/dist/instructions/builtins.js +100 -100
  516. package/dist/instructions/index.js +1 -1
  517. package/dist/integration/connection.js +1 -1
  518. package/dist/integration.js +92 -92
  519. package/dist/job/list.js +5 -5
  520. package/dist/job/recovery.js +2 -2
  521. package/dist/job/sql.js +2 -2
  522. package/dist/job.js +88 -88
  523. package/dist/kv/sql.js +2 -2
  524. package/dist/kv.js +84 -84
  525. package/dist/location-activity.js +185 -185
  526. package/dist/location-lifecycle.js +153 -153
  527. package/dist/location-service-map.js +99 -99
  528. package/dist/location-services.js +429 -429
  529. package/dist/location.js +98 -98
  530. package/dist/managed-policy.js +3 -3
  531. package/dist/mcp/client.js +158 -158
  532. package/dist/mcp/connection.js +104 -104
  533. package/dist/mcp/index.js +122 -122
  534. package/dist/mcp/instructions.js +189 -189
  535. package/dist/mcp/oauth.js +86 -86
  536. package/dist/mcp/pool.js +112 -112
  537. package/dist/mcp/socket-client.js +1 -1
  538. package/dist/mcp/stdio.js +157 -157
  539. package/dist/mime.js +1 -1
  540. package/dist/modal/models.js +112 -112
  541. package/dist/model-resolver.js +112 -112
  542. package/dist/model-retry.js +1 -1
  543. package/dist/model.js +105 -105
  544. package/dist/models-dev/v1.js +1 -1
  545. package/dist/models-dev.js +121 -121
  546. package/dist/oauth/page.js +1 -1
  547. package/dist/permission/saved.js +93 -93
  548. package/dist/permission/sql.js +5 -5
  549. package/dist/permission.js +154 -154
  550. package/dist/persistent-pty/binary.bun.js +1 -1
  551. package/dist/persistent-pty/daemon.js +1 -1
  552. package/dist/persistent-pty/index.js +101 -101
  553. package/dist/persistent-pty/pty-binding.js +1 -1
  554. package/dist/persistent-pty.js +86 -86
  555. package/dist/plugin/agent.js +87 -87
  556. package/dist/plugin/command.js +119 -119
  557. package/dist/plugin/goal.js +3 -3
  558. package/dist/plugin/hooks.js +5 -5
  559. package/dist/plugin/host.js +244 -244
  560. package/dist/plugin/identity.js +5 -5
  561. package/dist/plugin/instance.js +3 -3
  562. package/dist/plugin/internal.js +410 -410
  563. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  564. package/dist/plugin/models-dev.js +110 -110
  565. package/dist/plugin/module.js +129 -129
  566. package/dist/plugin/optimize.js +4 -4
  567. package/dist/plugin/plan.js +147 -147
  568. package/dist/plugin/promise.js +1 -1
  569. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  570. package/dist/plugin/provider/azure.js +133 -133
  571. package/dist/plugin/provider/cerebras.js +1 -1
  572. package/dist/plugin/provider/chatgpt.js +133 -133
  573. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  574. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  575. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  576. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  577. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  578. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  579. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  580. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  581. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  582. package/dist/plugin/provider/claude-agent/index.js +148 -148
  583. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  584. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  585. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  586. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  587. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  588. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  589. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  591. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  592. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  593. package/dist/plugin/provider/claude-agent/session.js +112 -112
  594. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  595. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  596. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  597. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  598. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  599. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  600. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  601. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  604. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  605. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  606. package/dist/plugin/provider/configured.js +126 -126
  607. package/dist/plugin/provider/credential-settings.js +88 -88
  608. package/dist/plugin/provider/databricks.js +1 -1
  609. package/dist/plugin/provider/digitalocean.js +109 -109
  610. package/dist/plugin/provider/dynamic.js +2 -2
  611. package/dist/plugin/provider/github-copilot.js +111 -111
  612. package/dist/plugin/provider/gitlab.js +109 -109
  613. package/dist/plugin/provider/google-vertex.js +127 -127
  614. package/dist/plugin/provider/kilo.js +1 -1
  615. package/dist/plugin/provider/llmgateway.js +89 -89
  616. package/dist/plugin/provider/lmstudio.js +140 -140
  617. package/dist/plugin/provider/local.js +137 -137
  618. package/dist/plugin/provider/modal.js +108 -108
  619. package/dist/plugin/provider/neon.js +1 -1
  620. package/dist/plugin/provider/nvidia.js +1 -1
  621. package/dist/plugin/provider/ollama.js +140 -140
  622. package/dist/plugin/provider/openai-context-caps.js +106 -106
  623. package/dist/plugin/provider/openai.js +135 -135
  624. package/dist/plugin/provider/opencode-watches.js +4 -4
  625. package/dist/plugin/provider/opencode.js +161 -161
  626. package/dist/plugin/provider/openrouter.js +104 -104
  627. package/dist/plugin/provider/poe.js +90 -90
  628. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  629. package/dist/plugin/provider/refresh.js +87 -87
  630. package/dist/plugin/provider/sap-ai-core.js +104 -104
  631. package/dist/plugin/provider/sdk-factory.js +1 -1
  632. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  633. package/dist/plugin/provider/vllm.js +140 -140
  634. package/dist/plugin/provider/xai.js +104 -104
  635. package/dist/plugin/provider/zenmux.js +1 -1
  636. package/dist/plugin/provider.js +239 -239
  637. package/dist/plugin/sdk.js +87 -87
  638. package/dist/plugin/service.js +3 -3
  639. package/dist/plugin/skill.js +150 -150
  640. package/dist/plugin/source-directory.js +1 -1
  641. package/dist/plugin/supervisor.js +420 -420
  642. package/dist/plugin/tool-input-repair.js +4 -4
  643. package/dist/plugin/update.js +6 -6
  644. package/dist/plugin/vcs/git.js +99 -99
  645. package/dist/plugin/vcs/hg.js +99 -99
  646. package/dist/plugin/verbosity.js +106 -106
  647. package/dist/plugin/warming.js +130 -130
  648. package/dist/plugin/websearch/exa.js +8 -8
  649. package/dist/plugin/websearch/firecrawl.js +7 -7
  650. package/dist/plugin/websearch/index.js +10 -10
  651. package/dist/plugin/websearch/mcp.js +6 -6
  652. package/dist/plugin/websearch/parallel.js +9 -9
  653. package/dist/plugin/websearch/provider.js +3 -3
  654. package/dist/plugin/websearch/tavily.js +7 -7
  655. package/dist/plugin/websearch/tinyfish.js +9 -9
  656. package/dist/plugin.js +255 -255
  657. package/dist/project/icon.js +5 -5
  658. package/dist/project/schema.js +4 -4
  659. package/dist/project/sql.js +4 -4
  660. package/dist/project.js +99 -99
  661. package/dist/provider.js +106 -106
  662. package/dist/pty/protocol.js +1 -1
  663. package/dist/pty/ticket.js +1 -1
  664. package/dist/pty.js +113 -113
  665. package/dist/reference/instructions.js +101 -101
  666. package/dist/reference.js +101 -101
  667. package/dist/repository-cache.js +93 -93
  668. package/dist/repository.js +3 -3
  669. package/dist/ripgrep/binary.js +2 -2
  670. package/dist/ripgrep.js +109 -109
  671. package/dist/rpc.js +99 -99
  672. package/dist/schedule/check.js +249 -249
  673. package/dist/schedule/sql.js +6 -6
  674. package/dist/schedule.js +263 -263
  675. package/dist/schema.js +1 -1
  676. package/dist/session/affinity.js +1 -1
  677. package/dist/session/background.js +3 -3
  678. package/dist/session/blob.js +132 -132
  679. package/dist/session/command.js +85 -85
  680. package/dist/session/compaction.js +175 -175
  681. package/dist/session/context.js +205 -205
  682. package/dist/session/diff.js +101 -101
  683. package/dist/session/environment.js +5 -5
  684. package/dist/session/error.js +5 -5
  685. package/dist/session/event.js +1 -1
  686. package/dist/session/execution/restart.js +250 -250
  687. package/dist/session/execution.js +171 -171
  688. package/dist/session/generate.js +206 -206
  689. package/dist/session/history.js +139 -139
  690. package/dist/session/inbox.js +148 -148
  691. package/dist/session/info.js +3 -3
  692. package/dist/session/instruction-entry.js +90 -90
  693. package/dist/session/instruction-state.js +8 -8
  694. package/dist/session/instructions.js +144 -144
  695. package/dist/session/message-updater.js +2 -2
  696. package/dist/session/message.js +1 -1
  697. package/dist/session/model-request.js +171 -171
  698. package/dist/session/model-transport.js +9 -9
  699. package/dist/session/move.js +171 -171
  700. package/dist/session/projector.js +146 -146
  701. package/dist/session/prompt.js +151 -151
  702. package/dist/session/recent-text.js +1 -1
  703. package/dist/session/revert.js +142 -142
  704. package/dist/session/run-coordinator.js +1 -1
  705. package/dist/session/runner/index.js +3 -3
  706. package/dist/session/runner/llm.js +258 -258
  707. package/dist/session/runner/max-steps.js +1 -1
  708. package/dist/session/runner/model.js +109 -109
  709. package/dist/session/runner/publish-llm-event.js +153 -153
  710. package/dist/session/runner/retry.js +5 -5
  711. package/dist/session/runner/step.js +166 -166
  712. package/dist/session/runner/to-llm-message.js +140 -140
  713. package/dist/session/schema.js +3 -3
  714. package/dist/session/session.js +188 -188
  715. package/dist/session/shell.js +145 -145
  716. package/dist/session/skill.js +150 -150
  717. package/dist/session/sql.js +5 -5
  718. package/dist/session/stats.js +85 -85
  719. package/dist/session/store.js +145 -145
  720. package/dist/session/stored.js +4 -4
  721. package/dist/session/subagent-completion.js +1 -1
  722. package/dist/session/subagent-job.js +233 -233
  723. package/dist/session/system-prompt.js +5 -5
  724. package/dist/session/title.js +209 -209
  725. package/dist/session/to-session-error.js +152 -152
  726. package/dist/session/transfer.js +248 -248
  727. package/dist/session/usage.js +3 -3
  728. package/dist/session.js +241 -241
  729. package/dist/shared-cache.js +5 -5
  730. package/dist/shell/parse.js +6 -6
  731. package/dist/shell/result.js +1 -1
  732. package/dist/shell/scan.js +1 -1
  733. package/dist/shell/select.js +7 -7
  734. package/dist/shell.js +147 -147
  735. package/dist/skill/discovery.js +6 -6
  736. package/dist/skill/instructions.js +154 -154
  737. package/dist/skill.js +159 -159
  738. package/dist/snapshot.js +106 -106
  739. package/dist/state.js +1 -1
  740. package/dist/tool/html-markdown.js +1 -1
  741. package/dist/tool/http-body.js +1 -1
  742. package/dist/tool/mcp.js +186 -186
  743. package/dist/tool/plugin/artifact.js +236 -236
  744. package/dist/tool/plugin/edit.js +170 -170
  745. package/dist/tool/plugin/file-diff.js +1 -1
  746. package/dist/tool/plugin/glob.js +174 -174
  747. package/dist/tool/plugin/grep.js +173 -173
  748. package/dist/tool/plugin/image-generate.js +247 -247
  749. package/dist/tool/plugin/mcp-resource.js +169 -169
  750. package/dist/tool/plugin/opencode.js +166 -166
  751. package/dist/tool/plugin/patch.js +171 -171
  752. package/dist/tool/plugin/question.js +147 -147
  753. package/dist/tool/plugin/read.js +175 -175
  754. package/dist/tool/plugin/schedule.js +255 -255
  755. package/dist/tool/plugin/shell.js +243 -243
  756. package/dist/tool/plugin/skill.js +154 -154
  757. package/dist/tool/plugin/subagent.js +244 -244
  758. package/dist/tool/plugin/todo.js +154 -154
  759. package/dist/tool/plugin/webfetch.js +160 -160
  760. package/dist/tool/plugin/websearch.js +158 -158
  761. package/dist/tool/plugin/write.js +171 -171
  762. package/dist/tool/read-filesystem.js +114 -114
  763. package/dist/tool/runtime.js +1 -1
  764. package/dist/tool/search.js +109 -109
  765. package/dist/tool-output.js +7 -7
  766. package/dist/tool.js +163 -163
  767. package/dist/types/database/v1-migration.bun.d.ts +1 -1
  768. package/dist/usage-limits.js +100 -100
  769. package/dist/util/error-summary.js +1 -1
  770. package/dist/util/git-executable.js +3 -3
  771. package/dist/util/lazy.js +1 -1
  772. package/dist/util/slug.js +1 -1
  773. package/dist/util/token.js +1 -1
  774. package/dist/util/which.js +1 -1
  775. package/dist/util/wildcard.js +1 -1
  776. package/dist/v1/config/agent.js +7 -7
  777. package/dist/v1/config/command.js +3 -3
  778. package/dist/v1/config/mcp.js +4 -4
  779. package/dist/v1/config/migrate.js +105 -105
  780. package/dist/v1/config/permission.js +3 -3
  781. package/dist/v1/config/plugin.js +1 -1
  782. package/dist/v1/config/provider-options.js +1 -1
  783. package/dist/v1/config/provider.js +4 -4
  784. package/dist/variant.js +106 -106
  785. package/dist/vcs/patch.js +1 -1
  786. package/dist/vcs.js +102 -102
  787. package/dist/voice.js +99 -99
  788. package/dist/websearch.js +93 -93
  789. package/dist/wellknown/plugin.js +87 -87
  790. package/dist/wellknown.js +88 -88
  791. package/dist/workspace/driver.js +3 -3
  792. package/dist/workspace/sql.js +1 -1
  793. package/dist/workspace.js +93 -93
  794. package/dist/worktree/directory.js +2 -2
  795. package/dist/worktree/git.js +9 -9
  796. package/dist/worktree/sql.js +5 -5
  797. package/dist/worktree/strategies.js +102 -102
  798. package/dist/worktree.js +109 -109
  799. package/package.json +8 -8
  800. package/dist/chunks/persistent-pty-4jm3sk83.js +0 -26
  801. package/dist/chunks/persistent-pty-a610t88q.js +0 -18
  802. package/dist/chunks/persistent-pty-dnk52k5g.js +0 -273
  803. package/dist/chunks/persistent-pty-gkb3m8fg.js +0 -16
  804. package/dist/chunks/persistent-pty-nnqmkxkb.js +0 -577
  805. package/dist/chunks/persistent-pty-qmcvqmmr.js +0 -35
  806. package/dist/chunks/persistent-pty-rt5dr6hb.js +0 -14
  807. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  808. /package/dist/chunks/{persistent-pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  809. /package/dist/chunks/{persistent-pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  810. /package/dist/chunks/{persistent-pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  811. /package/dist/chunks/{persistent-pty-1kah00gy.js → session-1kah00gy.js} +0 -0
  812. /package/dist/chunks/{persistent-pty-24dcb14g.js → session-24dcb14g.js} +0 -0
  813. /package/dist/chunks/{persistent-pty-2710q6r3.js → session-2710q6r3.js} +0 -0
  814. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  815. /package/dist/chunks/{persistent-pty-359p4xyc.js → session-359p4xyc.js} +0 -0
  816. /package/dist/chunks/{persistent-pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  817. /package/dist/chunks/{persistent-pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  818. /package/dist/chunks/{persistent-pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  819. /package/dist/chunks/{persistent-pty-4qk9sjk2.js → session-4qk9sjk2.js} +0 -0
  820. /package/dist/chunks/{persistent-pty-53557ph1.js → session-53557ph1.js} +0 -0
  821. /package/dist/chunks/{persistent-pty-5w3e23ze.js → session-5w3e23ze.js} +0 -0
  822. /package/dist/chunks/{persistent-pty-6agm2x70.js → session-6agm2x70.js} +0 -0
  823. /package/dist/chunks/{persistent-pty-6prwharc.js → session-6prwharc.js} +0 -0
  824. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  825. /package/dist/chunks/{persistent-pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  826. /package/dist/chunks/{persistent-pty-7m9af43g.js → session-7m9af43g.js} +0 -0
  827. /package/dist/chunks/{persistent-pty-822emrt2.js → session-822emrt2.js} +0 -0
  828. /package/dist/chunks/{persistent-pty-84wd9syh.js → session-84wd9syh.js} +0 -0
  829. /package/dist/chunks/{persistent-pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  830. /package/dist/chunks/{persistent-pty-8n3pysct.js → session-8n3pysct.js} +0 -0
  831. /package/dist/chunks/{persistent-pty-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  832. /package/dist/chunks/{persistent-pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  833. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  834. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  835. /package/dist/chunks/{persistent-pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  836. /package/dist/chunks/{persistent-pty-beh6qq61.js → session-beh6qq61.js} +0 -0
  837. /package/dist/chunks/{persistent-pty-bhmrqjy3.js → session-bhmrqjy3.js} +0 -0
  838. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  839. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  840. /package/dist/chunks/{persistent-pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  841. /package/dist/chunks/{persistent-pty-cqv5kn06.js → session-cqv5kn06.js} +0 -0
  842. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  843. /package/dist/chunks/{persistent-pty-d9fn303g.js → session-d9fn303g.js} +0 -0
  844. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  845. /package/dist/chunks/{persistent-pty-df08tz66.js → session-df08tz66.js} +0 -0
  846. /package/dist/chunks/{persistent-pty-dy18nga0.js → session-dy18nga0.js} +0 -0
  847. /package/dist/chunks/{persistent-pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  848. /package/dist/chunks/{persistent-pty-ean2d8b5.js → session-ean2d8b5.js} +0 -0
  849. /package/dist/chunks/{persistent-pty-ec1grn59.js → session-ec1grn59.js} +0 -0
  850. /package/dist/chunks/{persistent-pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  851. /package/dist/chunks/{persistent-pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  852. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  853. /package/dist/chunks/{persistent-pty-faypxj3z.js → session-faypxj3z.js} +0 -0
  854. /package/dist/chunks/{persistent-pty-fd410y7t.js → session-fd410y7t.js} +0 -0
  855. /package/dist/chunks/{persistent-pty-fkpq3x5p.js → session-fkpq3x5p.js} +0 -0
  856. /package/dist/chunks/{persistent-pty-g86h250q.js → session-g86h250q.js} +0 -0
  857. /package/dist/chunks/{persistent-pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  858. /package/dist/chunks/{persistent-pty-gftt206x.js → session-gftt206x.js} +0 -0
  859. /package/dist/chunks/{persistent-pty-hcxmzztb.js → session-hcxmzztb.js} +0 -0
  860. /package/dist/chunks/{persistent-pty-hk9envan.js → session-hk9envan.js} +0 -0
  861. /package/dist/chunks/{persistent-pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  862. /package/dist/chunks/{persistent-pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  863. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  864. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  865. /package/dist/chunks/{persistent-pty-jwr30sdr.js → session-jwr30sdr.js} +0 -0
  866. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  867. /package/dist/chunks/{persistent-pty-m18g726c.js → session-m18g726c.js} +0 -0
  868. /package/dist/chunks/{persistent-pty-mp448xyj.js → session-mp448xyj.js} +0 -0
  869. /package/dist/chunks/{persistent-pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  870. /package/dist/chunks/{persistent-pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  871. /package/dist/chunks/{persistent-pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  872. /package/dist/chunks/{persistent-pty-nh4v3znn.js → session-nh4v3znn.js} +0 -0
  873. /package/dist/chunks/{persistent-pty-njntx4h6.js → session-njntx4h6.js} +0 -0
  874. /package/dist/chunks/{persistent-pty-p71gwv9c.js → session-p71gwv9c.js} +0 -0
  875. /package/dist/chunks/{persistent-pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  876. /package/dist/chunks/{persistent-pty-q74kybfr.js → session-q74kybfr.js} +0 -0
  877. /package/dist/chunks/{persistent-pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  878. /package/dist/chunks/{persistent-pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  879. /package/dist/chunks/{persistent-pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  880. /package/dist/chunks/{persistent-pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  881. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  882. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  883. /package/dist/chunks/{persistent-pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  884. /package/dist/chunks/{persistent-pty-syrav9an.js → session-syrav9an.js} +0 -0
  885. /package/dist/chunks/{persistent-pty-t03h4f5z.js → session-t03h4f5z.js} +0 -0
  886. /package/dist/chunks/{persistent-pty-ty7weeps.js → session-ty7weeps.js} +0 -0
  887. /package/dist/chunks/{persistent-pty-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  888. /package/dist/chunks/{persistent-pty-vtarvj67.js → session-vtarvj67.js} +0 -0
  889. /package/dist/chunks/{persistent-pty-w803qqfp.js → session-w803qqfp.js} +0 -0
  890. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  891. /package/dist/chunks/{persistent-pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  892. /package/dist/chunks/{persistent-pty-wtztk69x.js → session-wtztk69x.js} +0 -0
  893. /package/dist/chunks/{persistent-pty-x4th4bpe.js → session-x4th4bpe.js} +0 -0
  894. /package/dist/chunks/{persistent-pty-y44na4kk.js → session-y44na4kk.js} +0 -0
  895. /package/dist/chunks/{persistent-pty-y8f7s663.js → session-y8f7s663.js} +0 -0
  896. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  897. /package/dist/chunks/{persistent-pty-z0h12gs8.js → session-z0h12gs8.js} +0 -0
  898. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  899. /package/dist/chunks/{persistent-pty-z9919s4g.js → session-z9919s4g.js} +0 -0
  900. /package/dist/chunks/{persistent-pty-zxpyjp51.js → session-zxpyjp51.js} +0 -0
  901. /package/dist/chunks/{persistent-pty-zz5vv3aq.js → session-zz5vv3aq.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service71
3
- } from "./persistent-pty-xww8vq85.js";
2
+ Service92
3
+ } from "./session-d5wtkh1g.js";
4
4
  import {
5
- Service87
6
- } from "./persistent-pty-pha4g85c.js";
5
+ Service88
6
+ } from "./session-cw35tvbj.js";
7
7
  import {
8
8
  Unattended2,
9
9
  merge2,
10
- Service68
11
- } from "./persistent-pty-vsm2qhy0.js";
10
+ Service60
11
+ } from "./session-gpnjexd0.js";
12
12
  import {
13
13
  qualifiedName2
14
- } from "./persistent-pty-69r9trhz.js";
14
+ } from "./session-0xqb3yf3.js";
15
15
  import {
16
- Service78
17
- } from "./persistent-pty-pev27ssz.js";
16
+ Service86
17
+ } from "./session-fs8bmpa7.js";
18
18
  import {
19
- Service67,
19
+ Service21,
20
20
  resolvePath2
21
- } from "./persistent-pty-gaczjh3k.js";
21
+ } from "./session-4cza9xhs.js";
22
22
  import {
23
23
  awaitActivation2
24
- } from "./persistent-pty-a610t88q.js";
24
+ } from "./session-8x060fmy.js";
25
25
  import {
26
- Service44
27
- } from "./persistent-pty-55mce0kc.js";
26
+ Service51
27
+ } from "./session-pz8cf33p.js";
28
28
  import {
29
- Service36
30
- } from "./persistent-pty-13s9knam.js";
29
+ Service40
30
+ } from "./session-k0zef275.js";
31
31
  import {
32
- Service86,
32
+ Service78,
33
33
  args2
34
- } from "./persistent-pty-7wt2j25k.js";
34
+ } from "./session-nqzd7fjx.js";
35
35
  import {
36
36
  scan3
37
- } from "./persistent-pty-j6kp0q3a.js";
37
+ } from "./session-mz9snk5v.js";
38
38
  import {
39
39
  __export
40
- } from "./persistent-pty-9rqn6x4v.js";
40
+ } from "./session-9rqn6x4v.js";
41
41
 
42
42
  // src/schedule/check.ts
43
43
  var exports_check = {};
@@ -152,8 +152,8 @@ var wakeOutcome = (wake, state, message) => ({
152
152
  ...wake && message !== undefined ? { message } : {}
153
153
  });
154
154
  var codeActions = Effect.fnUntraced(function* (paths) {
155
- const mcp = yield* Service36;
156
- const tools = yield* Service44;
155
+ const mcp = yield* Service40;
156
+ const tools = yield* Service51;
157
157
  if (paths.length > 0)
158
158
  yield* mcp.flush;
159
159
  const registered = yield* tools.list();
@@ -173,8 +173,8 @@ var codeActions = Effect.fnUntraced(function* (paths) {
173
173
  return { tools, actions: Array.dedupe(resolved.map((tool) => tool.options?.permission ?? tool.id)) };
174
174
  });
175
175
  var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
176
- const permission = yield* Service68;
177
- const agents = yield* Service71;
176
+ const permission = yield* Service60;
177
+ const agents = yield* Service92;
178
178
  const agent = yield* agents.select(session.agent);
179
179
  const scanned = CodeMode.scanTools(condition.code);
180
180
  if (Result.isFailure(scanned))
@@ -212,8 +212,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
212
212
  }), { discard: true });
213
213
  });
214
214
  var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
215
- const permission = yield* Service68;
216
- const agents = yield* Service71;
215
+ const permission = yield* Service60;
216
+ const agents = yield* Service92;
217
217
  const agent = yield* agents.select(session.agent);
218
218
  if (!agent.info)
219
219
  return { ok: false, error: `Agent not found: ${agent.id}` };
@@ -278,9 +278,9 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
278
278
  return wakeOutcome(decoded.success.wake, state, message);
279
279
  });
280
280
  var scanShell = Effect.fnUntraced(function* (command) {
281
- const location = yield* Service87;
282
- const access = yield* Service67;
283
- const shellSelect = yield* Service86;
281
+ const location = yield* Service88;
282
+ const access = yield* Service21;
283
+ const shellSelect = yield* Service78;
284
284
  const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
285
285
  const shell = yield* shellSelect.resolve({ priority: "compat" });
286
286
  const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
@@ -290,8 +290,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
290
290
  return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
291
291
  });
292
292
  var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
293
- const permission = yield* Service68;
294
- const agents = yield* Service71;
293
+ const permission = yield* Service60;
294
+ const agents = yield* Service92;
295
295
  const agent = yield* agents.select(session.agent);
296
296
  if (scanned.external.length > 0) {
297
297
  yield* permission.assert({
@@ -323,7 +323,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
323
323
  });
324
324
  });
325
325
  var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
326
- const environment = yield* Service78;
326
+ const environment = yield* Service86;
327
327
  const scannedExit = yield* Effect.result(scanShell(condition.run));
328
328
  if (Result.isFailure(scannedExit))
329
329
  return { ok: false, error: scannedExit.failure };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  load3
3
- } from "./persistent-pty-tr8x705m.js";
3
+ } from "./session-tr8x705m.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/probe.ts
9
9
  var exports_probe = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- make11
3
- } from "./persistent-pty-vmxsyvj6.js";
2
+ make15
3
+ } from "./session-5n0rnk8e.js";
4
4
  import {
5
- make10
6
- } from "./persistent-pty-ycmh1q3e.js";
5
+ make16
6
+ } from "./session-8jev9a8r.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/query-options.ts
12
12
  var exports_query_options = {};
@@ -80,14 +80,14 @@ async function session2(input) {
80
80
  systemPrompt: input.system,
81
81
  includePartialMessages: true,
82
82
  persistSession: input.persist,
83
- hooks: make11(input.pending),
83
+ hooks: make15(input.pending),
84
84
  mcpServers: {}
85
85
  };
86
86
  if (input.maxOutputTokens !== undefined) {
87
87
  options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
88
88
  }
89
89
  if (input.tools.length > 0)
90
- options.mcpServers = { opencode: await make10(input.tools, input.pending) };
90
+ options.mcpServers = { opencode: await make16(input.tools, input.pending) };
91
91
  if (input.resume !== undefined) {
92
92
  options.resume = input.resume;
93
93
  return options;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./persistent-pty-ec1grn59.js";
3
+ } from "./session-ec1grn59.js";
4
4
  import {
5
5
  stringify2
6
- } from "./persistent-pty-z0h12gs8.js";
6
+ } from "./session-z0h12gs8.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./persistent-pty-ebr616tk.js";
9
+ } from "./session-ctst738n.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { isRecord } from "@opencode/util/record";
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service89,
3
- node90
4
- } from "./persistent-pty-479eyxvy.js";
2
+ Service93,
3
+ node95
4
+ } from "./session-ywthjcrc.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create4
8
- } from "./persistent-pty-40y6dtc2.js";
8
+ } from "./session-40y6dtc2.js";
9
9
  import {
10
- Service87,
11
- node88
12
- } from "./persistent-pty-pha4g85c.js";
10
+ Service88,
11
+ node90
12
+ } from "./session-cw35tvbj.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID15,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service80,
20
- node81,
19
+ Service81,
20
+ node82,
21
21
  Event16
22
- } from "./persistent-pty-7thzb1bs.js";
22
+ } from "./session-hknxt8c4.js";
23
23
  import {
24
24
  __export
25
- } from "./persistent-pty-9rqn6x4v.js";
25
+ } from "./session-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -43,7 +43,7 @@ __export(exports_model2, {
43
43
  compatibility: () => compatibility2,
44
44
  mergeCapabilities: () => mergeCapabilities2,
45
45
  node: () => node80,
46
- parse: () => parse4,
46
+ parse: () => parse5,
47
47
  supportsText: () => supportsText2
48
48
  });
49
49
  import { Model } from "@opencode/schema/model";
@@ -74,9 +74,9 @@ var Info22 = Model.Info;
74
74
  class Service79 extends Context.Service()("@opencode/Model") {
75
75
  }
76
76
  var layer = Layer.effect(Service79, Effect.gen(function* () {
77
- const providers = yield* Service80;
78
- const bus = yield* Service89;
79
- const location = yield* Service87;
77
+ const providers = yield* Service81;
78
+ const bus = yield* Service93;
79
+ const location = yield* Service88;
80
80
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
81
81
  let input;
82
82
  const state = create4({
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
247
247
  })
248
248
  });
249
249
  }));
250
- var node80 = makeLocationNode({ service: Service79, layer, deps: [node81, node90, node88] });
250
+ var node80 = makeLocationNode({ service: Service79, layer, deps: [node82, node95, node90] });
251
251
  var PREFERRED_FREE = [
252
252
  "big-pickle",
253
253
  "deepseek-v4.1-flash-free",
@@ -271,7 +271,7 @@ function compatibility2(input) {
271
271
  return;
272
272
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
273
273
  }
274
- function parse4(input) {
274
+ function parse5(input) {
275
275
  const index = input.indexOf("/");
276
276
  return {
277
277
  providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
@@ -279,4 +279,4 @@ function parse4(input) {
279
279
  };
280
280
  }
281
281
 
282
- export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service79, node80, supportsText2, compatibility2, parse4, exports_model2, Event15 };
282
+ export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service79, node80, supportsText2, compatibility2, parse5, exports_model2, Event15 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  ID15,
3
3
  aisdk2
4
- } from "./persistent-pty-7thzb1bs.js";
4
+ } from "./session-hknxt8c4.js";
5
5
  import {
6
6
  ID14,
7
7
  VariantID2,
8
8
  Family2,
9
9
  Info22
10
- } from "./persistent-pty-phrewnzr.js";
10
+ } from "./session-33jayjx7.js";
11
11
  import {
12
12
  connectionEnv2
13
- } from "./persistent-pty-n18yd1gk.js";
13
+ } from "./session-2y650p2w.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./session-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/provider/claude-agent/provider.ts
19
19
  var exports_provider2 = {};
@@ -22,7 +22,7 @@ __export(exports_provider2, {
22
22
  ID: () => ID3,
23
23
  PACKAGE: () => PACKAGE2,
24
24
  connection: () => connection2,
25
- register: () => register7
25
+ register: () => register8
26
26
  });
27
27
  import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
28
28
  var ID3 = ID15.claudeAgent;
@@ -48,7 +48,7 @@ var PRICE_SOURCES = {
48
48
  vertex: ID15.googleVertex,
49
49
  foundry: ID15.azure
50
50
  };
51
- var register7 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
51
+ var register8 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
52
52
  const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
53
53
  const current = { catalog: Option.getOrElse(saved, () => ({ models: [] })) };
54
54
  yield* ctx.provider.transform((editor) => {
@@ -131,4 +131,4 @@ function toModel(model, prices) {
131
131
  };
132
132
  }
133
133
 
134
- export { ID3, PACKAGE2, register7, connection2, exports_provider2 };
134
+ export { ID3, PACKAGE2, register8, connection2, exports_provider2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./session-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service82
3
- } from "./persistent-pty-fjsbg05v.js";
2
+ Service84
3
+ } from "./session-214mfmz3.js";
4
4
  import {
5
5
  invocation2,
6
- Service68
7
- } from "./persistent-pty-vsm2qhy0.js";
6
+ Service60
7
+ } from "./session-gpnjexd0.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/tool/plugin/question.ts
13
13
  var exports_question = {};
@@ -54,8 +54,8 @@ var toModelContent7 = (questions, answers) => {
54
54
  var Plugin55 = {
55
55
  id: "opencode.tool.question",
56
56
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
57
- const forms = yield* Service82;
58
- const permission = yield* Service68;
57
+ const forms = yield* Service84;
58
+ const permission = yield* Service60;
59
59
  yield* ctx.tool.transform((editor) => editor.add({
60
60
  name: name15,
61
61
  options: { codemode: false },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/config/integration.ts
6
6
  var exports_integration2 = {};
@@ -10,7 +10,7 @@ __export(exports_integration2, {
10
10
  Policies: () => Policies2,
11
11
  Remote: () => Remote3,
12
12
  WellKnownDocument: () => WellKnownDocument2,
13
- make: () => make32,
13
+ make: () => make33,
14
14
  suppliers: () => suppliers2
15
15
  });
16
16
  import { Option, Schema, SchemaGetter } from "effect";
@@ -51,7 +51,7 @@ class WellKnownDocument2 extends Config.Document.extend("Config.WellKnownDocumen
51
51
  function suppliers2(entries) {
52
52
  return new Map(entries.filter((entry) => entry instanceof WellKnownDocument2).flatMap((document) => Object.keys(document.info.providers ?? {}).map((id) => [id, document.integrationID])));
53
53
  }
54
- function make32(input) {
54
+ function make33(input) {
55
55
  const servers = input.info.mcp?.servers;
56
56
  return new Document3({
57
57
  type: "document",
@@ -90,4 +90,4 @@ function withoutCredentials(settings) {
90
90
  return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
91
91
  }
92
92
 
93
- export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make32, exports_integration2 };
93
+ export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make33, exports_integration2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info21
9
+ Info: () => Info17
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info21 = Schema.Struct({
12
+ var Info17 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info21, exports_command5 };
21
+ export { Info17, exports_command5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  run2
3
- } from "./persistent-pty-2p60zmnr.js";
3
+ } from "./session-2p60zmnr.js";
4
4
  import {
5
5
  base2
6
- } from "./persistent-pty-n18yd1gk.js";
6
+ } from "./session-2y650p2w.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/status.ts
12
12
  var exports_status = {};
13
13
  __export(exports_status, {
14
14
  ClaudeStatus: () => exports_status,
15
- make: () => make4
15
+ make: () => make8
16
16
  });
17
17
  import { Effect, Semaphore, SubscriptionRef } from "effect";
18
- var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
18
+ var make8 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
19
19
  const state = yield* SubscriptionRef.make({ type: "checking" });
20
20
  const lock = yield* Semaphore.make(1);
21
21
  const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
@@ -33,4 +33,4 @@ var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
33
33
  return { state, refresh, report };
34
34
  });
35
35
 
36
- export { make4, exports_status };
36
+ export { make8, exports_status };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  load3
3
- } from "./persistent-pty-tr8x705m.js";
3
+ } from "./session-tr8x705m.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/fork.ts
9
9
  var exports_fork = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-z5v4ffb3.js";
4
+ } from "./session-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service93,
9
- node95
10
- } from "./persistent-pty-ggh1vzxf.js";
8
+ Service90,
9
+ node92
10
+ } from "./session-d51s47ph.js";
11
11
  import {
12
- Service87,
13
- node88
14
- } from "./persistent-pty-pha4g85c.js";
12
+ Service88,
13
+ node90
14
+ } from "./session-cw35tvbj.js";
15
15
  import {
16
16
  create4
17
- } from "./persistent-pty-40y6dtc2.js";
17
+ } from "./session-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./session-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID9,
27
- Service: () => Service41,
25
+ Error: () => Error3,
26
+ ID: () => ID10,
27
+ Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node44,
30
- noopLayer: () => noopLayer2
29
+ node: () => node56,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID10 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service41 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service41, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service93;
50
+ const git = yield* Service90;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service87;
52
+ const location = yield* Service88;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID9.make(tree);
100
+ return ID10.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node44 = makeLocationNode({
159
- service: Service41,
158
+ var node56 = makeLocationNode({
159
+ service: Service55,
160
160
  layer,
161
- deps: [FSUtil.node, node95, Global.node, node88]
161
+ deps: [FSUtil.node, node92, Global.node, node90]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service41, Service41.of({
163
+ var noopLayer3 = Layer.succeed(Service55, Service55.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service41, Service41.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error3 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error3({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID9, Error2, Service41, node44, noopLayer2, exports_snapshot2 };
181
+ export { ID10, Error3, Service55, node56, noopLayer3, exports_snapshot2 };