@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,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/tools/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  ToolHooks: () => exports_hooks,
9
- make: () => make11
9
+ make: () => make15
10
10
  });
11
- function make11(pending) {
11
+ function make15(pending) {
12
12
  const before = async (input) => {
13
13
  if (input.hook_event_name === "PreToolUse")
14
14
  pending.before(input.tool_use_id, input.tool_name);
@@ -28,4 +28,4 @@ function make11(pending) {
28
28
  };
29
29
  }
30
30
 
31
- export { make11, exports_hooks };
31
+ export { make15, exports_hooks };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./persistent-pty-7thzb1bs.js";
3
+ } from "./session-hknxt8c4.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./persistent-pty-phrewnzr.js";
6
+ } from "./session-33jayjx7.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2,
15
+ resolve: () => resolve3,
16
16
  supports: () => supports2
17
17
  });
18
18
  function supports2(reasoning) {
@@ -24,7 +24,7 @@ function supports2(reasoning) {
24
24
  ...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
25
25
  ];
26
26
  }
27
- function resolve2(model, supports = [{ type: "effort" }]) {
27
+ function resolve3(model, supports = [{ type: "effort" }]) {
28
28
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
29
29
  if (!protocol)
30
30
  return [];
@@ -585,4 +585,4 @@ var PROTOCOLS = {
585
585
  [aisdk2("gitlab-ai-provider")]: gitlab
586
586
  };
587
587
 
588
- export { supports2, resolve2, exports_variant };
588
+ export { supports2, resolve3, exports_variant };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make36,
9
+ make: () => make35,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make36 = () => Effect.sync(makeUnsafe2);
29
+ var make35 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make36, exports_keyed_mutex };
31
+ export { makeUnsafe2, make35, exports_keyed_mutex };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./persistent-pty-50mnmyd9.js";
5
+ } from "./session-db0t5ekk.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make35,
9
+ make36,
10
10
  makeWithDefaults2
11
- } from "./persistent-pty-ty8hj3pf.js";
11
+ } from "./session-6acj9vyv.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./session-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make35,
25
+ make: () => make36,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./persistent-pty-nm6gbtbr.js";
4
+ } from "./session-qawts5ky.js";
5
5
  import {
6
- Service89,
7
- node90
8
- } from "./persistent-pty-479eyxvy.js";
6
+ Service93,
7
+ node95
8
+ } from "./session-ywthjcrc.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
  SessionEvent2
15
- } from "./persistent-pty-ec1grn59.js";
15
+ } from "./session-ec1grn59.js";
16
16
  import {
17
17
  synthetics2
18
- } from "./persistent-pty-z51dkrce.js";
18
+ } from "./session-d0kwmjpa.js";
19
19
  import {
20
20
  __export
21
- } from "./persistent-pty-9rqn6x4v.js";
21
+ } from "./session-9rqn6x4v.js";
22
22
 
23
23
  // src/session/instructions.ts
24
24
  var exports_instructions2 = {};
25
25
  __export(exports_instructions2, {
26
- Service: () => Service9,
26
+ Service: () => Service10,
27
27
  SessionInstructions: () => exports_instructions2,
28
- node: () => node11
28
+ node: () => node12
29
29
  });
30
30
  import { relative } from "path";
31
31
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
35
35
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
36
36
  });
37
37
 
38
- class Service9 extends Context.Service()("@opencode/SessionInstructions") {
38
+ class Service10 extends Context.Service()("@opencode/SessionInstructions") {
39
39
  }
40
- var layer = Layer.effect(Service9, Effect.gen(function* () {
41
- const bus = yield* Service89;
40
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
41
+ const bus = yield* Service93;
42
42
  const fs = yield* FSUtil.Service;
43
43
  const db = (yield* Service94).db;
44
- const location = yield* Service87;
44
+ const location = yield* Service88;
45
45
  const root = yield* fs.resolve(location.project.directory);
46
46
  const inFlight = yield* Ref.make(new Map);
47
47
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -87,7 +87,7 @@ ${file.content}`).join(`
87
87
  return next;
88
88
  })));
