@opencode/core 0.0.0-dev-20184 → 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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +75 -75
  7. package/dist/chunks/{permission-8wm8yswe.js → worktree-020j3mp2.js} +6 -6
  8. package/dist/chunks/{permission-2vs2nh1n.js → worktree-06x8he3q.js} +4 -4
  9. package/dist/chunks/{permission-gyh65ccy.js → worktree-0kvqmx4f.js} +5 -5
  10. package/dist/chunks/{permission-2jv99ep9.js → worktree-0pa72kx5.js} +1 -1
  11. package/dist/chunks/{permission-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{permission-rzczz02k.js → worktree-0rvaxq3r.js} +46 -46
  13. package/dist/chunks/{permission-4se0c4pr.js → worktree-11qj5279.js} +51 -51
  14. package/dist/chunks/{permission-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{permission-etzz3kcr.js → worktree-1h80sv90.js} +8 -8
  16. package/dist/chunks/{permission-rts5f3sp.js → worktree-1hj8qdg9.js} +36 -36
  17. package/dist/chunks/{permission-5x8k1esv.js → worktree-1rrnyw52.js} +13 -13
  18. package/dist/chunks/{permission-bjmw0wh0.js → worktree-1vezjmp5.js} +18 -18
  19. package/dist/chunks/{permission-r6hzy11n.js → worktree-20zz1ang.js} +12 -12
  20. package/dist/chunks/{permission-21r38tys.js → worktree-21r38tys.js} +1 -1
  21. package/dist/chunks/{permission-hmgm1r3d.js → worktree-2320a07y.js} +36 -36
  22. package/dist/chunks/{permission-2402vzrj.js → worktree-2402vzrj.js} +1 -1
  23. package/dist/chunks/{permission-wbxghec3.js → worktree-28dctkqw.js} +20 -20
  24. package/dist/chunks/{permission-nw7zyz1n.js → worktree-29hn33b2.js} +15 -15
  25. package/dist/chunks/{permission-cyr9qmn9.js → worktree-29w74my6.js} +4 -4
  26. package/dist/chunks/{permission-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{permission-9m7h70yb.js → worktree-2a6vj052.js} +10 -10
  28. package/dist/chunks/{permission-sfya1ybz.js → worktree-2ffy1121.js} +29 -29
  29. package/dist/chunks/{permission-ddxa4xrn.js → worktree-2hf6az8f.js} +86 -86
  30. package/dist/chunks/{permission-q9rwvn8w.js → worktree-2jvd2xkt.js} +43 -43
  31. package/dist/chunks/{permission-7tt26n7w.js → worktree-2vjymgz4.js} +11 -11
  32. package/dist/chunks/{permission-24tsh65v.js → worktree-2w3tjptc.js} +5 -5
  33. package/dist/chunks/{permission-qhrscye9.js → worktree-31ywg3jd.js} +14 -14
  34. package/dist/chunks/{permission-ayaqcnb4.js → worktree-32m0rg18.js} +13 -13
  35. package/dist/chunks/{permission-33w4ejhs.js → worktree-33w4ejhs.js} +2 -2
  36. package/dist/chunks/{permission-ratrq7cm.js → worktree-34rkz0x9.js} +7 -7
  37. package/dist/chunks/{permission-pwy65ecz.js → worktree-3521mr9s.js} +15 -15
  38. package/dist/chunks/worktree-37xvps52.js +26 -0
  39. package/dist/chunks/{permission-cf69m2yy.js → worktree-37z41h2b.js} +27 -27
  40. package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{permission-qp1prb2r.js → worktree-3pe3bqaw.js} +8 -8
  43. package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{permission-cgdrf0ef.js → worktree-3t5az78k.js} +10 -10
  45. package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{permission-t0fxg8b9.js → worktree-3w0fmcng.js} +5 -5
  47. package/dist/chunks/{permission-ej9m8fc8.js → worktree-3z2pry7k.js} +7 -7
  48. package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{permission-6hjv98hr.js → worktree-484bq32a.js} +20 -20
  50. package/dist/chunks/{permission-saj04eec.js → worktree-4p0mh606.js} +13 -13
  51. package/dist/chunks/worktree-4v7qdvcn.js +18 -0
  52. package/dist/chunks/{permission-s0pzxwsy.js → worktree-4xwskevg.js} +43 -43
  53. package/dist/chunks/{permission-sgt0rw0w.js → worktree-5445nesp.js} +11 -11
  54. package/dist/chunks/{permission-ssdqnhy0.js → worktree-56dkfrzf.js} +4 -4
  55. package/dist/chunks/{permission-kjt3qfh8.js → worktree-57ez7d0k.js} +9 -9
  56. package/dist/chunks/{permission-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  57. package/dist/chunks/{permission-tnyskk9d.js → worktree-5gpad69q.js} +22 -22
  58. package/dist/chunks/{permission-rw86at65.js → worktree-5m20xtfs.js} +24 -24
  59. package/dist/chunks/{permission-yf6svgv2.js → worktree-5pc61bqy.js} +23 -23
  60. package/dist/chunks/{permission-kmx0na6r.js → worktree-5qwkxp89.js} +4 -4
  61. package/dist/chunks/{permission-nmxb84e1.js → worktree-5rbhaw37.js} +17 -17
  62. package/dist/chunks/{permission-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{permission-669tq793.js → worktree-669tq793.js} +1 -1
  64. package/dist/chunks/{permission-3ajs7g5c.js → worktree-6bh1zc7k.js} +1 -1
  65. package/dist/chunks/{permission-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{permission-57g7wts8.js → worktree-6q03a5wq.js} +22 -22
  67. package/dist/chunks/{permission-5tkkp2n3.js → worktree-6wqfvy1r.js} +29 -29
  68. package/dist/chunks/{permission-dymtc34b.js → worktree-70b2t1mc.js} +162 -162
  69. package/dist/chunks/{permission-f22ykn95.js → worktree-720pgjf4.js} +36 -36
  70. package/dist/chunks/{permission-h3k9h1nw.js → worktree-73rm0k6w.js} +5 -5
  71. package/dist/chunks/{permission-1bbkgx8g.js → worktree-73tb2d7t.js} +3 -3
  72. package/dist/chunks/{permission-b56pkp53.js → worktree-75w1k5vs.js} +14 -14
  73. package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{permission-2k7qy34m.js → worktree-7ebfd3s5.js} +11 -11
  75. package/dist/chunks/{permission-fqwz5wn3.js → worktree-7k4j4fqt.js} +24 -24
  76. package/dist/chunks/{permission-5e8g6gvh.js → worktree-7p71tqc9.js} +16 -16
  77. package/dist/chunks/{permission-k1gkpfdk.js → worktree-7s451enq.js} +8 -8
  78. package/dist/chunks/{permission-4z4dz35z.js → worktree-7v9khnky.js} +6 -6
  79. package/dist/chunks/{permission-w3nd4yv7.js → worktree-7wndjkhp.js} +41 -41
  80. package/dist/chunks/{permission-j33wwp0m.js → worktree-8695v8ev.js} +28 -28
  81. package/dist/chunks/{permission-6na13bja.js → worktree-87cgy5hv.js} +3 -3
  82. package/dist/chunks/{permission-2hr5nhwa.js → worktree-89bb6baa.js} +8 -8
  83. package/dist/chunks/{permission-tkvyhn45.js → worktree-89z5ntxh.js} +5 -5
  84. package/dist/chunks/{permission-3sfvjz79.js → worktree-8cv5adkj.js} +8 -8
  85. package/dist/chunks/{permission-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{permission-vhgy81xs.js → worktree-8k7kyfyn.js} +9 -9
  87. package/dist/chunks/{permission-6p737ktq.js → worktree-8w5jxq7f.js} +9 -9
  88. package/dist/chunks/{permission-hgfrrbh0.js → worktree-8z6bjbtb.js} +22 -22
  89. package/dist/chunks/{permission-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{permission-1g0f3apw.js → worktree-9f3zk6vx.js} +18 -18
  91. package/dist/chunks/{permission-6jdx8b0n.js → worktree-9kr90avb.js} +28 -28
  92. package/dist/chunks/{permission-e92bq28b.js → worktree-9me17b34.js} +30 -30
  93. package/dist/chunks/{permission-ehajrkt1.js → worktree-9tefhynz.js} +14 -14
  94. package/dist/chunks/{permission-pxsqpsjb.js → worktree-9zvrdw08.js} +16 -16
  95. package/dist/chunks/{permission-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  96. package/dist/chunks/{permission-8faqvjx1.js → worktree-ajt6jt3w.js} +23 -23
  97. package/dist/chunks/{permission-cnrsv64g.js → worktree-b24016yy.js} +41 -41
  98. package/dist/chunks/{permission-b6yfrbdv.js → worktree-b2d04wat.js} +11 -11
  99. package/dist/chunks/{permission-qbhgxd5f.js → worktree-b6bm2ck9.js} +10 -10
  100. package/dist/chunks/{permission-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{permission-bkfea2es.js → worktree-bbp6pymt.js} +35 -35
  102. package/dist/chunks/{permission-vx0142rj.js → worktree-be2558nw.js} +20 -20
  103. package/dist/chunks/{permission-e5bmervc.js → worktree-be4hb00e.js} +8 -8
  104. package/dist/chunks/{permission-wy5fy4m8.js → worktree-begby2a8.js} +20 -20
  105. package/dist/chunks/{permission-v0xzzsdq.js → worktree-bh2nsqp8.js} +27 -27
  106. package/dist/chunks/{permission-vry6d8rm.js → worktree-bk66cvw8.js} +16 -16
  107. package/dist/chunks/{permission-yenfhe7g.js → worktree-bp18y4ry.js} +6 -6
  108. package/dist/chunks/{permission-y0pwr5yx.js → worktree-bqkvb2j5.js} +4 -4
  109. package/dist/chunks/{permission-a0zk29s1.js → worktree-c2pw6yvc.js} +4 -4
  110. package/dist/chunks/{permission-8zd0p5g4.js → worktree-cahryj50.js} +27 -27
  111. package/dist/chunks/{permission-k2h4r4s0.js → worktree-cavr175a.js} +4 -4
  112. package/dist/chunks/{permission-j1mnsbt4.js → worktree-cd6xvapc.js} +7 -7
  113. package/dist/chunks/{permission-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
  114. package/dist/chunks/{permission-kpt7db8g.js → worktree-cp4cyprf.js} +5 -5
  115. package/dist/chunks/{permission-5fsz5bhv.js → worktree-czczktcr.js} +11 -11
  116. package/dist/chunks/{permission-w4tz3mw8.js → worktree-czx3r0mk.js} +11 -11
  117. package/dist/chunks/{permission-xpj8nf9s.js → worktree-d1v6nj19.js} +32 -32
  118. package/dist/chunks/{permission-fatsxjpm.js → worktree-d9j01kt6.js} +8 -8
  119. package/dist/chunks/{permission-f82z4zvv.js → worktree-dh8jqdrh.js} +3 -3
  120. package/dist/chunks/{permission-drwq78ky.js → worktree-drwq78ky.js} +1 -1
  121. package/dist/chunks/{permission-51n5pk6z.js → worktree-dwn1dze5.js} +9 -9
  122. package/dist/chunks/{permission-y800c526.js → worktree-e4jktww8.js} +24 -24
  123. package/dist/chunks/{permission-x9rrqg2b.js → worktree-e7pxnx0w.js} +13 -13
  124. package/dist/chunks/{permission-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
  125. package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{permission-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{permission-6pncvqss.js → worktree-ezkyf0b6.js} +51 -51
  128. package/dist/chunks/{permission-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
  129. package/dist/chunks/{permission-fafky6mp.js → worktree-f2t31f47.js} +24 -24
  130. package/dist/chunks/{permission-k1t2h6fm.js → worktree-fgq08y9p.js} +5 -5
  131. package/dist/chunks/{permission-bczx3n1j.js → worktree-fgxhpymv.js} +2 -2
  132. package/dist/chunks/{permission-0fmtf5bj.js → worktree-fknhp1f0.js} +15 -15
  133. package/dist/chunks/{permission-kxpygcw9.js → worktree-fvanntqq.js} +6 -6
  134. package/dist/chunks/{permission-w3v9xvx0.js → worktree-fwbkdqa5.js} +6 -6
  135. package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{permission-z5xy1pp3.js → worktree-gesdtaaj.js} +11 -11
  137. package/dist/chunks/{permission-qy5jqk5y.js → worktree-gjd67er9.js} +8 -8
  138. package/dist/chunks/{permission-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  139. package/dist/chunks/{permission-2zqtqwz1.js → worktree-gvx64vq2.js} +87 -87
  140. package/dist/chunks/{permission-97fqmzxy.js → worktree-gy2xc5tx.js} +15 -15
  141. package/dist/chunks/{permission-rxe57bkw.js → worktree-gy767g1q.js} +6 -6
  142. package/dist/chunks/{permission-afzgrqyy.js → worktree-h0syphj7.js} +26 -26
  143. package/dist/chunks/{permission-4dgbcxzg.js → worktree-h6r3nrb9.js} +4 -4
  144. package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{permission-b2mnzr05.js → worktree-hbt46k8x.js} +13 -13
  146. package/dist/chunks/{permission-pvxjc7f1.js → worktree-hcpeyj26.js} +30 -30
  147. package/dist/chunks/{permission-97q5ahja.js → worktree-hgnyvjm7.js} +313 -313
  148. package/dist/chunks/{permission-hnr5yq9h.js → worktree-hnr5yq9h.js} +2 -2
  149. package/dist/chunks/worktree-hq0gjsme.js +252 -0
  150. package/dist/chunks/{permission-4sak20nb.js → worktree-j26sntzs.js} +12 -12
  151. package/dist/chunks/{permission-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  152. package/dist/chunks/{permission-dhfnq7cz.js → worktree-j9ayj4zc.js} +27 -27
  153. package/dist/chunks/{permission-t48gppwk.js → worktree-janr2w61.js} +22 -22
  154. package/dist/chunks/{permission-54rshveq.js → worktree-jnbt5kke.js} +23 -23
  155. package/dist/chunks/{permission-tk1jy2x3.js → worktree-jq2khwfm.js} +20 -20
  156. package/dist/chunks/{permission-n3nn477v.js → worktree-jt1zekb2.js} +18 -18
  157. package/dist/chunks/{permission-jwcy2c2z.js → worktree-jwcy2c2z.js} +1 -1
  158. package/dist/chunks/{permission-ghv54smh.js → worktree-jxben73j.js} +11 -11
  159. package/dist/chunks/{permission-ngt7ecf9.js → worktree-k15ab44n.js} +6 -6
  160. package/dist/chunks/{permission-nzks3jc8.js → worktree-k3c624dm.js} +3 -3
  161. package/dist/chunks/{permission-reg6q42h.js → worktree-k8hpw67k.js} +5 -5
  162. package/dist/chunks/{permission-r2f6481p.js → worktree-kdw1p45x.js} +19 -19
  163. package/dist/chunks/{permission-v8m7gbe5.js → worktree-ke9wcgg9.js} +9 -9
  164. package/dist/chunks/{permission-tbhezzwm.js → worktree-kgkh60qc.js} +31 -31
  165. package/dist/chunks/{permission-14c14xej.js → worktree-kmntd6fa.js} +14 -14
  166. package/dist/chunks/{permission-n0t91eez.js → worktree-kqa3zwqq.js} +28 -28
  167. package/dist/chunks/{permission-4gk3n205.js → worktree-kvdx9qh0.js} +22 -22
  168. package/dist/chunks/{permission-1nzh38e4.js → worktree-kw9xdzv2.js} +9 -9
  169. package/dist/chunks/{permission-k3cdxeqz.js → worktree-kwyat364.js} +16 -16
  170. package/dist/chunks/{permission-m7va1g8x.js → worktree-ky3seynh.js} +2 -2
  171. package/dist/chunks/{permission-etsqtbhr.js → worktree-m08wkhy0.js} +8 -8
  172. package/dist/chunks/{permission-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{permission-5q13c62c.js → worktree-m6f3t844.js} +8 -8
  174. package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{permission-2vgzs72b.js → worktree-ma48de29.js} +5 -5
  176. package/dist/chunks/{permission-j9q6k7aj.js → worktree-mbycs7xn.js} +8 -8
  177. package/dist/chunks/{permission-5qbehed9.js → worktree-mc8dzm2m.js} +6 -6
  178. package/dist/chunks/{permission-5hfyzxkm.js → worktree-mdskkmyq.js} +15 -15
  179. package/dist/chunks/{permission-gzfen01c.js → worktree-mfhjs9pf.js} +4 -4
  180. package/dist/chunks/{permission-ajdjch6h.js → worktree-mkw5hrks.js} +9 -9
  181. package/dist/chunks/{permission-mvksx64m.js → worktree-mvksx64m.js} +4 -4
  182. package/dist/chunks/{permission-nj1ne2aq.js → worktree-mwtjvb3s.js} +58 -58
  183. package/dist/chunks/{permission-f35htakt.js → worktree-mwz6j41z.js} +6 -6
  184. package/dist/chunks/{permission-yynwptpj.js → worktree-mxjy4sk4.js} +19 -19
  185. package/dist/chunks/{permission-zq57yxn8.js → worktree-n093hytc.js} +76 -76
  186. package/dist/chunks/{permission-xcxmx1ny.js → worktree-n1f7dk7k.js} +16 -16
  187. package/dist/chunks/{permission-2rpfb17w.js → worktree-n2fgpkxf.js} +17 -17
  188. package/dist/chunks/{permission-1xa0h2ms.js → worktree-n6yw1bmz.js} +6 -6
  189. package/dist/chunks/{permission-d33bm1cf.js → worktree-n79fjaqn.js} +14 -14
  190. package/dist/chunks/{permission-vs1r7qq9.js → worktree-n8epb2f3.js} +21 -21
  191. package/dist/chunks/{permission-x3mwxeme.js → worktree-n99xb23m.js} +8 -8
  192. package/dist/chunks/{permission-24acafqq.js → worktree-na68e3aj.js} +23 -23
  193. package/dist/chunks/{permission-0jdm48jn.js → worktree-naew6wv7.js} +40 -40
  194. package/dist/chunks/{permission-k2g1dzr3.js → worktree-newx50ce.js} +3 -3
  195. package/dist/chunks/{permission-kfphszmj.js → worktree-nscznvay.js} +9 -9
  196. package/dist/chunks/{permission-azs9k5d5.js → worktree-nx4vh8py.js} +10 -10
  197. package/dist/chunks/{permission-yt0fqk68.js → worktree-p44d8wdy.js} +5 -5
  198. package/dist/chunks/{permission-7ewykddx.js → worktree-p4ngywjt.js} +5 -5
  199. package/dist/chunks/{permission-h7h63fbb.js → worktree-p9g6edyn.js} +11 -11
  200. package/dist/chunks/{permission-0g7pd6ta.js → worktree-pcsd5hvp.js} +28 -28
  201. package/dist/chunks/{permission-d847bbj0.js → worktree-pe8mbhm6.js} +13 -13
  202. package/dist/chunks/{permission-pfwe42sa.js → worktree-pewkkx94.js} +10 -10
  203. package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{permission-svf4gwh1.js → worktree-pjzg4rs2.js} +4 -4
  205. package/dist/chunks/{permission-5v1y5507.js → worktree-pkbn8ntv.js} +5 -5
  206. package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
  207. package/dist/chunks/{permission-19vh884z.js → worktree-pmpthfvp.js} +20 -20
  208. package/dist/chunks/{permission-684ndb9j.js → worktree-pp758716.js} +22 -22
  209. package/dist/chunks/{permission-1ysbcb6q.js → worktree-pqjrvzcw.js} +11 -11
  210. package/dist/chunks/{permission-kz92j2tj.js → worktree-ps7587j7.js} +18 -18
  211. package/dist/chunks/{permission-bp0aq75x.js → worktree-q3eynse1.js} +7 -7
  212. package/dist/chunks/{permission-sebm3pt6.js → worktree-qfhs05fv.js} +12 -12
  213. package/dist/chunks/{permission-2k8khapm.js → worktree-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{permission-2sejkfem.js → worktree-qmqgtz8f.js} +9 -9
  215. package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  216. package/dist/chunks/{permission-j3ddgfcr.js → worktree-qt2a2r7m.js} +6 -6
  217. package/dist/chunks/{permission-ywyx2haj.js → worktree-qz02d4gv.js} +7 -7
  218. package/dist/chunks/{permission-zvaxvgce.js → worktree-qzdhq6gs.js} +20 -20
  219. package/dist/chunks/{permission-dfpaty28.js → worktree-qzzxwa2f.js} +11 -11
  220. package/dist/chunks/{permission-smr7e5fr.js → worktree-r7thwgs5.js} +18 -18
  221. package/dist/chunks/{permission-8dz9zr32.js → worktree-ra57bp20.js} +9 -9
  222. package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{permission-1ycd2rxc.js → worktree-rfb9sreq.js} +37 -37
  224. package/dist/chunks/{permission-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
  225. package/dist/chunks/{permission-hkspma10.js → worktree-rk8vfsg9.js} +14 -14
  226. package/dist/chunks/{permission-6pc27hjz.js → worktree-rkprpv83.js} +6 -6
  227. package/dist/chunks/{permission-p0thxmc5.js → worktree-s3sfgg05.js} +3 -3
  228. package/dist/chunks/{permission-y6x7sa31.js → worktree-s4bg3x1g.js} +38 -38
  229. package/dist/chunks/{permission-fmnxy78r.js → worktree-s61wkdxb.js} +17 -17
  230. package/dist/chunks/{permission-584yye6p.js → worktree-sf02ybzk.js} +40 -40
  231. package/dist/chunks/{permission-v3sgzvyr.js → worktree-sfntmzm9.js} +1 -1
  232. package/dist/chunks/{permission-34t9xht8.js → worktree-sg55x592.js} +48 -48
  233. package/dist/chunks/{permission-p5t99sjb.js → worktree-st0wxvz0.js} +13 -13
  234. package/dist/chunks/{permission-r98e92ep.js → worktree-sx1n432n.js} +4 -4
  235. package/dist/chunks/{permission-sxzvkvgj.js → worktree-sxzvkvgj.js} +1 -1
  236. package/dist/chunks/{permission-v0ggm0fh.js → worktree-t2h3929f.js} +14 -14
  237. package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{permission-41czef58.js → worktree-tb1cafh6.js} +4 -4
  239. package/dist/chunks/{permission-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
  241. package/dist/chunks/{permission-8nrxx7ew.js → worktree-tkv06rt5.js} +7 -7
  242. package/dist/chunks/{permission-5yzzbxa7.js → worktree-tpw6cwsb.js} +8 -8
  243. package/dist/chunks/{permission-jksg1452.js → worktree-ttf2sjfk.js} +15 -15
  244. package/dist/chunks/{permission-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  245. package/dist/chunks/{permission-6fk4tdpn.js → worktree-txhsw5z1.js} +10 -10
  246. package/dist/chunks/{permission-mkg8e4q8.js → worktree-v38nc8kc.js} +28 -28
  247. package/dist/chunks/{permission-pm3n1g0e.js → worktree-vdgcnvxy.js} +15 -15
  248. package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  249. package/dist/chunks/{permission-7wb193pp.js → worktree-vf3zqv76.js} +15 -15
  250. package/dist/chunks/{permission-y06pfwqc.js → worktree-vfkxywyq.js} +24 -24
  251. package/dist/chunks/{permission-zzja90ps.js → worktree-vwwmtnca.js} +19 -19
  252. package/dist/chunks/{permission-awaee7qt.js → worktree-vyqn3nqs.js} +6 -6
  253. package/dist/chunks/{permission-j23yr5b5.js → worktree-vz9haa5b.js} +33 -33
  254. package/dist/chunks/{permission-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{permission-xwb191sg.js → worktree-w17508vf.js} +12 -12
  257. package/dist/chunks/{permission-b6mtjhv1.js → worktree-w1j9nm09.js} +10 -10
  258. package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{permission-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
  260. package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
  261. package/dist/chunks/{permission-m9b6kb6q.js → worktree-wkx5ts7j.js} +1 -1
  262. package/dist/chunks/{permission-yt30x9cm.js → worktree-x0sgcbm0.js} +24 -24
  263. package/dist/chunks/{permission-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{permission-ae682ca7.js → worktree-x2fe1d14.js} +3 -3
  265. package/dist/chunks/{permission-xqczf6qp.js → worktree-x5qaxq4m.js} +11 -11
  266. package/dist/chunks/{permission-awv4ahag.js → worktree-x6pndzmr.js} +11 -11
  267. package/dist/chunks/{permission-ck61pxrr.js → worktree-x7a8dc8r.js} +33 -33
  268. package/dist/chunks/{permission-hcrg44m0.js → worktree-xhsn75b2.js} +7 -7
  269. package/dist/chunks/{permission-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
  270. package/dist/chunks/{permission-nkdg3sj8.js → worktree-xnrrqkxx.js} +7 -7
  271. package/dist/chunks/{permission-256nx13v.js → worktree-xxynqx5z.js} +3 -3
  272. package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{permission-4scqb8zw.js → worktree-y2d6hc89.js} +17 -17
  274. package/dist/chunks/{permission-m4avm7a4.js → worktree-y3ntbath.js} +15 -15
  275. package/dist/chunks/{permission-9s46jenq.js → worktree-y6yanky9.js} +33 -33
  276. package/dist/chunks/{permission-czy61f26.js → worktree-yhqrd6s3.js} +12 -12
  277. package/dist/chunks/{permission-45e4geyc.js → worktree-ykpsr87k.js} +35 -35
  278. package/dist/chunks/{permission-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{permission-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  280. package/dist/chunks/{permission-e7vdtnc4.js → worktree-yvppbn9c.js} +7 -7
  281. package/dist/chunks/{permission-z07pqspn.js → worktree-z07pqspn.js} +3 -3
  282. package/dist/chunks/{permission-nb9p6b26.js → worktree-z0aj456m.js} +4 -4
  283. package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{permission-5qc3t8ee.js → worktree-z2q1945k.js} +40 -40
  285. package/dist/chunks/{permission-3f4rnrsa.js → worktree-z4nhvzkj.js} +23 -23
  286. package/dist/chunks/{permission-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  287. package/dist/chunks/{permission-h7eh6x2y.js → worktree-za9cx4qh.js} +8 -8
  288. package/dist/chunks/{permission-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{permission-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{permission-nr94q6s0.js → worktree-zz9f7sca.js} +4 -4
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +121 -121
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +77 -77
  326. package/dist/database/database.js +72 -72
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +366 -366
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +93 -93
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +94 -94
  432. package/dist/form.js +78 -78
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +1 -1
  460. package/dist/instance.js +359 -359
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +1 -1
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +82 -82
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +106 -106
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +77 -75
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +107 -107
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +334 -334
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +94 -94
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +161 -161
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +353 -353
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +99 -99
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +90 -90
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +95 -95
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +156 -156
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +216 -216
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +11 -11
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +125 -125
  641. package/dist/tool/plugin/edit.js +114 -114
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +117 -117
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +105 -105
  652. package/dist/tool/plugin/subagent.js +213 -213
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +98 -98
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +2 -2
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +94 -94
  700. package/package.json +8 -8
  701. package/dist/chunks/permission-gexvz8d1.js +0 -26
  702. package/dist/chunks/permission-hbvxqsxt.js +0 -252
  703. package/dist/chunks/permission-rap9a73h.js +0 -18
  704. /package/dist/chunks/{permission-0mesazry.js → worktree-0mesazry.js} +0 -0
  705. /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{permission-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
  717. /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{permission-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
  725. /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{permission-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
  728. /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
  731. /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{permission-922hggd3.js → worktree-922hggd3.js} +0 -0
  735. /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
  751. /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{permission-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
  764. /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
  766. /package/dist/chunks/{permission-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
  768. /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{permission-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
  796. /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{permission-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./permission-xcxmx1ny.js";
2
+ Service83,
3
+ node86
4
+ } from "./worktree-n1f7dk7k.js";
5
5
  import {
6
6
  create3
7
- } from "./permission-rdw6cm16.js";
7
+ } from "./worktree-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./permission-6pncvqss.js";
10
+ } from "./worktree-ezkyf0b6.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event8,
21
- ID: () => ID4,
22
- Info: () => Info8,
20
+ Event: () => Event6,
21
+ ID: () => ID5,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service44,
24
+ Service: () => Service47,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node46,
29
+ node: () => node49,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event8 } from "@opencode/schema/skill";
37
+ import { Event as Event6 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID4 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info7 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service44 extends Context.Service()("@opencode/Skill") {
74
+ class Service47 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service44, Effect.gen(function* () {
77
- const bus = yield* Service81;
76
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
77
+ const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service44.of({
100
+ return Service47.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node46 = makeLocationNode({
112
- service: Service44,
111
+ var node49 = makeLocationNode({
112
+ service: Service47,
113
113
  layer,
114
- deps: [node85]
114
+ deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service44, node46, exports_skill5, Event8 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service47, node49, exports_skill5, Event6 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./permission-5t3nmthw.js";
3
+ } from "./worktree-5t3nmthw.js";
4
4
  import {
5
- Service70,
6
- node74
7
- } from "./permission-5qc3t8ee.js";
5
+ Service46,
6
+ node48
7
+ } from "./worktree-z2q1945k.js";
8
8
  import {
9
9
  __export
10
- } from "./permission-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service60,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer22,
20
- node: () => node64
17
+ Service: () => Service37,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer14,
20
+ node: () => node40
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service60 extends Context.Service()("@opencode/Generate") {
36
+ class Service37 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer22 = Layer.effect(Service60, Effect.gen(function* () {
38
+ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service70;
40
+ const resolver = yield* Service46;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer22 = Layer.effect(Service60, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service60.of({ text });
66
+ return Service37.of({ text });
67
67
  }));
68
- var node64 = makeLocationNode({
69
- service: Service60,
70
- layer: layer22,
71
- deps: [node74, llmClient2]
68
+ var node40 = makeLocationNode({
69
+ service: Service37,
70
+ layer: layer14,
71
+ deps: [node48, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service60, layer22, node64, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service37, layer14, node40, exports_generate2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./permission-rdw6cm16.js";
3
+ } from "./worktree-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./permission-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service46,
14
+ Service: () => Service45,
15
15
  SizeError: () => SizeError2,
16
- node: () => node48
16
+ node: () => node47
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service46 extends Context.Service()("@opencode/Image") {
45
+ class Service45 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service46, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service46.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service45.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node48 = makeLocationNode({ service: Service46, layer, deps: [] });
79
+ var node47 = makeLocationNode({ service: Service45, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service46, node48, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service45, node47, exports_image2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service84,
3
- node88
4
- } from "./permission-awv4ahag.js";
3
+ node87
4
+ } from "./worktree-x6pndzmr.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./permission-xcxmx1ny.js";
6
+ Service83,
7
+ node86
8
+ } from "./worktree-n1f7dk7k.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./permission-pknna89w.js";
11
+ } from "./worktree-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./permission-3zsf4n22.js";
14
+ } from "./worktree-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./permission-9rqn6x4v.js";
17
+ } from "./worktree-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -22,12 +22,12 @@ __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event20,
24
24
  ID: () => ID16,
25
- Info: () => Info33,
25
+ Info: () => Info31,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
28
  Service: () => Service79,
29
29
  Value: () => Value2,
30
- node: () => node83
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -40,7 +40,7 @@ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
41
  var Event20 = Credential.Event;
42
42
 
43
- class Info33 extends Schema.Class("Credential.Info")({
43
+ class Info31 extends Schema.Class("Credential.Info")({
44
44
  id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
@@ -52,12 +52,12 @@ class Service79 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
53
  var layer = Layer.effect(Service79, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service81;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info33({
60
+ return new Info31({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info33({
79
+ const credential = new Info31({
80
80
  id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
193
193
  })
194
194
  });
195
195
  }));
196
- var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node85] });
196
+ var node82 = makeGlobalNode({ service: Service79, layer, deps: [node87, node86] });
197
197
 
198
- export { ID16, OAuth3, Key4, Value2, Event20, Info33, Service79, node83, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node82, exports_credential };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./permission-922hggd3.js";
4
+ } from "./worktree-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./permission-256nx13v.js";
7
+ } from "./worktree-xxynqx5z.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service82
3
- } from "./permission-nmxb84e1.js";
2
+ Service43
3
+ } from "./worktree-5rbhaw37.js";
4
4
  import {
5
- Service23
6
- } from "./permission-2zqtqwz1.js";
5
+ Service24
6
+ } from "./worktree-gvx64vq2.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./permission-x1ezjp6w.js";
10
+ } from "./worktree-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make9 = Effect.gen(function* () {
23
- const sessions = yield* Service23;
24
- const jobs = yield* Service82;
23
+ const sessions = yield* Service24;
24
+ const jobs = yield* Service43;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service22,
10
- node: () => node24
9
+ Service: () => Service18,
10
+ node: () => node20
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service22 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service22, () => {
17
+ var layer = Layer.sync(Service18, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service22.of({
19
+ return Service18.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node24 = makeGlobalNode({ service: Service22, layer, deps: [] });
26
+ var node20 = makeGlobalNode({ service: Service18, layer, deps: [] });
27
27
 
28
- export { Service22, node24, exports_managed_policy };
28
+ export { Service18, node20, exports_managed_policy };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./permission-emrn6kk6.js";
7
+ } from "./worktree-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./permission-eh3zwz77.js";
3
+ } from "./worktree-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./permission-e73j6tqm.js";
6
+ } from "./worktree-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./permission-3wcehsnq.js";
9
+ } from "./worktree-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./permission-dap0rakb.js";
12
+ } from "./worktree-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./permission-4y7fprxs.js";
15
+ } from "./worktree-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./permission-zr2ceqn5.js";
3
+ } from "./worktree-zr2ceqn5.js";
4
4
  import {
5
- Service58
6
- } from "./permission-6hjv98hr.js";
5
+ Service57
6
+ } from "./worktree-484bq32a.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make6
16
+ make: () => make7
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make6 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service58;
25
+ var make7 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service57;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make6, LoadError2, exports_module };
105
+ export { make7, LoadError2, exports_module };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./permission-8zd0p5g4.js";
3
+ } from "./worktree-cahryj50.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./permission-9s46jenq.js";
6
+ } from "./worktree-y6yanky9.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve4
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve4(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -491,4 +491,4 @@ var PROTOCOLS = {
491
491
  [aisdk2("@ai-sdk/cohere")]: cohere
492
492
  };
493
493
 
494
- export { resolve2, exports_variant };
494
+ export { resolve4, exports_variant };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./permission-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
- Service74
6
- } from "./permission-fmnxy78r.js";
5
+ Service80
6
+ } from "./worktree-s61wkdxb.js";
7
7
  import {
8
- Service57
9
- } from "./permission-0jdm48jn.js";
8
+ Service56
9
+ } from "./worktree-naew6wv7.js";
10
10
  import {
11
- Service62
12
- } from "./permission-zzja90ps.js";
11
+ Service65
12
+ } from "./worktree-vwwmtnca.js";
13
13
  import {
14
14
  observe2
15
- } from "./permission-qsdy395h.js";
15
+ } from "./worktree-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./permission-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin39
24
+ Plugin: () => Plugin45
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin39 = define({
30
+ var Plugin45 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service57;
34
- const location = yield* Service74;
33
+ const config = yield* Service56;
34
+ const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service62;
36
+ const worktrees = yield* Service65;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin39 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin39, exports_worktree };
51
+ export { Plugin45, exports_worktree };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./permission-0paq2nw3.js";
4
+ } from "./worktree-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./permission-8zd0p5g4.js";
7
+ } from "./worktree-cahryj50.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./permission-9s46jenq.js";
11
+ } from "./worktree-y6yanky9.js";
12
12
  import {
13
13
  __export
14
- } from "./permission-9rqn6x4v.js";
14
+ } from "./worktree-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};