@opencode/core 0.0.0-dev-21489 → 0.0.0-dev-21504

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{location-activity-02mvvr71.js → command-02mvvr71.js} +3 -3
  8. package/dist/chunks/{location-activity-zmvc49de.js → command-02pca900.js} +87 -87
  9. package/dist/chunks/command-06zctecw.js +257 -0
  10. package/dist/chunks/{location-activity-22w1k6zx.js → command-0depx116.js} +20 -20
  11. package/dist/chunks/{location-activity-pfwjw256.js → command-0ejg1h3y.js} +33 -33
  12. package/dist/chunks/{location-activity-5bts977q.js → command-0g6q6pfz.js} +4 -4
  13. package/dist/chunks/{location-activity-2xwkyk0m.js → command-0gapa1rm.js} +5 -5
  14. package/dist/chunks/{location-activity-sr7jmsgt.js → command-0javqkgf.js} +5 -5
  15. package/dist/chunks/{location-activity-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{location-activity-kmvv37ar.js → command-0z7sm6e6.js} +8 -8
  17. package/dist/chunks/{location-activity-pbc2p84t.js → command-16swm0z2.js} +6 -6
  18. package/dist/chunks/{location-activity-kfdzpnhe.js → command-1e096zfv.js} +23 -23
  19. package/dist/chunks/{location-activity-rswentw2.js → command-1hy1achk.js} +25 -25
  20. package/dist/chunks/{location-activity-n4jne675.js → command-1k45a7y4.js} +24 -24
  21. package/dist/chunks/{location-activity-gwaf4cyv.js → command-1m2v2j5e.js} +10 -10
  22. package/dist/chunks/{location-activity-hw04d398.js → command-1q5vfyvt.js} +18 -18
  23. package/dist/chunks/{location-activity-bcsse953.js → command-1tmptvb5.js} +35 -35
  24. package/dist/chunks/{location-activity-hj243xxb.js → command-22rvfkr8.js} +1 -1
  25. package/dist/chunks/{location-activity-1ep2p91f.js → command-27w5k9zf.js} +2 -2
  26. package/dist/chunks/{location-activity-az8xvxv8.js → command-283cyrsj.js} +1 -1
  27. package/dist/chunks/{location-activity-r7n1g9kq.js → command-2g8sxgxk.js} +10 -10
  28. package/dist/chunks/{location-activity-fs4pfzth.js → command-2me2cgjk.js} +9 -9
  29. package/dist/chunks/{location-activity-vv5h55g7.js → command-32ca7668.js} +13 -13
  30. package/dist/chunks/{location-activity-sjzy2326.js → command-37q05ven.js} +18 -18
  31. package/dist/chunks/{location-activity-93ftb016.js → command-389fpadm.js} +11 -11
  32. package/dist/chunks/{location-activity-qzgy63v3.js → command-3c8ew9jt.js} +39 -39
  33. package/dist/chunks/{location-activity-90q0r270.js → command-3egpthbr.js} +22 -22
  34. package/dist/chunks/{location-activity-hc033k72.js → command-3f1rw1kg.js} +4 -4
  35. package/dist/chunks/{location-activity-4x3rb0w8.js → command-3ggeeyj8.js} +6 -6
  36. package/dist/chunks/{location-activity-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{location-activity-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{location-activity-kmxbtpc5.js → command-3n39cpdf.js} +15 -15
  39. package/dist/chunks/{location-activity-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{location-activity-ebf9wwmq.js → command-3vvdcvz1.js} +28 -28
  41. package/dist/chunks/{location-activity-s2fdgjmg.js → command-3wyzm26w.js} +38 -38
  42. package/dist/chunks/{location-activity-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{location-activity-z6c3x22d.js → command-47jkzegy.js} +5 -5
  44. package/dist/chunks/{location-activity-sxxhragh.js → command-4aqng94r.js} +28 -28
  45. package/dist/chunks/{location-activity-nertx46z.js → command-4bzs8rv8.js} +3 -3
  46. package/dist/chunks/{location-activity-cx81g42x.js → command-4kj8c1s4.js} +31 -31
  47. package/dist/chunks/{location-activity-m8yakjay.js → command-4rsh6n8g.js} +16 -16
  48. package/dist/chunks/{location-activity-qwbkj5h4.js → command-4w7ecc6g.js} +26 -26
  49. package/dist/chunks/{location-activity-a90qvnj3.js → command-52ae0j7r.js} +11 -11
  50. package/dist/chunks/{location-activity-54ma36ye.js → command-54ma36ye.js} +1 -1
  51. package/dist/chunks/{location-activity-n65rmpez.js → command-56zeqtav.js} +11 -11
  52. package/dist/chunks/{location-activity-ys9hgra7.js → command-58qhexmz.js} +21 -21
  53. package/dist/chunks/{location-activity-7jdsj2a9.js → command-5epte933.js} +3 -3
  54. package/dist/chunks/{location-activity-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{location-activity-vbh50phm.js → command-63kpjth9.js} +9 -9
  56. package/dist/chunks/{location-activity-6827pfxn.js → command-6827pfxn.js} +1 -1
  57. package/dist/chunks/{location-activity-p0ss7x6r.js → command-6k581ess.js} +6 -6
  58. package/dist/chunks/{location-activity-27kvreen.js → command-6n0t37d6.js} +15 -15
  59. package/dist/chunks/{location-activity-1p07q0wb.js → command-6pc27hjz.js} +8 -8
  60. package/dist/chunks/{location-activity-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{location-activity-9pc2qnas.js → command-6y9j254c.js} +8 -8
  62. package/dist/chunks/{location-activity-6yz0wx8n.js → command-6yz0wx8n.js} +2 -2
  63. package/dist/chunks/{location-activity-90p56sqk.js → command-72c5e6kf.js} +22 -22
  64. package/dist/chunks/{location-activity-52fpbh6z.js → command-73t188jy.js} +8 -8
  65. package/dist/chunks/{location-activity-775gj3j1.js → command-775gj3j1.js} +2 -2
  66. package/dist/chunks/{location-activity-16nbq2ed.js → command-77qajvn3.js} +21 -21
  67. package/dist/chunks/{location-activity-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{location-activity-975jjne0.js → command-7ean6v8x.js} +11 -11
  69. package/dist/chunks/{location-activity-kb87akjb.js → command-83dfmwhh.js} +25 -25
  70. package/dist/chunks/{location-activity-84txncab.js → command-84txncab.js} +1 -1
  71. package/dist/chunks/{location-activity-eq366wkd.js → command-89f0qmxx.js} +4 -4
  72. package/dist/chunks/{location-activity-6gyjdrdv.js → command-8br0tfcm.js} +2 -2
  73. package/dist/chunks/{location-activity-m1vx0563.js → command-8gazrhqj.js} +34 -34
  74. package/dist/chunks/{location-activity-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  75. package/dist/chunks/{location-activity-8mywswrd.js → command-8mywswrd.js} +1 -1
  76. package/dist/chunks/{location-activity-nfym24mf.js → command-8nr013c3.js} +24 -24
  77. package/dist/chunks/{location-activity-x6fwb8m7.js → command-8rs56nfj.js} +21 -21
  78. package/dist/chunks/{location-activity-0asr0s4f.js → command-8sse9e5v.js} +14 -14
  79. package/dist/chunks/{location-activity-xw9fg8fb.js → command-8vcf4cwr.js} +2 -2
  80. package/dist/chunks/{location-activity-d5hpx2ts.js → command-90mddc2j.js} +24 -24
  81. package/dist/chunks/{location-activity-zdqtq2cj.js → command-948dh3hk.js} +32 -27
  82. package/dist/chunks/{location-activity-qwynhtyt.js → command-95mrps0w.js} +13 -13
  83. package/dist/chunks/{location-activity-967benbv.js → command-967benbv.js} +3 -3
  84. package/dist/chunks/{location-activity-d3ye2y04.js → command-96z498kx.js} +13 -13
  85. package/dist/chunks/{location-activity-882sdqkp.js → command-97kmb959.js} +24 -24
  86. package/dist/chunks/{location-activity-1v1hryp4.js → command-9bs1c7ey.js} +4 -4
  87. package/dist/chunks/{location-activity-n0ftmv27.js → command-9h6sayvh.js} +23 -23
  88. package/dist/chunks/{location-activity-55m81wnp.js → command-9nyvt9wv.js} +5 -5
  89. package/dist/chunks/{location-activity-321x2wtd.js → command-9r15s34d.js} +6 -6
  90. package/dist/chunks/{location-activity-hz1yq1fm.js → command-9vgsddc0.js} +3 -3
  91. package/dist/chunks/{location-activity-9wev2pgg.js → command-9wev2pgg.js} +1 -1
  92. package/dist/chunks/{location-activity-rc0qj36z.js → command-a4pbv56j.js} +20 -20
  93. package/dist/chunks/{location-activity-kggqx5sc.js → command-a4xtrzqb.js} +11 -11
  94. package/dist/chunks/{location-activity-t6yc4m2d.js → command-a76s9319.js} +26 -26
  95. package/dist/chunks/{location-activity-x661k3y3.js → command-addxnjmp.js} +4 -4
  96. package/dist/chunks/{location-activity-034tev2y.js → command-aj7mw0zk.js} +2 -2
  97. package/dist/chunks/{location-activity-k1dxawnc.js → command-as1q5j0q.js} +13 -13
  98. package/dist/chunks/{location-activity-27d4ssy3.js → command-asnmz69s.js} +9 -9
  99. package/dist/chunks/{location-activity-gzvxvbxm.js → command-ayyhc25y.js} +16 -15
  100. package/dist/chunks/{location-activity-b11a7tx7.js → command-b11a7tx7.js} +1 -1
  101. package/dist/chunks/{location-activity-234gctym.js → command-b7k2jn9m.js} +6 -6
  102. package/dist/chunks/{location-activity-6r0spdma.js → command-bqzx1cnv.js} +2 -2
  103. package/dist/chunks/{location-activity-r70na3yp.js → command-bxqk5pf5.js} +9 -9
  104. package/dist/chunks/{location-activity-1ep4rre3.js → command-bzeyqsqd.js} +4 -4
  105. package/dist/chunks/{location-activity-6ardg95q.js → command-c61wj0cv.js} +7 -7
  106. package/dist/chunks/{location-activity-yg478mwm.js → command-cevbxveq.js} +3 -3
  107. package/dist/chunks/{location-activity-74szsdgx.js → command-cf25jgjj.js} +22 -22
  108. package/dist/chunks/{location-activity-ehekm73j.js → command-cgh16r15.js} +11 -11
  109. package/dist/chunks/{location-activity-8hm54js8.js → command-chpbykcw.js} +7 -7
  110. package/dist/chunks/{location-activity-1zpzwa9v.js → command-ck6mh85g.js} +16 -16
  111. package/dist/chunks/{location-activity-n4r3xatb.js → command-ckf8nxjz.js} +4 -4
  112. package/dist/chunks/{location-activity-cwa6csj7.js → command-cpneeje0.js} +9 -9
  113. package/dist/chunks/{location-activity-5bmp45c6.js → command-dcncen4d.js} +16 -16
  114. package/dist/chunks/{location-activity-033a0jkt.js → command-dh62xe4r.js} +3 -3
  115. package/dist/chunks/{location-activity-zvtrz667.js → command-djqf971v.js} +25 -25
  116. package/dist/chunks/{location-activity-y71avatq.js → command-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{location-activity-njm1n71j.js → command-dqrbwv0a.js} +45 -45
  118. package/dist/chunks/{location-activity-57b9ws8p.js → command-drwq78ky.js} +5 -5
  119. package/dist/chunks/{location-activity-dgzq35zb.js → command-dvj9ct8m.js} +4 -4
  120. package/dist/chunks/{location-activity-d4f1s92k.js → command-dwr5n885.js} +81 -81
  121. package/dist/chunks/{location-activity-37z9gn09.js → command-dy3angj7.js} +13 -13
  122. package/dist/chunks/{location-activity-64t3eg1q.js → command-e39nsbtg.js} +9 -9
  123. package/dist/chunks/{location-activity-fgkyfpcr.js → command-e5cywx9b.js} +10 -10
  124. package/dist/chunks/{location-activity-9gmbghtn.js → command-e6knj4ky.js} +15 -15
  125. package/dist/chunks/{location-activity-5g57z1ma.js → command-e7gxy7fd.js} +4 -4
  126. package/dist/chunks/{location-activity-qaxc6jhw.js → command-e9zd77c1.js} +14 -14
  127. package/dist/chunks/{location-activity-afr2v5dr.js → command-ecmkrhds.js} +29 -29
  128. package/dist/chunks/{location-activity-7150mytw.js → command-ect4475a.js} +19 -19
  129. package/dist/chunks/{location-activity-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{location-activity-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{location-activity-s2796yqf.js → command-eh4k6x00.js} +16 -16
  132. package/dist/chunks/{location-activity-r2e0e6yn.js → command-ejrgmtaq.js} +15 -15
  133. package/dist/chunks/{location-activity-12qw59dq.js → command-emyrjxnr.js} +21 -21
  134. package/dist/chunks/{location-activity-kb7wfsgz.js → command-et0erakc.js} +4 -4
  135. package/dist/chunks/{location-activity-yqdpvp32.js → command-f8e526k5.js} +6 -6
  136. package/dist/chunks/{location-activity-7dqw4kz8.js → command-fcrkznn8.js} +5 -5
  137. package/dist/chunks/{location-activity-fcy631f0.js → command-fcy631f0.js} +1 -1
  138. package/dist/chunks/{location-activity-85mvwgfz.js → command-fkcvtbd2.js} +11 -11
  139. package/dist/chunks/{location-activity-pp4wmfmt.js → command-fkhc0ppg.js} +24 -24
  140. package/dist/chunks/{location-activity-vqgnswj7.js → command-fkj9mczz.js} +7 -7
  141. package/dist/chunks/{location-activity-qbaqa1f0.js → command-fp13yrwa.js} +9 -9
  142. package/dist/chunks/{location-activity-fxaymqdw.js → command-fxaymqdw.js} +1 -1
  143. package/dist/chunks/{location-activity-ve45bn9x.js → command-g02fgy81.js} +6 -6
  144. package/dist/chunks/{location-activity-9hn6k4tm.js → command-g0445xdp.js} +8 -8
  145. package/dist/chunks/{location-activity-fxdnfck1.js → command-g5b8j3v4.js} +15 -15
  146. package/dist/chunks/{location-activity-m42ffvyc.js → command-g8qdqr0p.js} +26 -26
  147. package/dist/chunks/{location-activity-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-activity-prmmcjfa.js → command-ge44mx5n.js} +50 -50
  149. package/dist/chunks/{location-activity-wfdyr2gw.js → command-h1k4kx5h.js} +11 -11
  150. package/dist/chunks/{location-activity-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{location-activity-y9wfmvpg.js → command-hbbqk0nf.js} +8 -8
  152. package/dist/chunks/{location-activity-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{location-activity-3zze3678.js → command-hnmmt9bt.js} +2 -2
  154. package/dist/chunks/{location-activity-2j7662m9.js → command-hqhd8mr3.js} +13 -13
  155. package/dist/chunks/{location-activity-v8hvw3gr.js → command-hr3ck4k2.js} +11 -11
  156. package/dist/chunks/{location-activity-y9s9xvs6.js → command-j7aq1t3e.js} +8 -8
  157. package/dist/chunks/{location-activity-1dm66jjd.js → command-jad02azz.js} +139 -139
  158. package/dist/chunks/{location-activity-agathvd3.js → command-jg57jh00.js} +11 -11
  159. package/dist/chunks/{location-activity-nrbtps6d.js → command-jhk62tbh.js} +2 -2
  160. package/dist/chunks/{location-activity-mxs9tgf5.js → command-jjcahp0d.js} +8 -8
  161. package/dist/chunks/{location-activity-9c8c6gjq.js → command-jjpxm7bv.js} +22 -23
  162. package/dist/chunks/{location-activity-6bsntbme.js → command-jm03v3tw.js} +6 -6
  163. package/dist/chunks/{location-activity-xvgj0yv1.js → command-jpjpmxdq.js} +5 -5
  164. package/dist/chunks/{location-activity-4v7ngy20.js → command-jpqeh2wc.js} +4 -4
  165. package/dist/chunks/{location-activity-3q50yq2s.js → command-k9yvbbgh.js} +7 -7
  166. package/dist/chunks/command-kj2kg6z0.js +26 -0
  167. package/dist/chunks/{location-activity-h7f7vx58.js → command-kkm66dmx.js} +12 -12
  168. package/dist/chunks/{location-activity-dfa87f1k.js → command-kks3c8v7.js} +13 -13
  169. package/dist/chunks/{location-activity-5q8n044h.js → command-kqef9432.js} +2 -2
  170. package/dist/chunks/{location-activity-kqv3x6rj.js → command-kqv3x6rj.js} +1 -1
  171. package/dist/chunks/{location-activity-nr7hgtpj.js → command-kt3b3w9s.js} +20 -20
  172. package/dist/chunks/{location-activity-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
  173. package/dist/chunks/{location-activity-59fsemm9.js → command-m4rj2mnd.js} +28 -28
  174. package/dist/chunks/{location-activity-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{location-activity-maspj1v3.js → command-maspj1v3.js} +1 -1
  176. package/dist/chunks/{location-activity-vf33vc2k.js → command-mez53n4j.js} +13 -13
  177. package/dist/chunks/{location-activity-gy3zmhq5.js → command-mgwe8qfe.js} +5 -5
  178. package/dist/chunks/{location-activity-p9av2v33.js → command-mmqg1qye.js} +12 -12
  179. package/dist/chunks/{location-activity-zzax3efh.js → command-mnves5jb.js} +23 -23
  180. package/dist/chunks/{location-activity-za3e333c.js → command-mv3xkgvr.js} +3 -3
  181. package/dist/chunks/{location-activity-jpqk7107.js → command-mx1fmt33.js} +43 -43
  182. package/dist/chunks/{location-activity-h553n8m0.js → command-n1dcq2q6.js} +4 -4
  183. package/dist/chunks/{location-activity-8xgkqsd9.js → command-n6mnjzyz.js} +7 -7
  184. package/dist/chunks/{location-activity-5njewrqv.js → command-n6ngdxpd.js} +33 -24
  185. package/dist/chunks/{location-activity-c0s34ybt.js → command-na13574c.js} +26 -26
  186. package/dist/chunks/{location-activity-xh7n4v0y.js → command-nbbt34nq.js} +3 -3
  187. package/dist/chunks/{location-activity-fnwchg2j.js → command-nhxs7ffw.js} +14 -14
  188. package/dist/chunks/{location-activity-t19qrqs6.js → command-nt51sm0f.js} +5 -5
  189. package/dist/chunks/{location-activity-nz56sr1f.js → command-nz56sr1f.js} +2 -2
  190. package/dist/chunks/{location-activity-9bjz285z.js → command-p5pcm5fj.js} +11 -11
  191. package/dist/chunks/{location-activity-nr3w9wfh.js → command-pgyp9qgz.js} +1 -1
  192. package/dist/chunks/command-phz3h32g.js +18 -0
  193. package/dist/chunks/{location-activity-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{location-activity-ve1g7aay.js → command-pkcmhgjr.js} +8 -8
  195. package/dist/chunks/{location-activity-pknna89w.js → command-pknna89w.js} +1 -1
  196. package/dist/chunks/{location-activity-n5h7xh59.js → command-ptak7ehw.js} +4 -4
  197. package/dist/chunks/{location-activity-070c9na6.js → command-pv162s98.js} +4 -4
  198. package/dist/chunks/{location-activity-vg5hct9v.js → command-pwfkmcqs.js} +29 -29
  199. package/dist/chunks/{location-activity-fwvm0hxf.js → command-q13f50ex.js} +24 -24
  200. package/dist/chunks/{location-activity-40ttyktz.js → command-q7jg6b3k.js} +14 -14
  201. package/dist/chunks/{location-activity-7s451enq.js → command-qby9dwvd.js} +8 -8
  202. package/dist/chunks/{location-activity-n5x2w7dy.js → command-qcmbay3g.js} +20 -20
  203. package/dist/chunks/{location-activity-dp9j0h3f.js → command-qd788sr8.js} +16 -16
  204. package/dist/chunks/{location-activity-hda6ckcy.js → command-qhm64xy3.js} +36 -36
  205. package/dist/chunks/{location-activity-2x3268hb.js → command-qjxnsekw.js} +19 -19
  206. package/dist/chunks/{location-activity-z9njjm72.js → command-qk8cm41f.js} +33 -33
  207. package/dist/chunks/{location-activity-f3jk2z4c.js → command-qkgtmd8v.js} +26 -26
  208. package/dist/chunks/{location-activity-fkkg9sfz.js → command-qqjrwnjf.js} +19 -19
  209. package/dist/chunks/{location-activity-qsdy395h.js → command-qsdy395h.js} +1 -1
  210. package/dist/chunks/{location-activity-8a9z4kmq.js → command-qznp475s.js} +14 -14
  211. package/dist/chunks/{location-activity-wch3whs7.js → command-r014m902.js} +6 -6
  212. package/dist/chunks/{location-activity-v6by1cva.js → command-r3npp4de.js} +13 -13
  213. package/dist/chunks/{location-activity-cyxp43zh.js → command-r54ry9rd.js} +26 -26
  214. package/dist/chunks/{location-activity-6hjx5zpb.js → command-r9w3djhf.js} +2 -2
  215. package/dist/chunks/{location-activity-k8962brh.js → command-ratrq7cm.js} +7 -7
  216. package/dist/chunks/{location-activity-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{location-activity-1560f1ty.js → command-s4q0hzws.js} +36 -36
  218. package/dist/chunks/{location-activity-121ebcnp.js → command-s5fqv55p.js} +14 -14
  219. package/dist/chunks/{location-activity-sav8jeqd.js → command-s81df8he.js} +11 -11
  220. package/dist/chunks/command-sr1qwj5a.js +523 -0
  221. package/dist/chunks/{location-activity-vnngznph.js → command-sxjy2bbv.js} +10 -10
  222. package/dist/chunks/{location-activity-syv4x271.js → command-syv4x271.js} +1 -1
  223. package/dist/chunks/{location-activity-q9bpfrey.js → command-t3znd8m3.js} +30 -30
  224. package/dist/chunks/{location-activity-rhjbct0v.js → command-t550f9t1.js} +4 -4
  225. package/dist/chunks/{location-activity-77prbfdf.js → command-t7e2bcer.js} +18 -18
  226. package/dist/chunks/{location-activity-3ft1wnm3.js → command-t8afp1a1.js} +9 -9
  227. package/dist/chunks/{location-activity-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{location-activity-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{location-activity-dv2f7h6v.js → command-tdrv5nbk.js} +33 -33
  230. package/dist/chunks/{location-activity-tdstcens.js → command-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-activity-qp35x5a9.js → command-tfsj72j2.js} +20 -20
  232. package/dist/chunks/{location-activity-mjxttjkd.js → command-tk1wxqb9.js} +34 -34
  233. package/dist/chunks/{location-activity-tt8gc4fv.js → command-tt8gc4fv.js} +3 -3
  234. package/dist/chunks/{location-activity-tyytaxap.js → command-tyytaxap.js} +1 -1
  235. package/dist/chunks/{location-activity-2btq0yst.js → command-v0g0brx6.js} +45 -45
  236. package/dist/chunks/{location-activity-c8mha7av.js → command-v2m8q0xf.js} +9 -9
  237. package/dist/chunks/{location-activity-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{location-activity-33mh8gm6.js → command-v9txjfgp.js} +12 -12
  239. package/dist/chunks/{location-activity-6a4vvpkn.js → command-va3y7zmk.js} +50 -50
  240. package/dist/chunks/{location-activity-b60tpv2e.js → command-vdp67131.js} +11 -11
  241. package/dist/chunks/{location-activity-veqvce7d.js → command-veqvce7d.js} +1 -1
  242. package/dist/chunks/{location-activity-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{location-activity-zm3hhdtj.js → command-w2v961ax.js} +30 -30
  244. package/dist/chunks/{location-activity-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{location-activity-gsqkbe2r.js → command-w7ef2pdc.js} +5 -5
  246. package/dist/chunks/{location-activity-3bz73e4c.js → command-w8wm14nc.js} +6 -6
  247. package/dist/chunks/{location-activity-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  248. package/dist/chunks/{location-activity-4h3gg978.js → command-wbsnpf72.js} +48 -48
  249. package/dist/chunks/{location-activity-wd87259q.js → command-wd87259q.js} +1 -1
  250. package/dist/chunks/{location-activity-w72z4cxr.js → command-whq7nv3n.js} +1 -1
  251. package/dist/chunks/{location-activity-bjx1sjef.js → command-wjr9rjd7.js} +6 -6
  252. package/dist/chunks/{location-activity-8cveb6pm.js → command-wkhzxvmr.js} +6 -6
  253. package/dist/chunks/{location-activity-144dqw21.js → command-wkpdpa51.js} +18 -18
  254. package/dist/chunks/{location-activity-ryq5gkkt.js → command-wpm2rk0p.js} +8 -8
  255. package/dist/chunks/{location-activity-re675kcd.js → command-ws4zn9x6.js} +8 -8
  256. package/dist/chunks/{location-activity-xdy4h6p9.js → command-wsphkq72.js} +8 -8
  257. package/dist/chunks/{location-activity-ndjkpz75.js → command-x0mpvren.js} +13 -13
  258. package/dist/chunks/{location-activity-mfj361tv.js → command-xkxvzqg5.js} +6 -6
  259. package/dist/chunks/{location-activity-dzfe1dqp.js → command-xsgk040k.js} +17 -17
  260. package/dist/chunks/{location-activity-nrg0hwyk.js → command-xsxxgc5h.js} +28 -28
  261. package/dist/chunks/{location-activity-p37r6144.js → command-xwqx1eeb.js} +15 -15
  262. package/dist/chunks/{location-activity-62nk0fx4.js → command-xx33v6n7.js} +18 -18
  263. package/dist/chunks/{location-activity-ysskhmza.js → command-xyr4e3r8.js} +15 -15
  264. package/dist/chunks/{location-activity-y2v9wxbe.js → command-y0mtf7j7.js} +3 -3
  265. package/dist/chunks/{location-activity-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{location-activity-7n8s75ar.js → command-y26vasy8.js} +32 -32
  267. package/dist/chunks/{location-activity-r7tg0rss.js → command-y7cneyn5.js} +16 -16
  268. package/dist/chunks/{location-activity-ymsaz6y0.js → command-y99cwb6p.js} +20 -20
  269. package/dist/chunks/{location-activity-bp53xmgr.js → command-ybc3kgcz.js} +13 -13
  270. package/dist/chunks/{location-activity-kh8h207k.js → command-yjekck1e.js} +22 -22
  271. package/dist/chunks/{location-activity-qxsxzq0d.js → command-yph07088.js} +5 -5
  272. package/dist/chunks/{location-activity-vbfgae2j.js → command-z0aj456m.js} +4 -4
  273. package/dist/chunks/{location-activity-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{location-activity-z18fegx4.js → command-z18fegx4.js} +1 -1
  275. package/dist/chunks/{location-activity-pg55sx0g.js → command-z5bz21w3.js} +64 -64
  276. package/dist/chunks/{location-activity-3dt4tzwg.js → command-z9d3cvam.js} +3 -4
  277. package/dist/chunks/{location-activity-hmyvfn5c.js → command-z9h9mhtp.js} +21 -21
  278. package/dist/chunks/{location-activity-ekx0vmek.js → command-zahm10sn.js} +18 -18
  279. package/dist/chunks/{location-activity-es69crc3.js → command-zbwvew5n.js} +11 -11
  280. package/dist/chunks/{location-activity-wkpbpcdt.js → command-zdzmwh5k.js} +4 -4
  281. package/dist/chunks/{location-activity-hsgs07re.js → command-zp3b7061.js} +17 -17
  282. package/dist/chunks/{location-activity-7p0efdw4.js → command-zq2x8b87.js} +12 -12
  283. package/dist/chunks/{location-activity-gbjw5tq0.js → command-zqgkxsdx.js} +10 -10
  284. package/dist/chunks/{location-activity-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{location-activity-hpdwgxt9.js → command-zttg29zn.js} +27 -27
  286. package/dist/chunks/{location-activity-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  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 +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +80 -79
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +103 -103
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +74 -74
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +109 -109
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +2 -2
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +225 -225
  559. package/dist/project/schema.js +4 -4
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +84 -84
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +128 -128
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +132 -132
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +165 -165
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +168 -168
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +137 -137
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +122 -122
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +109 -109
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +113 -113
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +104 -104
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/types/aisdk.d.ts +2 -2
  658. package/dist/types/pty.d.ts +2 -2
  659. package/dist/types/session/sql.d.ts +1 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +3 -3
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +2 -2
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +1 -1
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +79 -79
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/location-activity-5f65dnqr.js +0 -523
  692. package/dist/chunks/location-activity-7qw2bj9a.js +0 -257
  693. package/dist/chunks/location-activity-cpd6ph95.js +0 -26
  694. package/dist/chunks/location-activity-rap9a73h.js +0 -18
  695. /package/dist/chunks/{location-activity-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{location-activity-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{location-activity-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{location-activity-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{location-activity-24dcb14g.js → command-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-activity-2710q6r3.js → command-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-activity-2bv980vf.js → command-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{location-activity-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{location-activity-359p4xyc.js → command-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{location-activity-3asan66x.js → command-3asan66x.js} +0 -0
  705. /package/dist/chunks/{location-activity-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{location-activity-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{location-activity-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-activity-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-activity-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-activity-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-activity-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-activity-53557ph1.js → command-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-activity-550bvhaj.js → command-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-activity-5fjb7ams.js → command-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{location-activity-6prwharc.js → command-6prwharc.js} +0 -0
  716. /package/dist/chunks/{location-activity-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{location-activity-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{location-activity-7m9af43g.js → command-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{location-activity-822emrt2.js → command-822emrt2.js} +0 -0
  720. /package/dist/chunks/{location-activity-84wd9syh.js → command-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{location-activity-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{location-activity-8n3pysct.js → command-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{location-activity-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{location-activity-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{location-activity-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{location-activity-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{location-activity-af5trqkr.js → command-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{location-activity-afrmfg78.js → command-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{location-activity-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{location-activity-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{location-activity-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{location-activity-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{location-activity-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{location-activity-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{location-activity-d9fn303g.js → command-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{location-activity-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{location-activity-dajrwvna.js → command-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{location-activity-dap0rakb.js → command-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{location-activity-df08tz66.js → command-df08tz66.js} +0 -0
  740. /package/dist/chunks/{location-activity-dy18nga0.js → command-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{location-activity-e3qxr5gk.js → command-e3qxr5gk.js} +0 -0
  742. /package/dist/chunks/{location-activity-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-activity-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-activity-ec1grn59.js → command-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-activity-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-activity-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-activity-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-activity-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-activity-faypxj3z.js → command-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-activity-fd410y7t.js → command-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-activity-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-activity-g86h250q.js → command-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-activity-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-activity-gftt206x.js → command-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-activity-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{location-activity-hk9envan.js → command-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-activity-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{location-activity-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{location-activity-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{location-activity-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-activity-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-activity-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{location-activity-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-activity-m18g726c.js → command-m18g726c.js} +0 -0
  765. /package/dist/chunks/{location-activity-mp448xyj.js → command-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{location-activity-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{location-activity-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{location-activity-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{location-activity-njntx4h6.js → command-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{location-activity-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{location-activity-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{location-activity-q74kybfr.js → command-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{location-activity-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{location-activity-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{location-activity-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{location-activity-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{location-activity-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{location-activity-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{location-activity-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{location-activity-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{location-activity-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{location-activity-w803qqfp.js → command-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{location-activity-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{location-activity-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{location-activity-wjj7prxr.js → command-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{location-activity-wtztk69x.js → command-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{location-activity-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{location-activity-x61499pn.js → command-x61499pn.js} +0 -0
  789. /package/dist/chunks/{location-activity-y44na4kk.js → command-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{location-activity-y8f7s663.js → command-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{location-activity-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{location-activity-ym463w8f.js → command-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{location-activity-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{location-activity-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-activity-z5v4ffb3.js";
4
+ } from "./command-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service83,
9
9
  node87
10
- } from "./location-activity-55m81wnp.js";
10
+ } from "./command-9nyvt9wv.js";
11
11
  import {
12
12
  Service81,
13
13
  node85
14
- } from "./location-activity-3zze3678.js";
14
+ } from "./command-hnmmt9bt.js";
15
15
  import {
16
16
  create3
17
- } from "./location-activity-rdw6cm16.js";
17
+ } from "./command-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-activity-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: () => Error2,
26
- ID: () => ID6,
27
- Service: () => Service50,
25
+ Error: () => Error3,
26
+ ID: () => ID4,
27
+ Service: () => Service37,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node53,
29
+ node: () => node40,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ import path from "path";
34
34
  import { Clock, 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 ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 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 Service50 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service37 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service50, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service83;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, 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 Error2({ 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)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID6.make(tree);
99
+ return ID4.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -114,6 +114,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
114
114
  const files = Effect.fn("Snapshot.files")(function* (input) {
115
115
  const compared = yield* comparison("files", input);
116
116
  const changed = yield* git.tree.files({ repository: compared.repository, from: compared.from, to: compared.to }).pipe(Effect.mapError((cause) => failure("files", cause)));
117
+ if (changed.length === 0)
118
+ return [];
117
119
  const skipped = yield* ignored("files", compared.source, changed);
118
120
  return changed.filter((file) => !skipped.has(file));
119
121
  });
@@ -128,33 +130,36 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
128
130
  context: input.context,
129
131
  paths: input.paths
130
132
  }).pipe(Effect.mapError((cause) => failure("diff", cause)));
131
- const skipped = yield* ignored("diff", compared.source, diffs.map((file) => RelativePath2.make(file.file)));
132
- return diffs.filter((file) => !skipped.has(RelativePath2.make(file.file)));
133
+ if (diffs.length === 0)
134
+ return [];
135
+ const paths = diffs.map((file) => RelativePath2.make(file.file));
136
+ const skipped = yield* ignored("diff", compared.source, paths);
137
+ return diffs.filter((_, index) => !skipped.has(paths[index]));
133
138
  });
134
139
  const plan = Effect.fnUntraced(function* (worktree, input) {
135
140
  const files = new Map;
136
141
  for (const [file, snapshot] of input.files) {
137
142
  const absolute = path.resolve(worktree, file);
138
143
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
140
145
  files.set(file, TreeID2.make(snapshot));
141
146
  }
142
147
  return files;
143
148
  });
144
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
150
  if (!enabled())
146
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
147
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
154
  });
150
- return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node53 = makeLocationNode({
153
- service: Service50,
157
+ var node40 = makeLocationNode({
158
+ service: Service37,
154
159
  layer,
155
160
  deps: [FSUtil.node, node87, Global.node, node85]
156
161
  });
157
- var noopLayer2 = Layer.succeed(Service50, Service50.of({
162
+ var noopLayer2 = Layer.succeed(Service37, Service37.of({
158
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
164
  reload: () => Effect.void,
160
165
  capture: () => Effect.undefined,
@@ -163,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service50, Service50.of({
163
168
  restore: () => Effect.void
164
169
  }));
165
170
  function failure(operation, cause) {
166
- if (cause instanceof Error2 && cause.operation === operation)
171
+ if (cause instanceof Error3 && cause.operation === operation)
167
172
  return cause;
168
- return new Error2({
173
+ return new Error3({
169
174
  operation,
170
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
176
  cause
172
177
  });
173
178
  }
174
179
 
175
- export { ID6, Error2, Service50, node53, noopLayer2, exports_snapshot2 };
180
+ export { ID4, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./location-activity-rdw6cm16.js";
3
+ } from "./command-rdw6cm16.js";
4
4
  import {
5
- Service72
6
- } from "./location-activity-s2fdgjmg.js";
5
+ Service67
6
+ } from "./command-3wyzm26w.js";
7
7
  import {
8
8
  match2
9
- } from "./location-activity-y1fvbwt7.js";
9
+ } from "./command-y1fvbwt7.js";
10
10
  import {
11
- Service16,
11
+ Service15,
12
12
  statements2,
13
13
  decision2
14
- } from "./location-activity-gwaf4cyv.js";
14
+ } from "./command-1m2v2j5e.js";
15
15
  import {
16
16
  observe2
17
- } from "./location-activity-qsdy395h.js";
17
+ } from "./command-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./location-activity-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin50
26
+ Plugin: () => Plugin16
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin50 = define({
30
+ var Plugin16 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service72;
34
- const managed = yield* Service16;
33
+ const config = yield* Service67;
34
+ const managed = yield* Service15;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -76,4 +76,4 @@ var Plugin50 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin50, exports_policy };
79
+ export { Plugin16, exports_policy };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-activity-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
6
  Info18
7
- } from "./location-activity-kqv3x6rj.js";
7
+ } from "./command-kqv3x6rj.js";
8
8
  import {
9
9
  __export
10
- } from "./location-activity-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent4 = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service64,
3
- node67
4
- } from "./location-activity-59fsemm9.js";
2
+ Service59,
3
+ node62
4
+ } from "./command-m4rj2mnd.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./location-activity-7jdsj2a9.js";
7
+ } from "./command-5epte933.js";
8
8
  import {
9
9
  __export
10
- } from "./location-activity-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service62,
17
+ Service: () => Service58,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node65,
19
+ node: () => node61,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service62 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service58 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service62, Effect.gen(function* () {
58
- const resolver = yield* Service64;
59
- return Service62.of({
57
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
58
+ const resolver = yield* Service59;
59
+ return Service58.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node65 = makeLocationNode({ service: Service62, layer, deps: [node67] });
77
+ var node61 = makeLocationNode({ service: Service58, layer, deps: [node62] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service62, resolved2, node65, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service58, resolved2, node61, exports_model };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-activity-h553n8m0.js";
4
+ } from "./command-n1dcq2q6.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./location-activity-55m81wnp.js";
8
+ } from "./command-9nyvt9wv.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./location-activity-3zze3678.js";
12
+ } from "./command-hnmmt9bt.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./location-activity-rap9a73h.js";
15
+ } from "./command-phz3h32g.js";
16
16
  import {
17
- Service73,
18
- node77
19
- } from "./location-activity-ymsaz6y0.js";
17
+ Service68,
18
+ node71
19
+ } from "./command-y99cwb6p.js";
20
20
  import {
21
- node19
22
- } from "./location-activity-2x3268hb.js";
21
+ node22
22
+ } from "./command-qjxnsekw.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./location-activity-cwa6csj7.js";
24
+ Service8,
25
+ node9
26
+ } from "./command-cpneeje0.js";
27
27
  import {
28
28
  __export
29
- } from "./location-activity-9rqn6x4v.js";
29
+ } from "./command-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher2 = {};
33
33
  __export(exports_location_watcher2, {
34
34
  LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service11,
36
- node: () => node13
35
+ Service: () => Service7,
36
+ node: () => node8
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service11 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service7 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service11, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
46
46
  const location = yield* Service81;
47
- const watcher = yield* Service73;
47
+ const watcher = yield* Service68;
48
48
  const bus = yield* Service85;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service83;
51
- const policy = yield* Service12;
51
+ const policy = yield* Service8;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service11.of({});
103
+ return Service7.of({});
104
104
  }));
105
- var node13 = makeLocationNode({
106
- service: Service11,
105
+ var node8 = makeLocationNode({
106
+ service: Service7,
107
107
  layer,
108
- deps: [node77, FSUtil.node, node85, node87, node89, node19, node14]
108
+ deps: [node71, FSUtil.node, node85, node87, node89, node22, node9]
109
109
  });
110
110
 
111
- export { Service11, node13, exports_location_watcher2 };
111
+ export { Service7, node8, exports_location_watcher2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service54
3
- } from "./location-activity-x6fwb8m7.js";
2
+ Service75
3
+ } from "./command-8rs56nfj.js";
4
4
  import {
5
5
  __export
6
- } from "./location-activity-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service54;
24
+ const environment = yield* Service75;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-activity-h553n8m0.js";
4
+ } from "./command-n1dcq2q6.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service79,
9
- node83
10
- } from "./location-activity-fwvm0hxf.js";
8
+ Service80,
9
+ node84
10
+ } from "./command-q13f50ex.js";
11
11
  import {
12
12
  create3
13
- } from "./location-activity-rdw6cm16.js";
13
+ } from "./command-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./location-activity-x661k3y3.js";
16
+ } from "./command-addxnjmp.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./location-activity-nfym24mf.js";
20
+ } from "./command-8nr013c3.js";
21
21
  import {
22
22
  __export
23
- } from "./location-activity-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event17,
38
+ Event: () => Event18,
39
39
  ExternalMethod: () => ExternalMethod2,
40
40
  ID: () => ID14,
41
- Info: () => Info22,
41
+ Info: () => Info23,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service78,
49
- node: () => node82
48
+ Service: () => Service79,
49
+ node: () => node83
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,7 +68,7 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
- import { Event as Event17 } from "@opencode/schema/integration";
71
+ import { Event as Event18 } from "@opencode/schema/integration";
72
72
  var ID14 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info22 = Integration.Info;
81
+ var Info23 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -107,13 +107,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service78 extends Context.Service()("@opencode/Integration") {
110
+ class Service79 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service78, Effect.gen(function* () {
116
- const credentials = yield* Service79;
115
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
116
+ const credentials = yield* Service80;
117
117
  const bus = yield* Service85;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info22.make({
217
+ const project = (entry, connections) => Info23.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service78.of({
450
+ return Service79.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node82 = makeLocationNode({
633
- service: Service78,
632
+ var node83 = makeLocationNode({
633
+ service: Service79,
634
634
  layer,
635
- deps: [node83, node89, AppProcess.node]
635
+ deps: [node84, node89, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service78, node82, exports_integration, Event17 };
638
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service79, node83, exports_integration, Event18 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-activity-z5v4ffb3.js";
4
+ } from "./command-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-activity-y71avatq.js";
7
+ } from "./command-dpkg50ah.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./location-activity-tazgh4e4.js";
12
+ } from "./command-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./location-activity-ef5x83kb.js";
15
+ } from "./command-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./location-activity-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./location-activity-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service61,
10
- node: () => node64
9
+ Service: () => Service56,
10
+ node: () => node59
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service61 extends Context.Service()("@opencode/Instance") {
16
+ class Service56 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
18
+ var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
19
19
 
20
- export { Service61, node64, exports_service2 };
20
+ export { Service56, node59, exports_service2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./location-activity-fwvm0hxf.js";
3
+ } from "./command-q13f50ex.js";
4
4
  import {
5
5
  ID14,
6
6
  MethodID2
7
- } from "./location-activity-n0ftmv27.js";
7
+ } from "./command-9h6sayvh.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./location-activity-pjvnvgmy.js";
11
+ } from "./command-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-activity-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};