89
89
  });
90
- return Service9.of({ load });
90
+ return Service10.of({ load });
91
91
  }));
92
92
  function previouslyInjected(db, sessionID) {
93
93
  return Effect.gen(function* () {
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
98
98
  function describePath(root, path) {
99
99
  return FSUtil.contains(root, path) ? relative(root, path) : path;
100
100
  }
101
- var node11 = makeLocationNode({
101
+ var node12 = makeLocationNode({
102
102
  name: "session-instructions",
103
103
  layer,
104
- deps: [node90, node96, FSUtil.node, node88]
104
+ deps: [node95, node96, FSUtil.node, node90]
105
105
  });
106
106
 
107
- export { Service9, node11, exports_instructions2 };
107
+ export { Service10, node12, exports_instructions2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service50
3
- } from "./persistent-pty-5m6a7xby.js";
2
+ Service47
3
+ } from "./session-sq4s6wq1.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./persistent-pty-a610t88q.js";
6
+ } from "./session-8x060fmy.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./persistent-pty-dkpjsqx5.js";
9
+ } from "./session-v75htaq3.js";
10
10
  import {
11
- Service40
12
- } from "./persistent-pty-g701k7s0.js";
11
+ Service50
12
+ } from "./session-ad2epmmf.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-9rqn6x4v.js";
15
+ } from "./session-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service50;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
25
+ const instances = yield* Service47;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./persistent-pty-emrn6kk6.js";
3
+ } from "./session-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./persistent-pty-yqzk7gxy.js";
6
+ } from "./session-xsq9ft9s.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./persistent-pty-50mnmyd9.js";
9
+ } from "./session-db0t5ekk.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make35 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make36 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make35 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make35(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make36(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make35, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make36, makeWithDefaults2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
  import {
5
5
  Service94,
6
6
  node96
7
- } from "./persistent-pty-nm6gbtbr.js";
8
- import {
9
- Service89,
10
- node90
11
- } from "./persistent-pty-479eyxvy.js";
7
+ } from "./session-qawts5ky.js";
12
8
  import {
13
9
  Service93,
14
10
  node95
15
- } from "./persistent-pty-ggh1vzxf.js";
11
+ } from "./session-ywthjcrc.js";
12
+ import {
13
+ Service90,
14
+ node92
15
+ } from "./session-d51s47ph.js";
16
16
  import {
17
17
  ID21,
18
18
  Current3,
19
19
  Info31,
20
20
  UpdateInput5,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./persistent-pty-xe6pezxp.js";
23
+ } from "./session-0mtp185z.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./persistent-pty-aj7mw0zk.js";
27
+ } from "./session-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./persistent-pty-bb3mmwvh.js";
30
+ } from "./session-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./persistent-pty-3cbjf1nt.js";
33
+ } from "./session-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./persistent-pty-9rqn6x4v.js";
36
+ } from "./session-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
@@ -44,11 +44,11 @@ __export(exports_project, {
44
44
  Info: () => Info30,
45
45
  NotFoundError: () => NotFoundError14,
46
46
  Project: () => exports_project,
47
- Service: () => Service88,
47
+ Service: () => Service89,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
- configured: () => configured11,
51
- node: () => node89,
50
+ configured: () => configured12,
51
+ node: () => node91,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service88 extends Context.Service()("@opencode/Project") {
90
+ class Service89 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,12 +111,12 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service88, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service89, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
- const git = yield* Service93;
117
+ const git = yield* Service90;
118
118
  const proc = yield* AppProcess.Service;
119
- const bus = yield* Service89;
119
+ const bus = yield* Service93;
120
120
  const db = (yield* Service94).db;
121
121
  const scope = yield* Scope.Scope;
122
122
  const announcing = new Set;
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event21.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event20.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -189,14 +189,14 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
189
189
  if (!row)
190
190
  return yield* new NotFoundError14({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event21.Updated, project);
192
+ yield* bus.publish(Event20.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event21.Updated, fromRow(row));
199
+ yield* bus.publish(Event20.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event21.Updated, fromRow(row));
345
+ yield* bus.publish(Event20.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service88.of({ list, update, activate, resolve, sweep });
348
+ return Service89.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
- function configured11(options) {
350
+ function configured12(options) {
351
351
  return makeGlobalNode({
352
- service: Service88,
352
+ service: Service89,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
- deps: [node90, node96, FSUtil.node, node95, AppProcess.node]
354
+ deps: [node95, node96, FSUtil.node, node92, AppProcess.node]
355
355
  });
356
356
  }
357
- var node89 = configured11();
357
+ var node91 = configured12();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service88;
361
+ const project = yield* Service89;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node89]
364
+ deps: [node91]
365
365
  });
366
366
 
367
- export { ID20, Vcs2, Current2, Info30, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service88, configured11, node89, sweepNode2, exports_project };
367
+ export { ID20, Vcs2, Current2, Info30, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service89, configured12, node91, sweepNode2, exports_project };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./persistent-pty-vsm2qhy0.js";
3
+ } from "./session-gpnjexd0.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./persistent-pty-nm6gbtbr.js";
4
+ } from "./session-qawts5ky.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./persistent-pty-3hepkmqq.js";
7
+ } from "./session-3hepkmqq.js";
8
8
  import {
9
9
  latest2,
10
- Service74
11
- } from "./persistent-pty-w6a4rfzh.js";
10
+ Service75
11
+ } from "./session-07xjpvws.js";
12
12
  import {
13
13
  DirectoryNotFoundError2
14
- } from "./persistent-pty-fzvzvf7m.js";
14
+ } from "./session-k40n0ez3.js";
15
15
  import {
16
- Service73
17
- } from "./persistent-pty-ar7zn80h.js";
16
+ Service63
17
+ } from "./session-48yjr85p.js";
18
18
  import {
19
- Service50,
20
- node51
21
- } from "./persistent-pty-5m6a7xby.js";
19
+ Service47,
20
+ node49
21
+ } from "./session-sq4s6wq1.js";
22
22
  import {
23
23
  SessionMessage2
24
- } from "./persistent-pty-gftt206x.js";
24
+ } from "./session-gftt206x.js";
25
25
  import {
26
26
  SessionInboxTable2
27
- } from "./persistent-pty-8z6m94af.js";
27
+ } from "./session-mb7mbhnz.js";
28
28
  import {
29
- Service48,
30
- node50
31
- } from "./persistent-pty-xy9cmw47.js";
29
+ Service45,
30
+ node48
31
+ } from "./session-pz47eqtp.js";
32
32
  import {
33
- Service25,
34
- node28
35
- } from "./persistent-pty-5xfnvs9t.js";
33
+ Service30,
34
+ node33
35
+ } from "./session-004vsan7.js";
36
36
  import {
37
37
  validate2,
38
38
  describe2,
39
39
  authorize2,
40
40
  evaluate2
41
- } from "./persistent-pty-gvm60899.js";
41
+ } from "./session-2nfgxt3t.js";
42
42
  import {
43
43
  ScheduleTable2
44
- } from "./persistent-pty-nx4vzyjd.js";
44
+ } from "./session-wegkxhrn.js";
45
45
  import {
46
46
  __export
47
- } from "./persistent-pty-9rqn6x4v.js";
47
+ } from "./session-9rqn6x4v.js";
48
48
 
