@opencode/core 0.0.0-dev-19764 → 0.0.0-dev-19767

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{snapshot-wh9qkd2q.js → worktree-0e1gq3bc.js} +10 -10
  8. package/dist/chunks/{snapshot-tjhefs4s.js → worktree-0gkyeg4t.js} +27 -27
  9. package/dist/chunks/{snapshot-351s78pd.js → worktree-0kzr3yfx.js} +7 -7
  10. package/dist/chunks/{snapshot-75pyeabn.js → worktree-0mczw89w.js} +5 -5
  11. package/dist/chunks/{snapshot-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{snapshot-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{snapshot-x5mqk2mr.js → worktree-0yn9kbqd.js} +13 -13
  14. package/dist/chunks/{snapshot-rkhy5kra.js → worktree-101vsq39.js} +11 -11
  15. package/dist/chunks/{snapshot-wj1v7459.js → worktree-151xc3da.js} +17 -17
  16. package/dist/chunks/{snapshot-jvnghvnw.js → worktree-166kng33.js} +8 -8
  17. package/dist/chunks/{snapshot-vs0kt9qj.js → worktree-1amrr7ey.js} +3 -3
  18. package/dist/chunks/{snapshot-mhkvc446.js → worktree-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{snapshot-p0kmpbry.js → worktree-1c4g78wp.js} +41 -41
  20. package/dist/chunks/{snapshot-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{snapshot-gf7f2369.js → worktree-1mjwcf4w.js} +8 -8
  22. package/dist/chunks/{snapshot-581qaqgj.js → worktree-1vk3brhq.js} +11 -11
  23. package/dist/chunks/{snapshot-21r38tys.js → worktree-21r38tys.js} +1 -1
  24. package/dist/chunks/{snapshot-fhs97t90.js → worktree-24dd53tp.js} +9 -9
  25. package/dist/chunks/{snapshot-88sz8qcd.js → worktree-26k5bknw.js} +4 -4
  26. package/dist/chunks/{snapshot-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{snapshot-7sbn2nrf.js → worktree-2aet7wja.js} +8 -8
  28. package/dist/chunks/{snapshot-bjwtmsxg.js → worktree-2hckyyez.js} +181 -181
  29. package/dist/chunks/{snapshot-2wr7a4zh.js → worktree-2khg11rk.js} +41 -41
  30. package/dist/chunks/{snapshot-j8qgp22b.js → worktree-2kr5eys4.js} +2 -2
  31. package/dist/chunks/{snapshot-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
  32. package/dist/chunks/{snapshot-htyb7pk9.js → worktree-351z34b3.js} +10 -10
  33. package/dist/chunks/{snapshot-5nyprcjq.js → worktree-38bsz5b6.js} +33 -33
  34. package/dist/chunks/{snapshot-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{snapshot-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{snapshot-efv4s0g0.js → worktree-3k6sfp50.js} +6 -6
  37. package/dist/chunks/{snapshot-res40x03.js → worktree-3ktbe3hf.js} +9 -9
  38. package/dist/chunks/{snapshot-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{snapshot-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{snapshot-wecp16b7.js → worktree-3zgscayf.js} +35 -35
  41. package/dist/chunks/{snapshot-nkr3c0qp.js → worktree-415h19gn.js} +3 -3
  42. package/dist/chunks/{snapshot-1mtvnjxb.js → worktree-4bgp2aek.js} +33 -33
  43. package/dist/chunks/{snapshot-epv923hw.js → worktree-4gsbf2fy.js} +27 -27
  44. package/dist/chunks/{snapshot-hxg70vay.js → worktree-4hxng2fz.js} +95 -95
  45. package/dist/chunks/{snapshot-6h3wybc7.js → worktree-4vp46et4.js} +6 -6
  46. package/dist/chunks/{snapshot-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
  47. package/dist/chunks/{snapshot-ggeyn75h.js → worktree-58s60hfc.js} +9 -9
  48. package/dist/chunks/{snapshot-3sywykg8.js → worktree-5c4wcsgy.js} +73 -73
  49. package/dist/chunks/{snapshot-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  50. package/dist/chunks/{snapshot-xm9w7m4m.js → worktree-5egw3kcn.js} +10 -10
  51. package/dist/chunks/{snapshot-bct739vz.js → worktree-5q02cxx3.js} +4 -4
  52. package/dist/chunks/{snapshot-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{snapshot-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  54. package/dist/chunks/{snapshot-fbpv3gtq.js → worktree-5v9kt04s.js} +21 -21
  55. package/dist/chunks/{snapshot-2k8khapm.js → worktree-607tc6va.js} +5 -5
  56. package/dist/chunks/{snapshot-rrx6gbpx.js → worktree-63vazbh0.js} +13 -13
  57. package/dist/chunks/{snapshot-669tq793.js → worktree-669tq793.js} +1 -1
  58. package/dist/chunks/{snapshot-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  59. package/dist/chunks/{snapshot-0996nyz8.js → worktree-6hjx5zpb.js} +5 -5
  60. package/dist/chunks/{snapshot-zvtcw9kw.js → worktree-6kbabvtn.js} +6 -6
  61. package/dist/chunks/worktree-6kdq0pjd.js +4 -0
  62. package/dist/chunks/{snapshot-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{snapshot-94c9dcy8.js → worktree-6t9jm67f.js} +12 -12
  64. package/dist/chunks/{snapshot-zv20b68g.js → worktree-6wt9h67w.js} +62 -62
  65. package/dist/chunks/{snapshot-ft919fq2.js → worktree-6x3wj1ns.js} +47 -47
  66. package/dist/chunks/{snapshot-jbqp0ndx.js → worktree-76kr4s17.js} +5 -5
  67. package/dist/chunks/{snapshot-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{snapshot-pnsm033q.js → worktree-7d7kf9r8.js} +13 -13
  69. package/dist/chunks/{snapshot-va8x9q3g.js → worktree-7dyhy7q1.js} +30 -30
  70. package/dist/chunks/{snapshot-sp6162m5.js → worktree-7p34082x.js} +18 -18
  71. package/dist/chunks/{snapshot-s714yq90.js → worktree-7rgj22wf.js} +26 -26
  72. package/dist/chunks/{snapshot-6sh1ew48.js → worktree-7s6gk46a.js} +9 -9
  73. package/dist/chunks/{snapshot-ae7jk870.js → worktree-7svxd7hr.js} +28 -28
  74. package/dist/chunks/{snapshot-frcy3q3h.js → worktree-7vt8smsy.js} +24 -24
  75. package/dist/chunks/{snapshot-vjjfm3h2.js → worktree-81gxmrf7.js} +10 -10
  76. package/dist/chunks/{snapshot-3c48t5r1.js → worktree-86v3dky3.js} +22 -22
  77. package/dist/chunks/{snapshot-y1vj7k2w.js → worktree-89m3s2m0.js} +5 -5
  78. package/dist/chunks/{snapshot-89znhe33.js → worktree-89znhe33.js} +1 -1
  79. package/dist/chunks/{snapshot-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{snapshot-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
  81. package/dist/chunks/{snapshot-mt86ky0j.js → worktree-8pb4qd8n.js} +23 -23
  82. package/dist/chunks/{snapshot-faw7sx1p.js → worktree-8s9esm8s.js} +12 -12
  83. package/dist/chunks/{snapshot-5km6923r.js → worktree-8sayz2ry.js} +4 -4
  84. package/dist/chunks/{snapshot-jj7g1fgg.js → worktree-8vmd40gx.js} +32 -32
  85. package/dist/chunks/{snapshot-tt4mfncj.js → worktree-973s4paq.js} +3 -3
  86. package/dist/chunks/{snapshot-r1pvgz74.js → worktree-97grsc5w.js} +11 -11
  87. package/dist/chunks/{snapshot-at7dy2hw.js → worktree-99jpd8te.js} +12 -12
  88. package/dist/chunks/{snapshot-e7987fdb.js → worktree-9h6zs5c6.js} +29 -29
  89. package/dist/chunks/{snapshot-pa8pe2x7.js → worktree-9hn6k4tm.js} +8 -8
  90. package/dist/chunks/{snapshot-5pjpf2rc.js → worktree-9pnj26g7.js} +28 -28
  91. package/dist/chunks/{snapshot-ftb7f8ac.js → worktree-9s8wz9g9.js} +3 -3
  92. package/dist/chunks/{snapshot-p4mnxf58.js → worktree-9vh5rqp9.js} +3 -3
  93. package/dist/chunks/{snapshot-gqknc3n4.js → worktree-9vkyr3gp.js} +8 -8
  94. package/dist/chunks/{snapshot-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{snapshot-xdk9p2qn.js → worktree-a8bn8zg0.js} +21 -21
  96. package/dist/chunks/{snapshot-bfapsvch.js → worktree-aa3v2t1f.js} +11 -11
  97. package/dist/chunks/{snapshot-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  98. package/dist/chunks/{snapshot-207ajt2h.js → worktree-aeb4sny1.js} +5 -5
  99. package/dist/chunks/{snapshot-kf2jyg0f.js → worktree-as812ba0.js} +32 -32
  100. package/dist/chunks/{snapshot-k64xx7v0.js → worktree-aswfnv87.js} +22 -22
  101. package/dist/chunks/{snapshot-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{snapshot-scq4khx8.js → worktree-b97cbvw3.js} +1 -1
  103. package/dist/chunks/{snapshot-x8z4mr01.js → worktree-bccs4bt1.js} +17 -17
  104. package/dist/chunks/{snapshot-szgy4byf.js → worktree-bha4atvq.js} +4 -4
  105. package/dist/chunks/{snapshot-wwp4x31x.js → worktree-bvnyc1t2.js} +58 -58
  106. package/dist/chunks/{snapshot-7dqep7dt.js → worktree-byvb6gjv.js} +17 -17
  107. package/dist/chunks/{snapshot-tn0aqsam.js → worktree-c78bbtc9.js} +5 -5
  108. package/dist/chunks/{snapshot-fr3t0d7t.js → worktree-c7dfawsb.js} +32 -32
  109. package/dist/chunks/{snapshot-446tpth2.js → worktree-cax7e9hb.js} +11 -11
  110. package/dist/chunks/{snapshot-kgajfdja.js → worktree-cdjzdxw3.js} +28 -28
  111. package/dist/chunks/{snapshot-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{snapshot-4dgbcxzg.js → worktree-cpj0znwe.js} +4 -4
  113. package/dist/chunks/{snapshot-3cz8rj72.js → worktree-cr07tj7n.js} +5 -5
  114. package/dist/chunks/{snapshot-ztkfav3z.js → worktree-cvw7k98w.js} +9 -9
  115. package/dist/chunks/{snapshot-xk6xaacw.js → worktree-cw2x2bjr.js} +1 -1
  116. package/dist/chunks/{snapshot-c765mh8b.js → worktree-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{snapshot-01va1f3z.js → worktree-cwyz1c8d.js} +11 -11
  118. package/dist/chunks/{snapshot-440emva9.js → worktree-d04advaa.js} +9 -9
  119. package/dist/chunks/{snapshot-jfqtm2ew.js → worktree-d216944b.js} +7 -7
  120. package/dist/chunks/{snapshot-r9mjafdz.js → worktree-d64tg2r5.js} +24 -24
  121. package/dist/chunks/{snapshot-t1tfeg7z.js → worktree-d9kvw835.js} +6 -6
  122. package/dist/chunks/{snapshot-wbmqe53j.js → worktree-dbba7j6z.js} +10 -10
  123. package/dist/chunks/{snapshot-yr0r9rzs.js → worktree-dc1e58jh.js} +43 -43
  124. package/dist/chunks/{snapshot-277eer69.js → worktree-dj68pnee.js} +4 -4
  125. package/dist/chunks/{snapshot-b3yej2dp.js → worktree-drdwtp1b.js} +14 -14
  126. package/dist/chunks/{snapshot-w2rnr668.js → worktree-e2qcy9fz.js} +24 -24
  127. package/dist/chunks/{snapshot-95w894pf.js → worktree-e7dyj58f.js} +6 -6
  128. package/dist/chunks/{snapshot-03133x3a.js → worktree-e9g3nry7.js} +28 -28
  129. package/dist/chunks/{snapshot-t550f9t1.js → worktree-eaj1djv9.js} +8 -8
  130. package/dist/chunks/{snapshot-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{snapshot-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  132. package/dist/chunks/{snapshot-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{snapshot-8x3w3g8n.js → worktree-f17z2c8t.js} +8 -8
  134. package/dist/chunks/{snapshot-f828m53h.js → worktree-f828m53h.js} +2 -2
  135. package/dist/chunks/{snapshot-6pzw4973.js → worktree-faj2svbs.js} +9 -9
  136. package/dist/chunks/{snapshot-8rbkvf2j.js → worktree-fam2aybr.js} +23 -23
  137. package/dist/chunks/{snapshot-v79sn3xm.js → worktree-fdcdwsmf.js} +11 -11
  138. package/dist/chunks/{snapshot-kj3y1y0m.js → worktree-fqpen2k4.js} +12 -12
  139. package/dist/chunks/{snapshot-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{snapshot-bqj53dzg.js → worktree-fzc0zagk.js} +14 -14
  141. package/dist/chunks/{snapshot-n0q66vsf.js → worktree-g6nrwhst.js} +11 -11
  142. package/dist/chunks/{snapshot-yqqtqqed.js → worktree-gbnkcvp8.js} +23 -23
  143. package/dist/chunks/{snapshot-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{snapshot-g2y161wv.js → worktree-gft05b0a.js} +5 -5
  145. package/dist/chunks/{snapshot-yam5k1bw.js → worktree-ggex864g.js} +4 -4
  146. package/dist/chunks/{snapshot-y5df08dr.js → worktree-gmjq4p6e.js} +12 -12
  147. package/dist/chunks/{snapshot-mbn3np8p.js → worktree-gnjcy9v4.js} +21 -21
  148. package/dist/chunks/{snapshot-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{snapshot-9bn5q4dg.js → worktree-gynbp3j3.js} +9 -9
  150. package/dist/chunks/{snapshot-xfdd6g1y.js → worktree-h0j9vckn.js} +87 -87
  151. package/dist/chunks/{snapshot-v0mhzyhk.js → worktree-h2pnfxb2.js} +18 -18
  152. package/dist/chunks/{snapshot-eg2xbpx5.js → worktree-h4bptjw1.js} +3 -3
  153. package/dist/chunks/{snapshot-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{snapshot-wz24kbdr.js → worktree-hkygx1vj.js} +28 -28
  155. package/dist/chunks/{snapshot-h7qgt2qa.js → worktree-hnx402aw.js} +5 -5
  156. package/dist/chunks/{snapshot-fc3hj1hz.js → worktree-hpa29ags.js} +11 -11
  157. package/dist/chunks/{snapshot-ffkmejj6.js → worktree-hrtbhf2d.js} +21 -21
  158. package/dist/chunks/{snapshot-q7fyfxhz.js → worktree-ht336jn2.js} +30 -30
  159. package/dist/chunks/{snapshot-dt7sf2t2.js → worktree-hw9rayzm.js} +36 -36
  160. package/dist/chunks/{snapshot-j5w2yx54.js → worktree-hwe7x4em.js} +6 -6
  161. package/dist/chunks/{snapshot-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  162. package/dist/chunks/{snapshot-hwca9pcn.js → worktree-j6mf8xpf.js} +23 -23
  163. package/dist/chunks/{snapshot-mmpv6r03.js → worktree-j72rwyf1.js} +15 -15
  164. package/dist/chunks/{snapshot-sfef216m.js → worktree-j972s74s.js} +11 -11
  165. package/dist/chunks/{snapshot-dxwpfr55.js → worktree-ja7kfczc.js} +28 -28
  166. package/dist/chunks/{snapshot-em9d1scw.js → worktree-jca4demv.js} +2 -2
  167. package/dist/chunks/{snapshot-7cx721ez.js → worktree-jj06xv0y.js} +38 -38
  168. package/dist/chunks/{snapshot-0v85mbt5.js → worktree-jja466qr.js} +19 -19
  169. package/dist/chunks/{snapshot-1pfd9v32.js → worktree-jq6rrm66.js} +4 -4
  170. package/dist/chunks/{snapshot-tbdttw7j.js → worktree-jwbs44k2.js} +42 -42
  171. package/dist/chunks/{snapshot-4jb2hfvf.js → worktree-ka43yy4c.js} +16 -16
  172. package/dist/chunks/{snapshot-y8pgb3nv.js → worktree-kgy5z1s6.js} +34 -34
  173. package/dist/chunks/{snapshot-acmkfkts.js → worktree-kh43tbq9.js} +30 -30
  174. package/dist/chunks/{snapshot-1fc8gdfv.js → worktree-kncab3ca.js} +8 -8
  175. package/dist/chunks/{snapshot-vg4nwgpm.js → worktree-kqs2tyv4.js} +24 -24
  176. package/dist/chunks/{snapshot-qkrk4za9.js → worktree-krf6f92z.js} +1 -1
  177. package/dist/chunks/{snapshot-x38fx7kw.js → worktree-m25ehp29.js} +20 -20
  178. package/dist/chunks/{snapshot-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{snapshot-sz0hm3w5.js → worktree-m6zv4rm2.js} +20 -20
  180. package/dist/chunks/{snapshot-q7wkvvj2.js → worktree-m7fm29bt.js} +7 -7
  181. package/dist/chunks/{snapshot-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{snapshot-wgrnrd7p.js → worktree-ma5b8j4s.js} +31 -31
  183. package/dist/chunks/{snapshot-87m5nb3r.js → worktree-mkry6x9x.js} +15 -15
  184. package/dist/chunks/{snapshot-hmgezczx.js → worktree-mn5995mw.js} +5 -5
  185. package/dist/chunks/{snapshot-xnt05fp8.js → worktree-mwt0hxwz.js} +25 -25
  186. package/dist/chunks/{snapshot-ad1t3088.js → worktree-mzatw618.js} +35 -35
  187. package/dist/chunks/{snapshot-31vvj4c3.js → worktree-n4jz3xah.js} +19 -19
  188. package/dist/chunks/{snapshot-4qk2gb51.js → worktree-n8j2gzbp.js} +3 -3
  189. package/dist/chunks/{snapshot-6ekt4h1g.js → worktree-ndqsnc2r.js} +35 -35
  190. package/dist/chunks/{snapshot-9zga13gt.js → worktree-necmxhx4.js} +23 -23
  191. package/dist/chunks/{snapshot-ctwdrck2.js → worktree-ng27n122.js} +6 -6
  192. package/dist/chunks/{snapshot-dp3szwdw.js → worktree-nmmfddzk.js} +12 -12
  193. package/dist/chunks/{snapshot-nzks3jc8.js → worktree-nzks3jc8.js} +3 -3
  194. package/dist/chunks/{snapshot-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
  195. package/dist/chunks/{snapshot-4pw3ma1d.js → worktree-p32pf1ka.js} +47 -47
  196. package/dist/chunks/{snapshot-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{snapshot-pknna89w.js → worktree-pknna89w.js} +1 -1
  198. package/dist/chunks/{snapshot-j215vtjh.js → worktree-pyv0448z.js} +8 -8
  199. package/dist/chunks/{snapshot-31314d8d.js → worktree-q001hfjm.js} +26 -26
  200. package/dist/chunks/{snapshot-ppw6hb80.js → worktree-q3t37ft6.js} +3 -3
  201. package/dist/chunks/worktree-q509s3k3.js +18 -0
  202. package/dist/chunks/{snapshot-avc8n21j.js → worktree-q52v1zkd.js} +13 -13
  203. package/dist/chunks/{snapshot-f1kpr4sr.js → worktree-q6xbbyq7.js} +28 -28
  204. package/dist/chunks/{snapshot-t7x5nbme.js → worktree-q9pnxbc2.js} +15 -15
  205. package/dist/chunks/{snapshot-pbq54n87.js → worktree-qfqkpq0b.js} +14 -14
  206. package/dist/chunks/{snapshot-57b9ws8p.js → worktree-qqeeq2t9.js} +4 -4
  207. package/dist/chunks/{snapshot-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  208. package/dist/chunks/{snapshot-geaa2ca8.js → worktree-qz10dfen.js} +9 -9
  209. package/dist/chunks/{snapshot-hb92k4z9.js → worktree-qz1kxtc0.js} +17 -17
  210. package/dist/chunks/worktree-r0hfn8wq.js +252 -0
  211. package/dist/chunks/{snapshot-7ef3j03a.js → worktree-r424jv4c.js} +4 -4
  212. package/dist/chunks/{snapshot-8wmhz1g8.js → worktree-ra1f23w6.js} +25 -25
  213. package/dist/chunks/{snapshot-nfpfdzzq.js → worktree-rb662jkw.js} +12 -12
  214. package/dist/chunks/{snapshot-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{snapshot-d1khqved.js → worktree-rgs851g5.js} +5 -5
  216. package/dist/chunks/{snapshot-b4hx36v0.js → worktree-rx78v32q.js} +19 -19
  217. package/dist/chunks/{snapshot-5s70k0xw.js → worktree-rzd1wbq6.js} +20 -20
  218. package/dist/chunks/{snapshot-3ythc6yv.js → worktree-s0esgemt.js} +4 -4
  219. package/dist/chunks/{snapshot-23tvpxmv.js → worktree-s8322d80.js} +15 -15
  220. package/dist/chunks/{snapshot-v2vtsgem.js → worktree-ss5j40bg.js} +17 -17
  221. package/dist/chunks/{snapshot-hdcb5cfr.js → worktree-svenkxb1.js} +10 -10
  222. package/dist/chunks/{snapshot-7j91f9t1.js → worktree-sw0n0a6k.js} +29 -29
  223. package/dist/chunks/{snapshot-42jghq3e.js → worktree-sybsj1vd.js} +18 -18
  224. package/dist/chunks/{snapshot-rq9byz5d.js → worktree-t744w8jc.js} +15 -15
  225. package/dist/chunks/{snapshot-anq6cyaa.js → worktree-tajkn4gv.js} +9 -9
  226. package/dist/chunks/{snapshot-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{snapshot-tdstcens.js → worktree-tdstcens.js} +1 -1
  228. package/dist/chunks/{snapshot-939y1bpb.js → worktree-te6g59r9.js} +5 -5
  229. package/dist/chunks/{snapshot-qzaekqmp.js → worktree-tkp03cf9.js} +11 -11
  230. package/dist/chunks/{snapshot-x3gm437e.js → worktree-tmdzkf58.js} +44 -44
  231. package/dist/chunks/{snapshot-t2hbhjts.js → worktree-tmezp53v.js} +11 -11
  232. package/dist/chunks/{snapshot-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  233. package/dist/chunks/{snapshot-kd1ce5f7.js → worktree-v4tzcak4.js} +19 -19
  234. package/dist/chunks/{snapshot-srsxpff9.js → worktree-vb8m6727.js} +16 -16
  235. package/dist/chunks/{snapshot-zfxc739q.js → worktree-vcaqzj1m.js} +23 -23
  236. package/dist/chunks/{snapshot-252xb3nn.js → worktree-vcy486hh.js} +19 -19
  237. package/dist/chunks/{snapshot-7nfkg4wm.js → worktree-vdgcs2tf.js} +30 -30
  238. package/dist/chunks/{snapshot-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  239. package/dist/chunks/{snapshot-nt088kqk.js → worktree-vfmzn6hv.js} +48 -48
  240. package/dist/chunks/{snapshot-vg5x372e.js → worktree-vjkgxth0.js} +317 -317
  241. package/dist/chunks/{snapshot-h83t4dj1.js → worktree-vtk7nzxk.js} +46 -46
  242. package/dist/chunks/{snapshot-w3k29ccc.js → worktree-vtmwze1j.js} +13 -13
  243. package/dist/chunks/{snapshot-9e5kb4vq.js → worktree-vvm2z6z1.js} +19 -19
  244. package/dist/chunks/{snapshot-2vrqs54j.js → worktree-vy10ba8t.js} +27 -27
  245. package/dist/chunks/{snapshot-d1vmr0nd.js → worktree-vz8nqtp5.js} +28 -28
  246. package/dist/chunks/{snapshot-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{snapshot-rssfmsaf.js → worktree-w1kb69s9.js} +3 -3
  248. package/dist/chunks/{snapshot-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{snapshot-aa7ryvh3.js → worktree-w5s35esc.js} +13 -13
  250. package/dist/chunks/{snapshot-820cv1w4.js → worktree-w676nq5f.js} +13 -13
  251. package/dist/chunks/{snapshot-p728z8wp.js → worktree-w8ykr7pr.js} +40 -40
  252. package/dist/chunks/worktree-wbb80fv7.js +26 -0
  253. package/dist/chunks/{snapshot-wd87259q.js → worktree-wd87259q.js} +1 -1
  254. package/dist/chunks/{snapshot-npx8w61n.js → worktree-wg1w1cgy.js} +4 -4
  255. package/dist/chunks/{snapshot-wkd7exrg.js → worktree-wg7aatbm.js} +9 -9
  256. package/dist/chunks/{snapshot-tw8f8nrh.js → worktree-wvgpkr3z.js} +5 -5
  257. package/dist/chunks/{snapshot-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{snapshot-7mbtkcjw.js → worktree-x3n1z10k.js} +19 -19
  259. package/dist/chunks/{snapshot-dgn3bjhr.js → worktree-xd9rknpb.js} +15 -15
  260. package/dist/chunks/{snapshot-ak9msbxp.js → worktree-xkrbr206.js} +8 -8
  261. package/dist/chunks/{snapshot-brywjafr.js → worktree-xn1g1etc.js} +10 -10
  262. package/dist/chunks/{snapshot-t17qe94z.js → worktree-xr43neyx.js} +11 -11
  263. package/dist/chunks/{snapshot-7dk8f9rn.js → worktree-xrkx1905.js} +18 -18
  264. package/dist/chunks/{snapshot-9g9mfadh.js → worktree-xrvwyrv1.js} +32 -32
  265. package/dist/chunks/{snapshot-20d44xk5.js → worktree-xw714m32.js} +18 -18
  266. package/dist/chunks/{snapshot-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{snapshot-036p5t1s.js → worktree-y35sf2j4.js} +4 -4
  268. package/dist/chunks/{snapshot-rdpbcj86.js → worktree-y394sqab.js} +301 -301
  269. package/dist/chunks/{snapshot-y71avatq.js → worktree-y71avatq.js} +1 -1
  270. package/dist/chunks/{snapshot-p16sg8he.js → worktree-y7668axm.js} +23 -23
  271. package/dist/chunks/{snapshot-qs001aqx.js → worktree-y7x142mt.js} +11 -11
  272. package/dist/chunks/{snapshot-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{snapshot-s9va87sy.js → worktree-ypmw8e4w.js} +8 -8
  274. package/dist/chunks/{snapshot-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{snapshot-s4enseaf.js → worktree-yrznvahk.js} +2 -2
  276. package/dist/chunks/{snapshot-8z9z5b5g.js → worktree-yta3sn21.js} +4 -4
  277. package/dist/chunks/{snapshot-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{snapshot-0c1dc0pg.js → worktree-z2bs4c1s.js} +21 -21
  279. package/dist/chunks/{snapshot-rcf757kd.js → worktree-z4cdtg64.js} +5 -5
  280. package/dist/chunks/{snapshot-29x78va6.js → worktree-z63w68vq.js} +6 -6
  281. package/dist/chunks/{snapshot-nh3gpk50.js → worktree-z8amnqnv.js} +11 -11
  282. package/dist/chunks/{snapshot-ytx20b0y.js → worktree-zart4t36.js} +36 -36
  283. package/dist/chunks/{snapshot-m70sbz6t.js → worktree-zcrspsvn.js} +4 -4
  284. package/dist/chunks/{snapshot-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{snapshot-q5a6zh2e.js → worktree-zkgb1gnz.js} +46 -46
  286. package/dist/chunks/{snapshot-3tq5qxbk.js → worktree-zqx8wcya.js} +6 -6
  287. package/dist/chunks/{snapshot-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{snapshot-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  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 +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  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 +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +100 -100
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +354 -354
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +101 -101
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +347 -347
  543. package/dist/plugin/update.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +83 -83
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +76 -76
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +129 -129
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +230 -230
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +113 -113
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +219 -219
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +122 -122
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +119 -119
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +120 -120
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +12 -12
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/variant.js +90 -90
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +77 -77
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +97 -97
  691. package/package.json +8 -8
  692. package/dist/chunks/snapshot-19kwwqgw.js +0 -26
  693. package/dist/chunks/snapshot-1tm0r3ht.js +0 -4
  694. package/dist/chunks/snapshot-51r0acr2.js +0 -252
  695. package/dist/chunks/snapshot-phz3h32g.js +0 -18
  696. /package/dist/chunks/{snapshot-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{snapshot-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{snapshot-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{snapshot-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{snapshot-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{snapshot-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{snapshot-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{snapshot-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{snapshot-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{snapshot-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{snapshot-3asan66x.js → worktree-3asan66x.js} +0 -0
  707. /package/dist/chunks/{snapshot-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{snapshot-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{snapshot-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{snapshot-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{snapshot-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{snapshot-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{snapshot-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{snapshot-53557ph1.js → worktree-53557ph1.js} +0 -0
  715. /package/dist/chunks/{snapshot-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{snapshot-6prwharc.js → worktree-6prwharc.js} +0 -0
  717. /package/dist/chunks/{snapshot-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{snapshot-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{snapshot-822emrt2.js → worktree-822emrt2.js} +0 -0
  720. /package/dist/chunks/{snapshot-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{snapshot-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{snapshot-922hggd3.js → worktree-922hggd3.js} +0 -0
  723. /package/dist/chunks/{snapshot-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{snapshot-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{snapshot-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{snapshot-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{snapshot-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{snapshot-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{snapshot-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{snapshot-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{snapshot-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{snapshot-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{snapshot-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{snapshot-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{snapshot-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{snapshot-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{snapshot-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{snapshot-df08tz66.js → worktree-df08tz66.js} +0 -0
  739. /package/dist/chunks/{snapshot-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{snapshot-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{snapshot-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{snapshot-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{snapshot-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{snapshot-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{snapshot-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{snapshot-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{snapshot-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{snapshot-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{snapshot-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{snapshot-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{snapshot-g86h250q.js → worktree-g86h250q.js} +0 -0
  752. /package/dist/chunks/{snapshot-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{snapshot-gftt206x.js → worktree-gftt206x.js} +0 -0
  754. /package/dist/chunks/{snapshot-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{snapshot-hk9envan.js → worktree-hk9envan.js} +0 -0
  756. /package/dist/chunks/{snapshot-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{snapshot-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{snapshot-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{snapshot-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{snapshot-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{snapshot-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{snapshot-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{snapshot-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{snapshot-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{snapshot-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{snapshot-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{snapshot-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{snapshot-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{snapshot-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{snapshot-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{snapshot-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{snapshot-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{snapshot-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{snapshot-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{snapshot-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{snapshot-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{snapshot-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{snapshot-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{snapshot-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{snapshot-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{snapshot-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{snapshot-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{snapshot-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{snapshot-x61499pn.js → worktree-x61499pn.js} +0 -0
  785. /package/dist/chunks/{snapshot-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{snapshot-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{snapshot-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{snapshot-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{snapshot-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{snapshot-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node72
4
- } from "./snapshot-sfef216m.js";
3
+ node42
4
+ } from "./worktree-j972s74s.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./snapshot-94c9dcy8.js";
6
+ Service79,
7
+ node83
8
+ } from "./worktree-6t9jm67f.js";
9
9
  import {
10
- ID6,
11
- Service52,
12
- node54
13
- } from "./snapshot-2vrqs54j.js";
10
+ ID16,
11
+ Service76,
12
+ node80
13
+ } from "./worktree-vy10ba8t.js";
14
14
  import {
15
- ID14,
15
+ ID9,
16
16
  OAuth3
17
- } from "./snapshot-1mtvnjxb.js";
17
+ } from "./worktree-4bgp2aek.js";
18
18
  import {
19
- ID13,
19
+ ID8,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service72,
24
- node75
25
- } from "./snapshot-jj7g1fgg.js";
23
+ Service63,
24
+ node67
25
+ } from "./worktree-8vmd40gx.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./snapshot-922hggd3.js";
28
+ } from "./worktree-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
- Service79,
33
- node83
34
- } from "./snapshot-pbq54n87.js";
35
- import {
36
- ID12,
37
- Service71,
38
- node74
39
- } from "./snapshot-rdpbcj86.js";
32
+ Service77,
33
+ node81
34
+ } from "./worktree-qfqkpq0b.js";
40
35
  import {
41
- Service45,
42
- node47
43
- } from "./snapshot-qzaekqmp.js";
36
+ ID7,
37
+ Service62,
38
+ node66
39
+ } from "./worktree-y394sqab.js";
44
40
  import {
45
- Service54,
46
- node56
47
- } from "./snapshot-8wmhz1g8.js";
41
+ Service61,
42
+ node65
43
+ } from "./worktree-tkp03cf9.js";
48
44
  import {
49
- Service75,
50
- node78
51
- } from "./snapshot-wh9qkd2q.js";
45
+ Service57,
46
+ node61
47
+ } from "./worktree-ra1f23w6.js";
52
48
  import {
53
- Service46,
54
- node48
55
- } from "./snapshot-ggeyn75h.js";
49
+ Service81,
50
+ node85
51
+ } from "./worktree-0e1gq3bc.js";
56
52
  import {
57
- ID11,
58
- Service70,
59
- node73
60
- } from "./snapshot-dt7sf2t2.js";
53
+ Service68,
54
+ node72
55
+ } from "./worktree-58s60hfc.js";
61
56
  import {
62
- ID16
63
- } from "./snapshot-vg4nwgpm.js";
57
+ ID6,
58
+ Service60,
59
+ node64
60
+ } from "./worktree-hw9rayzm.js";
64
61
  import {
65
- Service29,
66
- node32
67
- } from "./snapshot-4pw3ma1d.js";
62
+ ID5
63
+ } from "./worktree-kqs2tyv4.js";
68
64
  import {
69
- Service59,
70
- node61
71
- } from "./snapshot-jvnghvnw.js";
65
+ Service28,
66
+ node31
67
+ } from "./worktree-p32pf1ka.js";
72
68
  import {
73
- Service49,
74
- node51
75
- } from "./snapshot-zv20b68g.js";
69
+ Service75,
70
+ node79
71
+ } from "./worktree-166kng33.js";
76
72
  import {
77
- Service41,
78
- node43
79
- } from "./snapshot-3c48t5r1.js";
73
+ Service72,
74
+ node76
75
+ } from "./worktree-6wt9h67w.js";
80
76
  import {
81
- Source4,
82
- Service40,
83
- node42
84
- } from "./snapshot-wgrnrd7p.js";
77
+ Service36,
78
+ node39
79
+ } from "./worktree-86v3dky3.js";
85
80
  import {
86
- Info5,
87
- Service32,
88
- node35
89
- } from "./snapshot-kgajfdja.js";
81
+ Source3,
82
+ Service37,
83
+ node40
84
+ } from "./worktree-ma5b8j4s.js";
90
85
  import {
91
- Service18,
92
- node21
93
- } from "./snapshot-hxg70vay.js";
86
+ Info27,
87
+ Service71,
88
+ node75
89
+ } from "./worktree-cdjzdxw3.js";
94
90
  import {
95
- Service13,
96
- node16
97
- } from "./snapshot-31314d8d.js";
91
+ Service16,
92
+ node19
93
+ } from "./worktree-4hxng2fz.js";
98
94
  import {
99
- Service17,
100
- node20
101
- } from "./snapshot-20d44xk5.js";
95
+ Service48,
96
+ node51
97
+ } from "./worktree-q001hfjm.js";
102
98
  import {
103
- Service39,
104
- node41
105
- } from "./snapshot-zfxc739q.js";
99
+ Service52,
100
+ node55
101
+ } from "./worktree-xw714m32.js";
106
102
  import {
107
- ID10,
108
- Service68,
109
- node70
110
- } from "./snapshot-03133x3a.js";
103
+ Service14,
104
+ node17
105
+ } from "./worktree-vcaqzj1m.js";
111
106
  import {
107
+ ID3,
112
108
  Service15,
113
109
  node18
114
- } from "./snapshot-ffkmejj6.js";
110
+ } from "./worktree-e9g3nry7.js";
111
+ import {
112
+ Service67,
113
+ node71
114
+ } from "./worktree-hrtbhf2d.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info3,
117
+ Info26,
118
118
  ListEntry3,
119
- Service14,
120
- node17
121
- } from "./snapshot-2wr7a4zh.js";
119
+ Service66,
120
+ node70
121
+ } from "./worktree-2khg11rk.js";
122
122
  import {
123
- Service43,
124
- node45
125
- } from "./snapshot-x8z4mr01.js";
123
+ Service58,
124
+ node62
125
+ } from "./worktree-bccs4bt1.js";
126
126
  import {
127
127
  __export
128
- } from "./snapshot-9rqn6x4v.js";
128
+ } from "./worktree-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service52;
147
- const aisdk = yield* Service45;
148
- const providers = yield* Service71;
149
- const models = yield* Service70;
150
- const commands = yield* Service54;
151
- const bus = yield* Service82;
152
- const integration = yield* Service72;
153
- const kv = yield* Service75;
154
- const mcp = yield* Service29;
155
- const location = yield* Service79;
156
- const reference = yield* Service40;
157
- const rpc = yield* Service17;
158
- const skill = yield* Service32;
159
- const tools = yield* Service41;
160
- const vcs = yield* Service39;
161
- const websearch = yield* Service68;
162
- const generate = yield* Service43;
163
- const permission = yield* Service49;
164
- const hooks = yield* Service59;
165
- const sessions = yield* Service18;
166
- const persistentPty = yield* Service13;
167
- const locations = yield* Service46;
168
- const worktrees = yield* Service14;
169
- const worktreeStrategies = yield* Service15;
146
+ const agents = yield* Service76;
147
+ const aisdk = yield* Service61;
148
+ const providers = yield* Service62;
149
+ const models = yield* Service60;
150
+ const commands = yield* Service57;
151
+ const bus = yield* Service79;
152
+ const integration = yield* Service63;
153
+ const kv = yield* Service81;
154
+ const mcp = yield* Service28;
155
+ const location = yield* Service77;
156
+ const reference = yield* Service37;
157
+ const rpc = yield* Service52;
158
+ const skill = yield* Service71;
159
+ const tools = yield* Service36;
160
+ const vcs = yield* Service14;
161
+ const websearch = yield* Service15;
162
+ const generate = yield* Service58;
163
+ const permission = yield* Service72;
164
+ const hooks = yield* Service75;
165
+ const sessions = yield* Service16;
166
+ const persistentPty = yield* Service48;
167
+ const locations = yield* Service68;
168
+ const worktrees = yield* Service66;
169
+ const worktreeStrategies = yield* Service67;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info3);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info26);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service79;
186
- const agents = yield* Service52;
185
+ const location = yield* Service77;
186
+ const agents = yield* Service76;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID6.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID6.make(id)),
222
- update: (id, update) => editor.update(ID6.make(id), update),
223
- remove: (id) => editor.remove(ID6.make(id))
220
+ get: (id) => mutable(editor.get(ID16.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID16.make(id)),
222
+ update: (id, update) => editor.update(ID16.make(id), update),
223
+ remove: (id) => editor.remove(ID16.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
254
254
  },
255
255
  provider: {
256
256
  list: () => response(providers.available()),
257
- get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
257
+ get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
258
  reload: providers.reload,
259
259
  transform: (callback) => providers.transform((editor) => {
260
260
  callback({
261
261
  list: editor.list,
262
- get: (id) => editor.get(ID12.make(id)),
262
+ get: (id) => editor.get(ID7.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID9.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
- update: (id, update) => editor.update(ID12.make(id), update),
268
- remove: (id) => editor.remove(ID12.make(id)),
267
+ update: (id, update) => editor.update(ID7.make(id), update),
268
+ remove: (id) => editor.remove(ID7.make(id)),
269
269
  models: {
270
- set: (id, models) => editor.models.set(ID12.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
270
+ set: (id, models) => editor.models.set(ID7.make(id), models),
271
+ update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID6.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID6.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
279
279
  default: () => response(models.default()),
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
282
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
283
+ get: (providerID, modelID) => editor.get(ID7.make(providerID), ID6.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID6.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID6.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID6.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
292
- get: (id) => editor.provider.get(ID12.make(id))
292
+ get: (id) => editor.provider.get(ID7.make(id))
293
293
  }
294
294
  }))
295
295
  },
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
312
312
  integration: {
313
313
  list: () => response(integration.list()),
314
314
  get: Effect.fn(function* (input) {
315
- const item = yield* integration.get(ID13.make(input.integrationID));
315
+ const item = yield* integration.get(ID8.make(input.integrationID));
316
316
  if (!item)
317
317
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
318
318
  return yield* response(Effect.succeed(item));
319
319
  }),
320
320
  connect: {
321
321
  key: (input) => integration.connection.key({
322
- integrationID: ID13.make(input.integrationID),
322
+ integrationID: ID8.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
327
327
  },
328
328
  oauth: {
329
329
  connect: (input) => response(integration.oauth.connect({
330
- integrationID: ID13.make(input.integrationID),
330
+ integrationID: ID8.make(input.integrationID),
331
331
  methodID: MethodID2.make(input.methodID),
332
332
  answer: input.answer,
333
333
  label: input.label
334
334
  })),
335
335
  status: (input) => response(integration.oauth.status({
336
- integrationID: ID13.make(input.integrationID),
336
+ integrationID: ID8.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID13.make(input.integrationID),
340
+ integrationID: ID8.make(input.integrationID),
341
341
  attemptID: AttemptID2.make(input.attemptID),
342
342
  code: input.code
343
343
  }),
344
344
  cancel: (input) => integration.oauth.cancel({
345
- integrationID: ID13.make(input.integrationID),
345
+ integrationID: ID8.make(input.integrationID),
346
346
  attemptID: AttemptID2.make(input.attemptID)
347
347
  })
348
348
  },
349
349
  command: {
350
350
  connect: (input) => response(integration.command.connect({
351
- integrationID: ID13.make(input.integrationID),
351
+ integrationID: ID8.make(input.integrationID),
352
352
  methodID: MethodID2.make(input.methodID),
353
353
  label: input.label
354
354
  })),
355
355
  status: (input) => response(integration.command.status({
356
- integrationID: ID13.make(input.integrationID),
356
+ integrationID: ID8.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID13.make(input.integrationID),
360
+ integrationID: ID8.make(input.integrationID),
361
361
  attemptID: AttemptID2.make(input.attemptID)
362
362
  })
363
363
  },
364
364
  reload: integration.reload,
365
365
  connection: {
366
- active: (id) => integration.connection.active(ID13.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
366
+ active: (id) => integration.connection.active(ID8.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
371
371
  list: () => mutable(editor.list()),
372
- get: (id) => mutable(editor.get(ID13.make(id))),
373
- update: (id, update) => editor.update(ID13.make(id), update),
374
- remove: (id) => editor.remove(ID13.make(id)),
372
+ get: (id) => mutable(editor.get(ID8.make(id))),
373
+ update: (id, update) => editor.update(ID8.make(id), update),
374
+ remove: (id) => editor.remove(ID8.make(id)),
375
375
  method: {
376
- list: (id) => editor.method.list(ID13.make(id)),
376
+ list: (id) => editor.method.list(ID8.make(id)),
377
377
  update: (input) => editor.method.update(methodImplementation(input)),
378
- remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
378
+ remove: (id, method) => editor.method.remove(ID8.make(id), Schema.decodeUnknownSync(Method2)(method))
379
379
  }
380
380
  });
381
381
  })
@@ -385,8 +385,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
385
385
  const ref = locationRef(input);
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
- const location = yield* Service79;
389
- const mcp = yield* Service29;
388
+ const location = yield* Service77;
389
+ const mcp = yield* Service28;
390
390
  return {
391
391
  location: new Info32({
392
392
  directory: location.directory,
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
423
423
  reload: reference.reload,
424
424
  transform: (callback) => reference.transform((editor) => {
425
425
  callback({
426
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
426
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
427
427
  remove: editor.remove,
428
428
  list: editor.list,
429
429
  get: editor.get
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info27)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -467,19 +467,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
467
467
  providers: () => response(websearch.providers()),
468
468
  query: (input) => response(websearch.query({
469
469
  query: input.query,
470
- providerID: input.providerID === undefined ? undefined : ID10.make(input.providerID)
470
+ providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
471
471
  })),
472
472
  reload: websearch.reload,
473
473
  transform: (callback) => websearch.transform((editor) => {
474
474
  callback({
475
475
  add: (definition) => editor.add({
476
- id: ID10.make(definition.id),
476
+ id: ID3.make(definition.id),
477
477
  name: definition.name,
478
478
  execute: definition.execute
479
479
  }),
480
480
  default: {
481
481
  get: editor.default.get,
482
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID10.make(selection))
482
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
483
483
  }
484
484
  });
485
485
  })
@@ -533,31 +533,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
533
533
  return context;
534
534
  });
535
535
  var requirements3 = LayerNode.group([
536
- node72,
537
- node54,
538
- node47,
539
- node74,
540
- node73,
541
- node56,
542
- node86,
543
- node75,
544
- node78,
545
- node32,
546
- node83,
547
536
  node42,
548
- node20,
549
- node35,
550
- node43,
551
- node41,
552
- node70,
537
+ node80,
538
+ node65,
539
+ node66,
540
+ node64,
541
+ node61,
542
+ node83,
543
+ node67,
544
+ node85,
545
+ node31,
546
+ node81,
547
+ node40,
548
+ node55,
549
+ node75,
550
+ node39,
553
551
  node17,
554
552
  node18,
555
- node45,
553
+ node70,
554
+ node71,
555
+ node62,
556
+ node76,
557
+ node79,
558
+ node19,
556
559
  node51,
557
- node61,
558
- node21,
559
- node16,
560
- node48
560
+ node72
561
561
  ]);
562
562
  function storage2(kv, pluginID) {
563
563
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -584,7 +584,7 @@ function methodImplementation(input) {
584
584
  if ("authorize" in input) {
585
585
  const refresh = input.refresh;
586
586
  return {
587
- integrationID: ID13.make(input.integrationID),
587
+ integrationID: ID8.make(input.integrationID),
588
588
  method: { ...input.method, id: MethodID2.make(input.method.id) },
589
589
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
590
590
  if (authorization.mode === "auto") {
@@ -604,18 +604,18 @@ function methodImplementation(input) {
604
604
  }
605
605
  if (input.method.type === "env") {
606
606
  return {
607
- integrationID: ID13.make(input.integrationID),
607
+ integrationID: ID8.make(input.integrationID),
608
608
  method: input.method
609
609
  };
610
610
  }
611
611
  if (input.method.type === "command") {
612
612
  return {
613
- integrationID: ID13.make(input.integrationID),
613
+ integrationID: ID8.make(input.integrationID),
614
614
  method: { ...input.method, id: MethodID2.make(input.method.id) }
615
615
  };
616
616
  }
617
617
  return {
618
- integrationID: ID13.make(input.integrationID),
618
+ integrationID: ID8.make(input.integrationID),
619
619
  method: input.method
620
620
  };
621
621
  }