@opencode/core 0.0.0-dev-20311 → 0.0.0-dev-20314

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 (800) 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 +69 -69
  7. package/dist/chunks/{generate-rc1dmyce.js → worktree-05xfxpq7.js} +8 -8
  8. package/dist/chunks/{generate-vffhp2gv.js → worktree-07ka27pw.js} +39 -39
  9. package/dist/chunks/{generate-h35vggef.js → worktree-0b08qf3v.js} +8 -8
  10. package/dist/chunks/{generate-yf4jcbx9.js → worktree-0jkw1j53.js} +6 -6
  11. package/dist/chunks/{generate-xa3tz7a2.js → worktree-0k65zfrv.js} +83 -83
  12. package/dist/chunks/{generate-sfzrsyap.js → worktree-0nc4skqk.js} +9 -9
  13. package/dist/chunks/{generate-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{generate-k2057gb1.js → worktree-0qy4awsn.js} +24 -24
  15. package/dist/chunks/{generate-v4qgwr45.js → worktree-0xxe8pk9.js} +1 -1
  16. package/dist/chunks/{generate-a8wkh39j.js → worktree-0z5kb6hf.js} +3 -3
  17. package/dist/chunks/{generate-nzsh53q3.js → worktree-0zz42z4j.js} +14 -14
  18. package/dist/chunks/{generate-0jq9fyba.js → worktree-11dqjexa.js} +9 -9
  19. package/dist/chunks/{generate-yp2x3t23.js → worktree-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{generate-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{generate-r4xhx5yy.js → worktree-1fm7vbk4.js} +12 -12
  22. package/dist/chunks/{generate-awsejm39.js → worktree-1sejb65e.js} +20 -20
  23. package/dist/chunks/{generate-56gdpj1q.js → worktree-1ygqh575.js} +9 -9
  24. package/dist/chunks/{generate-21r38tys.js → worktree-21r38tys.js} +1 -1
  25. package/dist/chunks/{generate-wj76ss2k.js → worktree-277eer69.js} +4 -4
  26. package/dist/chunks/{generate-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{generate-7dqw4kz8.js → worktree-2k8khapm.js} +5 -5
  28. package/dist/chunks/{generate-9p1d72pj.js → worktree-2kba3xe6.js} +25 -25
  29. package/dist/chunks/{generate-wrb2h0pz.js → worktree-2mxwjfq3.js} +26 -26
  30. package/dist/chunks/{generate-8em80h20.js → worktree-2v3kr2zz.js} +40 -40
  31. package/dist/chunks/{generate-7kcn46rt.js → worktree-2wfhz1m8.js} +19 -19
  32. package/dist/chunks/{generate-dgb4ba8k.js → worktree-2wmsjg7e.js} +12 -12
  33. package/dist/chunks/{generate-2eryzwn5.js → worktree-2x11xqq5.js} +26 -26
  34. package/dist/chunks/{generate-kambhmaz.js → worktree-34nypsh0.js} +9 -9
  35. package/dist/chunks/{generate-pfzrvarp.js → worktree-34q1q4g3.js} +4 -4
  36. package/dist/chunks/{generate-ctx36fda.js → worktree-37xnkr9x.js} +36 -36
  37. package/dist/chunks/{generate-1aft4d1r.js → worktree-3ebwcaah.js} +24 -24
  38. package/dist/chunks/{generate-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{generate-z3mwdy1e.js → worktree-3grjp0nz.js} +6 -6
  40. package/dist/chunks/{generate-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{generate-7p7qn9e9.js → worktree-3kxsbfdd.js} +18 -18
  42. package/dist/chunks/{generate-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{generate-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{generate-22jt7mmp.js → worktree-3zm2m16b.js} +20 -20
  45. package/dist/chunks/{generate-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{generate-8f1bvar8.js → worktree-4857ee0e.js} +50 -50
  47. package/dist/chunks/{generate-7s451enq.js → worktree-4a0nv7mx.js} +8 -8
  48. package/dist/chunks/{generate-4j4tgtq5.js → worktree-4j4tgtq5.js} +1 -1
  49. package/dist/chunks/{generate-qq8x5mwt.js → worktree-4jv7e9dq.js} +7 -7
  50. package/dist/chunks/{generate-zm45vcs9.js → worktree-4tg3mvfj.js} +32 -32
  51. package/dist/chunks/{generate-tfn34vp9.js → worktree-4wj5hqyp.js} +10 -10
  52. package/dist/chunks/{generate-y5df08dr.js → worktree-4yvz2rcy.js} +12 -12
  53. package/dist/chunks/{generate-a1wxwke7.js → worktree-50fh3k1w.js} +13 -13
  54. package/dist/chunks/{generate-54ma36ye.js → worktree-54ma36ye.js} +1 -1
  55. package/dist/chunks/{generate-nmmahyvw.js → worktree-59fdznsn.js} +12 -12
  56. package/dist/chunks/{generate-v9c8tcpz.js → worktree-5cbjsbf2.js} +7 -7
  57. package/dist/chunks/{generate-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  58. package/dist/chunks/{generate-4e9qa1yk.js → worktree-5e7ha89d.js} +15 -15
  59. package/dist/chunks/{generate-rw4cg28f.js → worktree-5g59cdd4.js} +48 -48
  60. package/dist/chunks/{generate-ygkdy722.js → worktree-5j6r72e5.js} +1 -1
  61. package/dist/chunks/{generate-zz5kw0a1.js → worktree-5m5pvpe6.js} +10 -10
  62. package/dist/chunks/{generate-nh7jf5qt.js → worktree-5qpsy98w.js} +22 -22
  63. package/dist/chunks/{generate-f6cejng9.js → worktree-5rpzdny6.js} +20 -20
  64. package/dist/chunks/{generate-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{generate-w1jbyrm2.js → worktree-5xn2kdjj.js} +68 -68
  66. package/dist/chunks/{generate-669tq793.js → worktree-669tq793.js} +1 -1
  67. package/dist/chunks/{generate-as21h9v2.js → worktree-6apn3h4b.js} +6 -6
  68. package/dist/chunks/{generate-6bbg9vsb.js → worktree-6gtt5snn.js} +33 -33
  69. package/dist/chunks/{generate-bbqtwfcr.js → worktree-6gx3r2kv.js} +11 -11
  70. package/dist/chunks/{generate-5qbm8fhe.js → worktree-6hzy2d5p.js} +36 -36
  71. package/dist/chunks/{generate-9rgc45s8.js → worktree-6jn9sxf3.js} +28 -28
  72. package/dist/chunks/{generate-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{generate-nreym987.js → worktree-6r564qq4.js} +6 -6
  74. package/dist/chunks/{generate-y153a536.js → worktree-6rebv3cw.js} +1 -1
  75. package/dist/chunks/{generate-g0a45qje.js → worktree-6xk05h7s.js} +9 -9
  76. package/dist/chunks/{generate-23pgy1bp.js → worktree-7627eybd.js} +18 -18
  77. package/dist/chunks/{generate-814v6m4p.js → worktree-77vpx1b6.js} +17 -17
  78. package/dist/chunks/{generate-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{generate-x0fjgrm3.js → worktree-7f76ypb7.js} +14 -14
  80. package/dist/chunks/{generate-pacd6fme.js → worktree-7f7t51gq.js} +8 -8
  81. package/dist/chunks/{generate-h0kdtxf8.js → worktree-7fp3pbdt.js} +33 -33
  82. package/dist/chunks/{generate-awnxdpmt.js → worktree-7qann507.js} +42 -42
  83. package/dist/chunks/{generate-jw2g4gey.js → worktree-7sgyf0xz.js} +6 -6
  84. package/dist/chunks/{generate-rn2ttdtd.js → worktree-7twg7rgh.js} +18 -18
  85. package/dist/chunks/{generate-nbzsj80d.js → worktree-818pfwc9.js} +8 -8
  86. package/dist/chunks/{generate-gxr0tf1h.js → worktree-83xp5e3e.js} +2 -2
  87. package/dist/chunks/{generate-84txncab.js → worktree-84txncab.js} +1 -1
  88. package/dist/chunks/{generate-33qnn5ry.js → worktree-87temrgz.js} +11 -11
  89. package/dist/chunks/{generate-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{generate-1d9tbeyw.js → worktree-8edxm6pr.js} +10 -10
  91. package/dist/chunks/{generate-azgbrbkh.js → worktree-8gh9vszs.js} +27 -27
  92. package/dist/chunks/{generate-07770t2t.js → worktree-8hbfdwcy.js} +8 -8
  93. package/dist/chunks/{generate-z9mfjqhv.js → worktree-8s0ze3zt.js} +10 -10
  94. package/dist/chunks/{generate-gbs6e6v2.js → worktree-92dk74jt.js} +11 -11
  95. package/dist/chunks/{generate-aam4yepe.js → worktree-93fchcwg.js} +24 -24
  96. package/dist/chunks/{generate-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{generate-q4fmv0xv.js → worktree-9b00c1fb.js} +5 -5
  98. package/dist/chunks/{generate-g0445xdp.js → worktree-9hn6k4tm.js} +8 -8
  99. package/dist/chunks/{generate-4xkx8k44.js → worktree-9n87anw0.js} +5 -5
  100. package/dist/chunks/{generate-52dst9ej.js → worktree-9x0b5x9j.js} +11 -11
  101. package/dist/chunks/{generate-85ej85ms.js → worktree-a43gst0m.js} +3 -3
  102. package/dist/chunks/{generate-nmfetzj5.js → worktree-a4e1tewd.js} +2 -2
  103. package/dist/chunks/{generate-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  104. package/dist/chunks/{generate-thke6090.js → worktree-abrjz9qv.js} +13 -13
  105. package/dist/chunks/{generate-pggm8t3g.js → worktree-adbp0bjj.js} +8 -8
  106. package/dist/chunks/{generate-96ctqc5x.js → worktree-afjydgk3.js} +4 -4
  107. package/dist/chunks/{generate-32ymn5e1.js → worktree-aj9wrhbp.js} +3 -3
  108. package/dist/chunks/{generate-t54ngshn.js → worktree-akpb58q4.js} +15 -15
  109. package/dist/chunks/{generate-rxsnry8w.js → worktree-ap2tpm1x.js} +24 -24
  110. package/dist/chunks/{generate-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{generate-b5v2de1g.js → worktree-b92gs9tv.js} +19 -19
  112. package/dist/chunks/{generate-k76fn4kw.js → worktree-baaqp4zd.js} +4 -4
  113. package/dist/chunks/{generate-d172wthb.js → worktree-bb5562zs.js} +22 -22
  114. package/dist/chunks/{generate-gh484rvf.js → worktree-bpa6zfs4.js} +87 -87
  115. package/dist/chunks/{generate-4gyadrbh.js → worktree-brpj3swx.js} +31 -31
  116. package/dist/chunks/{generate-2p5ftwah.js → worktree-c3nyckct.js} +25 -25
  117. package/dist/chunks/{generate-4arb9zza.js → worktree-c66ced72.js} +7 -7
  118. package/dist/chunks/{generate-dbtagb3j.js → worktree-cac6dn0k.js} +8 -8
  119. package/dist/chunks/{generate-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{generate-2fgn2we9.js → worktree-dc6tzc5b.js} +5 -5
  121. package/dist/chunks/{generate-gknmnwsv.js → worktree-de6phzbx.js} +9 -9
  122. package/dist/chunks/{generate-5hvea60m.js → worktree-df33jmy2.js} +18 -18
  123. package/dist/chunks/worktree-dfjfj6f0.js +252 -0
  124. package/dist/chunks/{generate-cwa6csj7.js → worktree-djszqvmq.js} +9 -9
  125. package/dist/chunks/{generate-xnvjtjgs.js → worktree-dkq1mqd6.js} +2 -2
  126. package/dist/chunks/{generate-dnxkq42g.js → worktree-dnxkq42g.js} +1 -1
  127. package/dist/chunks/{generate-y71avatq.js → worktree-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{generate-amejyd4w.js → worktree-dqanwn8q.js} +25 -25
  129. package/dist/chunks/{generate-md55ss1w.js → worktree-e7f86dzg.js} +13 -13
  130. package/dist/chunks/{generate-fscpw8f3.js → worktree-ebpkp5tm.js} +1 -1
  131. package/dist/chunks/{generate-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{generate-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{generate-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{generate-2f0bjgcj.js → worktree-evbgk2k8.js} +5 -5
  135. package/dist/chunks/{generate-6416pc1c.js → worktree-eycgq67k.js} +43 -43
  136. package/dist/chunks/{generate-91wxwphj.js → worktree-f40tx9v5.js} +7 -7
  137. package/dist/chunks/{generate-xp2x8we8.js → worktree-f8hpcc62.js} +28 -28
  138. package/dist/chunks/{generate-x536ta9q.js → worktree-fa575c2x.js} +25 -25
  139. package/dist/chunks/{generate-b7b4ctej.js → worktree-fhz5gfgy.js} +5 -5
  140. package/dist/chunks/{generate-r65s3bqz.js → worktree-fk0r5cwe.js} +15 -15
  141. package/dist/chunks/{generate-bqjh05b8.js → worktree-fnz0r7q7.js} +8 -8
  142. package/dist/chunks/{generate-3vjxyz9p.js → worktree-fr5646w7.js} +43 -43
  143. package/dist/chunks/{generate-732ar3t7.js → worktree-fy02dvg1.js} +14 -14
  144. package/dist/chunks/{generate-hr33daew.js → worktree-fyq3qmbb.js} +6 -93
  145. package/dist/chunks/{generate-50mzsvk4.js → worktree-g190xswt.js} +4 -4
  146. package/dist/chunks/{generate-440wx6xb.js → worktree-g36vf30t.js} +13 -13
  147. package/dist/chunks/{generate-wgj5v4hd.js → worktree-g3bz5gs9.js} +20 -20
  148. package/dist/chunks/{generate-bhsjg0n3.js → worktree-g8rmq192.js} +12 -12
  149. package/dist/chunks/{generate-fjxg64x0.js → worktree-garp4qw6.js} +2 -2
  150. package/dist/chunks/{generate-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{generate-gf4w2vvn.js → worktree-gfzbkctm.js} +21 -21
  152. package/dist/chunks/{generate-2yb60grw.js → worktree-ghxjqect.js} +13 -13
  153. package/dist/chunks/{generate-r34cw8yr.js → worktree-gm0g7gcc.js} +4 -4
  154. package/dist/chunks/{generate-svrzg09g.js → worktree-gm1x238t.js} +8 -8
  155. package/dist/chunks/{generate-rfabxrr6.js → worktree-gsaq8s04.js} +27 -27
  156. package/dist/chunks/{generate-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{generate-8zddydas.js → worktree-gyccd9n7.js} +22 -22
  158. package/dist/chunks/{generate-0dr81x6h.js → worktree-h316dbp4.js} +11 -11
  159. package/dist/chunks/{generate-5e1pzs32.js → worktree-h5m7e0fe.js} +9 -9
  160. package/dist/chunks/{generate-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{generate-xb6c13qf.js → worktree-hanh6chz.js} +10 -10
  162. package/dist/chunks/{generate-4r3dk6a2.js → worktree-hcvxcehv.js} +12 -12
  163. package/dist/chunks/{generate-hd8vw2pw.js → worktree-hd8vw2pw.js} +1 -1
  164. package/dist/chunks/{generate-agqxsrzz.js → worktree-herfy2z0.js} +13 -13
  165. package/dist/chunks/{generate-fmhg56c5.js → worktree-hkarc3f0.js} +9 -9
  166. package/dist/chunks/{generate-hzm7snc9.js → worktree-htbmzt7n.js} +16 -16
  167. package/dist/chunks/{generate-r0tjgr50.js → worktree-hy20qw0x.js} +18 -18
  168. package/dist/chunks/{generate-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  169. package/dist/chunks/{generate-m35av5wd.js → worktree-jp5y0tg6.js} +16 -16
  170. package/dist/chunks/{generate-0085hr19.js → worktree-jtq10j8j.js} +20 -20
  171. package/dist/chunks/{generate-pr6rswsq.js → worktree-jvhjazwr.js} +11 -11
  172. package/dist/chunks/{generate-prsj8pfn.js → worktree-jw8n4n6p.js} +3 -3
  173. package/dist/chunks/{generate-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  174. package/dist/chunks/{generate-584xd2as.js → worktree-k3dyg6dm.js} +11 -11
  175. package/dist/chunks/{generate-3ckkbjr6.js → worktree-k96bfvzz.js} +12 -12
  176. package/dist/chunks/{generate-6v2dyjqx.js → worktree-kf269fqw.js} +32 -32
  177. package/dist/chunks/{generate-fjqeck8h.js → worktree-kk69x7kr.js} +16 -16
  178. package/dist/chunks/{generate-6k3166bs.js → worktree-knad820t.js} +13 -13
  179. package/dist/chunks/{generate-qb2tb8w1.js → worktree-kvh070sc.js} +32 -32
  180. package/dist/chunks/{generate-nng2ktcm.js → worktree-ky3seynh.js} +2 -2
  181. package/dist/chunks/{generate-7v8m1a1x.js → worktree-kztetyb1.js} +19 -19
  182. package/dist/chunks/{generate-03ykhv53.js → worktree-m02w9rze.js} +21 -21
  183. package/dist/chunks/{generate-sfjqvhg3.js → worktree-m2vze1yq.js} +10 -10
  184. package/dist/chunks/{generate-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{generate-bazj3hza.js → worktree-m84c3eg8.js} +15 -15
  186. package/dist/chunks/{generate-7e733kya.js → worktree-m8h3g6ey.js} +5 -5
  187. package/dist/chunks/{generate-z0hkwef7.js → worktree-m8jn794n.js} +23 -23
  188. package/dist/chunks/{generate-rvqyhd8y.js → worktree-m92xhnzy.js} +3 -3
  189. package/dist/chunks/{generate-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{generate-mvfsc1pv.js → worktree-mhkvc446.js} +3 -3
  191. package/dist/chunks/{generate-gaa1tzxa.js → worktree-mje1cxe4.js} +16 -16
  192. package/dist/chunks/{generate-m86ds27b.js → worktree-mn20a28a.js} +11 -11
  193. package/dist/chunks/{generate-e5cyx2g4.js → worktree-msy23jaw.js} +20 -20
  194. package/dist/chunks/{generate-a5s3jpvp.js → worktree-mve018rq.js} +28 -28
  195. package/dist/chunks/{generate-mvksx64m.js → worktree-mvksx64m.js} +4 -4
  196. package/dist/chunks/{generate-979a2w4f.js → worktree-n810d9f4.js} +11 -11
  197. package/dist/chunks/{generate-c6pt6dva.js → worktree-n9a5crpx.js} +6 -6
  198. package/dist/chunks/{generate-2f1w8fmd.js → worktree-nwxgwzyy.js} +9 -9
  199. package/dist/chunks/{generate-85eh4j2g.js → worktree-pa3vm0gt.js} +16 -16
  200. package/dist/chunks/{generate-wj63x7hs.js → worktree-pb82r3ma.js} +11 -11
  201. package/dist/chunks/{generate-nxhqveyz.js → worktree-pecb0brz.js} +5 -5
  202. package/dist/chunks/{generate-2d57kztd.js → worktree-pf2hb43r.js} +4 -4
  203. package/dist/chunks/{generate-xrtm2pyg.js → worktree-pgtq6dzx.js} +16 -16
  204. package/dist/chunks/{generate-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{generate-pknna89w.js → worktree-pknna89w.js} +1 -1
  206. package/dist/chunks/{generate-jk5wpxvf.js → worktree-pnd0g9pf.js} +5 -5
  207. package/dist/chunks/{generate-24dd53tp.js → worktree-pnv527nz.js} +9 -9
  208. package/dist/chunks/{generate-s708rks0.js → worktree-prdv2mte.js} +4 -4
  209. package/dist/chunks/{generate-ddvgmnvd.js → worktree-ps28zk1z.js} +14 -14
  210. package/dist/chunks/{generate-6pc27hjz.js → worktree-py3kkmfq.js} +6 -6
  211. package/dist/chunks/{generate-8kd7g5rj.js → worktree-pzjt7r8f.js} +6 -6
  212. package/dist/chunks/{generate-ymftmb4x.js → worktree-q4s4x04b.js} +24 -24
  213. package/dist/chunks/{generate-tadj9bjf.js → worktree-qaj4vhma.js} +1 -1
  214. package/dist/chunks/worktree-qc068m1q.js +18 -0
  215. package/dist/chunks/{generate-hnr5yq9h.js → worktree-qjnxxf51.js} +5 -5
  216. package/dist/chunks/{generate-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  217. package/dist/chunks/{generate-821ermd3.js → worktree-r0s9vhwa.js} +9 -9
  218. package/dist/chunks/{generate-abngy076.js → worktree-r5vpsbwz.js} +20 -20
  219. package/dist/chunks/{generate-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{generate-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
  221. package/dist/chunks/{generate-nt6ypc5t.js → worktree-rvyqzb1a.js} +23 -23
  222. package/dist/chunks/{generate-f77a5w0g.js → worktree-rwan6hkh.js} +10 -10
  223. package/dist/chunks/{generate-a46v4e4v.js → worktree-ryr25ayn.js} +4 -4
  224. package/dist/chunks/{generate-jf6ce2dj.js → worktree-s0sx2v9z.js} +141 -141
  225. package/dist/chunks/{generate-a5vdvzcn.js → worktree-s3b2wgtr.js} +11 -11
  226. package/dist/chunks/{generate-1vya40xm.js → worktree-s5c30328.js} +3 -3
  227. package/dist/chunks/{generate-cnvngknd.js → worktree-s7m1jgh3.js} +30 -30
  228. package/dist/chunks/{generate-hf41t8pz.js → worktree-senast2p.js} +20 -20
  229. package/dist/chunks/{generate-wjep8sxw.js → worktree-sgemhp45.js} +12 -12
  230. package/dist/chunks/{generate-1fyhttb2.js → worktree-smzykshb.js} +6 -6
  231. package/dist/chunks/{generate-fwzevyy4.js → worktree-swh571tt.js} +1 -1
  232. package/dist/chunks/{generate-bevq0g19.js → worktree-sxwx9tkq.js} +31 -31
  233. package/dist/chunks/worktree-t3czs8ed.js +26 -0
  234. package/dist/chunks/{generate-938hwyrh.js → worktree-t5fc0zjg.js} +3 -3
  235. package/dist/chunks/{generate-h37r8vbk.js → worktree-t794wzvf.js} +26 -26
  236. package/dist/chunks/{generate-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{generate-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{generate-tdstcens.js → worktree-tdstcens.js} +1 -1
  239. package/dist/chunks/{generate-43tk2b99.js → worktree-tgtk0jyg.js} +3 -3
  240. package/dist/chunks/{generate-yp5y7gxn.js → worktree-tha3vvwn.js} +5 -5
  241. package/dist/chunks/{generate-p1cfyvt1.js → worktree-tta4ne66.js} +13 -13
  242. package/dist/chunks/{generate-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  243. package/dist/chunks/{generate-jtknk089.js → worktree-twe926b3.js} +7 -7
  244. package/dist/chunks/{generate-y5rf7nzv.js → worktree-v7z2bvyd.js} +4 -4
  245. package/dist/chunks/{generate-9pd2f5yz.js → worktree-varpx0pc.js} +16 -16
  246. package/dist/chunks/{generate-es45fn35.js → worktree-vd5yy21v.js} +28 -28
  247. package/dist/chunks/{generate-vd7rzxqf.js → worktree-vd7rzxqf.js} +2 -2
  248. package/dist/chunks/{generate-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  249. package/dist/chunks/{generate-sd7dhxs3.js → worktree-vhqg2wpr.js} +34 -34
  250. package/dist/chunks/{generate-j83byb14.js → worktree-vncycja5.js} +4 -4
  251. package/dist/chunks/{generate-neq7j8hb.js → worktree-vqhx5d1p.js} +33 -33
  252. package/dist/chunks/{generate-2c835n2e.js → worktree-vrxaz2n4.js} +5 -5
  253. package/dist/chunks/{generate-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{generate-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{generate-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{generate-4c2df9zx.js → worktree-w3x9v1nk.js} +8 -8
  257. package/dist/chunks/{generate-4g5hndmz.js → worktree-w8m5q4xe.js} +14 -14
  258. package/dist/chunks/{generate-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{generate-nvefchs6.js → worktree-wd71bnwr.js} +26 -26
  260. package/dist/chunks/{generate-wd87259q.js → worktree-wd87259q.js} +1 -1
  261. package/dist/chunks/{generate-vy2q9tj0.js → worktree-wgss2cbp.js} +8 -8
  262. package/dist/chunks/{generate-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{generate-y5njdhxq.js → worktree-x79bsykc.js} +11 -11
  264. package/dist/chunks/{generate-qtkmjp6n.js → worktree-xeavwtd2.js} +27 -27
  265. package/dist/chunks/{generate-drwq78ky.js → worktree-xfkkasph.js} +4 -4
  266. package/dist/chunks/{generate-cq4a9qth.js → worktree-xj9aad7z.js} +43 -43
  267. package/dist/chunks/{generate-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{generate-bt1jz474.js → worktree-xp0f2vnn.js} +5 -5
  269. package/dist/chunks/{generate-n01ekzvg.js → worktree-xpjcprn4.js} +26 -26
  270. package/dist/chunks/{generate-7w99qc9d.js → worktree-xxynqx5z.js} +2 -2
  271. package/dist/chunks/{generate-ahw5tbvq.js → worktree-y019w46x.js} +318 -318
  272. package/dist/chunks/{generate-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{generate-ngcky491.js → worktree-y3m4vy1g.js} +46 -46
  274. package/dist/chunks/{generate-zhdcmryh.js → worktree-yg13730w.js} +15 -15
  275. package/dist/chunks/{generate-90ny61fc.js → worktree-yntvrfmt.js} +18 -18
  276. package/dist/chunks/{generate-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{generate-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  278. package/dist/chunks/{generate-1njzkgw4.js → worktree-yvyjs43v.js} +24 -24
  279. package/dist/chunks/{generate-95v4nsjn.js → worktree-z04dqx9d.js} +8 -8
  280. package/dist/chunks/{generate-z07pqspn.js → worktree-z07pqspn.js} +3 -3
  281. package/dist/chunks/{generate-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{generate-drfqr2ek.js → worktree-z0ya5s7h.js} +9 -9
  283. package/dist/chunks/{generate-yrqbhy7t.js → worktree-z16xbst3.js} +3 -3
  284. package/dist/chunks/{generate-7ak6y54g.js → worktree-z4b5t13m.js} +19 -19
  285. package/dist/chunks/{generate-mmnbb39x.js → worktree-z4jtqfv3.js} +6 -6
  286. package/dist/chunks/{generate-qz02d4gv.js → worktree-z4ygwn82.js} +7 -7
  287. package/dist/chunks/{generate-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  288. package/dist/chunks/{generate-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{generate-tfsskg12.js → worktree-zqcr6gem.js} +20 -20
  290. package/dist/chunks/{generate-q8n9d2sh.js → worktree-zqm7km32.js} +8 -8
  291. package/dist/chunks/{generate-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{generate-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +89 -89
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +91 -91
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +102 -102
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.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 +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +78 -78
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  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 +91 -91
  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 +5 -5
  460. package/dist/instance.js +363 -363
  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 +1 -1
  465. package/dist/integration.js +83 -83
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +3 -3
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +96 -96
  484. package/dist/models-dev.js +103 -103
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +78 -78
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +72 -72
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +4 -4
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +2 -2
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +213 -213
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +119 -119
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +110 -110
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +0 -2
  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 +3 -3
  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 +3 -3
  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 +4 -4
  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 +91 -91
  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 +7 -7
  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 +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/generate-by5v678g.js +0 -18
  702. package/dist/chunks/generate-hwbqwnb3.js +0 -252
  703. package/dist/chunks/generate-ysdhkd7t.js +0 -26
  704. /package/dist/chunks/{generate-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{generate-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{generate-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{generate-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{generate-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{generate-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{generate-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{generate-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{generate-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{generate-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{generate-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{generate-3asan66x.js → worktree-3asan66x.js} +0 -0
  716. /package/dist/chunks/{generate-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{generate-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{generate-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{generate-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{generate-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{generate-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{generate-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{generate-53557ph1.js → worktree-53557ph1.js} +0 -0
  724. /package/dist/chunks/{generate-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{generate-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{generate-6prwharc.js → worktree-6prwharc.js} +0 -0
  727. /package/dist/chunks/{generate-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{generate-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{generate-822emrt2.js → worktree-822emrt2.js} +0 -0
  730. /package/dist/chunks/{generate-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{generate-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{generate-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{generate-922hggd3.js → worktree-922hggd3.js} +0 -0
  734. /package/dist/chunks/{generate-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{generate-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{generate-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{generate-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{generate-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{generate-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{generate-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{generate-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{generate-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{generate-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{generate-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{generate-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{generate-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{generate-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{generate-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{generate-df08tz66.js → worktree-df08tz66.js} +0 -0
  750. /package/dist/chunks/{generate-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{generate-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{generate-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{generate-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{generate-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{generate-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{generate-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{generate-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{generate-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{generate-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{generate-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{generate-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{generate-g86h250q.js → worktree-g86h250q.js} +0 -0
  763. /package/dist/chunks/{generate-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{generate-gftt206x.js → worktree-gftt206x.js} +0 -0
  765. /package/dist/chunks/{generate-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{generate-hk9envan.js → worktree-hk9envan.js} +0 -0
  767. /package/dist/chunks/{generate-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{generate-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{generate-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{generate-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{generate-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{generate-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{generate-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{generate-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{generate-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{generate-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{generate-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{generate-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{generate-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{generate-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{generate-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{generate-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{generate-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{generate-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{generate-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{generate-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{generate-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{generate-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{generate-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{generate-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{generate-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{generate-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{generate-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{generate-x61499pn.js → worktree-x61499pn.js} +0 -0
  795. /package/dist/chunks/{generate-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{generate-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{generate-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{generate-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{generate-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{generate-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-r34cw8yr.js";
5
- import {
6
- Service81,
7
- node85
8
- } from "./generate-y5df08dr.js";
4
+ } from "./worktree-gm0g7gcc.js";
9
5
  import {
10
6
  Service79,
11
- node83
12
- } from "./generate-ddvgmnvd.js";
7
+ node82
8
+ } from "./worktree-4yvz2rcy.js";
9
+ import {
10
+ Service77,
11
+ node80
12
+ } from "./worktree-ps28zk1z.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./generate-by5v678g.js";
15
+ } from "./worktree-qc068m1q.js";
16
16
  import {
17
- Service60,
18
- node63
19
- } from "./generate-nh7jf5qt.js";
17
+ Service47,
18
+ node50
19
+ } from "./worktree-5qpsy98w.js";
20
20
  import {
21
- node24
22
- } from "./generate-awsejm39.js";
21
+ node15
22
+ } from "./worktree-1sejb65e.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./generate-cwa6csj7.js";
24
+ Service10,
25
+ node12
26
+ } from "./worktree-djszqvmq.js";
27
27
  import {
28
28
  __export
29
- } from "./generate-9rqn6x4v.js";
29
+ } from "./worktree-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service11,
36
- node: () => node13
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service8,
36
+ node: () => node10
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service11 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service8 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service11, Effect.gen(function* () {
46
- const location = yield* Service79;
47
- const watcher = yield* Service60;
45
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service47;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
51
- const policy = yield* Service12;
50
+ const git = yield* Service79;
51
+ const policy = yield* Service10;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service11.of({});
103
+ return Service8.of({});
104
104
  }));
105
- var node13 = makeLocationNode({
106
- service: Service11,
105
+ var node10 = makeLocationNode({
106
+ service: Service8,
107
107
  layer,
108
- deps: [node63, FSUtil.node, node83, node85, node87, node24, node14]
108
+ deps: [node50, FSUtil.node, node80, node82, node87, node15, node12]
109
109
  });
110
110
 
111
- export { Service11, node13, exports_location_watcher2 };
111
+ export { Service8, node10, exports_location_watcher };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-r34cw8yr.js";
4
+ } from "./worktree-gm0g7gcc.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./generate-ddvgmnvd.js";
6
+ Service77,
7
+ node80
8
+ } from "./worktree-ps28zk1z.js";
9
9
  import {
10
10
  Service48,
11
11
  node51
12
- } from "./generate-732ar3t7.js";
12
+ } from "./worktree-fy02dvg1.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./generate-gd4qta3r.js";
15
+ } from "./worktree-gd4qta3r.js";
16
16
  import {
17
- Service47,
17
+ Service61,
18
18
  args2,
19
- node50
20
- } from "./generate-r0tjgr50.js";
19
+ node64
20
+ } from "./worktree-hy20qw0x.js";
21
21
  import {
22
- Service71,
23
- node74
24
- } from "./generate-7s451enq.js";
22
+ Service68,
23
+ node71
24
+ } from "./worktree-4a0nv7mx.js";
25
25
  import {
26
- Service46,
27
- node49
28
- } from "./generate-4c2df9zx.js";
26
+ Service44,
27
+ node47
28
+ } from "./worktree-w3x9v1nk.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./generate-7w99qc9d.js";
31
+ } from "./worktree-xxynqx5z.js";
32
32
  import {
33
33
  latest2,
34
- Service59,
35
- node62
36
- } from "./generate-cq4a9qth.js";
34
+ Service46,
35
+ node49
36
+ } from "./worktree-xj9aad7z.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./generate-r4xhx5yy.js";
40
+ } from "./worktree-1fm7vbk4.js";
41
41
  import {
42
42
  __export
43
- } from "./generate-9rqn6x4v.js";
43
+ } from "./worktree-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service45,
51
+ Service: () => Service43,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node48
54
+ node: () => node46
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service45 extends Context.Service()("@opencode/Shell") {
74
+ class Service43 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service45, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
- const location = yield* Service79;
92
+ const location = yield* Service77;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service47;
94
+ const shell = yield* Service61;
95
95
  const environment = yield* Service48;
96
- const hooks = yield* Service71;
97
- const environments = yield* Service46;
98
- const config = yield* Service59;
96
+ const hooks = yield* Service68;
97
+ const environments = yield* Service44;
98
+ const config = yield* Service46;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError6({ id });
119
+ return yield* new NotFoundError7({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service45.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service43.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node48 = makeLocationNode({
329
- service: Service45,
328
+ var node46 = makeLocationNode({
329
+ service: Service43,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
- node83,
333
+ node80,
334
334
  Global.node,
335
- node50,
335
+ node64,
336
336
  node51,
337
- node74,
337
+ node71,
338
+ node47,
338
339
  node49,
339
- node62,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service45, cleanup2, node48, exports_shell4 };
344
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service43, cleanup2, node46, exports_shell4 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./generate-5daktx2q.js";
3
+ } from "./worktree-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./generate-922hggd3.js";
6
+ } from "./worktree-922hggd3.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2
10
- } from "./generate-k2057gb1.js";
10
+ } from "./worktree-0qy4awsn.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID4.make(id),
58
+ id: ID6.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./generate-rhjbct0v.js";
6
+ } from "./worktree-rhjbct0v.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2,
10
10
  available2,
11
- Service40,
12
- node43
13
- } from "./generate-k2057gb1.js";
11
+ Service56,
12
+ node58
13
+ } from "./worktree-0qy4awsn.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service25,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node29
19
+ var exports_instructions4 = {};
20
+ __export(exports_instructions4, {
21
+ Service: () => Service35,
22
+ SkillInstructions: () => exports_instructions4,
23
+ node: () => node39
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID4,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,11 +60,11 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service25 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service35 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service25, Effect.gen(function* () {
66
- const skills = yield* Service40;
67
- return Service25.of({
65
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
66
+ const skills = yield* Service56;
67
+ return Service35.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node43] });
83
+ var node39 = makeLocationNode({ service: Service35, layer, deps: [node58] });
84
84
 
85
- export { Service25, node29, exports_instructions2 };
85
+ export { Service35, node39, exports_instructions4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
- Info14
6
- } from "./generate-50mzsvk4.js";
5
+ Info16
6
+ } from "./worktree-g190xswt.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info13
15
+ Info: () => Info15
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info14)
47
+ permission: Schema.optional(Info16)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info13, exports_agent3 };
74
+ export { Info15, exports_agent3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./generate-emrn6kk6.js";
4
+ } from "./worktree-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./generate-91wxwphj.js";
7
+ } from "./worktree-f40tx9v5.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service59
3
- } from "./generate-cq4a9qth.js";
2
+ Service46
3
+ } from "./worktree-xj9aad7z.js";
4
4
  import {
5
- Service10
6
- } from "./generate-wrb2h0pz.js";
5
+ Service12
6
+ } from "./worktree-2mxwjfq3.js";
7
7
  import {
8
8
  observe2
9
- } from "./generate-qsdy395h.js";
9
+ } from "./worktree-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./generate-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin32
18
+ Plugin: () => Plugin48
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin32 = define({
22
+ var Plugin48 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service59;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service46;
26
+ const compaction = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin32 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin32, exports_compaction };
42
+ export { Plugin48, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./generate-qaymkmh1.js";
3
+ } from "./worktree-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./generate-tazgh4e4.js";
7
+ } from "./worktree-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./generate-ef5x83kb.js";
10
+ } from "./worktree-ef5x83kb.js";
11
11
  import {
12
- Service79
13
- } from "./generate-ddvgmnvd.js";
12
+ Service77
13
+ } from "./worktree-ps28zk1z.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./generate-e5cyx2g4.js";
16
+ } from "./worktree-msy23jaw.js";
17
17
  import {
18
18
  __export
19
- } from "./generate-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin34,
24
+ Plugin: () => Plugin3,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin34 = define({
31
+ var Plugin3 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service79;
34
+ const location = yield* Service77;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin34, exports_git };
473
+ export { Plugin3, exports_git };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service60
3
- } from "./generate-nh7jf5qt.js";
2
+ Service47
3
+ } from "./worktree-5qpsy98w.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./generate-922hggd3.js";
6
+ } from "./worktree-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./generate-ddvgmnvd.js";
8
+ Service77
9
+ } from "./worktree-ps28zk1z.js";
10
10
  import {
11
- Service59
12
- } from "./generate-cq4a9qth.js";
11
+ Service46
12
+ } from "./worktree-xj9aad7z.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./generate-k2057gb1.js";
16
+ Source3
17
+ } from "./worktree-0qy4awsn.js";
18
18
  import {
19
- Service7
20
- } from "./generate-24dd53tp.js";
19
+ Service9
20
+ } from "./worktree-pnv527nz.js";
21
21
  import {
22
22
  parse2
23
- } from "./generate-jw2g4gey.js";
23
+ } from "./worktree-7sgyf0xz.js";
24
24
  import {
25
25
  __export
26
- } from "./generate-9rqn6x4v.js";
26
+ } from "./worktree-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin23
29
+ var exports_skill3 = {};
30
+ __export(exports_skill3, {
31
+ ConfigSkillPlugin: () => exports_skill3,
32
+ Plugin: () => Plugin33
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin23 = define({
39
+ var Plugin33 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service59;
43
- const discovery = yield* Service7;
42
+ const config = yield* Service46;
43
+ const discovery = yield* Service9;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service79;
47
- const watcher = yield* Service60;
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service47;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin23 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin23 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin23 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin23 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin23 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin23, exports_skill2 };
179
+ export { Plugin33, exports_skill3 };