49
49
  // src/schedule.ts
50
50
  var exports_schedule2 = {};
51
51
  __export(exports_schedule2, {
52
52
  Condition: () => Condition2,
53
53
  ConditionInput: () => ConditionInput2,
54
- CreateInput: () => CreateInput2,
54
+ CreateInput: () => CreateInput3,
55
55
  DisabledError: () => DisabledError2,
56
- ID: () => ID4,
57
- Info: () => Info3,
56
+ ID: () => ID5,
57
+ Info: () => Info5,
58
58
  InvalidError: () => InvalidError2,
59
- NotFoundError: () => NotFoundError2,
59
+ NotFoundError: () => NotFoundError3,
60
60
  Outcome: () => Outcome3,
61
61
  Request: () => Request2,
62
62
  Schedule: () => exports_schedule2,
63
- Service: () => Service13,
63
+ Service: () => Service20,
64
64
  Status: () => Status2,
65
65
  When: () => When2,
66
- node: () => node15,
66
+ node: () => node22,
67
67
  toCreateInput: () => toCreateInput2
68
68
  });
69
69
  import { randomUUID } from "node:crypto";
@@ -73,18 +73,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import {
74
74
  Condition as Condition2,
75
75
  ConditionInput as ConditionInput2,
76
- CreateInput as CreateInput2,
76
+ CreateInput as CreateInput3,
77
77
  durationMillis,
78
- ID as ID4,
79
- Info as Info3,
78
+ ID as ID5,
79
+ Info as Info5,
80
80
  Outcome as Outcome3,
81
81
  Request as Request2,
82
82
  Status as Status2,
83
83
  toCreateInput as toCreateInput2,
84
84
  When as When2
85
85
  } from "@opencode/schema/schedule";
