@opencode/core 0.0.0-dev-21465 → 0.0.0-dev-21479

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-a20pjse5.js → git-02mvvr71.js} +3 -3
  8. package/dist/chunks/{form-034tev2y.js → git-034tev2y.js} +2 -2
  9. package/dist/chunks/{form-rkg4v3e5.js → git-045nn9pc.js} +4 -4
  10. package/dist/chunks/{form-knax8rr9.js → git-078079dq.js} +13 -13
  11. package/dist/chunks/{form-ggbxennn.js → git-0cah4r3x.js} +35 -35
  12. package/dist/chunks/{form-0javqkgf.js → git-0javqkgf.js} +2 -2
  13. package/dist/chunks/{form-dtnfggyv.js → git-0m03zc7j.js} +10 -10
  14. package/dist/chunks/{form-b674v2dg.js → git-0r3c1bmw.js} +5 -5
  15. package/dist/chunks/{form-01cqkeg5.js → git-0seqkkzs.js} +21 -21
  16. package/dist/chunks/{form-0vbcp93d.js → git-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{form-b5sf85zq.js → git-0vzwrjx3.js} +6 -6
  18. package/dist/chunks/{form-kmy8rgmt.js → git-1558q6r0.js} +16 -16
  19. package/dist/chunks/{form-1ep2p91f.js → git-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{form-bzeyqsqd.js → git-1ep4rre3.js} +4 -4
  21. package/dist/chunks/{form-smctgjrc.js → git-1n6d85fv.js} +38 -38
  22. package/dist/chunks/{form-8dff8bqa.js → git-1nwxscpy.js} +5 -5
  23. package/dist/chunks/{form-q8ddfw9c.js → git-1qw4ts2x.js} +1 -1
  24. package/dist/chunks/{form-tdwynqds.js → git-200cc897.js} +11 -11
  25. package/dist/chunks/{form-3t06g8dq.js → git-25yddszk.js} +6 -6
  26. package/dist/chunks/{form-4bm5ja14.js → git-2k71kv7p.js} +4 -4
  27. package/dist/chunks/{form-6mb40wrd.js → git-2m1b2gxc.js} +17 -17
  28. package/dist/chunks/{form-k9t01da4.js → git-32dg1e2h.js} +5 -5
  29. package/dist/chunks/{form-cj2gcgr0.js → git-38g0rc9e.js} +10 -10
  30. package/dist/chunks/{form-5y480sgp.js → git-3a83a0n4.js} +8 -8
  31. package/dist/chunks/{form-20v7rmhc.js → git-3bs3s307.js} +14 -14
  32. package/dist/chunks/{form-tdev1d3v.js → git-3bshcq1y.js} +4 -4
  33. package/dist/chunks/{form-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{form-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{form-n9mdxvj7.js → git-3p22f2sh.js} +18 -23
  36. package/dist/chunks/{form-s7gb32a0.js → git-3tbr4qg5.js} +13 -13
  37. package/dist/chunks/{form-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{form-14mvz572.js → git-3zpf0rnh.js} +21 -21
  39. package/dist/chunks/{form-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{form-m3g1rwfa.js → git-3zzpf6s7.js} +2 -2
  41. package/dist/chunks/{form-3mgfngs8.js → git-4k7c3fdp.js} +42 -42
  42. package/dist/chunks/{form-pvmfrnx8.js → git-4q29416s.js} +327 -327
  43. package/dist/chunks/{form-x3gqap9d.js → git-4v7ngy20.js} +4 -4
  44. package/dist/chunks/{form-wjmzy10g.js → git-4w5b9j1r.js} +5 -5
  45. package/dist/chunks/{form-54ma36ye.js → git-54ma36ye.js} +1 -1
  46. package/dist/chunks/{form-drwq78ky.js → git-57b9ws8p.js} +5 -5
  47. package/dist/chunks/{form-n4kgxwdp.js → git-59q5jpsh.js} +12 -12
  48. package/dist/chunks/{form-pyv0edze.js → git-5fjb7ams.js} +4 -4
  49. package/dist/chunks/{form-vep9yay1.js → git-5g57z1ma.js} +4 -4
  50. package/dist/chunks/{form-bqae3fjp.js → git-5gygys90.js} +13 -13
  51. package/dist/chunks/{form-5m9w47nd.js → git-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{form-cmwkp3r5.js → git-5yzzbxa7.js} +8 -8
  53. package/dist/chunks/{form-hfg7n11m.js → git-605sfam9.js} +15 -15
  54. package/dist/chunks/git-619r8v3y.js +18 -0
  55. package/dist/chunks/{form-6827pfxn.js → git-6827pfxn.js} +1 -1
  56. package/dist/chunks/{form-gjvvdrsn.js → git-6ar8hrwm.js} +18 -18
  57. package/dist/chunks/{form-w2bpwhyq.js → git-6nrms7n5.js} +12 -12
  58. package/dist/chunks/{form-xpw9xx05.js → git-6tqbt9db.js} +31 -31
  59. package/dist/chunks/{form-6xb47vfp.js → git-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{form-gdab7akb.js → git-72c6mf2q.js} +22 -22
  61. package/dist/chunks/{form-8x3eefsg.js → git-76e6tftv.js} +14 -14
  62. package/dist/chunks/{form-775gj3j1.js → git-775gj3j1.js} +2 -2
  63. package/dist/chunks/{form-6zbvbaat.js → git-78gtrtbe.js} +5 -5
  64. package/dist/chunks/{form-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{form-p5eszqcd.js → git-7e2qk7cj.js} +8 -8
  66. package/dist/chunks/{form-gyjy7m7x.js → git-7mb88a95.js} +16 -16
  67. package/dist/chunks/{form-q3c1rjff.js → git-7n6txb6t.js} +21 -21
  68. package/dist/chunks/{form-jj8zce4f.js → git-7thw3n08.js} +26 -26
  69. package/dist/chunks/{form-gqh6mgsw.js → git-7ww6rt9p.js} +7 -7
  70. package/dist/chunks/{form-2tq7hcqy.js → git-7yap2ahf.js} +6 -6
  71. package/dist/chunks/{form-w1eejvng.js → git-84txncab.js} +5 -5
  72. package/dist/chunks/{form-n7b1k3p6.js → git-85p8adcg.js} +9 -9
  73. package/dist/chunks/{form-nwpzdbp7.js → git-85qr6vt3.js} +15 -15
  74. package/dist/chunks/{form-30zggejz.js → git-88gnhbh7.js} +34 -34
  75. package/dist/chunks/{form-89znhe33.js → git-89znhe33.js} +1 -1
  76. package/dist/chunks/{form-cd65nwh0.js → git-8d1x81hy.js} +11 -11
  77. package/dist/chunks/{form-wqggg88q.js → git-8jktj0qw.js} +19 -19
  78. package/dist/chunks/{form-8m6m0r52.js → git-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{form-8mywswrd.js → git-8mywswrd.js} +1 -1
  80. package/dist/chunks/{form-ctvabab8.js → git-8txfkpqn.js} +40 -40
  81. package/dist/chunks/{form-aff53cds.js → git-91m580gt.js} +26 -26
  82. package/dist/chunks/{form-kanhem1c.js → git-9df7hht8.js} +8 -8
  83. package/dist/chunks/{form-1zzvd88w.js → git-9hxgbxmm.js} +4 -4
  84. package/dist/chunks/{form-kt69stq4.js → git-9j60mqkr.js} +11 -11
  85. package/dist/chunks/{form-fxh06m44.js → git-9r8etyzv.js} +85 -85
  86. package/dist/chunks/{form-9wev2pgg.js → git-9wev2pgg.js} +1 -1
  87. package/dist/chunks/{form-s1976h36.js → git-a3bkarxs.js} +21 -21
  88. package/dist/chunks/{form-fcag7s6h.js → git-a8t88929.js} +8 -8
  89. package/dist/chunks/{form-ztasg8c4.js → git-a9mdymkz.js} +17 -17
  90. package/dist/chunks/{form-qse2fwzv.js → git-agncyf5y.js} +10 -10
  91. package/dist/chunks/{form-z0rftk5n.js → git-ahfrvp8e.js} +3 -3
  92. package/dist/chunks/{form-hzz8n40p.js → git-as0rc94k.js} +7 -7
  93. package/dist/chunks/{form-e2x20gr3.js → git-ay4dh4hp.js} +156 -156
  94. package/dist/chunks/{form-r83yw8wf.js → git-az32jagd.js} +37 -37
  95. package/dist/chunks/{form-gqtdsdt7.js → git-azwe5p1w.js} +4 -4
  96. package/dist/chunks/{form-tm0kqsz3.js → git-b11a7tx7.js} +4 -3
  97. package/dist/chunks/{form-qxbakmsa.js → git-b45fb4vj.js} +11 -11
  98. package/dist/chunks/{form-vr2brrr8.js → git-bhbvgsmn.js} +20 -20
  99. package/dist/chunks/{form-ywt8jp22.js → git-bjx1sjef.js} +9 -9
  100. package/dist/chunks/{form-hptzwsnd.js → git-brg3ghwg.js} +5 -5
  101. package/dist/chunks/{form-jj6wv1pj.js → git-bvq8t8gc.js} +3 -3
  102. package/dist/chunks/{form-d2bpn3vr.js → git-c82keb0s.js} +11 -11
  103. package/dist/chunks/{form-4mwpykj0.js → git-c8bydgjz.js} +6 -6
  104. package/dist/chunks/{form-mtpeagzc.js → git-c8zwaxmp.js} +3 -3
  105. package/dist/chunks/{form-23cg475f.js → git-cdsx0e8y.js} +11 -11
  106. package/dist/chunks/{form-zaq0zjc7.js → git-ce72n6fj.js} +8 -8
  107. package/dist/chunks/{form-yh885z4g.js → git-cktnysrk.js} +25 -25
  108. package/dist/chunks/{form-cwa6csj7.js → git-cpneeje0.js} +9 -9
  109. package/dist/chunks/{form-dcezxpa9.js → git-csntcvgq.js} +17 -17
  110. package/dist/chunks/{form-rqm8fqta.js → git-ctkkzvg7.js} +17 -17
  111. package/dist/chunks/{form-d1wmmgpz.js → git-cv4k33jc.js} +3 -3
  112. package/dist/chunks/{form-b6ee0mz0.js → git-cvza8xe0.js} +45 -45
  113. package/dist/chunks/{form-xteysx5g.js → git-d8pehzym.js} +28 -28
  114. package/dist/chunks/{form-dgzq35zb.js → git-dgzq35zb.js} +3 -3
  115. package/dist/chunks/{form-ed1g29hy.js → git-dh62xe4r.js} +4 -6
  116. package/dist/chunks/{form-vx8n1q2f.js → git-dhjfm1wm.js} +18 -18
  117. package/dist/chunks/{form-zcrspsvn.js → git-dhmh7aw6.js} +4 -4
  118. package/dist/chunks/{form-fptceakp.js → git-djkp474z.js} +45 -45
  119. package/dist/chunks/{form-y71avatq.js → git-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{form-wp7ag42z.js → git-dr294h6q.js} +30 -30
  121. package/dist/chunks/{form-4240acyr.js → git-dsx6a57s.js} +12 -12
  122. package/dist/chunks/{form-rwbh6jmv.js → git-dwfwpy83.js} +26 -26
  123. package/dist/chunks/{form-0gdmqesm.js → git-eaj1djv9.js} +8 -8
  124. package/dist/chunks/{form-eej6y6fw.js → git-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{form-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{form-fp3pxq9j.js → git-eg99zdc0.js} +11 -11
  127. package/dist/chunks/{form-m1cp809k.js → git-eh0dtbcs.js} +9 -9
  128. package/dist/chunks/{form-dg7zdyb1.js → git-ejb6r5n5.js} +18 -18
  129. package/dist/chunks/{form-txcxq65b.js → git-ekg02csz.js} +25 -25
  130. package/dist/chunks/{form-n3d5pb88.js → git-em208xvc.js} +19 -19
  131. package/dist/chunks/{form-jbx74xhg.js → git-es2mt76j.js} +12 -12
  132. package/dist/chunks/{form-m1vtybs6.js → git-etr37avf.js} +4 -4
  133. package/dist/chunks/{form-a22nawqy.js → git-f1860mdz.js} +22 -22
  134. package/dist/chunks/{form-4cjtq72a.js → git-f3rqa553.js} +7 -7
  135. package/dist/chunks/{form-fcy631f0.js → git-fcy631f0.js} +1 -1
  136. package/dist/chunks/{form-555zyyej.js → git-fdj2wyrs.js} +10 -10
  137. package/dist/chunks/{form-1g3gwk2z.js → git-ffjr7bk7.js} +3 -3
  138. package/dist/chunks/{form-ppy8n5rb.js → git-fnkqbbf8.js} +13 -13
  139. package/dist/chunks/{form-9dxjs7sq.js → git-fvae25xa.js} +4 -4
  140. package/dist/chunks/{form-2c942fag.js → git-fvtbw1ps.js} +24 -24
  141. package/dist/chunks/{form-5nw065t4.js → git-fzmgk69d.js} +5 -5
  142. package/dist/chunks/{form-rs6bz05r.js → git-g6zeyhbf.js} +32 -32
  143. package/dist/chunks/{form-44ebccsv.js → git-g7semt5k.js} +12 -12
  144. package/dist/chunks/{form-mx35zq31.js → git-g814k5hs.js} +33 -33
  145. package/dist/chunks/{form-wp2t38dg.js → git-gafq12ew.js} +18 -18
  146. package/dist/chunks/{form-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{form-581y63dt.js → git-gj1rejx4.js} +9 -9
  148. package/dist/chunks/{form-7z27y5ft.js → git-gk2m5qpw.js} +18 -18
  149. package/dist/chunks/{form-eb59rt6g.js → git-gk7yd4ff.js} +21 -21
  150. package/dist/chunks/{form-ds0xwmnc.js → git-gngf0wfh.js} +45 -45
  151. package/dist/chunks/{form-w9fyvhpg.js → git-h45f43kn.js} +40 -40
  152. package/dist/chunks/{form-4jv8yfzb.js → git-h63qpt9b.js} +29 -29
  153. package/dist/chunks/{form-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{form-3kbekj0y.js → git-h9hy2g73.js} +28 -28
  155. package/dist/chunks/{form-1w6dzaea.js → git-hdhpzd46.js} +26 -26
  156. package/dist/chunks/{form-8bajgbmy.js → git-hdkgpk5r.js} +4 -4
  157. package/dist/chunks/{form-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{form-zbqwxq10.js → git-hkv9jwhg.js} +35 -35
  159. package/dist/chunks/{form-kg45811x.js → git-hsms78xt.js} +20 -20
  160. package/dist/chunks/{form-dhpppt5y.js → git-j1v11s00.js} +18 -18
  161. package/dist/chunks/{form-zhvzg80z.js → git-j6rfa7dw.js} +5 -5
  162. package/dist/chunks/{form-prytbjkr.js → git-jasvhrrp.js} +14 -14
  163. package/dist/chunks/{form-mhdmgddq.js → git-jfeqebap.js} +32 -32
  164. package/dist/chunks/{form-7sbn2nrf.js → git-jn0tk1mz.js} +7 -7
  165. package/dist/chunks/{form-gdn3wds6.js → git-jqrqgbm9.js} +8 -8
  166. package/dist/chunks/{form-hjhsp0kf.js → git-k0qjhrm4.js} +11 -11
  167. package/dist/chunks/{form-b61k6ame.js → git-k3bbdj91.js} +16 -16
  168. package/dist/chunks/{form-awmarwrv.js → git-k3f29ntv.js} +11 -11
  169. package/dist/chunks/{form-35kkhned.js → git-k4pq24kd.js} +11 -11
  170. package/dist/chunks/{form-hes1j7ga.js → git-k7myrtme.js} +9 -9
  171. package/dist/chunks/{form-4wsv5c1t.js → git-k8n34jy8.js} +10 -15
  172. package/dist/chunks/{form-kj7h7wvk.js → git-kcve38p7.js} +28 -28
  173. package/dist/chunks/{form-khmqacep.js → git-khmqacep.js} +1 -1
  174. package/dist/chunks/{form-g6yfr6ja.js → git-kjdm35cs.js} +5 -5
  175. package/dist/chunks/{form-qrj5j2rw.js → git-kmt4h04r.js} +19 -19
  176. package/dist/chunks/{form-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
  177. package/dist/chunks/{form-zxwf9a1d.js → git-m1ppqtea.js} +7 -7
  178. package/dist/chunks/{form-y05mj14p.js → git-m4c0swtf.js} +7 -7
  179. package/dist/chunks/{form-mg47wcxc.js → git-m6ebyez9.js} +4 -4
  180. package/dist/chunks/{form-016766j9.js → git-m9c621cz.js} +15 -15
  181. package/dist/chunks/{form-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{form-maspj1v3.js → git-maspj1v3.js} +1 -1
  183. package/dist/chunks/{form-hxds782p.js → git-maywb9z2.js} +70 -70
  184. package/dist/chunks/{form-fn9ftacf.js → git-mmkn5258.js} +30 -30
  185. package/dist/chunks/{form-n90cc1d7.js → git-mn5t5fa7.js} +20 -20
  186. package/dist/chunks/{form-5tj8nqep.js → git-mtj52ym5.js} +7 -7
  187. package/dist/chunks/{form-4myhz5et.js → git-n2se56j1.js} +11 -11
  188. package/dist/chunks/{form-rgv41h4e.js → git-n9g83tx9.js} +44 -44
  189. package/dist/chunks/{form-sbaf2nx7.js → git-nccy3da8.js} +14 -14
  190. package/dist/chunks/{form-04pgjytt.js → git-ngzhnc9a.js} +21 -21
  191. package/dist/chunks/{form-jqppps04.js → git-nvcb2me1.js} +11 -11
  192. package/dist/chunks/{form-t5wqwvpt.js → git-nx9zwmb9.js} +19 -19
  193. package/dist/chunks/{form-v13b12ef.js → git-nz56sr1f.js} +5 -5
  194. package/dist/chunks/{form-vxmetbc4.js → git-p27t94xr.js} +11 -11
  195. package/dist/chunks/{form-k6tr81d3.js → git-p7ev6qnr.js} +11 -11
  196. package/dist/chunks/{form-06xsmntz.js → git-pgt61v87.js} +2 -2
  197. package/dist/chunks/{form-8advq6hn.js → git-pjcyby8a.js} +173 -173
  198. package/dist/chunks/{form-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{form-ryh6wemf.js → git-pjvyabz4.js} +28 -28
  200. package/dist/chunks/{form-pknna89w.js → git-pknna89w.js} +1 -1
  201. package/dist/chunks/{form-prpepx7q.js → git-pm2y453h.js} +29 -29
  202. package/dist/chunks/{form-sxtjavh1.js → git-pq5a4ran.js} +11 -11
  203. package/dist/chunks/{form-myjjf3z2.js → git-pqjcpngk.js} +21 -21
  204. package/dist/chunks/{form-kpwafw7z.js → git-pqyspz9z.js} +13 -13
  205. package/dist/chunks/{form-h71w788e.js → git-prq7hedt.js} +9 -9
  206. package/dist/chunks/{form-725pwqma.js → git-prxss26z.js} +16 -16
  207. package/dist/chunks/{form-yjv8c9gv.js → git-q045kj7b.js} +5 -5
  208. package/dist/chunks/{form-1m7xhcrz.js → git-q464k4a6.js} +13 -13
  209. package/dist/chunks/{form-5b6y4xvt.js → git-q5hqqeac.js} +4 -4
  210. package/dist/chunks/{form-4873sk86.js → git-qdvvjbfp.js} +19 -19
  211. package/dist/chunks/{form-qgn6gcr1.js → git-qgn6gcr1.js} +1 -1
  212. package/dist/chunks/{form-61k5npwt.js → git-qpa60a4m.js} +24 -24
  213. package/dist/chunks/{form-z7egd2a4.js → git-qr731nbc.js} +17 -17
  214. package/dist/chunks/{form-qsdy395h.js → git-qsdy395h.js} +1 -1
  215. package/dist/chunks/{form-edrm97qd.js → git-qyh37hhk.js} +18 -18
  216. package/dist/chunks/{form-8jrmvma7.js → git-qzf8qtbx.js} +71 -71
  217. package/dist/chunks/{form-51nq886d.js → git-r1rse4mj.js} +22 -22
  218. package/dist/chunks/{form-sk60y1at.js → git-r3wyhjqy.js} +33 -33
  219. package/dist/chunks/{form-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{form-ky6kp414.js → git-rgzdvt91.js} +9 -9
  221. package/dist/chunks/{form-msbm8nhp.js → git-rkgn1fma.js} +2 -2
  222. package/dist/chunks/{form-pq3ytayb.js → git-rm9a2m7z.js} +28 -28
  223. package/dist/chunks/{form-wc14v8ca.js → git-rnynx9aw.js} +22 -22
  224. package/dist/chunks/{form-5r05bxdk.js → git-rtjqkxxy.js} +50 -50
  225. package/dist/chunks/{form-qa3qhgw8.js → git-ryr25ayn.js} +4 -4
  226. package/dist/chunks/{form-tb727afn.js → git-s7wzxfez.js} +33 -33
  227. package/dist/chunks/{form-mxt12g5z.js → git-sb84grnh.js} +15 -15
  228. package/dist/chunks/{form-2w245n37.js → git-sgrqfx2c.js} +22 -22
  229. package/dist/chunks/{form-cmr35qp5.js → git-sm06pc4g.js} +25 -25
  230. package/dist/chunks/{form-gd8jdxd3.js → git-srmfrpqt.js} +11 -11
  231. package/dist/chunks/{form-jjb12tdg.js → git-stacx7tb.js} +24 -24
  232. package/dist/chunks/{form-t96cs5ce.js → git-svw6f5x1.js} +4 -4
  233. package/dist/chunks/{form-syv4x271.js → git-syv4x271.js} +1 -1
  234. package/dist/chunks/{form-nk28bvce.js → git-t7gdp873.js} +12 -12
  235. package/dist/chunks/{form-0803f5qt.js → git-t95zrypp.js} +8 -8
  236. package/dist/chunks/{form-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{form-772b1pf2.js → git-tdspb0v5.js} +6 -6
  238. package/dist/chunks/{form-tdstcens.js → git-tdstcens.js} +1 -1
  239. package/dist/chunks/{form-11n2qc1w.js → git-tfzdz0jf.js} +16 -16
  240. package/dist/chunks/{form-mqmr3v55.js → git-tpfmwr0g.js} +6 -6
  241. package/dist/chunks/{form-tyytaxap.js → git-tyytaxap.js} +1 -1
  242. package/dist/chunks/{form-0rmvh565.js → git-v0fadmm9.js} +20 -20
  243. package/dist/chunks/{form-g686f6pq.js → git-v1vh7s4p.js} +9 -9
  244. package/dist/chunks/{form-yg2pn9b7.js → git-v36djqsc.js} +5 -5
  245. package/dist/chunks/{form-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{form-1avk3spj.js → git-vep09gcq.js} +2 -2
  247. package/dist/chunks/{form-veqvce7d.js → git-veqvce7d.js} +1 -1
  248. package/dist/chunks/{form-x2wh3pjk.js → git-vr1hykcj.js} +16 -16
  249. package/dist/chunks/{form-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{form-ac224h82.js → git-w11ge2qy.js} +13 -20
  251. package/dist/chunks/{form-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{form-g13qewtb.js → git-w4ca3e8f.js} +6 -6
  253. package/dist/chunks/{form-ye8nnmax.js → git-w6zk8pbt.js} +8 -8
  254. package/dist/chunks/{form-0wg788cr.js → git-w89a0he1.js} +28 -28
  255. package/dist/chunks/{form-6pc27hjz.js → git-w92k2e0p.js} +4 -4
  256. package/dist/chunks/{form-wakvkjy4.js → git-wakvkjy4.js} +1 -1
  257. package/dist/chunks/git-wb8h950a.js +26 -0
  258. package/dist/chunks/{form-xafejemj.js → git-wc27sy1k.js} +1 -1
  259. package/dist/chunks/{form-wd87259q.js → git-wd87259q.js} +1 -1
  260. package/dist/chunks/{form-sawf26wz.js → git-wdagq6eq.js} +41 -43
  261. package/dist/chunks/{form-xbwfvkb6.js → git-wgqskqg5.js} +20 -20
  262. package/dist/chunks/{form-bkjx84ct.js → git-wqep6wv0.js} +15 -15
  263. package/dist/chunks/{form-pwdns4hw.js → git-x19mcxm9.js} +5 -5
  264. package/dist/chunks/{form-mwcxzzpp.js → git-x2xnwx9t.js} +8 -8
  265. package/dist/chunks/{form-sjzb79xx.js → git-x4a11yf2.js} +8 -8
  266. package/dist/chunks/{form-jdtqvfs1.js → git-x5gg2x23.js} +9 -9
  267. package/dist/chunks/{form-a50jwcz2.js → git-x5h1z4jc.js} +15 -15
  268. package/dist/chunks/{form-fhdzhsn5.js → git-xe5c1mcr.js} +30 -30
  269. package/dist/chunks/{form-kh7axb5n.js → git-xngs254n.js} +11 -11
  270. package/dist/chunks/{form-936v1wb5.js → git-xqk5648a.js} +4 -4
  271. package/dist/chunks/{form-xw9fg8fb.js → git-xw9fg8fb.js} +2 -2
  272. package/dist/chunks/{form-2wef4h5g.js → git-y0p0xn3x.js} +47 -47
  273. package/dist/chunks/{form-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{form-bapqkk7v.js → git-ya38tq17.js} +3 -3
  275. package/dist/chunks/{form-me9v5sdg.js → git-yh6fzqae.js} +3 -3
  276. package/dist/chunks/{form-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{form-4475rdhr.js → git-z0d2xsg0.js} +19 -19
  278. package/dist/chunks/{form-z18fegx4.js → git-z18fegx4.js} +1 -1
  279. package/dist/chunks/{form-jv2rx0fh.js → git-z3qbvfgt.js} +16 -16
  280. package/dist/chunks/{form-ajtbt6ny.js → git-z935fmwk.js} +13 -13
  281. package/dist/chunks/{form-tjgry73g.js → git-ze22k4ya.js} +23 -23
  282. package/dist/chunks/{form-xh7vdwvp.js → git-zgt9y5t0.js} +29 -29
  283. package/dist/chunks/{form-whkpkx14.js → git-zjzgbraa.js} +29 -29
  284. package/dist/chunks/{form-b37y94hj.js → git-zn7y4wfm.js} +11 -11
  285. package/dist/chunks/{form-0w5vvvza.js → git-zn9kb932.js} +14 -14
  286. package/dist/chunks/{form-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{form-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +117 -117
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +364 -365
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +103 -103
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -108
  433. package/dist/git.js +8 -8
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +153 -152
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +84 -84
  468. package/dist/location-services.js +357 -358
  469. package/dist/location.js +85 -85
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +136 -136
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +111 -111
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -333
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -171
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -352
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +84 -84
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +89 -89
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +3 -3
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -129
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +128 -127
  597. package/dist/session/projector.js +89 -89
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -100
  606. package/dist/session/runner/publish-llm-event.js +116 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +208 -208
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -113
  622. package/dist/session/transfer.js +215 -215
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +7 -7
  629. package/dist/shell.js +128 -128
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +122 -122
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +4 -2
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +12 -12
  658. package/dist/types/tool/runtime.d.ts +1 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +80 -80
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +82 -82
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/form-1kg9ymc8.js +0 -6
  691. package/dist/chunks/form-2axfhc9x.js +0 -49
  692. package/dist/chunks/form-d8membp7.js +0 -26
  693. package/dist/chunks/form-dxj72tfx.js +0 -18
  694. package/dist/types/util/error.d.ts +0 -273
  695. package/dist/types/util/iife.d.ts +0 -1
  696. package/dist/types/v1/config/error.d.ts +0 -393
  697. package/dist/util/error.js +0 -6
  698. package/dist/util/iife.js +0 -6
  699. package/dist/v1/config/error.js +0 -27
  700. /package/dist/chunks/{form-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{form-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{form-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{form-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{form-24dcb14g.js → git-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{form-2710q6r3.js → git-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{form-2bv980vf.js → git-2bv980vf.js} +0 -0
  707. /package/dist/chunks/{form-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{form-359p4xyc.js → git-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{form-3asan66x.js → git-3asan66x.js} +0 -0
  710. /package/dist/chunks/{form-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
  711. /package/dist/chunks/{form-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{form-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{form-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{form-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{form-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{form-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{form-53557ph1.js → git-53557ph1.js} +0 -0
  718. /package/dist/chunks/{form-550bvhaj.js → git-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{form-6prwharc.js → git-6prwharc.js} +0 -0
  720. /package/dist/chunks/{form-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
  721. /package/dist/chunks/{form-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{form-7m9af43g.js → git-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{form-822emrt2.js → git-822emrt2.js} +0 -0
  724. /package/dist/chunks/{form-84wd9syh.js → git-84wd9syh.js} +0 -0
  725. /package/dist/chunks/{form-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{form-8n3pysct.js → git-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{form-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{form-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{form-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{form-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{form-af5trqkr.js → git-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{form-afrmfg78.js → git-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{form-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{form-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{form-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{form-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{form-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{form-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{form-d9fn303g.js → git-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{form-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{form-dajrwvna.js → git-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{form-dap0rakb.js → git-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{form-df08tz66.js → git-df08tz66.js} +0 -0
  744. /package/dist/chunks/{form-dy18nga0.js → git-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{form-e3qxr5gk.js → git-e3qxr5gk.js} +0 -0
  746. /package/dist/chunks/{form-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{form-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{form-ec1grn59.js → git-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{form-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{form-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{form-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{form-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{form-faypxj3z.js → git-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{form-fd410y7t.js → git-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{form-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{form-g86h250q.js → git-g86h250q.js} +0 -0
  757. /package/dist/chunks/{form-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{form-gftt206x.js → git-gftt206x.js} +0 -0
  759. /package/dist/chunks/{form-hcxmzztb.js → git-hcxmzztb.js} +0 -0
  760. /package/dist/chunks/{form-hk9envan.js → git-hk9envan.js} +0 -0
  761. /package/dist/chunks/{form-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{form-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{form-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{form-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{form-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{form-jze0r7bz.js → git-jze0r7bz.js} +0 -0
  767. /package/dist/chunks/{form-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{form-m18g726c.js → git-m18g726c.js} +0 -0
  769. /package/dist/chunks/{form-mp448xyj.js → git-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{form-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{form-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{form-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{form-njntx4h6.js → git-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{form-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
  775. /package/dist/chunks/{form-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{form-q74kybfr.js → git-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{form-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{form-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{form-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{form-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{form-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{form-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{form-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{form-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{form-ve7vex1e.js → git-ve7vex1e.js} +0 -0
  786. /package/dist/chunks/{form-w803qqfp.js → git-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{form-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{form-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{form-wjj7prxr.js → git-wjj7prxr.js} +0 -0
  790. /package/dist/chunks/{form-wtztk69x.js → git-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{form-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{form-x61499pn.js → git-x61499pn.js} +0 -0
  793. /package/dist/chunks/{form-y44na4kk.js → git-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{form-y8f7s663.js → git-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{form-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{form-ym463w8f.js → git-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{form-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{form-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service66
4
- } from "./form-04pgjytt.js";
2
+ ID18,
3
+ Service84
4
+ } from "./git-ngzhnc9a.js";
5
5
  import {
6
6
  Ref2,
7
- Service63
8
- } from "./form-pq3ytayb.js";
7
+ Service68
8
+ } from "./git-rm9a2m7z.js";
9
9
  import {
10
10
  latest2,
11
- Service58
12
- } from "./form-smctgjrc.js";
11
+ Service57
12
+ } from "./git-1n6d85fv.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./form-mtpeagzc.js";
15
+ } from "./git-c8zwaxmp.js";
16
16
  import {
17
- Service77
18
- } from "./form-725pwqma.js";
17
+ Service50
18
+ } from "./git-prxss26z.js";
19
19
  import {
20
20
  evaluate2,
21
- Service46
22
- } from "./form-b6ee0mz0.js";
21
+ Service52
22
+ } from "./git-cvza8xe0.js";
23
23
  import {
24
- Service19
25
- } from "./form-8jrmvma7.js";
24
+ Service25
25
+ } from "./git-qzf8qtbx.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./form-6xb47vfp.js";
28
+ } from "./git-6xb47vfp.js";
29
29
  import {
30
30
  Service10
31
- } from "./form-vxmetbc4.js";
31
+ } from "./git-p27t94xr.js";
32
32
  import {
33
33
  __export
34
- } from "./form-9rqn6x4v.js";
34
+ } from "./git-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input4,
39
+ Input: () => Input3,
40
40
  Output: () => Output3,
41
- Plugin: () => Plugin23,
41
+ Plugin: () => Plugin19,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name4
43
+ description: () => description3,
44
+ name: () => name3
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name4 = "subagent";
48
+ var name3 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input4 = Schema.Struct({
59
+ var Input3 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -77,7 +77,7 @@ var Output3 = Schema.Struct({
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,15 +86,15 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin23 = {
89
+ var Plugin19 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service19;
93
- const jobs = yield* Service77;
94
- const agents = yield* Service66;
95
- const config = yield* Service58;
96
- const permission = yield* Service46;
97
- const models = yield* Service63;
92
+ const sessions = yield* Service25;
93
+ const jobs = yield* Service50;
94
+ const agents = yield* Service84;
95
+ const config = yield* Service57;
96
+ const permission = yield* Service52;
97
+ const models = yield* Service68;
98
98
  const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,10 +115,10 @@ var Plugin23 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name3,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input4,
120
+ description: description3,
121
+ input: Input3,
122
122
  output: Output3,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
@@ -139,7 +139,7 @@ var Plugin23 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name4,
142
+ action: name3,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin23 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID18.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name4 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name3 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name4];
233
+ const tool = event.tools[name3];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name4, Input4, Output3, description2, Plugin23, exports_subagent };
256
+ export { name3, Input3, Output3, description3, Plugin19, exports_subagent };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./form-z5v4ffb3.js";
4
+ } from "./git-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service83,
9
- node86
10
- } from "./form-0803f5qt.js";
9
+ node87
10
+ } from "./git-t95zrypp.js";
11
11
  import {
12
12
  Service81,
13
- node84
14
- } from "./form-gqh6mgsw.js";
13
+ node85
14
+ } from "./git-7ww6rt9p.js";
15
15
  import {
16
16
  create3
17
- } from "./form-rdw6cm16.js";
17
+ } from "./git-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./form-9rqn6x4v.js";
20
+ } from "./git-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service36,
25
+ Error: () => Error5,
26
+ ID: () => ID9,
27
+ Service: () => Service65,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node39,
30
- noopLayer: () => noopLayer2
29
+ node: () => node69,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  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 ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 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 Service36 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service65 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service36, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service65, 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(Service36, 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 Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ 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(Service36, 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 Error3({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error5({ 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(Service36, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID5.make(tree);
99
+ return ID9.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) {
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service65.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node39 = makeLocationNode({
153
- service: Service36,
152
+ var node69 = makeLocationNode({
153
+ service: Service65,
154
154
  layer,
155
- deps: [FSUtil.node, node86, Global.node, node84]
155
+ deps: [FSUtil.node, node87, Global.node, node85]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service36, Service36.of({
157
+ var noopLayer3 = Layer.succeed(Service65, Service65.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error3 && cause.operation === operation)
166
+ if (cause instanceof Error5 && cause.operation === operation)
167
167
  return cause;
168
- return new Error3({
168
+ return new Error5({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID5, Error3, Service36, node39, noopLayer2, exports_snapshot2 };
175
+ export { ID9, Error5, Service65, node69, noopLayer3, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./form-8bajgbmy.js";
4
+ } from "./git-hdkgpk5r.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  External2,
8
- Service84,
9
- node88
10
- } from "./form-wp7ag42z.js";
8
+ Service73,
9
+ node77
10
+ } from "./git-dr294h6q.js";
11
11
  import {
12
12
  create3
13
- } from "./form-rdw6cm16.js";
13
+ } from "./git-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./form-gqtdsdt7.js";
16
+ } from "./git-azwe5p1w.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./form-a22nawqy.js";
20
+ } from "./git-f1860mdz.js";
21
21
  import {
22
22
  __export
23
- } from "./form-9rqn6x4v.js";
23
+ } from "./git-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -37,16 +37,16 @@ __export(exports_integration, {
37
37
  EnvMethod: () => EnvMethod2,
38
38
  Event: () => Event14,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID10,
41
- Info: () => Info18,
40
+ ID: () => ID12,
41
+ Info: () => Info20,
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: () => Service65,
49
- node: () => node67
48
+ Service: () => Service71,
49
+ node: () => node75
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -69,7 +69,7 @@ import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
71
  import { Event as Event14 } from "@opencode/schema/integration";
72
- var ID10 = Integration.ID;
72
+ var ID12 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -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 Info18 = Integration.Info;
81
+ var Info20 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID10,
104
+ integrationID: ID12,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service65 extends Context.Service()("@opencode/Integration") {
110
+ class Service71 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(Service65, Effect.gen(function* () {
116
- const credentials = yield* Service84;
115
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
116
+ const credentials = yield* Service73;
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(Service65, 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) => Info18.make({
217
+ const project = (entry, connections) => Info20.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
301
301
  const persistence = yield* createCredential({
302
302
  integrationID: attempt.integrationID,
303
303
  label: attempt.label,
304
- value: Key4.make({ type: "key", key: exit.value })
304
+ value: Key3.make({ type: "key", key: exit.value })
305
305
  }).pipe(Effect.asVoid, Effect.exit);
306
306
  const settledAt = yield* Clock.currentTimeMillis;
307
307
  const terminal = Exit.isSuccess(persistence) ? {
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service65, 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 Service65.of({
450
+ return Service71.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
469
469
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
470
470
  if (connection.type === "env") {
471
471
  const key = process.env[connection.name];
472
- return key ? Key4.make({ type: "key", key }) : undefined;
472
+ return key ? Key3.make({ type: "key", key }) : undefined;
473
473
  }
474
474
  const credential = yield* credentials.get(connection.id);
475
475
  if (!credential)
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
502
502
  yield* createCredential({
503
503
  integrationID: input.integrationID,
504
504
  label: input.label,
505
- value: Key4.make({
505
+ value: Key3.make({
506
506
  type: "key",
507
507
  key: input.key,
508
508
  ...Object.keys(answer).length > 0 ? { metadata: answer } : {}
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node67 = makeLocationNode({
633
- service: Service65,
632
+ var node75 = makeLocationNode({
633
+ service: Service71,
634
634
  layer,
635
- deps: [node88, node89, AppProcess.node]
635
+ deps: [node77, node89, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service65, node67, exports_integration, Event14 };
638
+ export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node75, exports_integration, Event14 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./form-hgz4x7wa.js";
3
+ } from "./git-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./form-eej6y6fw.js";
6
+ } from "./git-eej6y6fw.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./form-bapqkk7v.js";
10
+ } from "./git-ya38tq17.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./form-y71avatq.js";
13
+ } from "./git-dpkg50ah.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node79
18
- } from "./form-ye8nnmax.js";
17
+ node68
18
+ } from "./git-w6zk8pbt.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./form-faypxj3z.js";
21
+ } from "./git-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./form-9rqn6x4v.js";
24
+ } from "./git-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID13,
31
- Info: () => Info23,
30
+ ID: () => ID8,
31
+ Info: () => Info17,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service76,
33
+ Service: () => Service64,
34
34
  Workspace: () => exports_workspace,
35
35
  configured: () => configured9,
36
- node: () => node78
36
+ node: () => node67
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID13 = Workspace.ID;
44
+ var ID8 = Workspace.ID;
45
45
 
46
- class Info23 extends Schema.Class("Workspace.Info")({
47
- id: ID13,
46
+ class Info17 extends Schema.Class("Workspace.Info")({
47
+ id: ID8,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info23 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID13 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID8 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID13,
59
+ workspaceID: ID8,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service76 extends Context.Service()("@opencode/Workspace") {
65
+ class Service64 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
67
  var configured9 = (options = {}) => makeGlobalNode({
68
- service: Service76,
68
+ service: Service64,
69
69
  layer: layer(options),
70
- deps: [node90, node79]
70
+ deps: [node90, node68]
71
71
  });
72
- var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info23({
89
+ const info = (row, binding) => new Info17({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service76.of({
167
+ return Service64.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID13.create();
169
+ const workspaceID = input.id ?? ID8.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node78 = configured9();
245
+ var node67 = configured9();
246
246
 
247
- export { ID13, Info23, NotFound2, CreateConflict2, Service76, configured9, node78, exports_workspace };
247
+ export { ID8, Info17, NotFound2, CreateConflict2, Service64, configured9, node67, exports_workspace };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./form-bapqkk7v.js";
4
+ } from "./git-ya38tq17.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./form-2710q6r3.js";
8
+ } from "./git-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./form-y71avatq.js";
11
+ } from "./git-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./git-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};