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

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 (799) 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/{worktree-vncycja5.js → project-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{worktree-5m5pvpe6.js → project-045baswh.js} +12 -12
  9. package/dist/chunks/{worktree-eycgq67k.js → project-048xc26x.js} +42 -42
  10. package/dist/chunks/{worktree-83xp5e3e.js → project-06nv7jxy.js} +2 -2
  11. package/dist/chunks/{worktree-4wj5hqyp.js → project-09w06n2q.js} +10 -10
  12. package/dist/chunks/project-0adt99ty.js +252 -0
  13. package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{worktree-z16xbst3.js → project-0vfkfsvf.js} +3 -3
  15. package/dist/chunks/{worktree-m02w9rze.js → project-0x3qcm03.js} +21 -21
  16. package/dist/chunks/{worktree-4a0nv7mx.js → project-0xezjjjn.js} +8 -8
  17. package/dist/chunks/{worktree-tta4ne66.js → project-0z5seett.js} +17 -17
  18. package/dist/chunks/{worktree-xeavwtd2.js → project-128pgwnk.js} +24 -24
  19. package/dist/chunks/{worktree-sxwx9tkq.js → project-14wgfyw1.js} +28 -28
  20. package/dist/chunks/{worktree-f40tx9v5.js → project-16s6chgv.js} +7 -7
  21. package/dist/chunks/{worktree-37xnkr9x.js → project-17y0377r.js} +35 -35
  22. package/dist/chunks/{worktree-1acjjqhc.js → project-1acjjqhc.js} +1 -1
  23. package/dist/chunks/{worktree-xp0f2vnn.js → project-1c29hv3p.js} +10 -10
  24. package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{worktree-hcvxcehv.js → project-1hskrfnt.js} +12 -12
  26. package/dist/chunks/{worktree-fk0r5cwe.js → project-1n2pc2hr.js} +9 -9
  27. package/dist/chunks/{worktree-0qy4awsn.js → project-1t90kb9x.js} +20 -20
  28. package/dist/chunks/{worktree-varpx0pc.js → project-1xweqgb1.js} +18 -18
  29. package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
  30. package/dist/chunks/{worktree-w3x9v1nk.js → project-25cs5cen.js} +8 -8
  31. package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{worktree-77vpx1b6.js → project-2e8hs3n1.js} +17 -17
  33. package/dist/chunks/{worktree-5xn2kdjj.js → project-2jpf0fvd.js} +71 -71
  34. package/dist/chunks/{worktree-gsaq8s04.js → project-2mzfjhd5.js} +27 -27
  35. package/dist/chunks/{worktree-0xxe8pk9.js → project-2n37e6w7.js} +1 -1
  36. package/dist/chunks/{worktree-cac6dn0k.js → project-2tr1k1b8.js} +8 -8
  37. package/dist/chunks/{worktree-yg13730w.js → project-2v338a3n.js} +15 -15
  38. package/dist/chunks/{worktree-garp4qw6.js → project-2vfwjvt0.js} +2 -2
  39. package/dist/chunks/{worktree-5qpsy98w.js → project-2wnd0vm8.js} +20 -20
  40. package/dist/chunks/{worktree-9b00c1fb.js → project-2xwkyk0m.js} +5 -5
  41. package/dist/chunks/{worktree-kk69x7kr.js → project-32jw649k.js} +16 -16
  42. package/dist/chunks/{worktree-pnd0g9pf.js → project-339h4057.js} +3 -3
  43. package/dist/chunks/{worktree-evbgk2k8.js → project-37s12vcn.js} +5 -5
  44. package/dist/chunks/{worktree-vqhx5d1p.js → project-3by8z3q7.js} +31 -31
  45. package/dist/chunks/{worktree-6gx3r2kv.js → project-3c9vxe8z.js} +18 -18
  46. package/dist/chunks/{worktree-kztetyb1.js → project-3e15rq0w.js} +32 -32
  47. package/dist/chunks/{worktree-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{worktree-3grjp0nz.js → project-3ff3e122.js} +10 -10
  49. package/dist/chunks/{worktree-b92gs9tv.js → project-3fvrem5n.js} +32 -32
  50. package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{worktree-3ebwcaah.js → project-3jq7hafk.js} +39 -39
  52. package/dist/chunks/{worktree-5cbjsbf2.js → project-3k28x0rq.js} +7 -7
  53. package/dist/chunks/{worktree-dqanwn8q.js → project-3sg0jw0d.js} +22 -22
  54. package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{worktree-htbmzt7n.js → project-3x2h1jqq.js} +16 -16
  57. package/dist/chunks/{worktree-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{worktree-nwxgwzyy.js → project-403m2ss4.js} +9 -9
  59. package/dist/chunks/{worktree-z4ygwn82.js → project-41wzkj33.js} +9 -9
  60. package/dist/chunks/{worktree-kf269fqw.js → project-460prvfa.js} +36 -36
  61. package/dist/chunks/{worktree-4j4tgtq5.js → project-4j4tgtq5.js} +1 -1
  62. package/dist/chunks/{worktree-0jkw1j53.js → project-4mwpykj0.js} +6 -6
  63. package/dist/chunks/{worktree-dkq1mqd6.js → project-4n26wkx8.js} +4 -4
  64. package/dist/chunks/{worktree-fr5646w7.js → project-4tzsdqn7.js} +24 -24
  65. package/dist/chunks/{worktree-54ma36ye.js → project-54ma36ye.js} +1 -1
  66. package/dist/chunks/{worktree-5e7ha89d.js → project-563x647v.js} +15 -15
  67. package/dist/chunks/{worktree-1ygqh575.js → project-56gdpj1q.js} +9 -9
  68. package/dist/chunks/{worktree-dc6tzc5b.js → project-57ez7d0k.js} +9 -9
  69. package/dist/chunks/{worktree-akpb58q4.js → project-5beq9rmc.js} +15 -15
  70. package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
  71. package/dist/chunks/{worktree-34q1q4g3.js → project-5ejns0m0.js} +4 -4
  72. package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{worktree-mvksx64m.js → project-5xpznt2d.js} +4 -4
  74. package/dist/chunks/{worktree-yntvrfmt.js → project-5yv68qc1.js} +18 -18
  75. package/dist/chunks/{worktree-4yvz2rcy.js → project-607q5haz.js} +12 -12
  76. package/dist/chunks/project-619r8v3y.js +18 -0
  77. package/dist/chunks/{worktree-brpj3swx.js → project-619t0cxh.js} +37 -37
  78. package/dist/chunks/{worktree-1sejb65e.js → project-624xt6we.js} +20 -20
  79. package/dist/chunks/{worktree-herfy2z0.js → project-65ptgm6v.js} +13 -13
  80. package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
  81. package/dist/chunks/{worktree-knad820t.js → project-6a8xraeq.js} +13 -13
  82. package/dist/chunks/{worktree-5g59cdd4.js → project-6k23k7vx.js} +48 -48
  83. package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  84. package/dist/chunks/{worktree-m84c3eg8.js → project-6pwz9vdm.js} +15 -15
  85. package/dist/chunks/{worktree-sgemhp45.js → project-6w454pee.js} +14 -14
  86. package/dist/chunks/{worktree-7fp3pbdt.js → project-6wg8zrc8.js} +30 -30
  87. package/dist/chunks/{worktree-07ka27pw.js → project-6zsmm6dr.js} +46 -46
  88. package/dist/chunks/{worktree-4tg3mvfj.js → project-75mzgwkf.js} +33 -33
  89. package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{worktree-ps28zk1z.js → project-7dnkkhh4.js} +16 -16
  91. package/dist/chunks/{worktree-hkarc3f0.js → project-7gaega4f.js} +9 -9
  92. package/dist/chunks/{worktree-6xk05h7s.js → project-7gfsvgty.js} +9 -9
  93. package/dist/chunks/{worktree-vrxaz2n4.js → project-7kb53k34.js} +8 -8
  94. package/dist/chunks/{worktree-s5c30328.js → project-7kjckr2c.js} +3 -3
  95. package/dist/chunks/{worktree-8edxm6pr.js → project-7pcrhvh4.js} +10 -10
  96. package/dist/chunks/{worktree-vd7rzxqf.js → project-7pr2hkwv.js} +5 -5
  97. package/dist/chunks/{worktree-mve018rq.js → project-7v99a3s2.js} +28 -28
  98. package/dist/chunks/{worktree-fnz0r7q7.js → project-7w0y71jc.js} +11 -11
  99. package/dist/chunks/{worktree-818pfwc9.js → project-818pfwc9.js} +3 -3
  100. package/dist/chunks/{worktree-rwan6hkh.js → project-83nh47t2.js} +13 -13
  101. package/dist/chunks/{worktree-6jn9sxf3.js → project-8496rxe5.js} +32 -32
  102. package/dist/chunks/{worktree-84txncab.js → project-84txncab.js} +1 -1
  103. package/dist/chunks/{worktree-aj9wrhbp.js → project-884bfwk0.js} +3 -3
  104. package/dist/chunks/{worktree-tcezcvh9.js → project-89znhe33.js} +4 -4
  105. package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  106. package/dist/chunks/{worktree-fy02dvg1.js → project-8ezkp1w1.js} +24 -24
  107. package/dist/chunks/{worktree-qaj4vhma.js → project-8f78v9qy.js} +1 -1
  108. package/dist/chunks/{worktree-7f7t51gq.js → project-8fq5ayth.js} +8 -8
  109. package/dist/chunks/{worktree-s0sx2v9z.js → project-8fqdsx23.js} +137 -137
  110. package/dist/chunks/project-8nxkrca3.js +26 -0
  111. package/dist/chunks/{worktree-jtq10j8j.js → project-8p2pmgw9.js} +19 -19
  112. package/dist/chunks/{worktree-5j6r72e5.js → project-8wvrh9f5.js} +1 -1
  113. package/dist/chunks/{worktree-94ek1h2f.js → project-94ek1h2f.js} +2 -2
  114. package/dist/chunks/{worktree-t5fc0zjg.js → project-96n2ccqs.js} +3 -3
  115. package/dist/chunks/{worktree-gm1x238t.js → project-98eksqsr.js} +8 -8
  116. package/dist/chunks/{worktree-a43gst0m.js → project-9cw7v7t0.js} +3 -3
  117. package/dist/chunks/{worktree-6gtt5snn.js → project-9herab98.js} +33 -33
  118. package/dist/chunks/{worktree-hy20qw0x.js → project-9qkx95r0.js} +15 -15
  119. package/dist/chunks/{worktree-pb82r3ma.js → project-9qvr998c.js} +11 -11
  120. package/dist/chunks/{worktree-jp5y0tg6.js → project-9rybd2zw.js} +10 -10
  121. package/dist/chunks/{worktree-adbp0bjj.js → project-9stnwpgq.js} +8 -8
  122. package/dist/chunks/{worktree-df33jmy2.js → project-a1by8739.js} +18 -18
  123. package/dist/chunks/{worktree-pgtq6dzx.js → project-a1jns5ne.js} +16 -16
  124. package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
  125. package/dist/chunks/{worktree-pzjt7r8f.js → project-atjyqtyt.js} +6 -6
  126. package/dist/chunks/{worktree-msy23jaw.js → project-atrcd26x.js} +20 -20
  127. package/dist/chunks/{worktree-fhz5gfgy.js → project-axs6pdy0.js} +5 -5
  128. package/dist/chunks/{worktree-g36vf30t.js → project-azzr0vhd.js} +13 -13
  129. package/dist/chunks/{worktree-0zz42z4j.js → project-b18wbhdm.js} +11 -11
  130. package/dist/chunks/{worktree-a4e1tewd.js → project-b227wj0j.js} +2 -2
  131. package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  132. package/dist/chunks/{worktree-y3m4vy1g.js → project-b6vdck89.js} +45 -45
  133. package/dist/chunks/{worktree-z4jtqfv3.js → project-b7t4d0bx.js} +6 -6
  134. package/dist/chunks/{worktree-mje1cxe4.js → project-b9krrcn2.js} +27 -27
  135. package/dist/chunks/{worktree-92dk74jt.js → project-b9ycemf2.js} +11 -11
  136. package/dist/chunks/{worktree-m2vze1yq.js → project-benezg7w.js} +10 -10
  137. package/dist/chunks/{worktree-vhqg2wpr.js → project-bn399aes.js} +32 -32
  138. package/dist/chunks/{worktree-ebpkp5tm.js → project-bneggmm6.js} +1 -1
  139. package/dist/chunks/{worktree-fa575c2x.js → project-c5bjafsp.js} +23 -23
  140. package/dist/chunks/{worktree-djszqvmq.js → project-c765mh8b.js} +9 -9
  141. package/dist/chunks/{worktree-s3b2wgtr.js → project-c874zv42.js} +11 -11
  142. package/dist/chunks/{worktree-h316dbp4.js → project-c8j29rkk.js} +11 -11
  143. package/dist/chunks/{worktree-k96bfvzz.js → project-cebq52h3.js} +12 -12
  144. package/dist/chunks/{worktree-ckecvw8r.js → project-ckecvw8r.js} +2 -2
  145. package/dist/chunks/{worktree-9hn6k4tm.js → project-cmwkp3r5.js} +8 -8
  146. package/dist/chunks/{worktree-pf2hb43r.js → project-cqg8v4c7.js} +5 -5
  147. package/dist/chunks/{worktree-vd5yy21v.js → project-cwv7yqrw.js} +28 -28
  148. package/dist/chunks/{worktree-6r564qq4.js → project-czg9x4h8.js} +6 -6
  149. package/dist/chunks/{worktree-0z5kb6hf.js → project-d3fj698k.js} +3 -3
  150. package/dist/chunks/{worktree-0b08qf3v.js → project-d4fbvmpv.js} +8 -8
  151. package/dist/chunks/{worktree-fyq3qmbb.js → project-d6dqh9nb.js} +4 -4
  152. package/dist/chunks/{worktree-r0s9vhwa.js → project-dbggsdn6.js} +7 -7
  153. package/dist/chunks/{worktree-2mxwjfq3.js → project-df7trzx9.js} +28 -28
  154. package/dist/chunks/{worktree-smzykshb.js → project-dnaw0pkd.js} +3 -3
  155. package/dist/chunks/{worktree-dnxkq42g.js → project-dnxkq42g.js} +1 -1
  156. package/dist/chunks/{worktree-dpkg50ah.js → project-dpkg50ah.js} +1 -1
  157. package/dist/chunks/{worktree-c3nyckct.js → project-dryza082.js} +25 -25
  158. package/dist/chunks/{worktree-87temrgz.js → project-e049drp9.js} +11 -11
  159. package/dist/chunks/{worktree-2x11xqq5.js → project-e0t5n6h4.js} +26 -26
  160. package/dist/chunks/{worktree-2wmsjg7e.js → project-e2qcx340.js} +10 -10
  161. package/dist/chunks/{worktree-3kxsbfdd.js → project-e63gg9ae.js} +15 -15
  162. package/dist/chunks/{worktree-qjnxxf51.js → project-e6hmchc5.js} +5 -5
  163. package/dist/chunks/{worktree-ecfe7b91.js → project-ecfe7b91.js} +2 -2
  164. package/dist/chunks/{worktree-g8rmq192.js → project-ed2m8rt6.js} +10 -10
  165. package/dist/chunks/{worktree-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  166. package/dist/chunks/{worktree-m8h3g6ey.js → project-enmvcg2s.js} +5 -5
  167. package/dist/chunks/{worktree-e7f86dzg.js → project-erkqxs4v.js} +16 -16
  168. package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  169. package/dist/chunks/{worktree-z04dqx9d.js → project-ew3ps6bh.js} +5 -5
  170. package/dist/chunks/{worktree-f8hpcc62.js → project-f3zdv7ej.js} +29 -29
  171. package/dist/chunks/{worktree-prdv2mte.js → project-far2xf0m.js} +4 -4
  172. package/dist/chunks/{worktree-ryr25ayn.js → project-fdv30zvt.js} +7 -7
  173. package/dist/chunks/{worktree-gyccd9n7.js → project-ffmtnmcc.js} +20 -20
  174. package/dist/chunks/{worktree-4jv7e9dq.js → project-fjvydvzm.js} +8 -8
  175. package/dist/chunks/{worktree-q4s4x04b.js → project-fzp769bc.js} +25 -25
  176. package/dist/chunks/{worktree-g190xswt.js → project-g190xswt.js} +1 -1
  177. package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  178. package/dist/chunks/{worktree-swh571tt.js → project-gq19827e.js} +1 -1
  179. package/dist/chunks/{worktree-7twg7rgh.js → project-gq3bt1cd.js} +20 -20
  180. package/dist/chunks/{worktree-9x0b5x9j.js → project-gt50eczq.js} +14 -14
  181. package/dist/chunks/{worktree-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  182. package/dist/chunks/{worktree-6rebv3cw.js → project-gyjy55vd.js} +1 -1
  183. package/dist/chunks/{worktree-y019w46x.js → project-h15qk984.js} +323 -323
  184. package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  185. package/dist/chunks/{worktree-8gh9vszs.js → project-h8hwphbd.js} +22 -22
  186. package/dist/chunks/{worktree-hd8vw2pw.js → project-hd8vw2pw.js} +1 -1
  187. package/dist/chunks/{worktree-z0ya5s7h.js → project-hn43hy9v.js} +9 -9
  188. package/dist/chunks/{worktree-7qann507.js → project-hnmy0hsy.js} +46 -46
  189. package/dist/chunks/{worktree-abrjz9qv.js → project-hz5p8n7r.js} +13 -13
  190. package/dist/chunks/{worktree-1fm7vbk4.js → project-j26sntzs.js} +12 -12
  191. package/dist/chunks/{worktree-n810d9f4.js → project-j50a6jve.js} +11 -11
  192. package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
  193. package/dist/chunks/{worktree-7627eybd.js → project-j8f5yte4.js} +18 -18
  194. package/dist/chunks/{worktree-bpa6zfs4.js → project-jdtykp26.js} +81 -81
  195. package/dist/chunks/{worktree-pnv527nz.js → project-jjs74g98.js} +9 -9
  196. package/dist/chunks/{worktree-k3c624dm.js → project-k3c624dm.js} +3 -3
  197. package/dist/chunks/{worktree-xxynqx5z.js → project-k6yq57aq.js} +2 -2
  198. package/dist/chunks/{worktree-z4b5t13m.js → project-kfewz56y.js} +19 -19
  199. package/dist/chunks/{worktree-xpjcprn4.js → project-kjkxz51n.js} +26 -26
  200. package/dist/chunks/{worktree-v7z2bvyd.js → project-knevfgda.js} +4 -4
  201. package/dist/chunks/{worktree-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  202. package/dist/chunks/{worktree-c66ced72.js → project-m6f3t844.js} +4 -4
  203. package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  204. package/dist/chunks/{worktree-s7m1jgh3.js → project-mk2wn6nt.js} +41 -41
  205. package/dist/chunks/{worktree-zqm7km32.js → project-mksgfzgs.js} +5 -5
  206. package/dist/chunks/{worktree-mhkvc446.js → project-mvfsc1pv.js} +3 -3
  207. package/dist/chunks/{worktree-r5vpsbwz.js → project-n3csagb3.js} +18 -18
  208. package/dist/chunks/{worktree-t794wzvf.js → project-n5g5f6a9.js} +26 -26
  209. package/dist/chunks/{worktree-34nypsh0.js → project-n7kq7syy.js} +9 -9
  210. package/dist/chunks/{worktree-jvhjazwr.js → project-n9brwhfv.js} +11 -11
  211. package/dist/chunks/{worktree-59fdznsn.js → project-ncpnxt6w.js} +17 -17
  212. package/dist/chunks/{worktree-rvyqzb1a.js → project-nm0q2jgj.js} +29 -29
  213. package/dist/chunks/{worktree-hanh6chz.js → project-nm4b89zg.js} +8 -8
  214. package/dist/chunks/{worktree-bb5562zs.js → project-nmbqr5ec.js} +22 -22
  215. package/dist/chunks/{worktree-4857ee0e.js → project-nykjhsrz.js} +52 -52
  216. package/dist/chunks/{worktree-2wfhz1m8.js → project-pfnjx98c.js} +22 -22
  217. package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
  219. package/dist/chunks/{worktree-6hzy2d5p.js → project-pm3a7hnh.js} +34 -34
  220. package/dist/chunks/{worktree-6apn3h4b.js → project-ptf9bkze.js} +9 -9
  221. package/dist/chunks/{worktree-jw8n4n6p.js → project-pv66basf.js} +14 -14
  222. package/dist/chunks/{worktree-py3kkmfq.js → project-py3kkmfq.js} +2 -2
  223. package/dist/chunks/{worktree-ghxjqect.js → project-q03xkger.js} +13 -13
  224. package/dist/chunks/{worktree-2kba3xe6.js → project-q19fen1v.js} +27 -27
  225. package/dist/chunks/{worktree-kvh070sc.js → project-q9jkegzq.js} +32 -32
  226. package/dist/chunks/{worktree-7f76ypb7.js → project-qaqjyhfq.js} +14 -14
  227. package/dist/chunks/{worktree-277eer69.js → project-qbqbaz6q.js} +4 -4
  228. package/dist/chunks/{worktree-2k8khapm.js → project-qgn6gcr1.js} +5 -5
  229. package/dist/chunks/{worktree-twe926b3.js → project-qhvf56dz.js} +10 -10
  230. package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
  231. package/dist/chunks/{worktree-gfzbkctm.js → project-r14vm1xa.js} +19 -19
  232. package/dist/chunks/{worktree-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  233. package/dist/chunks/{worktree-k3dyg6dm.js → project-rfj00t6s.js} +7 -7
  234. package/dist/chunks/{worktree-xj9aad7z.js → project-s04yvqe9.js} +39 -39
  235. package/dist/chunks/{worktree-tgtk0jyg.js → project-s2fyaqj8.js} +14 -14
  236. package/dist/chunks/{worktree-2v3kr2zz.js → project-s825grcd.js} +43 -43
  237. package/dist/chunks/{worktree-rhjbct0v.js → project-s8d7rejh.js} +4 -4
  238. package/dist/chunks/{worktree-pecb0brz.js → project-s8zy8myc.js} +5 -5
  239. package/dist/chunks/{worktree-11dqjexa.js → project-sk2hk6tq.js} +9 -9
  240. package/dist/chunks/{worktree-9n87anw0.js → project-swk1efsm.js} +8 -8
  241. package/dist/chunks/{worktree-de6phzbx.js → project-t41mts01.js} +9 -9
  242. package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
  244. package/dist/chunks/{worktree-50fh3k1w.js → project-tr8mceaa.js} +11 -11
  245. package/dist/chunks/{worktree-yvyjs43v.js → project-tv78pmrq.js} +20 -20
  246. package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
  247. package/dist/chunks/{worktree-7sgyf0xz.js → project-tvyg9cvp.js} +6 -6
  248. package/dist/chunks/{worktree-x79bsykc.js → project-tzxknpb8.js} +11 -11
  249. package/dist/chunks/{worktree-5rpzdny6.js → project-v2gj3r6j.js} +20 -20
  250. package/dist/chunks/{worktree-tha3vvwn.js → project-v89ca3yf.js} +5 -5
  251. package/dist/chunks/{worktree-8s0ze3zt.js → project-ve8aas4y.js} +10 -10
  252. package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
  253. package/dist/chunks/{worktree-zqcr6gem.js → project-vf87633e.js} +20 -20
  254. package/dist/chunks/{worktree-m8jn794n.js → project-vf98g9bw.js} +23 -23
  255. package/dist/chunks/{worktree-gm0g7gcc.js → project-vhs061t7.js} +4 -4
  256. package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{worktree-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{worktree-g3bz5gs9.js → project-w2236gjw.js} +20 -20
  259. package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{worktree-8hbfdwcy.js → project-w6zk8pbt.js} +6 -6
  261. package/dist/chunks/{worktree-0k65zfrv.js → project-w893fnt1.js} +84 -84
  262. package/dist/chunks/{worktree-05xfxpq7.js → project-was7srj9.js} +8 -8
  263. package/dist/chunks/{worktree-0nc4skqk.js → project-wcqyh1ts.js} +9 -9
  264. package/dist/chunks/{worktree-wd3x2cqz.js → project-wd3x2cqz.js} +2 -2
  265. package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
  266. package/dist/chunks/{worktree-pa3vm0gt.js → project-wnkxv0q5.js} +16 -16
  267. package/dist/chunks/{worktree-wgss2cbp.js → project-wpeqwd3m.js} +11 -11
  268. package/dist/chunks/{worktree-ky3seynh.js → project-wqc6684y.js} +2 -2
  269. package/dist/chunks/{worktree-m92xhnzy.js → project-wyjk5hfb.js} +3 -3
  270. package/dist/chunks/{worktree-ap2tpm1x.js → project-x176zp1b.js} +19 -19
  271. package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  272. package/dist/chunks/{worktree-3zm2m16b.js → project-x2y9dr9x.js} +23 -23
  273. package/dist/chunks/{worktree-afjydgk3.js → project-xb50yt4b.js} +4 -4
  274. package/dist/chunks/{worktree-93fchcwg.js → project-xbk7y0ps.js} +18 -18
  275. package/dist/chunks/{worktree-xfkkasph.js → project-xfkkasph.js} +1 -1
  276. package/dist/chunks/{worktree-xkntkrq7.js → project-xkntkrq7.js} +2 -2
  277. package/dist/chunks/{worktree-wd71bnwr.js → project-xzb2kbk8.js} +26 -26
  278. package/dist/chunks/{worktree-h5m7e0fe.js → project-y0mc46pw.js} +9 -9
  279. package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  280. package/dist/chunks/{worktree-n9a5crpx.js → project-yfc128y6.js} +4 -4
  281. package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{worktree-yrznvahk.js → project-yrznvahk.js} +2 -2
  283. package/dist/chunks/{worktree-z07pqspn.js → project-z07pqspn.js} +3 -3
  284. package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{worktree-z63w68vq.js → project-z63w68vq.js} +2 -2
  286. package/dist/chunks/{worktree-w8m5q4xe.js → project-zc89qxvr.js} +18 -18
  287. package/dist/chunks/{worktree-baaqp4zd.js → project-zcrspsvn.js} +4 -4
  288. package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{worktree-mn20a28a.js → project-zf1fk0v2.js} +11 -11
  290. package/dist/chunks/{worktree-senast2p.js → project-zfgkzra5.js} +15 -15
  291. package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{worktree-zxq2ej10.js → project-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 +84 -84
  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 +123 -123
  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 +125 -125
  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 +124 -124
  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 +124 -124
  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 +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  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 +104 -104
  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 +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  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 +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 +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  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 +87 -87
  474. package/dist/managed-policy.js +3 -3
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +127 -127
  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 +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +96 -96
  484. package/dist/models-dev.js +99 -99
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  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 +86 -86
  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 +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  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 +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  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 +76 -76
  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 +354 -354
  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 +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  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 +97 -97
  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 +135 -135
  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 +128 -128
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  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 +1 -1
  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 +4 -4
  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 +170 -170
  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 +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  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 +217 -217
  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 +11 -11
  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 +108 -108
  635. package/dist/snapshot.js +93 -93
  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 +118 -118
  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 +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +109 -109
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  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 +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +1 -1
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +94 -94
  699. package/package.json +8 -8
  700. package/dist/chunks/worktree-dfjfj6f0.js +0 -252
  701. package/dist/chunks/worktree-qc068m1q.js +0 -18
  702. package/dist/chunks/worktree-t3czs8ed.js +0 -26
  703. /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{worktree-24dcb14g.js → project-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{worktree-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
  715. /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{worktree-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
  723. /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{worktree-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
  726. /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
  729. /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{worktree-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
  733. /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
  749. /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
  762. /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
  764. /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
  766. /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{worktree-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{worktree-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{worktree-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
  794. /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{worktree-y8f7s663.js → project-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node82
7
- } from "./worktree-4yvz2rcy.js";
6
+ node86
7
+ } from "./project-607q5haz.js";
8
8
  import {
9
9
  Slug2
10
- } from "./worktree-gebd4c9n.js";
10
+ } from "./project-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./worktree-z16xbst3.js";
14
+ } from "./project-0vfkfsvf.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./worktree-gm0g7gcc.js";
18
+ } from "./project-vhs061t7.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./worktree-wd3x2cqz.js";
21
+ } from "./project-wd3x2cqz.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./worktree-94ek1h2f.js";
24
+ } from "./project-94ek1h2f.js";
25
25
  import {
26
- ID16,
26
+ ID17,
27
27
  NotFoundError11
28
- } from "./worktree-3ebwcaah.js";
28
+ } from "./project-3jq7hafk.js";
29
29
  import {
30
30
  Ref4
31
- } from "./worktree-ps28zk1z.js";
31
+ } from "./project-7dnkkhh4.js";
32
32
  import {
33
- Service69,
34
- node72
35
- } from "./worktree-0nc4skqk.js";
33
+ Service59,
34
+ node61
35
+ } from "./project-wcqyh1ts.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./worktree-gv6a8nnw.js";
39
+ } from "./project-gv6a8nnw.js";
40
40
  import {
41
41
  make12
42
- } from "./worktree-zqm7km32.js";
42
+ } from "./project-mksgfzgs.js";
43
43
  import {
44
- Service28
45
- } from "./worktree-gfzbkctm.js";
44
+ Service24
45
+ } from "./project-r14vm1xa.js";
46
46
  import {
47
47
  __export
48
- } from "./worktree-9rqn6x4v.js";
48
+ } from "./project-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event7,
56
+ Event: () => Event6,
57
57
  Info: () => Info5,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service27,
63
+ Service: () => Service23,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node30
68
+ node: () => node26
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -83,7 +83,7 @@ var Info5 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
86
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
86
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
87
87
  }
88
88
 
89
89
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event7 = Worktree.Event;
97
+ var Event6 = Worktree.Event;
98
98
 
99
- class Service27 extends Context.Service()("@opencode/Worktree") {
99
+ class Service23 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service27, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
105
  const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service69;
107
+ const locations = yield* Service59;
108
108
  const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service28).get();
123
+ return Context.get(context, Service24).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event7.Updated, { projectID });
127
+ yield* bus.publish(Event6.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service27.of({
254
+ return Service23.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node30 = Node.makeGlobalNode({
265
- service: Service27,
264
+ var node26 = Node.makeGlobalNode({
265
+ service: Service23,
266
266
  layer,
267
- deps: [FSUtil.node, node82, node87, node88, AppProcess.node, node72]
267
+ deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node61]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service27, node30, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service23, node26, exports_worktree2, OperationError2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-n810d9f4.js";
3
+ } from "./project-j50a6jve.js";
4
4
  import {
5
5
  call2
6
- } from "./worktree-1ygqh575.js";
6
+ } from "./project-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin9,
14
+ Plugin: () => Plugin37,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin9 = define({
36
+ var Plugin37 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin9 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin9 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint6, Plugin9, exports_tinyfish };
76
+ export { endpoint3, Plugin37, exports_tinyfish };
@@ -2,24 +2,24 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./worktree-m8jn794n.js";
5
+ } from "./project-vf98g9bw.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info26
11
- } from "./worktree-bb5562zs.js";
11
+ } from "./project-nmbqr5ec.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./worktree-xfkkasph.js";
3
+ } from "./project-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service46
3
- } from "./worktree-xj9aad7z.js";
2
+ Service49
3
+ } from "./project-s04yvqe9.js";
4
4
  import {
5
- Service39
6
- } from "./worktree-eycgq67k.js";
5
+ Service36
6
+ } from "./project-048xc26x.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin31,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin9,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin31 = define({
20
+ var Plugin9 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service46;
28
- const mcp = yield* Service39;
27
+ const config = yield* Service49;
28
+ const mcp = yield* Service36;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin31, register2, exports_mcp2 };
49
+ export { Plugin9, register2, exports_mcp };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-gm0g7gcc.js";
4
+ } from "./project-vhs061t7.js";
5
5
  import {
6
- Service39,
7
- node42
8
- } from "./worktree-eycgq67k.js";
9
- import {
10
- Service62,
11
- node65
12
- } from "./worktree-y3m4vy1g.js";
6
+ Service36,
7
+ node39
8
+ } from "./project-048xc26x.js";
13
9
  import {
14
10
  Service66,
15
- node69
16
- } from "./worktree-q4s4x04b.js";
11
+ node70
12
+ } from "./project-b6vdck89.js";
13
+ import {
14
+ Service38,
15
+ node41
16
+ } from "./project-fzp769bc.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service38,
25
+ Service: () => Service34,
26
26
  layer: () => layer13,
27
- name: () => name13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node41
29
+ node: () => node38
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service38 extends Context.Service()("@opencode/McpTool") {
38
+ class Service34 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service38, Effect.gen(function* () {
41
- const mcp = yield* Service39;
42
- const tools = yield* Service66;
40
+ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
41
+ const mcp = yield* Service36;
42
+ const tools = yield* Service38;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service62;
44
+ const permission = yield* Service66;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service38, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service38, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service38, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service38.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node41 = makeLocationNode({
124
- service: Service38,
123
+ var node38 = makeLocationNode({
124
+ service: Service34,
125
125
  layer: layer13,
126
- deps: [node69, node42, node87, node65]
126
+ deps: [node41, node39, node87, node70]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service38, layer13, node41, exports_mcp3 };
129
+ export { namespace2, name14, Service34, layer13, node38, exports_mcp3 };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-gm0g7gcc.js";
4
+ } from "./project-vhs061t7.js";
5
5
  import {
6
- Service77,
7
- node80
8
- } from "./worktree-ps28zk1z.js";
6
+ Service80,
7
+ node84
8
+ } from "./project-7dnkkhh4.js";
9
9
  import {
10
- Service61,
10
+ Service48,
11
11
  login2,
12
- node64
13
- } from "./worktree-hy20qw0x.js";
12
+ node50
13
+ } from "./project-9qkx95r0.js";
14
14
  import {
15
15
  lazy2
16
- } from "./worktree-88xbtdfr.js";
16
+ } from "./project-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
24
  CreateInput: () => CreateInput2,
25
- Event: () => Event6,
25
+ Event: () => Event2,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID4,
28
- Info: () => Info4,
29
- NotFoundError: () => NotFoundError4,
27
+ ID: () => ID2,
28
+ Info: () => Info2,
29
+ NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service24,
31
+ Service: () => Service14,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node27
33
+ node: () => node16
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event6 } from "@opencode/schema/pty";
38
+ import { Event as Event2 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID4 = Pty.ID;
43
- var Info4 = Pty.Info;
42
+ var ID2 = Pty.ID;
43
+ var Info2 = Pty.Info;
44
44
  var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID4
47
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID4
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service24 extends Context.Service()("@opencode/Pty") {
57
+ class Service14 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service24, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
60
60
  const bus = yield* Service83;
61
- const location = yield* Service77;
62
- const shell = yield* Service61;
61
+ const location = yield* Service80;
62
+ const shell = yield* Service48;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError4({ ptyID: id });
99
+ return yield* new NotFoundError2({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID4.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service24.of({ list, get, create, update, remove, write, attach });
270
+ return Service14.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node27 = makeLocationNode({
273
- service: Service24,
272
+ var node16 = makeLocationNode({
273
+ service: Service14,
274
274
  layer,
275
- deps: [node87, node80, node64]
275
+ deps: [node87, node84, node50]
276
276
  });
277
277
 
278
- export { ID4, Info4, CreateInput2, UpdateInput2, NotFoundError4, ExitedError2, Service24, node27, exports_pty, Event6 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./worktree-gm0g7gcc.js";
3
+ } from "./project-vhs061t7.js";
4
4
  import {
5
- Service77
6
- } from "./worktree-ps28zk1z.js";
5
+ Service80
6
+ } from "./project-7dnkkhh4.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service39
10
- } from "./worktree-eycgq67k.js";
9
+ Service36
10
+ } from "./project-048xc26x.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin4
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin47
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin4 = define({
196
+ var Plugin47 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service77;
200
- const mcp = yield* Service39;
199
+ const location = yield* Service80;
200
+ const mcp = yield* Service36;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin4, exports_command };
283
+ export { Plugin47, exports_command2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin15,
9
+ Plugin: () => Plugin49,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin15 = define({
25
+ var Plugin49 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin15, exports_identity };
38
+ export { identity2, Plugin49, exports_identity };