86
- class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
87
- scheduleID: ID4
86
+ class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
87
+ scheduleID: ID5
88
88
  }) {
89
89
  get message() {
90
90
  return `Schedule not found: ${this.scheduleID}`;
@@ -105,7 +105,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
105
105
  }
106
106
  }
107
107
 
108
- class Service13 extends Context.Service()("@opencode/Schedule") {
108
+ class Service20 extends Context.Service()("@opencode/Schedule") {
109
109
  }
110
110
  var MINUTE = 60000;
111
111
  var HOUR = 60 * MINUTE;
@@ -191,23 +191,23 @@ var toInfo = (row, lastOutput) => ({
191
191
  ...lastOutput === undefined ? {} : { lastOutput },
192
192
  time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
193
193
  });
194
- var layer = Layer.effect(Service13, Effect.gen(function* () {
194
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
195
195
  const database = yield* Service94;
196
196
  const db = database.db;
197
- const sessions = yield* Service25;
198
- const instances = yield* Service50;
199
- const execution = yield* Service48;
197
+ const sessions = yield* Service30;
198
+ const instances = yield* Service47;
199
+ const execution = yield* Service45;
200
200
  const doorbell = yield* Latch.make();
201
201
  const settings = (session) => Effect.gen(function* () {
202
- const config = yield* Service74;
203
- const flags = yield* Service73;
202
+ const config = yield* Service75;
203
+ const flags = yield* Service63;
204
204
  const entries = yield* config.entries();
205
205
  return {
206
206
  enabled: flags.resolve(entries).schedules.enabled,
207
207
  timezone: latest2(entries, "timezone")
208
208
  };
209
209
  }).pipe(instances.provide(session));
210
- const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError2({ scheduleID: id }))));
210
+ const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
211
211
  const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
212
212
  const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
213
213
  const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
@@ -481,7 +481,7 @@ ${note}`, { error: outcome.error, failures: strikes });
481
481
  return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
482
482
  return Math.min(at.value, after ?? at.value);
483
483
  });
484
- return Service13.of({
484
+ return Service20.of({
485
485
  create: Effect.fn("Schedule.create")(function* (input) {
486
486
  const session = yield* sessions.get(input.sessionID);
487
487
  const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
@@ -500,7 +500,7 @@ ${note}`, { error: outcome.error, failures: strikes });
500
500
  const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
501
501
  if (ends !== null && due > ends)
502
502
  return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
503
- const scheduleID = ID4.create();
503
+ const scheduleID = ID5.create();
504
504
  const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
505
505
  yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
506
506
  const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
@@ -593,10 +593,10 @@ ${note}`, { error: outcome.error, failures: strikes });
593
593
  run
594
594
  });
595
595
  }));
596
- var node15 = makeGlobalNode({
597
- service: Service13,
596
+ var node22 = makeGlobalNode({
597
+ service: Service20,
598
598
  layer,
599
- deps: [node96, node28, node50, node51]
599
+ deps: [node96, node33, node48, node49]
600
600
  });
601
601
 
602
- export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service13, node15, exports_schedule2 };
602
+ export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service20, node22, exports_schedule2 };