@opencode/core 0.0.0-dev-19338 → 0.0.0-dev-19340

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{location-services-g3599gw0.js → command-058t7yf9.js} +2 -2
  9. package/dist/chunks/{location-services-s3fqj7fn.js → command-06fs55ff.js} +24 -24
  10. package/dist/chunks/{location-services-v17vgq8s.js → command-071pgthj.js} +32 -32
  11. package/dist/chunks/{location-services-pswdd2t8.js → command-07am1m2n.js} +16 -16
  12. package/dist/chunks/{location-services-0wd6em3j.js → command-0arazqkx.js} +10 -10
  13. package/dist/chunks/{location-services-55bzypr0.js → command-0njkqfg3.js} +11 -11
  14. package/dist/chunks/{location-services-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{location-services-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{location-services-brzmmewp.js → command-16yyeh88.js} +3 -3
  17. package/dist/chunks/{location-services-6sj05tzn.js → command-16zr1pr9.js} +11 -11
  18. package/dist/chunks/{location-services-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-services-0hpxrkyb.js → command-1dfhrqqs.js} +5 -5
  20. package/dist/chunks/{location-services-162h2cbr.js → command-1hp1n8hq.js} +10 -10
  21. package/dist/chunks/{location-services-e2dtrqwf.js → command-1k8kk91w.js} +46 -46
  22. package/dist/chunks/{location-services-2wdxjxp6.js → command-1tj6de83.js} +6 -6
  23. package/dist/chunks/{location-services-1ygqh575.js → command-1ygqh575.js} +2 -2
  24. package/dist/chunks/{location-services-txm7s3af.js → command-21pbdrht.js} +50 -50
  25. package/dist/chunks/{location-services-21r38tys.js → command-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-services-g2y161wv.js → command-2336b01z.js} +8 -8
  27. package/dist/chunks/{location-services-2402vzrj.js → command-2402vzrj.js} +1 -1
  28. package/dist/chunks/{location-services-2m4pqqb5.js → command-289tsq5j.js} +30 -30
  29. package/dist/chunks/{location-services-dxea83ar.js → command-290wsyyp.js} +17 -17
  30. package/dist/chunks/{location-services-z63w68vq.js → command-29x78va6.js} +6 -6
  31. package/dist/chunks/{location-services-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{location-services-zwzjy0a1.js → command-2fptrwpm.js} +20 -20
  33. package/dist/chunks/{location-services-at5nfy9r.js → command-2gg4mvag.js} +20 -20
  34. package/dist/chunks/{location-services-6ersrjne.js → command-2jmaghvr.js} +6 -6
  35. package/dist/chunks/{location-services-sh26c022.js → command-2jr08de7.js} +25 -25
  36. package/dist/chunks/{location-services-qgn6gcr1.js → command-2k8khapm.js} +5 -5
  37. package/dist/chunks/{location-services-avay8ehz.js → command-2r3qnbph.js} +5 -5
  38. package/dist/chunks/{location-services-1qdk8c0g.js → command-2s62dw2x.js} +1 -1
  39. package/dist/chunks/{location-services-vyjzrkx0.js → command-352w66m8.js} +9 -9
  40. package/dist/chunks/{location-services-n5pps5m7.js → command-357er88r.js} +6 -6
  41. package/dist/chunks/{location-services-jh4j6rwm.js → command-37wx6eva.js} +10 -10
  42. package/dist/chunks/{location-services-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{location-services-btq6dtd4.js → command-3hrzv0kt.js} +28 -28
  44. package/dist/chunks/{location-services-bct739vz.js → command-3j8sdtpz.js} +4 -4
  45. package/dist/chunks/{location-services-h4r1yjny.js → command-3kp7n1bh.js} +32 -32
  46. package/dist/chunks/{location-services-qv2bye7a.js → command-3s259dc5.js} +6 -6
  47. package/dist/chunks/{location-services-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{location-services-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{location-services-bscb95cy.js → command-3wm7cf08.js} +6 -6
  50. package/dist/chunks/{location-services-0zj4cm3y.js → command-3xgcdqsq.js} +37 -37
  51. package/dist/chunks/{location-services-hjt4xg1x.js → command-47gsdddb.js} +7 -7
  52. package/dist/chunks/{location-services-38acbevk.js → command-4d14myfn.js} +33 -33
  53. package/dist/chunks/{location-services-sqbb0ctm.js → command-4drgpw32.js} +5 -5
  54. package/dist/chunks/{location-services-zgwwbszc.js → command-4exj6bqr.js} +15 -15
  55. package/dist/chunks/{location-services-v5fza2qm.js → command-4tkmwwah.js} +9 -9
  56. package/dist/chunks/{location-services-wnttaxta.js → command-4z9mtqyz.js} +22 -22
  57. package/dist/chunks/{location-services-n4wjpn8n.js → command-4zy2mhr2.js} +21 -21
  58. package/dist/chunks/{location-services-t2w3xr5a.js → command-556mt29y.js} +2 -2
  59. package/dist/chunks/{location-services-5daktx2q.js → command-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-services-k5rw4hnc.js → command-5gy68s7g.js} +22 -22
  61. package/dist/chunks/{location-services-2xwaa7cw.js → command-5s59rewz.js} +5 -5
  62. package/dist/chunks/{location-services-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{location-services-669tq793.js → command-669tq793.js} +1 -1
  64. package/dist/chunks/{location-services-vk1048p9.js → command-68m404t8.js} +12 -12
  65. package/dist/chunks/{location-services-xdj7hph9.js → command-68w7n5s5.js} +14 -14
  66. package/dist/chunks/{location-services-4zsc87zk.js → command-6c7a0g9q.js} +13 -13
  67. package/dist/chunks/{location-services-5vm6jgpp.js → command-6hyh8d33.js} +15 -15
  68. package/dist/chunks/{location-services-m86bnw2c.js → command-6jnybvqn.js} +9 -9
  69. package/dist/chunks/{location-services-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{location-services-paegk39x.js → command-6p3xbzsx.js} +4 -4
  71. package/dist/chunks/{location-services-j81s0rnf.js → command-6sd8tygk.js} +4 -4
  72. package/dist/chunks/{location-services-15v2jbpx.js → command-70vxa6pp.js} +10 -10
  73. package/dist/chunks/{location-services-71q4at8m.js → command-71q4at8m.js} +1 -1
  74. package/dist/chunks/{location-services-6z6w9rms.js → command-71sxxhdq.js} +11 -11
  75. package/dist/chunks/{location-services-fdv30zvt.js → command-73gmm198.js} +7 -7
  76. package/dist/chunks/{location-services-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-services-cr07tj7n.js → command-7gvwkz6m.js} +5 -5
  78. package/dist/chunks/{location-services-w28m7x89.js → command-7zxy0r75.js} +11 -11
  79. package/dist/chunks/{location-services-pdqbsy2v.js → command-81swgkk7.js} +7 -7
  80. package/dist/chunks/{location-services-x3et2xth.js → command-844ef7ks.js} +8 -8
  81. package/dist/chunks/{location-services-z43vqr8p.js → command-8560ytdy.js} +26 -26
  82. package/dist/chunks/{location-services-dpwabj80.js → command-87s66tky.js} +8 -8
  83. package/dist/chunks/{location-services-tcezcvh9.js → command-89znhe33.js} +4 -4
  84. package/dist/chunks/{location-services-m48bak5g.js → command-8a43qwm6.js} +46 -46
  85. package/dist/chunks/{location-services-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{location-services-27x26mvx.js → command-8dpy7hpx.js} +7 -7
  87. package/dist/chunks/{location-services-j3xb24h1.js → command-8em5q6v9.js} +18 -18
  88. package/dist/chunks/command-8jw9xxr7.js +22 -0
  89. package/dist/chunks/{location-services-8p4f9s12.js → command-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{location-services-gacdy71v.js → command-8wkvwetv.js} +30 -30
  91. package/dist/chunks/{location-services-7j2qha59.js → command-8wsye86r.js} +8 -8
  92. package/dist/chunks/{location-services-7ybwwvvx.js → command-8xyemkvq.js} +3 -3
  93. package/dist/chunks/{location-services-btas0783.js → command-8zbbstcn.js} +16 -16
  94. package/dist/chunks/{location-services-qx1zvxc9.js → command-8zv2n1xn.js} +8 -8
  95. package/dist/chunks/{location-services-vxqn53pa.js → command-9cctb9bg.js} +24 -24
  96. package/dist/chunks/command-9dwetznw.js +462 -0
  97. package/dist/chunks/{location-services-kp0txnpa.js → command-9v7bhpan.js} +11 -11
  98. package/dist/chunks/{location-services-hq4ymc60.js → command-9wrz99x9.js} +16 -16
  99. package/dist/chunks/{location-services-a1bz86dw.js → command-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{location-services-h1n238ac.js → command-a2fmrcfx.js} +4 -4
  101. package/dist/chunks/{location-services-ex5k2c35.js → command-a3vbp4x0.js} +9 -9
  102. package/dist/chunks/{location-services-aaet6srn.js → command-aaet6srn.js} +2 -2
  103. package/dist/chunks/{location-services-jk10gy5t.js → command-akqdjt52.js} +35 -35
  104. package/dist/chunks/{location-services-4k845csn.js → command-atwtfknp.js} +24 -24
  105. package/dist/chunks/{location-services-9kvjnr81.js → command-b06etp1z.js} +25 -25
  106. package/dist/chunks/{location-services-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{location-services-1mapar6n.js → command-baf8vqcb.js} +13 -13
  108. package/dist/chunks/{location-services-eq4p078r.js → command-bcm798z8.js} +3 -3
  109. package/dist/chunks/{location-services-dzx5qajy.js → command-bgcypqfq.js} +17 -17
  110. package/dist/chunks/{location-services-zdhmhzs2.js → command-bnm0713s.js} +15 -15
  111. package/dist/chunks/{location-services-5etegeke.js → command-bx97mp2c.js} +3 -3
  112. package/dist/chunks/{location-services-78hqr335.js → command-by885ras.js} +4 -4
  113. package/dist/chunks/{location-services-tfs8xndz.js → command-ca8kgyjt.js} +87 -87
  114. package/dist/chunks/{location-services-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{location-services-v0qc9apc.js → command-cgpqyknh.js} +28 -28
  116. package/dist/chunks/{location-services-bha4atvq.js → command-cq37gk0t.js} +4 -4
  117. package/dist/chunks/{location-services-28pzpvq0.js → command-cqq77scw.js} +6 -6
  118. package/dist/chunks/{location-services-drbyteps.js → command-cy0caesz.js} +19 -19
  119. package/dist/chunks/{location-services-37s12vcn.js → command-d87ppnb3.js} +5 -5
  120. package/dist/chunks/{location-services-s2qffcb7.js → command-dq5erfj9.js} +17 -17
  121. package/dist/chunks/{location-services-ycmd6xcg.js → command-dt3kpdt2.js} +11 -11
  122. package/dist/chunks/{location-services-zr7mteb2.js → command-dv5md250.js} +28 -28
  123. package/dist/chunks/{location-services-s2yb2sz1.js → command-e81phd5e.js} +13 -13
  124. package/dist/chunks/{location-services-dyp5k833.js → command-ee0v75zs.js} +15 -15
  125. package/dist/chunks/{location-services-73tb2d7t.js → command-eq1pz5kg.js} +3 -3
  126. package/dist/chunks/{location-services-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{location-services-fk8q8cg8.js → command-ewq934af.js} +11 -11
  128. package/dist/chunks/{location-services-5dcgz3aq.js → command-ezxzkja2.js} +11 -11
  129. package/dist/chunks/{location-services-xxdsfsv4.js → command-f1endfdf.js} +27 -27
  130. package/dist/chunks/{location-services-ycaafw61.js → command-f405q49x.js} +18 -18
  131. package/dist/chunks/{location-services-f828m53h.js → command-f828m53h.js} +2 -2
  132. package/dist/chunks/{location-services-7f4cfqjs.js → command-ffd8yj9h.js} +3 -3
  133. package/dist/chunks/{location-services-rcxgw5yf.js → command-fhh9803e.js} +11 -11
  134. package/dist/chunks/{location-services-kf1g5n2n.js → command-fhq6reqx.js} +33 -33
  135. package/dist/chunks/{location-services-tjzgn1x1.js → command-fq2b9r6y.js} +17 -17
  136. package/dist/chunks/{location-services-2z317dgv.js → command-frdrseff.js} +27 -27
  137. package/dist/chunks/{location-services-28fzndev.js → command-ftt3rafc.js} +25 -25
  138. package/dist/chunks/{location-services-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{location-services-2m8nxcnz.js → command-fyjrpq2n.js} +5 -5
  140. package/dist/chunks/{location-services-7vc3mrhj.js → command-g48a3zmh.js} +12 -12
  141. package/dist/chunks/{location-services-bdetpt2n.js → command-gcgba2m6.js} +14 -14
  142. package/dist/chunks/{location-services-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{location-services-gdvy8fx6.js → command-gdvy8fx6.js} +1 -1
  144. package/dist/chunks/{location-services-at0srrj9.js → command-gfdt0few.js} +17 -17
  145. package/dist/chunks/command-gnc7c7rw.js +247 -0
  146. package/dist/chunks/{location-services-8ncan3qx.js → command-grw52wr5.js} +18 -18
  147. package/dist/chunks/{location-services-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{location-services-h03wrkyp.js → command-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{location-services-9z8a7pbd.js → command-h17eanzf.js} +23 -23
  150. package/dist/chunks/{location-services-zw66t5ma.js → command-h29crgh1.js} +7 -7
  151. package/dist/chunks/{location-services-5fs5z9r9.js → command-h336fp6c.js} +167 -167
  152. package/dist/chunks/{location-services-kcwf74x3.js → command-h457z9c3.js} +1 -1
  153. package/dist/chunks/{location-services-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{location-services-6320hmrj.js → command-hc7b2h00.js} +19 -19
  155. package/dist/chunks/{location-services-dvanp92t.js → command-hdx86dvw.js} +20 -20
  156. package/dist/chunks/{location-services-bt4gwd2t.js → command-hjcy75b0.js} +18 -18
  157. package/dist/chunks/{location-services-6c1jg7x4.js → command-hmv863ha.js} +32 -32
  158. package/dist/chunks/{location-services-5bfzavyb.js → command-hn16n4ga.js} +43 -43
  159. package/dist/chunks/{location-services-f9yp8s8r.js → command-hpr7c3g9.js} +11 -11
  160. package/dist/chunks/{location-services-hpdzznjk.js → command-hrstj3y9.js} +19 -19
  161. package/dist/chunks/{location-services-vkez6a4k.js → command-hwe7x4em.js} +6 -6
  162. package/dist/chunks/{location-services-h5pwjbm9.js → command-hzdjxxhj.js} +20 -20
  163. package/dist/chunks/{location-services-xsdh20fb.js → command-j4e3jsg7.js} +5 -5
  164. package/dist/chunks/{location-services-j56e64zr.js → command-j56e64zr.js} +1 -1
  165. package/dist/chunks/{location-services-k67g98nv.js → command-j91vykf4.js} +26 -26
  166. package/dist/chunks/{location-services-paphc93g.js → command-j935v87r.js} +2 -2
  167. package/dist/chunks/{location-services-szvm6efx.js → command-jdfx4b8y.js} +17 -17
  168. package/dist/chunks/{location-services-7zdm33ac.js → command-jefma2gq.js} +10 -10
  169. package/dist/chunks/{location-services-h9zmmqvn.js → command-jp4vwsmq.js} +10 -10
  170. package/dist/chunks/{location-services-magykp64.js → command-jr3tywxk.js} +21 -21
  171. package/dist/chunks/{location-services-510m7gjw.js → command-jv01nqvq.js} +5 -5
  172. package/dist/chunks/{location-services-9zswys26.js → command-jwx4y25k.js} +9 -9
  173. package/dist/chunks/{location-services-zr33rhch.js → command-kf5543nd.js} +4 -4
  174. package/dist/chunks/{location-services-kg06axw8.js → command-kg06axw8.js} +1 -1
  175. package/dist/chunks/{location-services-w79zsp0s.js → command-kjcr15p7.js} +1 -1
  176. package/dist/chunks/{location-services-6y3njc5p.js → command-kv4yc82c.js} +11 -11
  177. package/dist/chunks/{location-services-3xwj35jq.js → command-kwktpek4.js} +9 -9
  178. package/dist/chunks/{location-services-xsa3sn4e.js → command-m4bcmcjq.js} +29 -29
  179. package/dist/chunks/{location-services-y3tjje57.js → command-m5zyy4tv.js} +12 -12
  180. package/dist/chunks/{location-services-4b6bntqd.js → command-m9g7kjz2.js} +1 -1
  181. package/dist/chunks/{location-services-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{location-services-dqm30p7h.js → command-mbznh4s6.js} +83 -83
  183. package/dist/chunks/{location-services-d5mjh5gn.js → command-mgkcxgp8.js} +12 -12
  184. package/dist/chunks/{location-services-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
  185. package/dist/chunks/{location-services-wb0heqy3.js → command-mpn2n5n1.js} +10 -10
  186. package/dist/chunks/{location-services-ty4y3jpx.js → command-mrn52ye8.js} +18 -18
  187. package/dist/chunks/{location-services-a5abhest.js → command-mvqfncgj.js} +10 -10
  188. package/dist/chunks/{location-services-fnhdbvfa.js → command-my9h9hzg.js} +20 -20
  189. package/dist/chunks/{location-services-y8nep4sr.js → command-n0j6r25c.js} +30 -30
  190. package/dist/chunks/{location-services-v055rr52.js → command-n5wndhd6.js} +22 -22
  191. package/dist/chunks/{location-services-nmts8jzf.js → command-ncaz8497.js} +13 -13
  192. package/dist/chunks/{location-services-cpq8mvz9.js → command-ndhysefr.js} +34 -34
  193. package/dist/chunks/{location-services-yfq8zh9v.js → command-neeqahzq.js} +60 -60
  194. package/dist/chunks/{location-services-k8n37kmc.js → command-nq63wmfx.js} +4 -4
  195. package/dist/chunks/{location-services-11m7nw5e.js → command-nrpht070.js} +26 -26
  196. package/dist/chunks/{location-services-yx9tt4ea.js → command-nvnfwph8.js} +11 -11
  197. package/dist/chunks/{location-services-r69tr7x2.js → command-p34q75r1.js} +45 -45
  198. package/dist/chunks/{location-services-27j8ahm1.js → command-p5gbrdgq.js} +17 -17
  199. package/dist/chunks/{location-services-8y62cfgq.js → command-phjaars8.js} +6 -6
  200. package/dist/chunks/{location-services-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{location-services-pknna89w.js → command-pknna89w.js} +1 -1
  202. package/dist/chunks/{location-services-s9vxrr1q.js → command-q30tygxd.js} +5 -5
  203. package/dist/chunks/{location-services-q1c4k7jk.js → command-qd417my5.js} +1 -1
  204. package/dist/chunks/{location-services-51t4ys7s.js → command-qqd26nq6.js} +24 -24
  205. package/dist/chunks/{location-services-qsdy395h.js → command-qsdy395h.js} +1 -1
  206. package/dist/chunks/{location-services-vjnb44yt.js → command-qsee9sfb.js} +3 -3
  207. package/dist/chunks/{location-services-w76aks9p.js → command-qtsr48c5.js} +6 -6
  208. package/dist/chunks/{location-services-j1t1n678.js → command-qwch66v3.js} +6 -6
  209. package/dist/chunks/{location-services-3wy413zp.js → command-qymwj187.js} +27 -27
  210. package/dist/chunks/{location-services-f5bs5vv8.js → command-r54ga04y.js} +54 -54
  211. package/dist/chunks/{location-services-ka2k270b.js → command-ra3qct3x.js} +8 -8
  212. package/dist/chunks/command-rap9a73h.js +18 -0
  213. package/dist/chunks/{location-services-dt8w12tc.js → command-redwpn1x.js} +4 -4
  214. package/dist/chunks/{location-services-vqa79sa2.js → command-remxzp3g.js} +5 -5
  215. package/dist/chunks/{location-services-6zkt8sc0.js → command-rgach609.js} +11 -11
  216. package/dist/chunks/{location-services-eaj1djv9.js → command-rhjbct0v.js} +8 -8
  217. package/dist/chunks/{location-services-z50tb7yx.js → command-rhy34gnx.js} +3 -3
  218. package/dist/chunks/{location-services-8k3jg3eh.js → command-rj8d4vx7.js} +15 -15
  219. package/dist/chunks/{location-services-9jzbrzc0.js → command-rqdgyf5f.js} +7 -7
  220. package/dist/chunks/{location-services-mr60nntp.js → command-rr7cvzdb.js} +4 -4
  221. package/dist/chunks/{location-services-r537c3kh.js → command-s2kyekkn.js} +24 -24
  222. package/dist/chunks/{location-services-yrznvahk.js → command-s4enseaf.js} +2 -2
  223. package/dist/chunks/{location-services-16td4x31.js → command-s4szbmdb.js} +9 -9
  224. package/dist/chunks/{location-services-24sbpj7j.js → command-s534qmrw.js} +4 -4
  225. package/dist/chunks/{location-services-t8r3ep1g.js → command-s7kwm6zm.js} +5 -5
  226. package/dist/chunks/{location-services-wfjdd711.js → command-scgtce1m.js} +2 -2
  227. package/dist/chunks/{location-services-ts6t2md9.js → command-sjajpaqc.js} +13 -13
  228. package/dist/chunks/{location-services-qq9z19f4.js → command-smsvd5z8.js} +20 -20
  229. package/dist/chunks/{location-services-2acm1nys.js → command-snjca2tz.js} +56 -56
  230. package/dist/chunks/{location-services-h5e374w5.js → command-st3pa4gm.js} +27 -27
  231. package/dist/chunks/{location-services-eebkyynq.js → command-swx6zjdy.js} +15 -15
  232. package/dist/chunks/{location-services-twy35tz0.js → command-t0x5rdq8.js} +9 -9
  233. package/dist/chunks/{location-services-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-services-kjd67z7p.js → command-tb5310gf.js} +25 -25
  235. package/dist/chunks/{location-services-jzjzmfk7.js → command-tbwa9y7t.js} +4 -4
  236. package/dist/chunks/{location-services-jk9qnxpz.js → command-tdmnc99b.js} +29 -29
  237. package/dist/chunks/{location-services-tdstcens.js → command-tdstcens.js} +1 -1
  238. package/dist/chunks/{location-services-m9d2dprq.js → command-tk55yp24.js} +24 -24
  239. package/dist/chunks/{location-services-85fsg3cm.js → command-tkbkgwhn.js} +24 -24
  240. package/dist/chunks/{location-services-tvtrv512.js → command-tvtrv512.js} +1 -1
  241. package/dist/chunks/{location-services-g09rc90z.js → command-v9g8grrj.js} +15 -15
  242. package/dist/chunks/{location-services-veqvce7d.js → command-veqvce7d.js} +1 -1
  243. package/dist/chunks/{location-services-4gp2y10s.js → command-vhs5mz75.js} +10 -10
  244. package/dist/chunks/{location-services-9n75fd9y.js → command-vptj8nd7.js} +9 -9
  245. package/dist/chunks/{location-services-fbtcayzh.js → command-vqanb4pf.js} +6 -6
  246. package/dist/chunks/{location-services-snjhnxkw.js → command-vqfcvgsz.js} +24 -24
  247. package/dist/chunks/{location-services-5bzad00n.js → command-vr9ffpmn.js} +19 -19
  248. package/dist/chunks/{location-services-tmz1m10x.js → command-vxkr754a.js} +6 -6
  249. package/dist/chunks/{location-services-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{location-services-jtp7wgq3.js → command-vzrnynxw.js} +8 -8
  251. package/dist/chunks/{location-services-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{location-services-zerdtc7d.js → command-wa9n8nyq.js} +8 -8
  253. package/dist/chunks/{location-services-wd87259q.js → command-wd87259q.js} +1 -1
  254. package/dist/chunks/{location-services-ncqtmwmy.js → command-wpm2rk0p.js} +8 -8
  255. package/dist/chunks/{location-services-fafkyc6a.js → command-wsjnvgbx.js} +7 -7
  256. package/dist/chunks/{location-services-ep6z9mt6.js → command-wstvv1gd.js} +11 -11
  257. package/dist/chunks/{location-services-3ythc6yv.js → command-x0511brf.js} +4 -4
  258. package/dist/chunks/{location-services-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{location-services-x43y2vfs.js → command-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{location-services-tr9c2tdg.js → command-x8ya09y2.js} +16 -16
  261. package/dist/chunks/{location-services-pa0527fm.js → command-xfjwmp6z.js} +4 -4
  262. package/dist/chunks/{location-services-b2jx7zxs.js → command-xfxn6gek.js} +1 -1
  263. package/dist/chunks/{location-services-5kh2vy3t.js → command-xgm06qps.js} +30 -30
  264. package/dist/chunks/{location-services-qe24w9vn.js → command-xq4rgyah.js} +16 -16
  265. package/dist/chunks/{location-services-e7p6faa2.js → command-xra6sk40.js} +9 -9
  266. package/dist/chunks/{location-services-dxth83mh.js → command-xtcj8k9r.js} +47 -47
  267. package/dist/chunks/{location-services-9pfdanbq.js → command-xw8fym13.js} +22 -22
  268. package/dist/chunks/{location-services-ntzg9vqq.js → command-xwe3tfkg.js} +32 -32
  269. package/dist/chunks/{location-services-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{location-services-e4zvp2f4.js → command-y45y5km7.js} +16 -16
  271. package/dist/chunks/{location-services-380vjcmd.js → command-y49qrr0k.js} +1 -1
  272. package/dist/chunks/{location-services-y71avatq.js → command-y71avatq.js} +1 -1
  273. package/dist/chunks/{location-services-jhz8yd6p.js → command-ycyqxyvr.js} +9 -9
  274. package/dist/chunks/{location-services-jphykfrz.js → command-yd8re12n.js} +18 -18
  275. package/dist/chunks/{location-services-9r2qpqkx.js → command-yjdkc533.js} +25 -25
  276. package/dist/chunks/{location-services-yp2x3t23.js → command-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{location-services-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{location-services-n5ftgbap.js → command-ywj00zs4.js} +37 -37
  279. package/dist/chunks/{location-services-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{location-services-rstnkd3y.js → command-z33n7yxw.js} +1 -1
  281. package/dist/chunks/{location-services-mw0hasaz.js → command-z5pdw36g.js} +36 -36
  282. package/dist/chunks/{location-services-tc8mvhgg.js → command-zbb6rgvj.js} +6 -6
  283. package/dist/chunks/{location-services-t2az9yje.js → command-zcrspsvn.js} +4 -4
  284. package/dist/chunks/{location-services-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{location-services-znc92hjm.js → command-zgq1tywg.js} +37 -37
  286. package/dist/chunks/{location-services-6fjmxycd.js → command-zpwwzgp1.js} +32 -32
  287. package/dist/chunks/{location-services-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{location-services-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +128 -128
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +84 -84
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +80 -80
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +110 -110
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +82 -82
  561. package/dist/reference/instructions.js +82 -82
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +108 -108
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +149 -149
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +113 -113
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +119 -119
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +208 -208
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +92 -92
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +76 -76
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +87 -87
  686. package/package.json +8 -8
  687. package/dist/chunks/location-services-4v7qdvcn.js +0 -18
  688. package/dist/chunks/location-services-6753kygg.js +0 -22
  689. package/dist/chunks/location-services-8rfyvjw4.js +0 -462
  690. package/dist/chunks/location-services-nzxgkcr5.js +0 -247
  691. /package/dist/chunks/{location-services-0mesazry.js → command-0mesazry.js} +0 -0
  692. /package/dist/chunks/{location-services-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{location-services-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{location-services-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{location-services-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{location-services-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{location-services-2710q6r3.js → command-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{location-services-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{location-services-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{location-services-359p4xyc.js → command-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{location-services-3asan66x.js → command-3asan66x.js} +0 -0
  702. /package/dist/chunks/{location-services-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{location-services-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{location-services-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{location-services-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{location-services-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{location-services-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{location-services-53557ph1.js → command-53557ph1.js} +0 -0
  709. /package/dist/chunks/{location-services-550bvhaj.js → command-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{location-services-6prwharc.js → command-6prwharc.js} +0 -0
  711. /package/dist/chunks/{location-services-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{location-services-7m9af43g.js → command-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{location-services-822emrt2.js → command-822emrt2.js} +0 -0
  714. /package/dist/chunks/{location-services-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{location-services-8n3pysct.js → command-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{location-services-922hggd3.js → command-922hggd3.js} +0 -0
  717. /package/dist/chunks/{location-services-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{location-services-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{location-services-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{location-services-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{location-services-af5trqkr.js → command-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{location-services-afrmfg78.js → command-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{location-services-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{location-services-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{location-services-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{location-services-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{location-services-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{location-services-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{location-services-d9fn303g.js → command-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{location-services-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{location-services-dajrwvna.js → command-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{location-services-dap0rakb.js → command-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{location-services-df08tz66.js → command-df08tz66.js} +0 -0
  734. /package/dist/chunks/{location-services-dy18nga0.js → command-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{location-services-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{location-services-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{location-services-ec1grn59.js → command-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{location-services-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-services-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-services-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-services-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-services-faypxj3z.js → command-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-services-fd410y7t.js → command-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-services-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{location-services-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-services-g86h250q.js → command-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-services-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-services-gftt206x.js → command-gftt206x.js} +0 -0
  749. /package/dist/chunks/{location-services-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{location-services-hk9envan.js → command-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-services-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{location-services-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-services-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-services-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-services-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-services-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-services-mp448xyj.js → command-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-services-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-services-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-services-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-services-njntx4h6.js → command-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-services-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{location-services-q74kybfr.js → command-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{location-services-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{location-services-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{location-services-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{location-services-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{location-services-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{location-services-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{location-services-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{location-services-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{location-services-twg0f83k.js → command-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{location-services-w803qqfp.js → command-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{location-services-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{location-services-wtztk69x.js → command-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{location-services-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{location-services-x61499pn.js → command-x61499pn.js} +0 -0
  778. /package/dist/chunks/{location-services-y44na4kk.js → command-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{location-services-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{location-services-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{location-services-ym463w8f.js → command-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{location-services-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node80
7
- } from "./location-services-7zdm33ac.js";
6
+ node83
7
+ } from "./command-jefma2gq.js";
8
8
  import {
9
9
  ID18
10
- } from "./location-services-pdqbsy2v.js";
10
+ } from "./command-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./location-services-gebd4c9n.js";
13
+ } from "./command-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./location-services-7f4cfqjs.js";
17
+ } from "./command-ffd8yj9h.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./location-services-j81s0rnf.js";
21
+ } from "./command-6sd8tygk.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./location-services-8p4f9s12.js";
24
+ } from "./command-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./location-services-cfpkc3c9.js";
27
+ } from "./command-cfpkc3c9.js";
28
28
  import {
29
- Service73,
30
- node78
31
- } from "./location-services-e4zvp2f4.js";
29
+ Service76,
30
+ node81
31
+ } from "./command-y45y5km7.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./location-services-gv6a8nnw.js";
35
+ } from "./command-gv6a8nnw.js";
36
36
  import {
37
37
  make12
38
- } from "./location-services-2m8nxcnz.js";
38
+ } from "./command-fyjrpq2n.js";
39
39
  import {
40
40
  create3
41
- } from "./location-services-kg06axw8.js";
41
+ } from "./command-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./location-services-9rqn6x4v.js";
44
+ } from "./command-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -50,20 +50,20 @@ __export(exports_worktree2, {
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
52
  Event: () => Event4,
53
- Info: () => Info4,
53
+ Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service15,
60
+ Service: () => Service20,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node19
66
+ node: () => node24
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info4 = Worktree.Info;
85
+ var Info5 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -102,15 +102,15 @@ class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.Unsupport
102
102
  }
103
103
  var Event4 = Worktree.Event;
104
104
 
105
- class Service15 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service20 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service15, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service73;
113
+ const location = yield* Service76;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service15.of({
260
+ return Service20.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node19 = makeLocationNode({
273
- service: Service15,
272
+ var node24 = makeLocationNode({
273
+ service: Service20,
274
274
  layer,
275
- deps: [FSUtil.node, node80, node84, node85, AppProcess.node, node78, Global.node]
275
+ deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service15, node19, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service20, node24, exports_worktree2, OperationError2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info16
9
+ Info: () => Info23
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info16 = Schema.Struct({
12
+ var Info23 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info16, exports_skills };
21
+ export { Info23, exports_skills };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-services-922hggd3.js";
4
+ } from "./command-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service75,
9
- node80
10
- } from "./location-services-7zdm33ac.js";
8
+ Service78,
9
+ node83
10
+ } from "./command-jefma2gq.js";
11
11
  import {
12
- Service73,
13
- node78
14
- } from "./location-services-e4zvp2f4.js";
12
+ Service76,
13
+ node81
14
+ } from "./command-y45y5km7.js";
15
15
  import {
16
16
  create3
17
- } from "./location-services-kg06axw8.js";
17
+ } from "./command-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID6,
27
- Service: () => Service59,
25
+ Error: () => Error3,
26
+ ID: () => ID15,
27
+ Service: () => Service70,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node63,
29
+ node: () => node74,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID15 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service59 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service70 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service59, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service75;
50
+ const git = yield* Service78;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service73;
52
+ const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID15.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service70.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node63 = makeLocationNode({
139
- service: Service59,
138
+ var node74 = makeLocationNode({
139
+ service: Service70,
140
140
  layer,
141
- deps: [FSUtil.node, node80, Global.node, node78]
141
+ deps: [FSUtil.node, node83, Global.node, node81]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
143
+ var noopLayer3 = Layer.succeed(Service70, Service70.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error5 && cause.operation === operation)
152
+ if (cause instanceof Error3 && cause.operation === operation)
153
153
  return cause;
154
- return new Error5({
154
+ return new Error3({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID6, Error5, Service59, node63, noopLayer3, exports_snapshot2 };
161
+ export { ID15, Error3, Service70, node74, noopLayer3, exports_snapshot2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service73
3
- } from "./location-services-e4zvp2f4.js";
2
+ Service76
3
+ } from "./command-y45y5km7.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2,
9
9
  chunksByFile2
10
- } from "./location-services-tazgh4e4.js";
10
+ } from "./command-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./location-services-at5nfy9r.js";
13
+ } from "./command-2gg4mvag.js";
14
14
  import {
15
15
  __export
16
- } from "./location-services-9rqn6x4v.js";
16
+ } from "./command-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
@@ -28,7 +28,7 @@ import { AppProcess } from "@opencode/util/process";
28
28
  var Plugin8 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service73;
31
+ const location = yield* Service76;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
10
- Info: () => Info11
9
+ Entry: () => Entry2,
10
+ Info: () => Info20
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry2 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info20 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
20
20
 
21
- export { Entry3, Info11, exports_formatter3 };
21
+ export { Entry2, Info20, exports_formatter3 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-services-2a5m3afh.js";
3
+ } from "./command-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-services-922hggd3.js";
6
+ } from "./command-922hggd3.js";
7
7
  import {
8
- Service73
9
- } from "./location-services-e4zvp2f4.js";
8
+ Service76
9
+ } from "./command-y45y5km7.js";
10
10
  import {
11
- Service55
12
- } from "./location-services-4k845csn.js";
11
+ Service74
12
+ } from "./command-atwtfknp.js";
13
13
  import {
14
- Service39
15
- } from "./location-services-ycaafw61.js";
14
+ Service73
15
+ } from "./command-f405q49x.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./location-services-3wy413zp.js";
20
+ Entry4
21
+ } from "./command-qymwj187.js";
22
22
  import {
23
- Service68
24
- } from "./location-services-2acm1nys.js";
23
+ Service60
24
+ } from "./command-snjca2tz.js";
25
25
  import {
26
- Service36
27
- } from "./location-services-8ncan3qx.js";
26
+ Service15
27
+ } from "./command-grw52wr5.js";
28
28
  import {
29
29
  __export
30
- } from "./location-services-9rqn6x4v.js";
30
+ } from "./command-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
38
- Plugin: () => Plugin27,
39
- name: () => name12,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input9,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin40,
39
+ name: () => name9,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name9 = "glob";
46
+ var Input9 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry4);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin27 = {
66
+ var Plugin40 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service55;
70
- const ripgrep = yield* Service39;
71
- const location = yield* Service73;
72
- const access = yield* Service36;
73
- const permission = yield* Service68;
69
+ const environment = yield* Service74;
70
+ const ripgrep = yield* Service73;
71
+ const location = yield* Service76;
72
+ const access = yield* Service15;
73
+ const permission = yield* Service60;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name9,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input9,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name9,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin27 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin27, exports_glob };
128
+ export { name9, Input9, Output6, toModelContent5, Plugin40, exports_glob };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
10
- render: () => render3
9
+ make: () => make14,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
33
- return render3(system_default, tools);
32
+ function make14(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };