@opencode/core 0.0.0-dev-20830 → 0.0.0-dev-20831

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{state-xsmtq4qf.js → persistent-pty-02xr1zsh.js} +8 -8
  8. package/dist/chunks/{state-h986hd8g.js → persistent-pty-0e0f2wa7.js} +23 -23
  9. package/dist/chunks/{state-ayty09pp.js → persistent-pty-0gwkcvrc.js} +36 -36
  10. package/dist/chunks/{state-zcwza7b0.js → persistent-pty-0hvbv0av.js} +6 -6
  11. package/dist/chunks/{state-q0xm7vwc.js → persistent-pty-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{state-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{state-8aaqm6qj.js → persistent-pty-0tzy42a9.js} +8 -8
  14. package/dist/chunks/{state-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{state-e8vwfchq.js → persistent-pty-0zdym56s.js} +9 -9
  16. package/dist/chunks/{state-h40gvhgm.js → persistent-pty-144fxwck.js} +30 -30
  17. package/dist/chunks/{state-944h6gfv.js → persistent-pty-14d24921.js} +28 -28
  18. package/dist/chunks/{state-jnft9wxv.js → persistent-pty-14gpq9b7.js} +24 -24
  19. package/dist/chunks/{state-z0xmsghh.js → persistent-pty-160dstxj.js} +27 -27
  20. package/dist/chunks/{state-esc9b6cf.js → persistent-pty-1djs0tvz.js} +7 -7
  21. package/dist/chunks/{state-w3ajezp3.js → persistent-pty-1j1f6xcv.js} +16 -16
  22. package/dist/chunks/{state-8v02gd0t.js → persistent-pty-1jb7jqa2.js} +8 -8
  23. package/dist/chunks/{state-ghrzdqqx.js → persistent-pty-1nwxscpy.js} +5 -5
  24. package/dist/chunks/persistent-pty-24d7twmp.js +253 -0
  25. package/dist/chunks/{state-4ts7tf6z.js → persistent-pty-2ccvkpx1.js} +2 -2
  26. package/dist/chunks/{state-0jwsre1p.js → persistent-pty-2k8khapm.js} +5 -5
  27. package/dist/chunks/{state-0r3c1bmw.js → persistent-pty-2k9fjx65.js} +5 -5
  28. package/dist/chunks/{state-krmj6tzy.js → persistent-pty-2m4gzwzp.js} +22 -22
  29. package/dist/chunks/{state-x119eg88.js → persistent-pty-2prrfhe7.js} +29 -29
  30. package/dist/chunks/{state-bgvakscb.js → persistent-pty-2rx9dk58.js} +20 -20
  31. package/dist/chunks/{state-2vvh33eb.js → persistent-pty-2vvh33eb.js} +2 -2
  32. package/dist/chunks/{state-2ktf0ed2.js → persistent-pty-3a83a0n4.js} +8 -8
  33. package/dist/chunks/{state-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{state-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{state-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{state-0nafeyy2.js → persistent-pty-3pk3ecam.js} +17 -17
  37. package/dist/chunks/{state-z89zfw7h.js → persistent-pty-3pxm667c.js} +28 -28
  38. package/dist/chunks/{state-t2y7bdcw.js → persistent-pty-3r587zht.js} +15 -15
  39. package/dist/chunks/{state-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{state-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{state-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{state-k9jq8a9f.js → persistent-pty-42qnv940.js} +30 -30
  43. package/dist/chunks/{state-gaabptfq.js → persistent-pty-4gkdfnn9.js} +25 -25
  44. package/dist/chunks/{state-jvmjd6nh.js → persistent-pty-4vfrtg94.js} +15 -15
  45. package/dist/chunks/{state-gw7cjrad.js → persistent-pty-4z58m4b4.js} +4 -4
  46. package/dist/chunks/{state-cyzep8tn.js → persistent-pty-52wkb7v6.js} +4 -4
  47. package/dist/chunks/{state-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  48. package/dist/chunks/{state-bxkmvfck.js → persistent-pty-569s51gv.js} +27 -27
  49. package/dist/chunks/{state-7mtsxbrk.js → persistent-pty-58cqhhht.js} +18 -18
  50. package/dist/chunks/{state-yknhy38n.js → persistent-pty-5bcesxs9.js} +50 -50
  51. package/dist/chunks/{state-ss358qx3.js → persistent-pty-5epte933.js} +3 -3
  52. package/dist/chunks/{state-txm3e8qz.js → persistent-pty-5fec3t3w.js} +9 -9
  53. package/dist/chunks/{state-w8zb7k19.js → persistent-pty-5gz9c728.js} +14 -14
  54. package/dist/chunks/{state-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{state-d2m5w5xb.js → persistent-pty-5tdr691p.js} +50 -50
  56. package/dist/chunks/{state-ykry54sk.js → persistent-pty-5vz17b4s.js} +31 -31
  57. package/dist/chunks/{state-xbg4wfgw.js → persistent-pty-61q6e95h.js} +9 -9
  58. package/dist/chunks/{state-11ca2t5k.js → persistent-pty-634seer4.js} +43 -43
  59. package/dist/chunks/{state-4v653aq5.js → persistent-pty-64wq75pw.js} +4 -4
  60. package/dist/chunks/{state-1xzgq0dt.js → persistent-pty-6894dtb6.js} +15 -15
  61. package/dist/chunks/{state-2wy3czpc.js → persistent-pty-68j1m62m.js} +1 -1
  62. package/dist/chunks/{state-efpar2mq.js → persistent-pty-6c8xqbzr.js} +3 -3
  63. package/dist/chunks/{state-ny5dcp87.js → persistent-pty-6dnepcx2.js} +29 -29
  64. package/dist/chunks/{state-6ee6mja4.js → persistent-pty-6hf42gwj.js} +14 -14
  65. package/dist/chunks/{state-8sze2n9a.js → persistent-pty-6pc27hjz.js} +2 -2
  66. package/dist/chunks/{state-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{state-k0b9ft2z.js → persistent-pty-6z6j1hvd.js} +13 -13
  68. package/dist/chunks/{state-adnxhg2x.js → persistent-pty-6zz29p9f.js} +35 -35
  69. package/dist/chunks/{state-jqd3eecq.js → persistent-pty-701ma3hz.js} +13 -13
  70. package/dist/chunks/{state-b7ag9snz.js → persistent-pty-738f4ns0.js} +40 -40
  71. package/dist/chunks/{state-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{state-adrw5mdv.js → persistent-pty-7etbtvrg.js} +79 -79
  73. package/dist/chunks/{state-6xpm1twa.js → persistent-pty-7nzg23qc.js} +10 -10
  74. package/dist/chunks/{state-wzkn9px2.js → persistent-pty-7rk69q0z.js} +6 -6
  75. package/dist/chunks/{state-0557p3be.js → persistent-pty-84q8ddyg.js} +35 -35
  76. package/dist/chunks/{state-84txncab.js → persistent-pty-84txncab.js} +1 -1
  77. package/dist/chunks/{state-cfnx7scx.js → persistent-pty-8813t3ja.js} +58 -58
  78. package/dist/chunks/{state-f80x16a8.js → persistent-pty-89eza7wr.js} +11 -11
  79. package/dist/chunks/{state-x1hcexjc.js → persistent-pty-89xxfcnj.js} +3 -3
  80. package/dist/chunks/{state-89znhe33.js → persistent-pty-89znhe33.js} +1 -1
  81. package/dist/chunks/{state-jjw261ry.js → persistent-pty-8bve28yq.js} +19 -19
  82. package/dist/chunks/{state-hn57h045.js → persistent-pty-8gxqpgph.js} +4 -4
  83. package/dist/chunks/{state-xjk7skpn.js → persistent-pty-8hdcmxy1.js} +23 -23
  84. package/dist/chunks/{state-x4adhrm2.js → persistent-pty-8km2h22m.js} +44 -44
  85. package/dist/chunks/{state-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{state-x52x10kp.js → persistent-pty-8v692fxg.js} +22 -22
  87. package/dist/chunks/{state-f06gwrsq.js → persistent-pty-8vhvath1.js} +5 -5
  88. package/dist/chunks/{state-dfam6ca0.js → persistent-pty-8ztybvde.js} +12 -12
  89. package/dist/chunks/{state-83exb234.js → persistent-pty-8zz30m54.js} +19 -19
  90. package/dist/chunks/{state-3y03j49s.js → persistent-pty-90shh64c.js} +9 -9
  91. package/dist/chunks/{state-5jsc8r4j.js → persistent-pty-90y2bcva.js} +15 -15
  92. package/dist/chunks/{state-91qna3x0.js → persistent-pty-91qna3x0.js} +3 -3
  93. package/dist/chunks/{state-rc1szs54.js → persistent-pty-93224vja.js} +6 -6
  94. package/dist/chunks/{state-1hrrgg86.js → persistent-pty-94sdztrq.js} +331 -331
  95. package/dist/chunks/{state-j9z6me7c.js → persistent-pty-955crbjz.js} +9 -9
  96. package/dist/chunks/{state-b96c8sgz.js → persistent-pty-9cv60dsd.js} +43 -43
  97. package/dist/chunks/{state-pa8pe2x7.js → persistent-pty-9hn6k4tm.js} +8 -8
  98. package/dist/chunks/{state-wm17x2yg.js → persistent-pty-9thege9a.js} +18 -18
  99. package/dist/chunks/{state-edrmdtr5.js → persistent-pty-a2ew8a62.js} +7 -7
  100. package/dist/chunks/{state-rpgyk1wb.js → persistent-pty-a2zybenq.js} +19 -19
  101. package/dist/chunks/{state-zx4tn7qt.js → persistent-pty-a45pyh1f.js} +3 -3
  102. package/dist/chunks/{state-rjjk3vjj.js → persistent-pty-a5mn6de8.js} +20 -20
  103. package/dist/chunks/{state-r96659h9.js → persistent-pty-aat6v70y.js} +40 -40
  104. package/dist/chunks/{state-2r93mh4x.js → persistent-pty-agxmfjyz.js} +12 -12
  105. package/dist/chunks/{state-kg8sbxbz.js → persistent-pty-atfs7mew.js} +20 -20
  106. package/dist/chunks/{state-1p1kcw92.js → persistent-pty-avs8edt6.js} +11 -11
  107. package/dist/chunks/{state-zyk1yjk8.js → persistent-pty-b3f8fkhc.js} +5 -5
  108. package/dist/chunks/{state-9bm5c0md.js → persistent-pty-b4tw85s5.js} +19 -19
  109. package/dist/chunks/{state-5zrs708t.js → persistent-pty-bfh6ts0t.js} +19 -19
  110. package/dist/chunks/{state-hazngtky.js → persistent-pty-bphmfkp7.js} +4 -4
  111. package/dist/chunks/{state-es1vcfrp.js → persistent-pty-c1fqxshp.js} +3 -3
  112. package/dist/chunks/{state-hdn8e5hd.js → persistent-pty-cdxr622n.js} +1 -1
  113. package/dist/chunks/{state-58peq4z0.js → persistent-pty-cexy6923.js} +3 -3
  114. package/dist/chunks/{state-qjcd7mbq.js → persistent-pty-cf44fsv6.js} +19 -19
  115. package/dist/chunks/{state-1yceajqh.js → persistent-pty-cmd80gk0.js} +28 -28
  116. package/dist/chunks/{state-e6g20vae.js → persistent-pty-cpav9ert.js} +34 -34
  117. package/dist/chunks/{state-rxg074bj.js → persistent-pty-cphsypwy.js} +22 -22
  118. package/dist/chunks/{state-qp1byhys.js → persistent-pty-cw4cmn70.js} +1 -1
  119. package/dist/chunks/{state-djj1n09f.js → persistent-pty-d5xadgfy.js} +7 -7
  120. package/dist/chunks/{state-9rbc7h43.js → persistent-pty-dmfebxy7.js} +22 -22
  121. package/dist/chunks/{state-4g85bg4y.js → persistent-pty-dqtqfvp1.js} +20 -20
  122. package/dist/chunks/{state-xfkkasph.js → persistent-pty-drwq78ky.js} +4 -4
  123. package/dist/chunks/{state-k8ktzaxx.js → persistent-pty-dxjhrr1d.js} +21 -21
  124. package/dist/chunks/{state-vqfzq50h.js → persistent-pty-dzse07y5.js} +6 -6
  125. package/dist/chunks/{state-rccpv2ye.js → persistent-pty-e0hy65w0.js} +14 -14
  126. package/dist/chunks/{state-qv34d5f9.js → persistent-pty-e14jwtmp.js} +15 -15
  127. package/dist/chunks/{state-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{state-9ndy2hht.js → persistent-pty-e6bj23tj.js} +15 -15
  129. package/dist/chunks/{state-z3a8mnsb.js → persistent-pty-e8e8f3ja.js} +42 -42
  130. package/dist/chunks/{state-8472ey6f.js → persistent-pty-e8kqavre.js} +28 -28
  131. package/dist/chunks/{state-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{state-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{state-0cg871e2.js → persistent-pty-eh6ej367.js} +5 -5
  134. package/dist/chunks/{state-2j0vym9z.js → persistent-pty-ezr5zw50.js} +27 -27
  135. package/dist/chunks/{state-24myjta5.js → persistent-pty-f0d3kyvk.js} +6 -6
  136. package/dist/chunks/{state-171hx01y.js → persistent-pty-f456mqff.js} +15 -15
  137. package/dist/chunks/{state-5av0yrf2.js → persistent-pty-f4mdd15q.js} +33 -33
  138. package/dist/chunks/{state-83tfp6t6.js → persistent-pty-faewp65y.js} +17 -17
  139. package/dist/chunks/{state-qp0mnk5r.js → persistent-pty-fhs0xn1t.js} +3 -3
  140. package/dist/chunks/{state-72cj47zm.js → persistent-pty-fkn54x0f.js} +11 -11
  141. package/dist/chunks/{state-82qb1t6x.js → persistent-pty-fkpjc2rv.js} +11 -11
  142. package/dist/chunks/{state-khmqacep.js → persistent-pty-fxaymqdw.js} +4 -4
  143. package/dist/chunks/{state-mnvbn3nr.js → persistent-pty-fyav22tq.js} +9 -9
  144. package/dist/chunks/{state-wrt27mz2.js → persistent-pty-g0e7481p.js} +11 -11
  145. package/dist/chunks/{state-t8neg7x7.js → persistent-pty-g6q22p7g.js} +25 -25
  146. package/dist/chunks/{state-4tm360fx.js → persistent-pty-g866pcx9.js} +11 -11
  147. package/dist/chunks/{state-7zt5x37y.js → persistent-pty-gd0tnyjc.js} +1 -1
  148. package/dist/chunks/{state-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{state-a5ah3nzf.js → persistent-pty-gex86280.js} +20 -20
  150. package/dist/chunks/{state-gk8qb678.js → persistent-pty-gk8qb678.js} +1 -1
  151. package/dist/chunks/{state-87bedf94.js → persistent-pty-gmtsq7zw.js} +7 -7
  152. package/dist/chunks/{state-9f40cav3.js → persistent-pty-gpk600j1.js} +13 -13
  153. package/dist/chunks/{state-xw7yq2vg.js → persistent-pty-grey5ade.js} +32 -32
  154. package/dist/chunks/{state-ghsw8zx7.js → persistent-pty-gsd95hce.js} +13 -13
  155. package/dist/chunks/{state-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{state-h7s7r6s9.js → persistent-pty-h7s7r6s9.js} +2 -2
  157. package/dist/chunks/{state-a0x3wzs7.js → persistent-pty-h9azkfyn.js} +35 -35
  158. package/dist/chunks/{state-dyabj6q8.js → persistent-pty-h9d22378.js} +15 -15
  159. package/dist/chunks/{state-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{state-pdhsfkgt.js → persistent-pty-hnv2pp8r.js} +14 -14
  161. package/dist/chunks/{state-k6dq7md3.js → persistent-pty-hp24zg0v.js} +20 -20
  162. package/dist/chunks/{state-ej0jrn3e.js → persistent-pty-hqrz8ks6.js} +12 -12
  163. package/dist/chunks/{state-zj4r7vbk.js → persistent-pty-hv8vheb4.js} +3 -3
  164. package/dist/chunks/{state-sc2t89x6.js → persistent-pty-hzecydg6.js} +14 -14
  165. package/dist/chunks/{state-36n3adjp.js → persistent-pty-j4pfkapa.js} +22 -22
  166. package/dist/chunks/{state-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  167. package/dist/chunks/{state-y5rf7nzv.js → persistent-pty-j8m1p4p1.js} +4 -4
  168. package/dist/chunks/{state-nza4bhrq.js → persistent-pty-ja3e6986.js} +8 -8
  169. package/dist/chunks/{state-px6rtfw4.js → persistent-pty-jbhnyrkm.js} +12 -12
  170. package/dist/chunks/{state-ccx2wqdd.js → persistent-pty-jka8wpce.js} +6 -6
  171. package/dist/chunks/{state-x63y8anf.js → persistent-pty-jvp385my.js} +4 -4
  172. package/dist/chunks/{state-8enzew06.js → persistent-pty-k1rn6435.js} +32 -32
  173. package/dist/chunks/{state-0ww3hhrw.js → persistent-pty-kar50817.js} +4 -4
  174. package/dist/chunks/{state-pz9yt98x.js → persistent-pty-kkrhqh6v.js} +9 -9
  175. package/dist/chunks/{state-pyg4v0b6.js → persistent-pty-kqx1b4hy.js} +4 -4
  176. package/dist/chunks/{state-0sakkys5.js → persistent-pty-m6dfkh4w.js} +10 -10
  177. package/dist/chunks/{state-c765mh8b.js → persistent-pty-m8w6th39.js} +9 -9
  178. package/dist/chunks/{state-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{state-b3d5k4tq.js → persistent-pty-mpye8y33.js} +9 -9
  180. package/dist/chunks/{state-mxwkr8w2.js → persistent-pty-mx2cfqsv.js} +9 -9
  181. package/dist/chunks/{state-b8zqr6yd.js → persistent-pty-n1a1n825.js} +11 -11
  182. package/dist/chunks/{state-krdw763r.js → persistent-pty-na2yjdh0.js} +34 -34
  183. package/dist/chunks/{state-phz50fbd.js → persistent-pty-nd4tfyg0.js} +9 -9
  184. package/dist/chunks/{state-jqpbgzsk.js → persistent-pty-nganhbx0.js} +10 -10
  185. package/dist/chunks/{state-hd86p3k8.js → persistent-pty-nk0sw8df.js} +4 -4
  186. package/dist/chunks/{state-2fr77vvd.js → persistent-pty-nnc7vpek.js} +22 -22
  187. package/dist/chunks/{state-d5nwps6r.js → persistent-pty-nsrqd5vn.js} +1 -1
  188. package/dist/chunks/{state-rg9sha5m.js → persistent-pty-nx42me8w.js} +9 -9
  189. package/dist/chunks/{state-wtdq1xvb.js → persistent-pty-p6r2aq8t.js} +22 -22
  190. package/dist/chunks/{state-krjewr0x.js → persistent-pty-pjkmwrrf.js} +32 -32
  191. package/dist/chunks/{state-bh3znjnz.js → persistent-pty-pjsfg289.js} +29 -29
  192. package/dist/chunks/{state-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{state-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  194. package/dist/chunks/{state-1jpgqh2z.js → persistent-pty-pp537qc4.js} +24 -24
  195. package/dist/chunks/{state-ywszk2jg.js → persistent-pty-ps96y3dp.js} +5 -5
  196. package/dist/chunks/{state-9qd4mbdw.js → persistent-pty-q0n7r88m.js} +69 -69
  197. package/dist/chunks/{state-vbv3keym.js → persistent-pty-q1rsbgjb.js} +11 -11
  198. package/dist/chunks/{state-kkp8zx71.js → persistent-pty-qbqbaz6q.js} +4 -4
  199. package/dist/chunks/{state-x372j2ps.js → persistent-pty-qftzrsf9.js} +32 -32
  200. package/dist/chunks/{state-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{state-63db42yp.js → persistent-pty-qp9vg2jq.js} +2 -2
  202. package/dist/chunks/{state-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  203. package/dist/chunks/{state-r02hbddp.js → persistent-pty-qxrb0a0w.js} +18 -18
  204. package/dist/chunks/{state-z88250gw.js → persistent-pty-qxyen8t8.js} +21 -21
  205. package/dist/chunks/{state-1acjjqhc.js → persistent-pty-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{state-jjneh92f.js → persistent-pty-r91gjw8r.js} +16 -16
  207. package/dist/chunks/{state-a7e5kesa.js → persistent-pty-r94ff4c7.js} +2 -2
  208. package/dist/chunks/{state-nh7hmz05.js → persistent-pty-ra3p1t16.js} +5 -5
  209. package/dist/chunks/{state-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{state-tkb22qbm.js → persistent-pty-rert0e01.js} +2 -2
  211. package/dist/chunks/{state-eaj1djv9.js → persistent-pty-rhjbct0v.js} +8 -8
  212. package/dist/chunks/{state-c41wscbt.js → persistent-pty-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{state-cwmk4gds.js → persistent-pty-rm2gr2zw.js} +9 -9
  214. package/dist/chunks/{state-2qhyej25.js → persistent-pty-rthjw13s.js} +19 -19
  215. package/dist/chunks/{state-h93dctaq.js → persistent-pty-s3rjfqbz.js} +11 -11
  216. package/dist/chunks/{state-ndkkganb.js → persistent-pty-s538wvfd.js} +20 -20
  217. package/dist/chunks/{state-c8ax2afj.js → persistent-pty-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{state-b7e85k7b.js → persistent-pty-sbd1m1b7.js} +29 -29
  219. package/dist/chunks/{state-88xma3a9.js → persistent-pty-sbgx06h9.js} +11 -11
  220. package/dist/chunks/{state-vvdwz8bp.js → persistent-pty-sbvtryh7.js} +12 -12
  221. package/dist/chunks/{state-cnv8w6dz.js → persistent-pty-sghgg3s0.js} +93 -93
  222. package/dist/chunks/{state-ftz7pznp.js → persistent-pty-sjaxrz5m.js} +10 -10
  223. package/dist/chunks/{state-m3gr93j5.js → persistent-pty-sncdfffp.js} +14 -14
  224. package/dist/chunks/{state-ahqtxjpt.js → persistent-pty-stbxd7bn.js} +13 -13
  225. package/dist/chunks/{state-e5wg3wb1.js → persistent-pty-sxbw7s6f.js} +24 -24
  226. package/dist/chunks/{state-sxcaecc0.js → persistent-pty-sxcaecc0.js} +1 -1
  227. package/dist/chunks/{state-4gbdxvwm.js → persistent-pty-syp6aatx.js} +17 -17
  228. package/dist/chunks/{state-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
  229. package/dist/chunks/{state-72xps0ff.js → persistent-pty-t5rwxd7y.js} +28 -28
  230. package/dist/chunks/{state-vztm24v3.js → persistent-pty-t7yfe90q.js} +46 -46
  231. package/dist/chunks/{state-9a7pyw65.js → persistent-pty-tazea7qp.js} +35 -35
  232. package/dist/chunks/{state-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{state-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  234. package/dist/chunks/{state-3yqqv8dh.js → persistent-pty-tgr3sw9p.js} +39 -39
  235. package/dist/chunks/{state-tvwsnpay.js → persistent-pty-ts4rn5wj.js} +5 -5
  236. package/dist/chunks/{state-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
  237. package/dist/chunks/{state-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
  238. package/dist/chunks/persistent-pty-v1faaxn9.js +18 -0
  239. package/dist/chunks/{state-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{state-x39s0e6k.js → persistent-pty-vcb8c7ee.js} +16 -16
  241. package/dist/chunks/{state-cfyzhaat.js → persistent-pty-vck5jyqy.js} +11 -11
  242. package/dist/chunks/{state-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{state-vv5tc97j.js → persistent-pty-vh135k6x.js} +14 -14
  244. package/dist/chunks/{state-w88g6rmw.js → persistent-pty-vhyre1cv.js} +5 -5
  245. package/dist/chunks/{state-2zxcz0hw.js → persistent-pty-vn1b2x6c.js} +27 -27
  246. package/dist/chunks/{state-ybtjykms.js → persistent-pty-vxywbpnc.js} +5 -5
  247. package/dist/chunks/{state-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{state-w39jehkq.js → persistent-pty-w2h15q85.js} +5 -5
  249. package/dist/chunks/{state-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{state-ckxmgpbg.js → persistent-pty-w851cde3.js} +27 -27
  251. package/dist/chunks/{state-n5my2xp1.js → persistent-pty-wd47s8yt.js} +17 -17
  252. package/dist/chunks/{state-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{state-fdqap5k5.js → persistent-pty-wdg4dznf.js} +173 -173
  254. package/dist/chunks/{state-51wkfrt1.js → persistent-pty-wrazxve0.js} +2 -2
  255. package/dist/chunks/{state-0dfgejyr.js → persistent-pty-wt8rq1bh.js} +8 -8
  256. package/dist/chunks/{state-29c6hkck.js → persistent-pty-wv7c6n2j.js} +7 -7
  257. package/dist/chunks/{state-42y89c4e.js → persistent-pty-wvf4y7rr.js} +24 -24
  258. package/dist/chunks/{state-wjqb2vp5.js → persistent-pty-x2aynqqh.js} +9 -9
  259. package/dist/chunks/{state-db2wf4at.js → persistent-pty-x661k3y3.js} +4 -4
  260. package/dist/chunks/{state-jznafckq.js → persistent-pty-x7hadnwb.js} +11 -11
  261. package/dist/chunks/{state-cg9scsxc.js → persistent-pty-x7zkx1rm.js} +46 -46
  262. package/dist/chunks/{state-1v5f3sf1.js → persistent-pty-xa9kdnre.js} +13 -13
  263. package/dist/chunks/{state-35rvysyk.js → persistent-pty-xax0y1c2.js} +3 -3
  264. package/dist/chunks/{state-77nza94r.js → persistent-pty-xd5pbsdm.js} +13 -13
  265. package/dist/chunks/{state-1nzh38e4.js → persistent-pty-y0mc46pw.js} +9 -9
  266. package/dist/chunks/{state-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{state-hdxgsgcv.js → persistent-pty-y5pr3jtj.js} +5 -5
  268. package/dist/chunks/{state-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  269. package/dist/chunks/{state-fbw9agv5.js → persistent-pty-y73n6frr.js} +35 -35
  270. package/dist/chunks/{state-emzsebxx.js → persistent-pty-ydgy0jv4.js} +6 -6
  271. package/dist/chunks/{state-9bxt77bv.js → persistent-pty-yka93msf.js} +65 -65
  272. package/dist/chunks/{state-2p5arddx.js → persistent-pty-ykj0gtdh.js} +13 -13
  273. package/dist/chunks/{state-hcv80w8f.js → persistent-pty-ynmknp8q.js} +11 -11
  274. package/dist/chunks/{state-ywt8jp22.js → persistent-pty-ywt8jp22.js} +2 -2
  275. package/dist/chunks/{state-50jyrsbn.js → persistent-pty-yx87fey7.js} +17 -17
  276. package/dist/chunks/{state-m93cgr6s.js → persistent-pty-yyqwftvn.js} +8 -8
  277. package/dist/chunks/{state-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{state-n8axfj05.js → persistent-pty-z1e0ewtp.js} +5 -5
  279. package/dist/chunks/{state-gtx4ax2e.js → persistent-pty-z5j4efsn.js} +46 -46
  280. package/dist/chunks/{state-ghhxwymr.js → persistent-pty-zfth3bf2.js} +13 -13
  281. package/dist/chunks/{state-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{state-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{state-s5qxm7c2.js → persistent-pty-zxxyec0p.js} +11 -11
  284. package/dist/chunks/{state-1msdpkf3.js → persistent-pty-zz23ack4.js} +12 -12
  285. package/dist/chunks/{state-dp1z867b.js → persistent-pty-zze9cfmm.js} +30 -30
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +76 -76
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +106 -106
  426. package/dist/form.js +86 -86
  427. package/dist/formatter/builtins.js +2 -2
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +136 -136
  463. package/dist/location-lifecycle.js +107 -107
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +98 -98
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +121 -121
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +92 -92
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +102 -102
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +117 -117
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +125 -125
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +86 -86
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +222 -222
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +86 -86
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +97 -97
  569. package/dist/rpc.js +86 -86
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +135 -135
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +219 -219
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +154 -154
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +79 -79
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +118 -118
  591. package/dist/session/model-transport.js +5 -5
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +215 -215
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +116 -116
  629. package/dist/snapshot.js +89 -89
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +128 -128
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +120 -120
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +103 -103
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +112 -112
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +12 -12
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +87 -87
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/state-9zdhvgqs.js +0 -18
  687. package/dist/chunks/state-y2yc1hmv.js +0 -253
  688. /package/dist/chunks/{state-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{state-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{state-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{state-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{state-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{state-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{state-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{state-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{state-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{state-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{state-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{state-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  700. /package/dist/chunks/{state-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{state-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{state-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{state-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{state-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{state-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{state-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{state-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  708. /package/dist/chunks/{state-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{state-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  710. /package/dist/chunks/{state-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{state-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{state-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{state-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  714. /package/dist/chunks/{state-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{state-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{state-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{state-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{state-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{state-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{state-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{state-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{state-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{state-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{state-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{state-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{state-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{state-bw78ga2c.js → persistent-pty-bw78ga2c.js} +0 -0
  728. /package/dist/chunks/{state-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{state-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{state-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{state-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{state-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{state-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{state-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  735. /package/dist/chunks/{state-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{state-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{state-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{state-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{state-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{state-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{state-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{state-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{state-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{state-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{state-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{state-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  747. /package/dist/chunks/{state-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{state-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  749. /package/dist/chunks/{state-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  750. /package/dist/chunks/{state-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{state-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{state-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{state-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{state-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{state-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{state-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{state-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  758. /package/dist/chunks/{state-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{state-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{state-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{state-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{state-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{state-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{state-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{state-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{state-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{state-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{state-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{state-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{state-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{state-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{state-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{state-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{state-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{state-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{state-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{state-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{state-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{state-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{state-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{state-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  782. /package/dist/chunks/{state-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{state-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{state-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{state-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{state-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{state-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -0,0 +1,253 @@
1
+ import {
2
+ node61
3
+ } from "./persistent-pty-w851cde3.js";
4
+ import {
5
+ node76
6
+ } from "./persistent-pty-569s51gv.js";
7
+ import {
8
+ node75
9
+ } from "./persistent-pty-5vz17b4s.js";
10
+ import {
11
+ node84,
12
+ boundNode2
13
+ } from "./persistent-pty-vh135k6x.js";
14
+ import {
15
+ node74
16
+ } from "./persistent-pty-y73n6frr.js";
17
+ import {
18
+ node64
19
+ } from "./persistent-pty-sbgx06h9.js";
20
+ import {
21
+ node73
22
+ } from "./persistent-pty-e8kqavre.js";
23
+ import {
24
+ node38
25
+ } from "./persistent-pty-cmd80gk0.js";
26
+ import {
27
+ configured8,
28
+ node69
29
+ } from "./persistent-pty-8km2h22m.js";
30
+ import {
31
+ node81
32
+ } from "./persistent-pty-sxbw7s6f.js";
33
+ import {
34
+ node14
35
+ } from "./persistent-pty-ykj0gtdh.js";
36
+ import {
37
+ node72
38
+ } from "./persistent-pty-90y2bcva.js";
39
+ import {
40
+ node79
41
+ } from "./persistent-pty-zze9cfmm.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node78
45
+ } from "./persistent-pty-pjkmwrrf.js";
46
+ import {
47
+ node57
48
+ } from "./persistent-pty-e8e8f3ja.js";
49
+ import {
50
+ node40
51
+ } from "./persistent-pty-8v692fxg.js";
52
+ import {
53
+ node42
54
+ } from "./persistent-pty-y0mc46pw.js";
55
+ import {
56
+ node27
57
+ } from "./persistent-pty-z5j4efsn.js";
58
+ import {
59
+ Service52,
60
+ node55
61
+ } from "./persistent-pty-dzse07y5.js";
62
+ import {
63
+ node28
64
+ } from "./persistent-pty-gsd95hce.js";
65
+ import {
66
+ node62
67
+ } from "./persistent-pty-3a83a0n4.js";
68
+ import {
69
+ node58
70
+ } from "./persistent-pty-yka93msf.js";
71
+ import {
72
+ node54
73
+ } from "./persistent-pty-stbxd7bn.js";
74
+ import {
75
+ configured3,
76
+ node43
77
+ } from "./persistent-pty-144fxwck.js";
78
+ import {
79
+ node31
80
+ } from "./persistent-pty-8bve28yq.js";
81
+ import {
82
+ node41
83
+ } from "./persistent-pty-nnc7vpek.js";
84
+ import {
85
+ node26
86
+ } from "./persistent-pty-14d24921.js";
87
+ import {
88
+ node67
89
+ } from "./persistent-pty-pjsfg289.js";
90
+ import {
91
+ node24
92
+ } from "./persistent-pty-2rx9dk58.js";
93
+ import {
94
+ node33
95
+ } from "./persistent-pty-42qnv940.js";
96
+ import {
97
+ node32
98
+ } from "./persistent-pty-pp537qc4.js";
99
+ import {
100
+ node23
101
+ } from "./persistent-pty-7etbtvrg.js";
102
+ import {
103
+ node37
104
+ } from "./persistent-pty-qxyen8t8.js";
105
+ import {
106
+ node66
107
+ } from "./persistent-pty-b4tw85s5.js";
108
+ import {
109
+ node36
110
+ } from "./persistent-pty-zxxyec0p.js";
111
+ import {
112
+ node34
113
+ } from "./persistent-pty-5tdr691p.js";
114
+ import {
115
+ node46
116
+ } from "./persistent-pty-5gz9c728.js";
117
+ import {
118
+ node19
119
+ } from "./persistent-pty-syp6aatx.js";
120
+ import {
121
+ node39
122
+ } from "./persistent-pty-atfs7mew.js";
123
+ import {
124
+ node51
125
+ } from "./persistent-pty-dxjhrr1d.js";
126
+ import {
127
+ node18
128
+ } from "./persistent-pty-a5mn6de8.js";
129
+ import {
130
+ node15
131
+ } from "./persistent-pty-cpav9ert.js";
132
+ import {
133
+ Service42,
134
+ node45
135
+ } from "./persistent-pty-6dnepcx2.js";
136
+ import {
137
+ node17
138
+ } from "./persistent-pty-9thege9a.js";
139
+ import {
140
+ node4,
141
+ bound2
142
+ } from "./persistent-pty-9hn6k4tm.js";
143
+ import {
144
+ node10
145
+ } from "./persistent-pty-738f4ns0.js";
146
+ import {
147
+ node9
148
+ } from "./persistent-pty-dmfebxy7.js";
149
+ import {
150
+ node6
151
+ } from "./persistent-pty-4vfrtg94.js";
152
+ import {
153
+ node2
154
+ } from "./persistent-pty-x7zkx1rm.js";
155
+ import {
156
+ node49
157
+ } from "./persistent-pty-h9azkfyn.js";
158
+ import {
159
+ node11
160
+ } from "./persistent-pty-sbd1m1b7.js";
161
+ import {
162
+ node8
163
+ } from "./persistent-pty-q0n7r88m.js";
164
+ import {
165
+ __export
166
+ } from "./persistent-pty-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service52,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node55
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node84,
182
+ node45,
183
+ node81,
184
+ node69,
185
+ node61,
186
+ node38,
187
+ node67,
188
+ node46,
189
+ node39,
190
+ node75,
191
+ node74,
192
+ node73,
193
+ node57,
194
+ node64,
195
+ node18,
196
+ node62,
197
+ node4,
198
+ node2,
199
+ node51,
200
+ node79,
201
+ node78,
202
+ node66,
203
+ node49,
204
+ node34,
205
+ node33,
206
+ node31,
207
+ node43,
208
+ node17,
209
+ node14,
210
+ node72,
211
+ node27,
212
+ node58,
213
+ node41,
214
+ node36,
215
+ node42,
216
+ node32,
217
+ node24,
218
+ node28,
219
+ node76,
220
+ node40,
221
+ node6,
222
+ node26,
223
+ node9,
224
+ node54,
225
+ node10,
226
+ node11,
227
+ node23,
228
+ node37,
229
+ node8,
230
+ node19,
231
+ node15
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node69.replace(configured8({ project: false, global: false })),
236
+ node43.replace(configured3({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node84.replace(boundNode2(ref)),
244
+ node4.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service42).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./state-q0xm7vwc.js";
3
+ } from "./persistent-pty-0j77ygfz.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options6,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options6, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info13,
12
+ Info: () => Info19,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info13 = Schema.Struct({
64
+ var Info19 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info13 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info13, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info19, exports_provider2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-cfyzhaat.js";
3
+ } from "./persistent-pty-vck5jyqy.js";
4
4
  import {
5
- Service84
6
- } from "./state-vvdwz8bp.js";
5
+ Service83
6
+ } from "./persistent-pty-sbvtryh7.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./state-x119eg88.js";
9
+ Event19
10
+ } from "./persistent-pty-2prrfhe7.js";
11
11
  import {
12
12
  key2
13
- } from "./state-db2wf4at.js";
13
+ } from "./persistent-pty-x661k3y3.js";
14
14
  import {
15
- ID10,
15
+ ID13,
16
16
  MethodID2
17
- } from "./state-ykry54sk.js";
17
+ } from "./persistent-pty-5vz17b4s.js";
18
18
  import {
19
- ID9,
19
+ ID12,
20
20
  aisdk2,
21
- Service72
22
- } from "./state-fbw9agv5.js";
21
+ Service71
22
+ } from "./persistent-pty-y73n6frr.js";
23
23
  import {
24
- ID8,
25
- Info17
26
- } from "./state-8472ey6f.js";
24
+ ID11,
25
+ Info20
26
+ } from "./persistent-pty-e8kqavre.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./state-pjvnvgmy.js";
30
+ } from "./persistent-pty-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID9.gitlab;
39
- var integrationID = ID10.make("gitlab");
38
+ var providerID = ID12.gitlab;
39
+ var integrationID = ID13.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service72;
61
- const bus = yield* Service84;
60
+ const providers = yield* Service71;
61
+ const bus = yield* Service83;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info17.default(providerID, ID8.make(model.id)),
188
+ ...Info20.default(providerID, ID11.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID9.gitlab)
222
+ if (evt.model.providerID !== ID12.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./state-zj4r7vbk.js";
4
+ } from "./persistent-pty-hv8vheb4.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./state-vvdwz8bp.js";
6
+ Service83,
7
+ node87
8
+ } from "./persistent-pty-sbvtryh7.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./state-pknna89w.js";
11
+ } from "./persistent-pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./state-3zsf4n22.js";
14
+ } from "./persistent-pty-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./state-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID11,
26
- Info: () => Info21,
27
- Key: () => Key3,
25
+ ID: () => ID15,
26
+ Info: () => Info25,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
29
  Service: () => Service74,
30
30
  Value: () => Value2,
31
- node: () => node78
31
+ node: () => node77
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID11 = Credential.ID;
38
+ var ID15 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key3 = Credential.Key;
40
+ var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event17 = Credential.Event;
43
+ var Event19 = Credential.Event;
44
44
 
45
- class Info21 extends Schema.Class("Credential.Info")({
46
- id: ID11,
45
+ class Info25 extends Schema.Class("Credential.Info")({
46
+ id: ID15,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
@@ -54,12 +54,12 @@ class Service74 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
55
  var layer = Layer.effect(Service74, Effect.gen(function* () {
56
56
  const db = (yield* Service85).db;
57
- const bus = yield* Service84;
57
+ const bus = yield* Service83;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info21({
62
+ return new Info25({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info21({
82
- id: input.id ?? ID11.create(),
81
+ const credential = new Info25({
82
+ id: input.id ?? ID15.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event17.Updated, {}, { global: true });
113
+ yield* bus.publish(Event19.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event17.Updated, {}, { global: true });
167
+ yield* bus.publish(Event19.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event17.Updated, {}, { global: true });
200
+ yield* bus.publish(Event19.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node89, node88] });
206
+ var node77 = makeGlobalNode({ service: Service74, layer, deps: [node89, node87] });
207
207
 
208
- export { ID11, OAuth3, Key3, External2, Value2, Event17, Info21, Service74, node78, exports_credential };
208
+ export { ID15, OAuth3, Key4, External2, Value2, Event19, Info25, Service74, node77, exports_credential };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service33,
3
- node36
4
- } from "./state-bh3znjnz.js";
2
+ Service64,
3
+ node67
4
+ } from "./persistent-pty-pjsfg289.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./state-eaj1djv9.js";
10
+ } from "./persistent-pty-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service28,
20
- node: () => node32
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service20,
20
+ node: () => node24
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service28 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service20 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service28, Effect.gen(function* () {
63
- const references = yield* Service33;
64
- return Service28.of({
62
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
63
+ const references = yield* Service64;
64
+ return Service20.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
72
- key: Key4.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node32 = makeLocationNode({ service: Service28, layer, deps: [node36] });
84
+ var node24 = makeLocationNode({ service: Service20, layer, deps: [node67] });
85
85
 
86
- export { Service28, node32, exports_instructions5 };
86
+ export { Service20, node24, exports_instructions3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./state-jze0r7bz.js";
3
+ } from "./persistent-pty-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service80,
10
- node: () => node84
9
+ Service: () => Service59,
10
+ node: () => node62
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service80 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service59 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service80, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service80.of({ has, register, trigger });
57
+ return Service59.of({ has, register, trigger });
58
58
  }));
59
- var node84 = makeLocationNode({ service: Service80, layer, deps: [] });
59
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [] });
60
60
 
61
- export { Service80, node84, exports_hooks };
61
+ export { Service59, node62, exports_hooks };