@opencode/core 0.0.0-dev-20187 → 0.0.0-dev-20188

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-access-za77p82n.js → worktree-020j3mp2.js} +6 -6
  8. package/dist/chunks/{file-access-8gxqpgph.js → worktree-06x8he3q.js} +4 -4
  9. package/dist/chunks/{file-access-8d0p2m37.js → worktree-0kvqmx4f.js} +6 -6
  10. package/dist/chunks/worktree-0mesazry.js +4 -0
  11. package/dist/chunks/{file-access-c9mjmcgp.js → worktree-0pa72kx5.js} +3 -3
  12. package/dist/chunks/{file-access-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-access-pcmh8n4s.js → worktree-0rvaxq3r.js} +15 -15
  14. package/dist/chunks/{file-access-shcbc0mr.js → worktree-11qj5279.js} +47 -47
  15. package/dist/chunks/{file-access-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{file-access-zq6stcrg.js → worktree-1h80sv90.js} +5 -5
  17. package/dist/chunks/{file-access-9xe9qmj9.js → worktree-1hj8qdg9.js} +29 -29
  18. package/dist/chunks/{file-access-x8b8vvbw.js → worktree-1rrnyw52.js} +13 -13
  19. package/dist/chunks/{file-access-0ban4q7j.js → worktree-1vezjmp5.js} +16 -16
  20. package/dist/chunks/{file-access-dq0v80fr.js → worktree-20zz1ang.js} +8 -8
  21. package/dist/chunks/{file-access-21r38tys.js → worktree-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-access-mktjswcw.js → worktree-2320a07y.js} +33 -33
  23. package/dist/chunks/{file-access-2402vzrj.js → worktree-2402vzrj.js} +1 -1
  24. package/dist/chunks/{file-access-6ba3re5s.js → worktree-28dctkqw.js} +18 -18
  25. package/dist/chunks/{file-access-nb97snw5.js → worktree-29hn33b2.js} +13 -13
  26. package/dist/chunks/{file-access-b5jzj1yj.js → worktree-29w74my6.js} +4 -4
  27. package/dist/chunks/{file-access-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-access-fdth3mr3.js → worktree-2a6vj052.js} +10 -10
  29. package/dist/chunks/{file-access-ksear8pa.js → worktree-2ffy1121.js} +27 -27
  30. package/dist/chunks/{file-access-y4w844dc.js → worktree-2hf6az8f.js} +84 -84
  31. package/dist/chunks/{file-access-cnmnpfzq.js → worktree-2jvd2xkt.js} +46 -46
  32. package/dist/chunks/{file-access-9syxb0r3.js → worktree-2vjymgz4.js} +11 -11
  33. package/dist/chunks/{file-access-vfn0gt82.js → worktree-2w3tjptc.js} +5 -5
  34. package/dist/chunks/{file-access-gtecn56v.js → worktree-31ywg3jd.js} +14 -14
  35. package/dist/chunks/{file-access-mkd90k1k.js → worktree-32m0rg18.js} +14 -14
  36. package/dist/chunks/{file-access-mfqp6xfm.js → worktree-33w4ejhs.js} +9 -9
  37. package/dist/chunks/{file-access-ratrq7cm.js → worktree-34rkz0x9.js} +7 -7
  38. package/dist/chunks/{file-access-h6gdmyf8.js → worktree-3521mr9s.js} +26 -26
  39. package/dist/chunks/worktree-37xvps52.js +26 -0
  40. package/dist/chunks/{file-access-cfgmghb0.js → worktree-37z41h2b.js} +27 -27
  41. package/dist/chunks/{file-access-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-access-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-access-xz29hvcb.js → worktree-3pe3bqaw.js} +11 -11
  44. package/dist/chunks/{file-access-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-access-9924wf9r.js → worktree-3t5az78k.js} +10 -10
  46. package/dist/chunks/{file-access-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-access-3cfzdc8e.js → worktree-3w0fmcng.js} +5 -5
  48. package/dist/chunks/{file-access-3334155c.js → worktree-3z2pry7k.js} +8 -8
  49. package/dist/chunks/{file-access-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{file-access-4acqjqp7.js → worktree-484bq32a.js} +24 -24
  51. package/dist/chunks/{file-access-8skxcr47.js → worktree-4p0mh606.js} +12 -12
  52. package/dist/chunks/worktree-4v7qdvcn.js +18 -0
  53. package/dist/chunks/{file-access-wefk1wqt.js → worktree-4xwskevg.js} +44 -44
  54. package/dist/chunks/{file-access-337y9ajx.js → worktree-5445nesp.js} +14 -14
  55. package/dist/chunks/{file-access-0pr3hkd7.js → worktree-56dkfrzf.js} +4 -4
  56. package/dist/chunks/{file-access-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{file-access-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  58. package/dist/chunks/{file-access-95ep91d8.js → worktree-5gpad69q.js} +23 -23
  59. package/dist/chunks/{file-access-hr1w2mm6.js → worktree-5m20xtfs.js} +21 -21
  60. package/dist/chunks/{file-access-5jmp07yj.js → worktree-5pc61bqy.js} +28 -28
  61. package/dist/chunks/{file-access-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
  62. package/dist/chunks/{file-access-xxndcd6m.js → worktree-5qwkxp89.js} +4 -4
  63. package/dist/chunks/{file-access-t638vh07.js → worktree-5rbhaw37.js} +17 -17
  64. package/dist/chunks/{file-access-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{file-access-669tq793.js → worktree-669tq793.js} +1 -1
  66. package/dist/chunks/{file-access-0h3wrvqa.js → worktree-6bh1zc7k.js} +1 -1
  67. package/dist/chunks/{file-access-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{file-access-s6cz2hhw.js → worktree-6q03a5wq.js} +19 -19
  69. package/dist/chunks/{file-access-x4sthz2w.js → worktree-6wqfvy1r.js} +21 -21
  70. package/dist/chunks/{file-access-xsxds6qn.js → worktree-70b2t1mc.js} +134 -134
  71. package/dist/chunks/{file-access-ww2xgyza.js → worktree-720pgjf4.js} +31 -31
  72. package/dist/chunks/{file-access-2rb43g2j.js → worktree-73rm0k6w.js} +1 -1
  73. package/dist/chunks/{file-access-mvfsc1pv.js → worktree-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{file-access-qfwq9sf6.js → worktree-75w1k5vs.js} +16 -16
  75. package/dist/chunks/{file-access-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-access-4x8kksgb.js → worktree-7ebfd3s5.js} +11 -11
  77. package/dist/chunks/{file-access-ynz8wf59.js → worktree-7k4j4fqt.js} +27 -27
  78. package/dist/chunks/{file-access-1q0j3phs.js → worktree-7p71tqc9.js} +16 -16
  79. package/dist/chunks/{file-access-4e8vs6eh.js → worktree-7s451enq.js} +8 -8
  80. package/dist/chunks/{file-access-hrehjthg.js → worktree-7v9khnky.js} +8 -8
  81. package/dist/chunks/{file-access-qvrs9pm7.js → worktree-7wndjkhp.js} +40 -40
  82. package/dist/chunks/{file-access-18yef4q6.js → worktree-8695v8ev.js} +26 -26
  83. package/dist/chunks/{file-access-d5ggx3gj.js → worktree-87cgy5hv.js} +3 -3
  84. package/dist/chunks/{file-access-7rwqf82v.js → worktree-89bb6baa.js} +8 -8
  85. package/dist/chunks/{file-access-75gb3hq5.js → worktree-89z5ntxh.js} +5 -5
  86. package/dist/chunks/{file-access-5vrnswt1.js → worktree-8cv5adkj.js} +11 -11
  87. package/dist/chunks/{file-access-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{file-access-vx9wnsws.js → worktree-8k7kyfyn.js} +6 -6
  89. package/dist/chunks/{file-access-bdy3xwvm.js → worktree-8w5jxq7f.js} +9 -9
  90. package/dist/chunks/{file-access-f7zky7ve.js → worktree-8z6bjbtb.js} +22 -22
  91. package/dist/chunks/{file-access-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{file-access-bep57vhd.js → worktree-9f3zk6vx.js} +17 -17
  93. package/dist/chunks/{file-access-962mx99c.js → worktree-9kr90avb.js} +22 -22
  94. package/dist/chunks/{file-access-negvxphk.js → worktree-9me17b34.js} +39 -39
  95. package/dist/chunks/{file-access-e7b5xck2.js → worktree-9tefhynz.js} +8 -8
  96. package/dist/chunks/{file-access-6mvtq6c7.js → worktree-9zvrdw08.js} +16 -16
  97. package/dist/chunks/{file-access-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  98. package/dist/chunks/{file-access-k88pt7np.js → worktree-ajt6jt3w.js} +3 -3
  99. package/dist/chunks/{file-access-me78x99w.js → worktree-b24016yy.js} +42 -42
  100. package/dist/chunks/{file-access-wd1jg618.js → worktree-b2d04wat.js} +11 -11
  101. package/dist/chunks/{file-access-t8ssh1sh.js → worktree-b6bm2ck9.js} +16 -16
  102. package/dist/chunks/{file-access-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-access-mcg4cdmb.js → worktree-bbp6pymt.js} +33 -33
  104. package/dist/chunks/{file-access-z8ckggf1.js → worktree-be2558nw.js} +19 -19
  105. package/dist/chunks/{file-access-4w5bpbdf.js → worktree-be4hb00e.js} +6 -6
  106. package/dist/chunks/{file-access-j83wewfm.js → worktree-begby2a8.js} +20 -20
  107. package/dist/chunks/{file-access-9as0zx85.js → worktree-bh2nsqp8.js} +26 -26
  108. package/dist/chunks/{file-access-4p4fv3qj.js → worktree-bk66cvw8.js} +10 -10
  109. package/dist/chunks/{file-access-c3jkddnq.js → worktree-bp18y4ry.js} +6 -6
  110. package/dist/chunks/{file-access-3r09dpjk.js → worktree-bqkvb2j5.js} +4 -4
  111. package/dist/chunks/{file-access-tvve5xjy.js → worktree-c2pw6yvc.js} +4 -4
  112. package/dist/chunks/{file-access-zrfdpbnq.js → worktree-cahryj50.js} +17 -17
  113. package/dist/chunks/{file-access-t51qk8jz.js → worktree-cavr175a.js} +21 -21
  114. package/dist/chunks/{file-access-zsycvhqj.js → worktree-cd6xvapc.js} +7 -7
  115. package/dist/chunks/{file-access-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{file-access-k2w2e4qt.js → worktree-cp4cyprf.js} +3 -3
  117. package/dist/chunks/{file-access-pekdjahx.js → worktree-czczktcr.js} +9 -9
  118. package/dist/chunks/{file-access-frvysw6e.js → worktree-czx3r0mk.js} +13 -13
  119. package/dist/chunks/{file-access-j07veqf6.js → worktree-d1v6nj19.js} +32 -32
  120. package/dist/chunks/{file-access-z6p2s66k.js → worktree-d9j01kt6.js} +11 -11
  121. package/dist/chunks/{file-access-efq6bxpk.js → worktree-dh8jqdrh.js} +1 -1
  122. package/dist/chunks/{file-access-xfkkasph.js → worktree-drwq78ky.js} +4 -4
  123. package/dist/chunks/{file-access-efd5z8ny.js → worktree-dwn1dze5.js} +9 -9
  124. package/dist/chunks/{file-access-hb9qvk7n.js → worktree-e4jktww8.js} +34 -34
  125. package/dist/chunks/{file-access-3cbqyyyx.js → worktree-e7pxnx0w.js} +13 -13
  126. package/dist/chunks/{file-access-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
  127. package/dist/chunks/{file-access-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{file-access-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{file-access-27f0zk48.js → worktree-ezkyf0b6.js} +48 -48
  130. package/dist/chunks/{file-access-1acjjqhc.js → worktree-f2n192rq.js} +4 -4
  131. package/dist/chunks/{file-access-p2drbkg5.js → worktree-f2t31f47.js} +20 -20
  132. package/dist/chunks/{file-access-r4k1wyhr.js → worktree-fgq08y9p.js} +5 -5
  133. package/dist/chunks/{file-access-mce70z9k.js → worktree-fgxhpymv.js} +2 -2
  134. package/dist/chunks/{file-access-w9xbefsq.js → worktree-fknhp1f0.js} +19 -19
  135. package/dist/chunks/{file-access-p0b4ytnr.js → worktree-fvanntqq.js} +4 -4
  136. package/dist/chunks/{file-access-vttwzxbr.js → worktree-fwbkdqa5.js} +6 -6
  137. package/dist/chunks/{file-access-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{file-access-1mk6sdbt.js → worktree-gesdtaaj.js} +9 -9
  139. package/dist/chunks/{file-access-5cb5swh5.js → worktree-gjd67er9.js} +8 -8
  140. package/dist/chunks/{file-access-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  141. package/dist/chunks/{file-access-ec0abva6.js → worktree-gvx64vq2.js} +84 -84
  142. package/dist/chunks/{file-access-4sjwj7n7.js → worktree-gy2xc5tx.js} +19 -19
  143. package/dist/chunks/{file-access-rjsh0779.js → worktree-gy767g1q.js} +8 -8
  144. package/dist/chunks/{file-access-8jjtxg0s.js → worktree-h0syphj7.js} +24 -24
  145. package/dist/chunks/{file-access-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
  146. package/dist/chunks/{file-access-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{file-access-q98mvgyg.js → worktree-hbt46k8x.js} +13 -13
  148. package/dist/chunks/{file-access-mts3tp2a.js → worktree-hcpeyj26.js} +28 -28
  149. package/dist/chunks/{file-access-az20cacd.js → worktree-hgnyvjm7.js} +315 -315
  150. package/dist/chunks/{file-access-hcz3zddy.js → worktree-hnr5yq9h.js} +5 -5
  151. package/dist/chunks/worktree-hq0gjsme.js +252 -0
  152. package/dist/chunks/{file-access-0egx9fcg.js → worktree-j26sntzs.js} +12 -12
  153. package/dist/chunks/{file-access-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  154. package/dist/chunks/{file-access-bfpeh5ef.js → worktree-j9ayj4zc.js} +31 -31
  155. package/dist/chunks/{file-access-skrn7tyk.js → worktree-janr2w61.js} +10 -10
  156. package/dist/chunks/{file-access-09p5dswj.js → worktree-jnbt5kke.js} +32 -32
  157. package/dist/chunks/{file-access-nen0t6m1.js → worktree-jq2khwfm.js} +18 -18
  158. package/dist/chunks/{file-access-7f2vjcwv.js → worktree-jt1zekb2.js} +12 -12
  159. package/dist/chunks/{file-access-y71avatq.js → worktree-jwcy2c2z.js} +4 -4
  160. package/dist/chunks/{file-access-7z82321y.js → worktree-jxben73j.js} +11 -11
  161. package/dist/chunks/{file-access-31sqvd3m.js → worktree-k15ab44n.js} +6 -6
  162. package/dist/chunks/{file-access-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  163. package/dist/chunks/{file-access-49exe669.js → worktree-k8hpw67k.js} +5 -5
  164. package/dist/chunks/{file-access-1gd8g1kd.js → worktree-kdw1p45x.js} +21 -21
  165. package/dist/chunks/{file-access-b8me5nm1.js → worktree-ke9wcgg9.js} +6 -6
  166. package/dist/chunks/{file-access-rxpah76v.js → worktree-kgkh60qc.js} +29 -29
  167. package/dist/chunks/{file-access-e9j2rb6f.js → worktree-kmntd6fa.js} +10 -10
  168. package/dist/chunks/{file-access-93g208q1.js → worktree-kqa3zwqq.js} +16 -16
  169. package/dist/chunks/{file-access-fhwwmt3w.js → worktree-kvdx9qh0.js} +25 -25
  170. package/dist/chunks/{file-access-z3nay82g.js → worktree-kw9xdzv2.js} +9 -9
  171. package/dist/chunks/{file-access-65p03r80.js → worktree-kwyat364.js} +30 -30
  172. package/dist/chunks/{file-access-a3r4dcrj.js → worktree-ky3seynh.js} +2 -2
  173. package/dist/chunks/{file-access-21z43ch8.js → worktree-m08wkhy0.js} +11 -11
  174. package/dist/chunks/{file-access-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{file-access-mxr1v1s0.js → worktree-m6f3t844.js} +8 -8
  176. package/dist/chunks/{file-access-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{file-access-vrpz8t5t.js → worktree-ma48de29.js} +5 -5
  178. package/dist/chunks/{file-access-qnshbhpz.js → worktree-mbycs7xn.js} +8 -8
  179. package/dist/chunks/{file-access-ahj96hsx.js → worktree-mc8dzm2m.js} +6 -6
  180. package/dist/chunks/{file-access-q9nke688.js → worktree-mdskkmyq.js} +15 -15
  181. package/dist/chunks/{file-access-yjgdj1z3.js → worktree-mfhjs9pf.js} +4 -4
  182. package/dist/chunks/{file-access-0jq9fyba.js → worktree-mkw5hrks.js} +9 -9
  183. package/dist/chunks/{file-access-mvksx64m.js → worktree-mvksx64m.js} +4 -4
  184. package/dist/chunks/{file-access-6jq3w683.js → worktree-mwtjvb3s.js} +53 -53
  185. package/dist/chunks/{file-access-2qq7qy34.js → worktree-mwz6j41z.js} +7 -7
  186. package/dist/chunks/{file-access-9jcbxg0k.js → worktree-mxjy4sk4.js} +14 -14
  187. package/dist/chunks/{file-access-m7ygnyv0.js → worktree-n093hytc.js} +74 -74
  188. package/dist/chunks/{file-access-x3avqwht.js → worktree-n1f7dk7k.js} +11 -11
  189. package/dist/chunks/{file-access-34d8h93h.js → worktree-n2fgpkxf.js} +17 -17
  190. package/dist/chunks/{file-access-hnwbm56y.js → worktree-n6yw1bmz.js} +4 -4
  191. package/dist/chunks/{file-access-1sbn9mmf.js → worktree-n79fjaqn.js} +14 -14
  192. package/dist/chunks/{file-access-v9pkbxww.js → worktree-n8epb2f3.js} +24 -24
  193. package/dist/chunks/{file-access-z9mg39zm.js → worktree-n99xb23m.js} +9 -9
  194. package/dist/chunks/{file-access-5h27d9rq.js → worktree-na68e3aj.js} +17 -17
  195. package/dist/chunks/{file-access-rjq7qqfa.js → worktree-naew6wv7.js} +43 -43
  196. package/dist/chunks/{file-access-118e1mbr.js → worktree-newx50ce.js} +3 -3
  197. package/dist/chunks/{file-access-qg0jgkcp.js → worktree-nscznvay.js} +9 -9
  198. package/dist/chunks/{file-access-z19z2vt9.js → worktree-nx4vh8py.js} +13 -13
  199. package/dist/chunks/{file-access-d2aac7k2.js → worktree-p44d8wdy.js} +5 -5
  200. package/dist/chunks/{file-access-906a7jx9.js → worktree-p4ngywjt.js} +3 -3
  201. package/dist/chunks/{file-access-154cngd0.js → worktree-p9g6edyn.js} +9 -9
  202. package/dist/chunks/{file-access-ksxfp18t.js → worktree-pcsd5hvp.js} +30 -30
  203. package/dist/chunks/{file-access-v4jzz8kz.js → worktree-pe8mbhm6.js} +9 -9
  204. package/dist/chunks/{file-access-hg429xeg.js → worktree-pewkkx94.js} +5 -5
  205. package/dist/chunks/{file-access-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-access-pgwpntn4.js → worktree-pjzg4rs2.js} +4 -4
  207. package/dist/chunks/{file-access-me9yfmm8.js → worktree-pkbn8ntv.js} +2 -2
  208. package/dist/chunks/{file-access-pknna89w.js → worktree-pknna89w.js} +1 -1
  209. package/dist/chunks/{file-access-wkwjecr6.js → worktree-pmpthfvp.js} +18 -18
  210. package/dist/chunks/{file-access-1258x4qk.js → worktree-pp758716.js} +3 -3
  211. package/dist/chunks/{file-access-k1s0srkb.js → worktree-pqjrvzcw.js} +11 -11
  212. package/dist/chunks/{file-access-m6yz57p5.js → worktree-ps7587j7.js} +21 -21
  213. package/dist/chunks/{file-access-8txb2b8x.js → worktree-q3eynse1.js} +9 -9
  214. package/dist/chunks/{file-access-2yf0aazv.js → worktree-qfhs05fv.js} +15 -15
  215. package/dist/chunks/{file-access-2k8khapm.js → worktree-qgn6gcr1.js} +5 -5
  216. package/dist/chunks/{file-access-r2m716tb.js → worktree-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{file-access-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-access-7nn57yq6.js → worktree-qt2a2r7m.js} +6 -6
  219. package/dist/chunks/{file-access-gpk600j1.js → worktree-qz02d4gv.js} +7 -7
  220. package/dist/chunks/{file-access-eb4gdybs.js → worktree-qzdhq6gs.js} +20 -20
  221. package/dist/chunks/{file-access-rw4r7gj7.js → worktree-qzzxwa2f.js} +11 -11
  222. package/dist/chunks/{file-access-ctsbw3ys.js → worktree-r7thwgs5.js} +16 -16
  223. package/dist/chunks/{file-access-tdhdvv51.js → worktree-ra57bp20.js} +9 -9
  224. package/dist/chunks/{file-access-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{file-access-zcdn9qkv.js → worktree-rfb9sreq.js} +46 -46
  226. package/dist/chunks/{file-access-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
  227. package/dist/chunks/{file-access-sb2mhttb.js → worktree-rk8vfsg9.js} +15 -15
  228. package/dist/chunks/{file-access-8sze2n9a.js → worktree-rkprpv83.js} +6 -6
  229. package/dist/chunks/{file-access-yw2ajja7.js → worktree-s3sfgg05.js} +1 -1
  230. package/dist/chunks/{file-access-drq6bgth.js → worktree-s4bg3x1g.js} +39 -39
  231. package/dist/chunks/{file-access-5zarf4w6.js → worktree-s61wkdxb.js} +11 -11
  232. package/dist/chunks/{file-access-jahf9mby.js → worktree-sf02ybzk.js} +31 -31
  233. package/dist/chunks/{file-access-pnqe9gv0.js → worktree-sfntmzm9.js} +1 -1
  234. package/dist/chunks/{file-access-zr4a2xz6.js → worktree-sg55x592.js} +48 -48
  235. package/dist/chunks/{file-access-5btey1ak.js → worktree-st0wxvz0.js} +10 -10
  236. package/dist/chunks/{file-access-1a6p2twq.js → worktree-sx1n432n.js} +4 -4
  237. package/dist/chunks/{file-access-xcd0eash.js → worktree-sxzvkvgj.js} +6 -6
  238. package/dist/chunks/{file-access-s9q1cvsk.js → worktree-t2h3929f.js} +18 -18
  239. package/dist/chunks/{file-access-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{file-access-gzq5apsj.js → worktree-tb1cafh6.js} +4 -4
  241. package/dist/chunks/{file-access-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{file-access-tdstcens.js → worktree-tdstcens.js} +1 -1
  243. package/dist/chunks/{file-access-23a4zp69.js → worktree-tkv06rt5.js} +10 -10
  244. package/dist/chunks/{file-access-p37cw4rj.js → worktree-tpw6cwsb.js} +8 -8
  245. package/dist/chunks/{file-access-0trjvgwz.js → worktree-ttf2sjfk.js} +9 -9
  246. package/dist/chunks/{file-access-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  247. package/dist/chunks/{file-access-j34awfj4.js → worktree-txhsw5z1.js} +8 -8
  248. package/dist/chunks/{file-access-98zr84gz.js → worktree-v38nc8kc.js} +28 -28
  249. package/dist/chunks/{file-access-nddt17wd.js → worktree-vdgcnvxy.js} +15 -15
  250. package/dist/chunks/{file-access-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  251. package/dist/chunks/{file-access-4aq4ypfe.js → worktree-vf3zqv76.js} +27 -27
  252. package/dist/chunks/{file-access-p9p4b71m.js → worktree-vfkxywyq.js} +22 -22
  253. package/dist/chunks/{file-access-nfhxq8kb.js → worktree-vwwmtnca.js} +20 -20
  254. package/dist/chunks/{file-access-fjvydvzm.js → worktree-vyqn3nqs.js} +4 -4
  255. package/dist/chunks/{file-access-0gtypekj.js → worktree-vz9haa5b.js} +15 -15
  256. package/dist/chunks/{file-access-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{file-access-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{file-access-7gy1ktzc.js → worktree-w17508vf.js} +12 -12
  259. package/dist/chunks/{file-access-5982ss3w.js → worktree-w1j9nm09.js} +13 -13
  260. package/dist/chunks/{file-access-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{file-access-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
  262. package/dist/chunks/{file-access-wd87259q.js → worktree-wd87259q.js} +1 -1
  263. package/dist/chunks/{file-access-hzmns3wg.js → worktree-wkx5ts7j.js} +1 -1
  264. package/dist/chunks/{file-access-ssfqen5b.js → worktree-x0sgcbm0.js} +23 -23
  265. package/dist/chunks/{file-access-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{file-access-0bp4e21p.js → worktree-x2fe1d14.js} +1 -1
  267. package/dist/chunks/{file-access-dwgwpymj.js → worktree-x5qaxq4m.js} +14 -14
  268. package/dist/chunks/{file-access-qje44bf3.js → worktree-x6pndzmr.js} +11 -11
  269. package/dist/chunks/{file-access-w7kk730q.js → worktree-x7a8dc8r.js} +33 -33
  270. package/dist/chunks/{file-access-sd5ayyvb.js → worktree-xhsn75b2.js} +10 -10
  271. package/dist/chunks/{file-access-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
  272. package/dist/chunks/{file-access-f4mxeny4.js → worktree-xnrrqkxx.js} +7 -7
  273. package/dist/chunks/{file-access-jexxy024.js → worktree-xxynqx5z.js} +2 -2
  274. package/dist/chunks/{file-access-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{file-access-pdh0wy3m.js → worktree-y2d6hc89.js} +20 -20
  276. package/dist/chunks/{file-access-w5fm9rj9.js → worktree-y3ntbath.js} +15 -15
  277. package/dist/chunks/{file-access-akhdm1q5.js → worktree-y6yanky9.js} +16 -16
  278. package/dist/chunks/{file-access-vsx3errm.js → worktree-yhqrd6s3.js} +12 -12
  279. package/dist/chunks/{file-access-gas93twd.js → worktree-ykpsr87k.js} +33 -33
  280. package/dist/chunks/{file-access-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{file-access-s4enseaf.js → worktree-yrznvahk.js} +2 -2
  282. package/dist/chunks/{file-access-bm9d9rgc.js → worktree-yvppbn9c.js} +9 -9
  283. package/dist/chunks/{file-access-z07pqspn.js → worktree-z07pqspn.js} +3 -3
  284. package/dist/chunks/{file-access-ermxvwhp.js → worktree-z0aj456m.js} +4 -4
  285. package/dist/chunks/{file-access-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{file-access-e12qqq59.js → worktree-z2q1945k.js} +25 -25
  287. package/dist/chunks/{file-access-yp1ke19a.js → worktree-z4nhvzkj.js} +15 -15
  288. package/dist/chunks/{file-access-29x78va6.js → worktree-z63w68vq.js} +6 -6
  289. package/dist/chunks/{file-access-sea28k5q.js → worktree-za9cx4qh.js} +11 -11
  290. package/dist/chunks/{file-access-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  291. package/dist/chunks/{file-access-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{file-access-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{file-access-mvfdckk2.js → worktree-zz9f7sca.js} +6 -6
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +214 -214
  304. package/dist/config/plugin/compaction.js +162 -162
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +83 -83
  328. package/dist/database/database.js +72 -72
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +72 -72
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/file.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +99 -99
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +15 -15
  433. package/dist/filesystem.js +96 -96
  434. package/dist/form.js +80 -80
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +87 -87
  437. package/dist/generate.js +105 -105
  438. package/dist/git.js +8 -8
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +91 -91
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +363 -363
  463. package/dist/instruction-discovery.js +85 -85
  464. package/dist/instructions/builtins.js +87 -87
  465. package/dist/instructions/index.js +1 -1
  466. package/dist/integration/connection.js +1 -1
  467. package/dist/integration.js +78 -78
  468. package/dist/job.js +79 -79
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +73 -73
  471. package/dist/location-activity.js +133 -133
  472. package/dist/location-lifecycle.js +107 -107
  473. package/dist/location-mutation.js +104 -104
  474. package/dist/location-service-map.js +86 -86
  475. package/dist/location-services.js +360 -360
  476. package/dist/location.js +83 -83
  477. package/dist/managed-policy.js +5 -5
  478. package/dist/mcp/client.js +91 -91
  479. package/dist/mcp/index.js +108 -108
  480. package/dist/mcp/instructions.js +128 -128
  481. package/dist/mcp/oauth.js +80 -78
  482. package/dist/mcp/stdio.js +90 -90
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +91 -91
  485. package/dist/model-resolver.js +98 -98
  486. package/dist/model.js +92 -92
  487. package/dist/models-dev.js +107 -107
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +80 -80
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +109 -109
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +88 -88
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +75 -75
  497. package/dist/plugin/agent.js +104 -104
  498. package/dist/plugin/command.js +101 -101
  499. package/dist/plugin/compaction.js +133 -133
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +218 -218
  502. package/dist/plugin/identity.js +3 -3
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +334 -334
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +96 -96
  507. package/dist/plugin/module.js +7 -7
  508. package/dist/plugin/optimize.js +4 -4
  509. package/dist/plugin/plan.js +102 -102
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  512. package/dist/plugin/provider/azure.js +122 -122
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +119 -119
  518. package/dist/plugin/provider/digitalocean.js +93 -93
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/gateway.js +2 -2
  522. package/dist/plugin/provider/github-copilot.js +94 -94
  523. package/dist/plugin/provider/gitlab.js +93 -93
  524. package/dist/plugin/provider/google-vertex.js +90 -90
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +77 -77
  527. package/dist/plugin/provider/lmstudio.js +122 -122
  528. package/dist/plugin/provider/modal.js +92 -92
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +120 -120
  531. package/dist/plugin/provider/openai.js +94 -94
  532. package/dist/plugin/provider/opencode.js +95 -95
  533. package/dist/plugin/provider/openrouter.js +91 -91
  534. package/dist/plugin/provider/perplexity.js +2 -2
  535. package/dist/plugin/provider/poe.js +78 -78
  536. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  537. package/dist/plugin/provider/sap-ai-core.js +91 -91
  538. package/dist/plugin/provider/sdk-factory.js +1 -1
  539. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  540. package/dist/plugin/provider/venice.js +2 -2
  541. package/dist/plugin/provider/vercel.js +90 -90
  542. package/dist/plugin/provider/vllm.js +122 -122
  543. package/dist/plugin/provider/xai.js +91 -91
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +161 -161
  546. package/dist/plugin/sdk.js +74 -74
  547. package/dist/plugin/service.js +3 -3
  548. package/dist/plugin/skill.js +139 -139
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +353 -353
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +6 -6
  553. package/dist/plugin/vcs/git.js +86 -86
  554. package/dist/plugin/vcs/hg.js +84 -84
  555. package/dist/plugin/verbosity.js +93 -93
  556. package/dist/plugin/warming.js +121 -121
  557. package/dist/plugin/websearch/exa.js +5 -5
  558. package/dist/plugin/websearch/firecrawl.js +8 -8
  559. package/dist/plugin/websearch/index.js +9 -9
  560. package/dist/plugin/websearch/mcp.js +6 -6
  561. package/dist/plugin/websearch/parallel.js +8 -8
  562. package/dist/plugin/websearch/tavily.js +6 -6
  563. package/dist/plugin/websearch/tinyfish.js +6 -6
  564. package/dist/plugin.js +227 -227
  565. package/dist/project/schema.js +2 -2
  566. package/dist/project/sql.js +4 -4
  567. package/dist/project.js +82 -82
  568. package/dist/provider.js +91 -91
  569. package/dist/pty/protocol.js +1 -1
  570. package/dist/pty/schema.js +3 -3
  571. package/dist/pty/ticket.js +1 -1
  572. package/dist/pty.js +98 -98
  573. package/dist/reference/instructions.js +89 -89
  574. package/dist/reference.js +87 -87
  575. package/dist/repository-cache.js +81 -81
  576. package/dist/repository.js +1 -1
  577. package/dist/ripgrep/binary.js +2 -2
  578. package/dist/ripgrep.js +91 -91
  579. package/dist/rpc.js +86 -86
  580. package/dist/schema.js +1 -1
  581. package/dist/session/command.js +74 -74
  582. package/dist/session/compaction.js +132 -132
  583. package/dist/session/context.js +152 -152
  584. package/dist/session/diff.js +88 -88
  585. package/dist/session/environment.js +5 -5
  586. package/dist/session/error.js +5 -5
  587. package/dist/session/event.js +1 -1
  588. package/dist/session/execution/restart.js +222 -222
  589. package/dist/session/execution.js +126 -126
  590. package/dist/session/generate.js +153 -153
  591. package/dist/session/history.js +15 -15
  592. package/dist/session/inbox.js +86 -86
  593. package/dist/session/info.js +3 -3
  594. package/dist/session/instruction-entry.js +79 -79
  595. package/dist/session/instruction-state.js +8 -8
  596. package/dist/session/instructions.js +97 -97
  597. package/dist/session/message-updater.js +2 -2
  598. package/dist/session/message.js +1 -1
  599. package/dist/session/model-request.js +117 -117
  600. package/dist/session/model-transport.js +7 -7
  601. package/dist/session/move.js +130 -130
  602. package/dist/session/projector.js +86 -86
  603. package/dist/session/prompt.js +105 -105
  604. package/dist/session/provider-context.js +3 -3
  605. package/dist/session/revert.js +90 -90
  606. package/dist/session/run-coordinator.js +3 -3
  607. package/dist/session/runner/index.js +3 -3
  608. package/dist/session/runner/llm.js +231 -231
  609. package/dist/session/runner/max-steps.js +1 -1
  610. package/dist/session/runner/model.js +98 -98
  611. package/dist/session/runner/publish-llm-event.js +3 -3
  612. package/dist/session/runner/retry.js +114 -114
  613. package/dist/session/runner/step.js +126 -126
  614. package/dist/session/runner/to-llm-message.js +2 -2
  615. package/dist/session/schema.js +3 -3
  616. package/dist/session/session.js +172 -172
  617. package/dist/session/shell.js +138 -138
  618. package/dist/session/skill.js +103 -103
  619. package/dist/session/sql.js +5 -5
  620. package/dist/session/stats.js +73 -73
  621. package/dist/session/store.js +85 -85
  622. package/dist/session/subagent-completion.js +1 -1
  623. package/dist/session/subagent-job.js +210 -210
  624. package/dist/session/system-prompt.js +3 -3
  625. package/dist/session/title.js +156 -156
  626. package/dist/session/to-session-error.js +111 -111
  627. package/dist/session/transfer.js +215 -215
  628. package/dist/session/usage.js +1 -1
  629. package/dist/session.js +214 -214
  630. package/dist/shell/parse.js +6 -6
  631. package/dist/shell/result.js +1 -1
  632. package/dist/shell/scan.js +1 -1
  633. package/dist/shell/select.js +13 -13
  634. package/dist/shell.js +140 -140
  635. package/dist/skill/discovery.js +6 -6
  636. package/dist/skill/instructions.js +107 -107
  637. package/dist/skill.js +106 -106
  638. package/dist/snapshot.js +89 -89
  639. package/dist/state.js +1 -1
  640. package/dist/tool/html-markdown.js +1 -1
  641. package/dist/tool/http-body.js +1 -1
  642. package/dist/tool/mcp.js +127 -127
  643. package/dist/tool/plugin/edit.js +120 -120
  644. package/dist/tool/plugin/file-diff.js +1 -1
  645. package/dist/tool/plugin/glob.js +124 -124
  646. package/dist/tool/plugin/grep.js +124 -124
  647. package/dist/tool/plugin/mcp-resource.js +116 -116
  648. package/dist/tool/plugin/opencode.js +3 -3
  649. package/dist/tool/plugin/patch.js +120 -120
  650. package/dist/tool/plugin/question.js +103 -103
  651. package/dist/tool/plugin/read.js +125 -125
  652. package/dist/tool/plugin/shell.js +217 -217
  653. package/dist/tool/plugin/skill.js +113 -113
  654. package/dist/tool/plugin/subagent.js +215 -215
  655. package/dist/tool/plugin/webfetch.js +110 -110
  656. package/dist/tool/plugin/websearch.js +114 -114
  657. package/dist/tool/plugin/write.js +122 -122
  658. package/dist/tool/read-filesystem.js +100 -100
  659. package/dist/tool/runtime.js +1 -1
  660. package/dist/tool-output.js +8 -8
  661. package/dist/tool.js +12 -12
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/attachment.js +4 -4
  673. package/dist/v1/config/command.js +5 -5
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/formatter.js +3 -3
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +3 -3
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +3 -3
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +93 -93
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +87 -87
  691. package/dist/websearch.js +80 -80
  692. package/dist/wellknown/plugin.js +76 -76
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +80 -80
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +10 -10
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +98 -98
  702. package/package.json +8 -8
  703. package/dist/chunks/file-access-37gbyejr.js +0 -26
  704. package/dist/chunks/file-access-6kdq0pjd.js +0 -4
  705. package/dist/chunks/file-access-7fj5dwt0.js +0 -18
  706. package/dist/chunks/file-access-8bx98dp2.js +0 -252
  707. /package/dist/chunks/{file-access-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{file-access-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{file-access-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{file-access-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{file-access-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{file-access-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{file-access-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{file-access-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{file-access-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{file-access-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{file-access-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{file-access-3asan66x.js → worktree-3asan66x.js} +0 -0
  719. /package/dist/chunks/{file-access-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{file-access-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{file-access-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{file-access-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{file-access-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{file-access-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{file-access-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{file-access-53557ph1.js → worktree-53557ph1.js} +0 -0
  727. /package/dist/chunks/{file-access-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{file-access-6prwharc.js → worktree-6prwharc.js} +0 -0
  729. /package/dist/chunks/{file-access-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{file-access-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{file-access-822emrt2.js → worktree-822emrt2.js} +0 -0
  732. /package/dist/chunks/{file-access-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{file-access-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{file-access-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{file-access-922hggd3.js → worktree-922hggd3.js} +0 -0
  736. /package/dist/chunks/{file-access-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{file-access-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{file-access-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{file-access-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{file-access-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{file-access-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{file-access-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{file-access-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{file-access-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{file-access-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{file-access-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{file-access-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{file-access-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{file-access-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{file-access-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{file-access-df08tz66.js → worktree-df08tz66.js} +0 -0
  752. /package/dist/chunks/{file-access-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{file-access-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{file-access-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{file-access-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{file-access-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{file-access-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{file-access-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{file-access-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{file-access-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{file-access-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{file-access-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{file-access-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{file-access-g86h250q.js → worktree-g86h250q.js} +0 -0
  765. /package/dist/chunks/{file-access-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{file-access-gftt206x.js → worktree-gftt206x.js} +0 -0
  767. /package/dist/chunks/{file-access-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{file-access-hk9envan.js → worktree-hk9envan.js} +0 -0
  769. /package/dist/chunks/{file-access-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{file-access-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{file-access-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{file-access-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{file-access-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{file-access-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{file-access-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{file-access-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{file-access-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{file-access-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{file-access-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{file-access-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{file-access-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{file-access-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{file-access-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{file-access-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{file-access-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{file-access-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{file-access-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{file-access-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{file-access-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{file-access-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{file-access-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{file-access-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{file-access-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{file-access-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{file-access-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{file-access-x61499pn.js → worktree-x61499pn.js} +0 -0
  797. /package/dist/chunks/{file-access-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{file-access-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{file-access-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{file-access-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{file-access-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{file-access-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-access-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./worktree-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: () => Info20,
12
+ Info: () => Info16,
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 Info20 = Schema.Struct({
64
+ var Info16 = 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 Info20 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info20, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info16, exports_provider2 };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node73
3
+ } from "./worktree-5gpad69q.js";
4
+ import {
5
+ node81
6
+ } from "./worktree-gy2xc5tx.js";
7
+ import {
8
+ node80
9
+ } from "./worktree-r7thwgs5.js";
10
+ import {
11
+ node83,
12
+ boundNode2
13
+ } from "./worktree-s61wkdxb.js";
14
+ import {
15
+ node79
16
+ } from "./worktree-cahryj50.js";
17
+ import {
18
+ node63
19
+ } from "./worktree-gesdtaaj.js";
20
+ import {
21
+ node78
22
+ } from "./worktree-y6yanky9.js";
23
+ import {
24
+ node75
25
+ } from "./worktree-8695v8ev.js";
26
+ import {
27
+ configured5,
28
+ node58
29
+ } from "./worktree-naew6wv7.js";
30
+ import {
31
+ node60
32
+ } from "./worktree-x0sgcbm0.js";
33
+ import {
34
+ node15
35
+ } from "./worktree-e7pxnx0w.js";
36
+ import {
37
+ node21
38
+ } from "./worktree-29hn33b2.js";
39
+ import {
40
+ node18
41
+ } from "./worktree-t2h3929f.js";
42
+ import {
43
+ node17
44
+ } from "./worktree-n99xb23m.js";
45
+ import {
46
+ node48
47
+ } from "./worktree-z2q1945k.js";
48
+ import {
49
+ node40
50
+ } from "./worktree-kvdx9qh0.js";
51
+ import {
52
+ node47
53
+ } from "./worktree-kw9xdzv2.js";
54
+ import {
55
+ node36
56
+ } from "./worktree-rfb9sreq.js";
57
+ import {
58
+ Service42,
59
+ node44
60
+ } from "./worktree-sxzvkvgj.js";
61
+ import {
62
+ node32
63
+ } from "./worktree-n79fjaqn.js";
64
+ import {
65
+ node74
66
+ } from "./worktree-7s451enq.js";
67
+ import {
68
+ node70
69
+ } from "./worktree-ezkyf0b6.js";
70
+ import {
71
+ node43
72
+ } from "./worktree-1rrnyw52.js";
73
+ import {
74
+ configured4,
75
+ node54
76
+ } from "./worktree-h0syphj7.js";
77
+ import {
78
+ node35
79
+ } from "./worktree-4p0mh606.js";
80
+ import {
81
+ node46
82
+ } from "./worktree-8z6bjbtb.js";
83
+ import {
84
+ node34
85
+ } from "./worktree-pcsd5hvp.js";
86
+ import {
87
+ node52
88
+ } from "./worktree-6wqfvy1r.js";
89
+ import {
90
+ node39
91
+ } from "./worktree-9zvrdw08.js";
92
+ import {
93
+ node49
94
+ } from "./worktree-kqa3zwqq.js";
95
+ import {
96
+ node31
97
+ } from "./worktree-1vezjmp5.js";
98
+ import {
99
+ node30
100
+ } from "./worktree-2hf6az8f.js";
101
+ import {
102
+ node51
103
+ } from "./worktree-5m20xtfs.js";
104
+ import {
105
+ node66
106
+ } from "./worktree-fknhp1f0.js";
107
+ import {
108
+ node57
109
+ } from "./worktree-j26sntzs.js";
110
+ import {
111
+ node55
112
+ } from "./worktree-11qj5279.js";
113
+ import {
114
+ node50
115
+ } from "./worktree-z4nhvzkj.js";
116
+ import {
117
+ node26
118
+ } from "./worktree-na68e3aj.js";
119
+ import {
120
+ node25
121
+ } from "./worktree-9kr90avb.js";
122
+ import {
123
+ node68
124
+ } from "./worktree-vwwmtnca.js";
125
+ import {
126
+ node24
127
+ } from "./worktree-be2558nw.js";
128
+ import {
129
+ node10
130
+ } from "./worktree-720pgjf4.js";
131
+ import {
132
+ Service14,
133
+ node16
134
+ } from "./worktree-1hj8qdg9.js";
135
+ import {
136
+ node23
137
+ } from "./worktree-9f3zk6vx.js";
138
+ import {
139
+ node9,
140
+ bound2
141
+ } from "./worktree-tpw6cwsb.js";
142
+ import {
143
+ node12
144
+ } from "./worktree-2ffy1121.js";
145
+ import {
146
+ node5
147
+ } from "./worktree-6q03a5wq.js";
148
+ import {
149
+ node6
150
+ } from "./worktree-rk8vfsg9.js";
151
+ import {
152
+ node4
153
+ } from "./worktree-4xwskevg.js";
154
+ import {
155
+ node22
156
+ } from "./worktree-e4jktww8.js";
157
+ import {
158
+ node3
159
+ } from "./worktree-hcpeyj26.js";
160
+ import {
161
+ node2
162
+ } from "./worktree-n093hytc.js";
163
+ import {
164
+ __export
165
+ } from "./worktree-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service42,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node44
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node83,
181
+ node16,
182
+ node60,
183
+ node58,
184
+ node73,
185
+ node75,
186
+ node52,
187
+ node50,
188
+ node25,
189
+ node80,
190
+ node79,
191
+ node78,
192
+ node48,
193
+ node63,
194
+ node24,
195
+ node74,
196
+ node9,
197
+ node4,
198
+ node68,
199
+ node18,
200
+ node17,
201
+ node66,
202
+ node22,
203
+ node55,
204
+ node49,
205
+ node35,
206
+ node54,
207
+ node23,
208
+ node15,
209
+ node21,
210
+ node36,
211
+ node70,
212
+ node46,
213
+ node57,
214
+ node47,
215
+ node31,
216
+ node39,
217
+ node32,
218
+ node81,
219
+ node40,
220
+ node6,
221
+ node34,
222
+ node5,
223
+ node43,
224
+ node12,
225
+ node3,
226
+ node30,
227
+ node51,
228
+ node2,
229
+ node26,
230
+ node10
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node58.replace(configured5({ project: false, global: false })),
235
+ node54.replace(configured4({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node83.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node9.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service14).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./file-access-gd4qta3r.js";
3
+ } from "./worktree-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./file-access-tvtrv512.js";
6
+ } from "./worktree-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./file-access-rdw6cm16.js";
9
+ } from "./worktree-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service66,
21
+ Service: () => Service55,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node69
23
+ node: () => node57
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service66 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service55 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service66.of({
119
+ return Service55.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node69 = makeLocationNode({
137
- service: Service66,
136
+ var node57 = makeLocationNode({
137
+ service: Service55,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service66, node69, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service55, node57, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84
3
- } from "./file-access-qje44bf3.js";
3
+ } from "./worktree-x6pndzmr.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-access-x3avqwht.js";
6
+ } from "./worktree-n1f7dk7k.js";
7
7
  import {
8
- Service52
9
- } from "./file-access-xcd0eash.js";
8
+ Service42
9
+ } from "./worktree-sxzvkvgj.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./file-access-vzs5sf6e.js";
12
+ } from "./worktree-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./file-access-gftt206x.js";
15
+ } from "./worktree-gftt206x.js";
16
16
  import {
17
17
  NotFoundError8,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./file-access-2qq7qy34.js";
23
+ } from "./worktree-mwz6j41z.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./file-access-ec1grn59.js";
26
+ } from "./worktree-ec1grn59.js";
27
27
  import {
28
- Service58
29
- } from "./file-access-w5fm9rj9.js";
28
+ Service68
29
+ } from "./worktree-y3ntbath.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service50
34
- } from "./file-access-p2drbkg5.js";
33
+ Service40
34
+ } from "./worktree-f2t31f47.js";
35
35
  import {
36
- Service48
37
- } from "./file-access-drq6bgth.js";
36
+ Service38
37
+ } from "./worktree-s4bg3x1g.js";
38
38
  import {
39
39
  prepare2
40
- } from "./file-access-qfwq9sf6.js";
40
+ } from "./worktree-75w1k5vs.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./file-access-j83wewfm.js";
45
+ } from "./worktree-begby2a8.js";
46
46
  import {
47
47
  start2
48
- } from "./file-access-8txb2b8x.js";
48
+ } from "./worktree-q3eynse1.js";
49
49
  import {
50
50
  get4
51
- } from "./file-access-bm9d9rgc.js";
51
+ } from "./worktree-yvppbn9c.js";
52
52
  import {
53
53
  __export
54
- } from "./file-access-9rqn6x4v.js";
54
+ } from "./worktree-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make14
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make14 = Effect.fn("Session.make")(function* () {
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service58;
69
- const instances = yield* Service52;
70
- const execution = yield* Service48;
71
- const admission = yield* Service50;
68
+ const store = yield* Service68;
69
+ const instances = yield* Service42;
70
+ const execution = yield* Service38;
71
+ const admission = yield* Service40;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make14, exports_session2 };
332
+ export { make12, exports_session2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-9syxb0r3.js";
3
+ } from "./worktree-2vjymgz4.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-access-x3avqwht.js";
6
+ } from "./worktree-n1f7dk7k.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./file-access-65p03r80.js";
9
+ Event20
10
+ } from "./worktree-kwyat364.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./file-access-ctsbw3ys.js";
14
+ } from "./worktree-r7thwgs5.js";
15
15
  import {
16
16
  which2
17
- } from "./file-access-qaymkmh1.js";
17
+ } from "./worktree-qaymkmh1.js";
18
18
  import {
19
19
  ID13
20
- } from "./file-access-zrfdpbnq.js";
20
+ } from "./worktree-cahryj50.js";
21
21
  import {
22
22
  iife2
23
- } from "./file-access-1kg9ymc8.js";
23
+ } from "./worktree-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-access-7nn57yq6.js";
26
+ } from "./worktree-qt2a2r7m.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -161,7 +161,7 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
166
  const connection = yield* ctx.integration.connection.active(ID13.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service79
3
- } from "./file-access-5zarf4w6.js";
2
+ Service80
3
+ } from "./worktree-s61wkdxb.js";
4
4
  import {
5
- Service70
6
- } from "./file-access-ssfqen5b.js";
5
+ Service58
6
+ } from "./worktree-x0sgcbm0.js";
7
7
  import {
8
- Service22,
8
+ Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-access-3cbqyyyx.js";
11
+ } from "./worktree-e7pxnx0w.js";
12
12
  import {
13
- Service14
14
- } from "./file-access-nb97snw5.js";
13
+ Service19
14
+ } from "./worktree-29hn33b2.js";
15
15
  import {
16
- Service57
17
- } from "./file-access-27f0zk48.js";
16
+ Service67
17
+ } from "./worktree-ezkyf0b6.js";
18
18
  import {
19
- Service29,
19
+ Service21,
20
20
  resolvePath2
21
- } from "./file-access-bep57vhd.js";
21
+ } from "./worktree-9f3zk6vx.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-access-6prwharc.js";
24
+ } from "./worktree-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-access-9rqn6x4v.js";
27
+ } from "./worktree-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output7,
35
- Plugin: () => Plugin48,
36
- name: () => name10
33
+ Input: () => Input9,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin11,
36
+ name: () => name9
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name9 = "edit";
43
+ var Input9 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin48 = {
106
+ var Plugin11 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service29;
110
- const fileMutation = yield* Service22;
111
- const environment = yield* Service70;
112
- const formatter = yield* Service14;
113
- const location = yield* Service79;
114
- const permission = yield* Service57;
109
+ const access = yield* Service21;
110
+ const fileMutation = yield* Service13;
111
+ const environment = yield* Service58;
112
+ const formatter = yield* Service19;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service67;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name10,
116
+ name: name9,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input10,
120
- output: Output7,
119
+ input: Input9,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin48 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output7, Plugin48, exports_edit };
197
+ export { name9, Input9, Output8, Plugin11, exports_edit };