@opencode-ai/core 0.0.0-dev-19100 → 0.0.0-dev-19105

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 (770) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{job-45nbt49a.js → repository-cache-05pstytc.js} +10 -10
  9. package/dist/chunks/{job-0e0xafbb.js → repository-cache-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{job-92gfg2p2.js → repository-cache-0gq9h64r.js} +9 -9
  11. package/dist/chunks/{job-h9bwyndq.js → repository-cache-0n2a45ev.js} +6 -6
  12. package/dist/chunks/{job-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{job-h0yr2gfs.js → repository-cache-0qhg2ys8.js} +9 -9
  14. package/dist/chunks/{job-0s9ayhjt.js → repository-cache-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{job-66d911n1.js → repository-cache-0vekmfs4.js} +10 -10
  16. package/dist/chunks/{job-pydkqggy.js → repository-cache-0w2scgpv.js} +27 -27
  17. package/dist/chunks/{job-5pd5qg07.js → repository-cache-18gap71y.js} +20 -20
  18. package/dist/chunks/{job-1ct4r87x.js → repository-cache-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{job-rgpp5x08.js → repository-cache-1f1wzhgc.js} +4 -4
  20. package/dist/chunks/{job-r1dvxz8z.js → repository-cache-1pxb6me4.js} +20 -20
  21. package/dist/chunks/{job-5faehdjc.js → repository-cache-1wze5k7w.js} +11 -11
  22. package/dist/chunks/{job-21r38tys.js → repository-cache-21r38tys.js} +1 -1
  23. package/dist/chunks/{job-g71sejg1.js → repository-cache-220r9699.js} +7 -7
  24. package/dist/chunks/{job-2402vzrj.js → repository-cache-2402vzrj.js} +1 -1
  25. package/dist/chunks/{job-28pcbh69.js → repository-cache-28pcbh69.js} +1 -1
  26. package/dist/chunks/{job-rbk154pb.js → repository-cache-29ez19kp.js} +11 -11
  27. package/dist/chunks/{job-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{job-2ht70gj7.js → repository-cache-2ht70gj7.js} +1 -1
  29. package/dist/chunks/{job-2jqmte8w.js → repository-cache-2jqmte8w.js} +2 -2
  30. package/dist/chunks/{job-yt5k7jn8.js → repository-cache-2kykh1mj.js} +5 -5
  31. package/dist/chunks/{job-0k72pry1.js → repository-cache-2m4g9ewj.js} +20 -20
  32. package/dist/chunks/{job-zmjynawk.js → repository-cache-2qg97hzz.js} +5 -5
  33. package/dist/chunks/{job-pjsc4zyk.js → repository-cache-32pxk2gf.js} +6 -6
  34. package/dist/chunks/{job-w4600456.js → repository-cache-36mzbjn4.js} +4 -4
  35. package/dist/chunks/{job-v562m3aa.js → repository-cache-394hfvj3.js} +20 -20
  36. package/dist/chunks/{job-wk8nrfcs.js → repository-cache-39xga0q8.js} +13 -13
  37. package/dist/chunks/{job-m5jxsawq.js → repository-cache-3aydfa36.js} +4 -4
  38. package/dist/chunks/{job-c10fbwpz.js → repository-cache-3dfc520q.js} +30 -30
  39. package/dist/chunks/{job-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{job-jbqt9jv7.js → repository-cache-3fs6zsnx.js} +31 -31
  41. package/dist/chunks/{job-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{job-xny325h3.js → repository-cache-3jwx3mex.js} +10 -10
  43. package/dist/chunks/{job-8c44xd3t.js → repository-cache-3q2746ky.js} +37 -37
  44. package/dist/chunks/{job-3qzbfqsy.js → repository-cache-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{job-2amnen0r.js → repository-cache-3s9gm80q.js} +21 -21
  46. package/dist/chunks/{job-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{job-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{job-69ayqp0q.js → repository-cache-3zmf0rfa.js} +6 -6
  49. package/dist/chunks/{job-454k5vzh.js → repository-cache-454k5vzh.js} +1 -1
  50. package/dist/chunks/{job-pzhzvtrg.js → repository-cache-49yh3bfh.js} +46 -46
  51. package/dist/chunks/{job-7npnyrdg.js → repository-cache-4ehv4ads.js} +1 -1
  52. package/dist/chunks/{job-7k7y8275.js → repository-cache-4jjgfsa5.js} +75 -75
  53. package/dist/chunks/{job-q8eh6ga5.js → repository-cache-4pem94xn.js} +7 -7
  54. package/dist/chunks/{job-4r2nyarf.js → repository-cache-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{job-senknpt6.js → repository-cache-546r5bpn.js} +13 -13
  56. package/dist/chunks/{job-78bankzg.js → repository-cache-563f1ftq.js} +22 -22
  57. package/dist/chunks/{job-mappsm8s.js → repository-cache-57j4c7ba.js} +4 -4
  58. package/dist/chunks/{job-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  59. package/dist/chunks/repository-cache-5evhmzwd.js +243 -0
  60. package/dist/chunks/{job-5fmxt4p5.js → repository-cache-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{job-5jvc5tg2.js → repository-cache-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{job-ce9ncmzb.js → repository-cache-5pcq40vq.js} +4 -4
  63. package/dist/chunks/{job-1ymqjxt6.js → repository-cache-5pn8t89y.js} +5 -5
  64. package/dist/chunks/{job-5sg4xzjf.js → repository-cache-5sg4xzjf.js} +1 -1
  65. package/dist/chunks/{job-2k8khapm.js → repository-cache-607tc6va.js} +5 -5
  66. package/dist/chunks/{job-91cfcvzb.js → repository-cache-630pqp47.js} +26 -26
  67. package/dist/chunks/{job-nt3cjhda.js → repository-cache-63mar4rr.js} +22 -22
  68. package/dist/chunks/{job-35mhrkea.js → repository-cache-656jcyx5.js} +32 -32
  69. package/dist/chunks/{job-acsbsfnf.js → repository-cache-66fanshm.js} +13 -13
  70. package/dist/chunks/{job-q2eqbc76.js → repository-cache-6fb8xvtg.js} +18 -18
  71. package/dist/chunks/{job-6tf8tr4v.js → repository-cache-6tf8tr4v.js} +2 -2
  72. package/dist/chunks/{job-y5m8pq0x.js → repository-cache-6v1jh7bb.js} +8 -8
  73. package/dist/chunks/{job-6abnk40k.js → repository-cache-6z5bwd8g.js} +9 -9
  74. package/dist/chunks/{job-711hfp6y.js → repository-cache-711hfp6y.js} +2 -2
  75. package/dist/chunks/{job-5721agwt.js → repository-cache-748kwc47.js} +13 -13
  76. package/dist/chunks/{job-jp40s068.js → repository-cache-74kdhb1m.js} +1 -1
  77. package/dist/chunks/{job-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{job-ecez4qqn.js → repository-cache-7j312h9m.js} +11 -11
  79. package/dist/chunks/{job-vc8jhytw.js → repository-cache-7sfv3p2m.js} +22 -22
  80. package/dist/chunks/{job-gjb9fvjc.js → repository-cache-84fw9q5z.js} +9 -9
  81. package/dist/chunks/{job-mzz8wxd0.js → repository-cache-84j2v9xn.js} +10 -10
  82. package/dist/chunks/{job-tcezcvh9.js → repository-cache-89znhe33.js} +4 -4
  83. package/dist/chunks/{job-2a0xfsw9.js → repository-cache-8a1r08v4.js} +83 -83
  84. package/dist/chunks/repository-cache-8b4ae33c.js +450 -0
  85. package/dist/chunks/{job-5t1zbbry.js → repository-cache-8bx7t8v6.js} +23 -23
  86. package/dist/chunks/{job-7gt73157.js → repository-cache-8gd1dzb2.js} +37 -37
  87. package/dist/chunks/{job-0w09pq9x.js → repository-cache-8m2jrjp3.js} +5 -5
  88. package/dist/chunks/{job-wta9sx1g.js → repository-cache-8x01vjp4.js} +9 -9
  89. package/dist/chunks/{job-93a8yfjt.js → repository-cache-93a8yfjt.js} +2 -2
  90. package/dist/chunks/{job-9gq6sz2t.js → repository-cache-9gq6sz2t.js} +4 -4
  91. package/dist/chunks/{job-q7e6n9zn.js → repository-cache-9qj8fy7h.js} +9 -9
  92. package/dist/chunks/{job-9qm9egsn.js → repository-cache-9qm9egsn.js} +2 -2
  93. package/dist/chunks/{job-4zqg48kz.js → repository-cache-9renkqs2.js} +9 -9
  94. package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
  95. package/dist/chunks/{job-0946avfs.js → repository-cache-9z8gssse.js} +6 -6
  96. package/dist/chunks/{job-a72q18ty.js → repository-cache-a82a9vrx.js} +8 -8
  97. package/dist/chunks/{job-a9zfrvqc.js → repository-cache-a9zfrvqc.js} +2 -2
  98. package/dist/chunks/{job-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  99. package/dist/chunks/{job-qgbsg1ke.js → repository-cache-ab3wbpm9.js} +17 -17
  100. package/dist/chunks/{job-ajtjthsy.js → repository-cache-ajtjthsy.js} +2 -2
  101. package/dist/chunks/{job-ejg3r42z.js → repository-cache-avnqhz03.js} +10 -10
  102. package/dist/chunks/{job-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{job-cgsm4ny8.js → repository-cache-b7x2d8ke.js} +24 -24
  104. package/dist/chunks/{job-b9wsbatv.js → repository-cache-b9wsbatv.js} +1 -1
  105. package/dist/chunks/{job-6ebcx9xt.js → repository-cache-bej7k3ry.js} +16 -16
  106. package/dist/chunks/{job-mw73v21r.js → repository-cache-bnrckxde.js} +11 -11
  107. package/dist/chunks/{job-x0mxa1zg.js → repository-cache-bpnz08mb.js} +2 -2
  108. package/dist/chunks/{job-1xqencwf.js → repository-cache-bsgfd7rs.js} +17 -17
  109. package/dist/chunks/{job-4kkh8pys.js → repository-cache-btx77ktp.js} +10 -10
  110. package/dist/chunks/{job-ze0c3xje.js → repository-cache-bx4kw4b4.js} +8 -8
  111. package/dist/chunks/{job-e999m61r.js → repository-cache-c9j6j8xv.js} +20 -20
  112. package/dist/chunks/{job-5zhf1z2n.js → repository-cache-ccebnpq3.js} +32 -32
  113. package/dist/chunks/{job-gkhj65gm.js → repository-cache-cpj9epp9.js} +24 -24
  114. package/dist/chunks/{job-qz49fwgp.js → repository-cache-cqg8v4c7.js} +6 -6
  115. package/dist/chunks/{job-0amrg371.js → repository-cache-d25s7832.js} +31 -31
  116. package/dist/chunks/{job-hdja7q8b.js → repository-cache-d4pa9p4x.js} +13 -13
  117. package/dist/chunks/{job-d72308c8.js → repository-cache-d72308c8.js} +2 -2
  118. package/dist/chunks/{job-mnhhr8vg.js → repository-cache-da9t65db.js} +23 -23
  119. package/dist/chunks/{job-e5687zp2.js → repository-cache-darvehcf.js} +18 -18
  120. package/dist/chunks/{job-abv4wn07.js → repository-cache-dmjcn6k2.js} +14 -14
  121. package/dist/chunks/{job-8v1r77nv.js → repository-cache-dnbc70qt.js} +41 -41
  122. package/dist/chunks/{job-4ncfc14q.js → repository-cache-drxzgfe8.js} +10 -10
  123. package/dist/chunks/{job-vep9yay1.js → repository-cache-e7gxy7fd.js} +4 -4
  124. package/dist/chunks/{job-mzcfs4x1.js → repository-cache-eb943jbd.js} +7 -7
  125. package/dist/chunks/{job-vepj04m5.js → repository-cache-edbshx5x.js} +6 -6
  126. package/dist/chunks/{job-7vhmdqap.js → repository-cache-efcf8wyf.js} +8 -8
  127. package/dist/chunks/{job-9egx1b5f.js → repository-cache-eq19x63z.js} +1 -1
  128. package/dist/chunks/{job-nv1mfemk.js → repository-cache-ex6jvk62.js} +6 -6
  129. package/dist/chunks/{job-dmfj988w.js → repository-cache-ey40d2qc.js} +30 -30
  130. package/dist/chunks/{job-eexzqnt3.js → repository-cache-f6b02bh3.js} +17 -17
  131. package/dist/chunks/{job-ktk9a21d.js → repository-cache-favyzkqq.js} +2 -2
  132. package/dist/chunks/{job-p81m17bq.js → repository-cache-fczys2jv.js} +15 -15
  133. package/dist/chunks/{job-9vcfn3x3.js → repository-cache-fdsjkpmm.js} +8 -8
  134. package/dist/chunks/{job-jfqtm2ew.js → repository-cache-fdv30zvt.js} +7 -7
  135. package/dist/chunks/{job-9gtkrrg6.js → repository-cache-fk96haxh.js} +11 -11
  136. package/dist/chunks/{job-9d04b11k.js → repository-cache-fnptnz5b.js} +10 -10
  137. package/dist/chunks/{job-w51wkrn4.js → repository-cache-fr45shcv.js} +15 -15
  138. package/dist/chunks/{job-w6tbt1ze.js → repository-cache-fryr0adr.js} +19 -19
  139. package/dist/chunks/{job-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{job-fxypknc8.js → repository-cache-fxypknc8.js} +1 -1
  141. package/dist/chunks/{job-y8b5kh1c.js → repository-cache-fy84afhm.js} +7 -7
  142. package/dist/chunks/{job-rdtt4ycx.js → repository-cache-g43zmwxj.js} +32 -32
  143. package/dist/chunks/{job-t8bmmp56.js → repository-cache-g5s092ab.js} +3 -3
  144. package/dist/chunks/{job-xnq53k63.js → repository-cache-gbkf9b04.js} +4 -4
  145. package/dist/chunks/{job-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{job-2h5svvvd.js → repository-cache-gdgf4bzy.js} +2 -2
  147. package/dist/chunks/{job-ahkm12yq.js → repository-cache-grxhsk7a.js} +8 -8
  148. package/dist/chunks/{job-shfbkbb1.js → repository-cache-h143p8q2.js} +46 -46
  149. package/dist/chunks/{job-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{job-d8e75fze.js → repository-cache-h6x65x9a.js} +20 -20
  151. package/dist/chunks/{job-heyhwy2w.js → repository-cache-heyhwy2w.js} +1 -1
  152. package/dist/chunks/{job-8h9fkwdc.js → repository-cache-hn2rbvre.js} +9 -9
  153. package/dist/chunks/{job-b23jn8gs.js → repository-cache-hqpvkzyp.js} +7 -7
  154. package/dist/chunks/{job-hrvm11jt.js → repository-cache-hrvm11jt.js} +3 -3
  155. package/dist/chunks/{job-kvsjn1dr.js → repository-cache-hw4pv20g.js} +2 -2
  156. package/dist/chunks/{job-1eq7j3rm.js → repository-cache-hzrqpb26.js} +4 -4
  157. package/dist/chunks/{job-dxpa8sj6.js → repository-cache-hzxq4bdr.js} +3 -3
  158. package/dist/chunks/{job-aweyc29q.js → repository-cache-j3pby61b.js} +4 -4
  159. package/dist/chunks/{job-5frspsv4.js → repository-cache-j4gz6jpe.js} +17 -17
  160. package/dist/chunks/{job-z25mwg4t.js → repository-cache-j5enze0m.js} +4 -4
  161. package/dist/chunks/{job-5qd3pb7m.js → repository-cache-j935v87r.js} +2 -2
  162. package/dist/chunks/{job-rvwskcwc.js → repository-cache-jfzxswtj.js} +5 -5
  163. package/dist/chunks/{job-m70sbz6t.js → repository-cache-jj3qxa52.js} +4 -4
  164. package/dist/chunks/{job-x4e1mx07.js → repository-cache-jpeny003.js} +32 -32
  165. package/dist/chunks/{job-jwcy2c2z.js → repository-cache-jwcy2c2z.js} +1 -1
  166. package/dist/chunks/{job-z8msmd3j.js → repository-cache-jyp7qw1b.js} +8 -8
  167. package/dist/chunks/{job-p1bjw1dn.js → repository-cache-k2hym4j5.js} +34 -34
  168. package/dist/chunks/{job-k4bwy1x5.js → repository-cache-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{job-4k0h8fvt.js → repository-cache-k6tca84x.js} +16 -16
  170. package/dist/chunks/{job-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
  171. package/dist/chunks/{job-7fvhnn29.js → repository-cache-kj3dqcxb.js} +13 -13
  172. package/dist/chunks/{job-kk3rr3qh.js → repository-cache-kk3rr3qh.js} +2 -2
  173. package/dist/chunks/{job-y6c4d9ha.js → repository-cache-kk7gmv6r.js} +24 -24
  174. package/dist/chunks/{job-pstzsdxk.js → repository-cache-kwx7x66f.js} +17 -17
  175. package/dist/chunks/{job-eqkrc45d.js → repository-cache-m207hpws.js} +1 -1
  176. package/dist/chunks/repository-cache-m3tecxrk.js +22 -0
  177. package/dist/chunks/{job-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{job-cf3tj770.js → repository-cache-marnn1hp.js} +7 -7
  179. package/dist/chunks/{job-y0gb186e.js → repository-cache-mg7j0d2q.js} +13 -13
  180. package/dist/chunks/{job-j028xdjb.js → repository-cache-mhkvc446.js} +3 -3
  181. package/dist/chunks/{job-45em0vfw.js → repository-cache-mj85qk29.js} +9 -9
  182. package/dist/chunks/{job-ky7swqx3.js → repository-cache-mnvbmvrb.js} +17 -17
  183. package/dist/chunks/{job-v98qgn33.js → repository-cache-mq9r6drf.js} +2 -2
  184. package/dist/chunks/{job-595aw0pg.js → repository-cache-n9q77z0r.js} +33 -33
  185. package/dist/chunks/{job-bq4dtbh2.js → repository-cache-nb22s6w0.js} +25 -25
  186. package/dist/chunks/{job-qhwm6mz4.js → repository-cache-nc48n2wr.js} +8 -8
  187. package/dist/chunks/{job-jvh5jvbh.js → repository-cache-ne45hhcm.js} +45 -45
  188. package/dist/chunks/{job-jdahdk5n.js → repository-cache-npqm4cqn.js} +25 -25
  189. package/dist/chunks/{job-ex99dnp9.js → repository-cache-nrz5c8c1.js} +9 -9
  190. package/dist/chunks/{job-w6hdqetn.js → repository-cache-nwkrf4xa.js} +4 -4
  191. package/dist/chunks/{job-y86695j7.js → repository-cache-nzmvpftv.js} +10 -10
  192. package/dist/chunks/{job-k6mws45t.js → repository-cache-p7cz5004.js} +22 -22
  193. package/dist/chunks/{job-r2qnyvne.js → repository-cache-pafd5yw5.js} +3 -3
  194. package/dist/chunks/{job-t5rzzqww.js → repository-cache-pbxt2nhv.js} +1 -1
  195. package/dist/chunks/{job-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{job-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  197. package/dist/chunks/{job-5c5mxy69.js → repository-cache-ppjk6hn1.js} +32 -32
  198. package/dist/chunks/{job-xxzpesbj.js → repository-cache-pq15x4g3.js} +1 -1
  199. package/dist/chunks/{job-jrh6xn4c.js → repository-cache-pv7qv44g.js} +3 -3
  200. package/dist/chunks/{job-eart6cj3.js → repository-cache-pwxeq6k8.js} +3 -3
  201. package/dist/chunks/{job-fw75d2j2.js → repository-cache-pz6mwber.js} +27 -27
  202. package/dist/chunks/{job-s8g0x53e.js → repository-cache-q2jmrb6y.js} +37 -37
  203. package/dist/chunks/{job-wqdnwa2t.js → repository-cache-q4gqerdf.js} +32 -32
  204. package/dist/chunks/{job-n5b9871t.js → repository-cache-q4xszad5.js} +34 -34
  205. package/dist/chunks/{job-sqrpkr4f.js → repository-cache-qccqznv7.js} +22 -22
  206. package/dist/chunks/{job-f7kbfcfh.js → repository-cache-qkxs7z50.js} +18 -18
  207. package/dist/chunks/{job-sxesk63z.js → repository-cache-qm4x1tv3.js} +17 -17
  208. package/dist/chunks/{job-cf3nzdp7.js → repository-cache-qnhdtvjf.js} +4 -4
  209. package/dist/chunks/{job-s3239btt.js → repository-cache-qrd9jmab.js} +16 -16
  210. package/dist/chunks/{job-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  211. package/dist/chunks/{job-fyk6bpvp.js → repository-cache-r7jfqefa.js} +34 -34
  212. package/dist/chunks/{job-5y476dvm.js → repository-cache-r83xrjyd.js} +14 -14
  213. package/dist/chunks/{job-r8dhm0tv.js → repository-cache-r8dhm0tv.js} +1 -1
  214. package/dist/chunks/{job-76rzm6aj.js → repository-cache-rcwznz6s.js} +18 -18
  215. package/dist/chunks/{job-qma472jp.js → repository-cache-rcy0rrp8.js} +54 -54
  216. package/dist/chunks/{job-6v59swkn.js → repository-cache-remvd9dc.js} +32 -32
  217. package/dist/chunks/{job-snkf112e.js → repository-cache-rgkby237.js} +16 -16
  218. package/dist/chunks/{job-10qv4wd5.js → repository-cache-rmkjmdgc.js} +8 -8
  219. package/dist/chunks/{job-65gnmf57.js → repository-cache-rykn30ym.js} +14 -14
  220. package/dist/chunks/{job-zzqnaw22.js → repository-cache-s6yp8zxq.js} +14 -14
  221. package/dist/chunks/{job-sba4qhjf.js → repository-cache-sba4qhjf.js} +1 -1
  222. package/dist/chunks/{job-1g6w0xr7.js → repository-cache-sgycpjz0.js} +20 -20
  223. package/dist/chunks/{job-djr7m0g5.js → repository-cache-sk3frpwf.js} +19 -19
  224. package/dist/chunks/{job-e4kkw97y.js → repository-cache-sqwe93rn.js} +11 -11
  225. package/dist/chunks/{job-2wqt9t8b.js → repository-cache-ssw3vdak.js} +130 -130
  226. package/dist/chunks/{job-mjzwven8.js → repository-cache-svsveg1x.js} +26 -26
  227. package/dist/chunks/{job-bf0ztrs3.js → repository-cache-sx1n432n.js} +4 -4
  228. package/dist/chunks/{job-6b15sfh8.js → repository-cache-t1s1k0sf.js} +18 -18
  229. package/dist/chunks/{job-j2g5j66x.js → repository-cache-t5ghet4f.js} +11 -11
  230. package/dist/chunks/{job-ft2ykv9q.js → repository-cache-t7qz6q2a.js} +47 -47
  231. package/dist/chunks/{job-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{job-4172h78j.js → repository-cache-tdjcc7fh.js} +4 -4
  233. package/dist/chunks/{job-bcezcar3.js → repository-cache-thfv75je.js} +5 -5
  234. package/dist/chunks/{job-tjykrgmx.js → repository-cache-tjykrgmx.js} +1 -1
  235. package/dist/chunks/{job-nag7dxjf.js → repository-cache-tppvcy65.js} +5 -5
  236. package/dist/chunks/{job-mhjy9geh.js → repository-cache-trwew4qa.js} +4 -4
  237. package/dist/chunks/{job-06ehnqe9.js → repository-cache-v1sap15r.js} +9 -9
  238. package/dist/chunks/{job-s9gykg7q.js → repository-cache-v4bb5bjz.js} +64 -64
  239. package/dist/chunks/{job-bfmmzv3y.js → repository-cache-v69gwcvd.js} +9 -9
  240. package/dist/chunks/{job-62s86swy.js → repository-cache-v807t513.js} +15 -15
  241. package/dist/chunks/{job-fqygmygp.js → repository-cache-vcxmff2j.js} +23 -23
  242. package/dist/chunks/{job-ewewazbk.js → repository-cache-vejcm8dx.js} +9 -9
  243. package/dist/chunks/{job-18832vz4.js → repository-cache-vfj1gh84.js} +19 -19
  244. package/dist/chunks/{job-rw08jxvr.js → repository-cache-vk1xmwae.js} +14 -14
  245. package/dist/chunks/{job-b2y7cwzc.js → repository-cache-vmca7sfr.js} +6 -6
  246. package/dist/chunks/{job-p1h159n9.js → repository-cache-vnh2yqr1.js} +16 -16
  247. package/dist/chunks/repository-cache-w3vb4krt.js +4 -0
  248. package/dist/chunks/{job-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{job-ac41bq3y.js → repository-cache-w9h2daj1.js} +12 -12
  250. package/dist/chunks/{job-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  251. package/dist/chunks/{job-31s1nbqh.js → repository-cache-wjk9qnse.js} +45 -45
  252. package/dist/chunks/{job-65gz9r6e.js → repository-cache-wr76wy0j.js} +24 -24
  253. package/dist/chunks/{job-t71v2ka4.js → repository-cache-wr7ps67x.js} +5 -5
  254. package/dist/chunks/{job-s97py5dz.js → repository-cache-ws0jz6qs.js} +23 -23
  255. package/dist/chunks/{job-cswytkgq.js → repository-cache-wshx1hjc.js} +44 -44
  256. package/dist/chunks/{job-rh50mt9d.js → repository-cache-wvwx3b6d.js} +1 -1
  257. package/dist/chunks/{job-sxj9wb3z.js → repository-cache-wydngvmw.js} +17 -17
  258. package/dist/chunks/{job-2jckzm9c.js → repository-cache-wyetrkgt.js} +8 -8
  259. package/dist/chunks/{job-q0kqjkmf.js → repository-cache-wz5fptb2.js} +27 -27
  260. package/dist/chunks/{job-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{job-74kf6wkb.js → repository-cache-x5yepr7q.js} +7 -7
  262. package/dist/chunks/{job-yr2007ak.js → repository-cache-xb07znzv.js} +35 -35
  263. package/dist/chunks/{job-eqb4av08.js → repository-cache-xbmkhb6r.js} +21 -21
  264. package/dist/chunks/{job-x6kesgn5.js → repository-cache-xmjfe6wn.js} +20 -20
  265. package/dist/chunks/{job-x5yqqxk3.js → repository-cache-xqfsn8ey.js} +9 -9
  266. package/dist/chunks/{job-gmrcnqc8.js → repository-cache-xye0m3vs.js} +22 -22
  267. package/dist/chunks/{job-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{job-z0scd2p4.js → repository-cache-yb77q6ts.js} +9 -9
  269. package/dist/chunks/{job-j36tnve8.js → repository-cache-yesb68we.js} +5 -5
  270. package/dist/chunks/{job-yge63rt3.js → repository-cache-yfcq4873.js} +3 -3
  271. package/dist/chunks/{job-hb548ks1.js → repository-cache-yj47mv1v.js} +11 -11
  272. package/dist/chunks/{job-famd3pv6.js → repository-cache-yzd93mfj.js} +5 -5
  273. package/dist/chunks/{job-xhff6z51.js → repository-cache-z0svzngc.js} +28 -28
  274. package/dist/chunks/{job-z1k01bn4.js → repository-cache-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{job-byjwva70.js → repository-cache-z30gy60d.js} +15 -15
  276. package/dist/chunks/{job-882hrpbs.js → repository-cache-z3x7m4xk.js} +9 -9
  277. package/dist/chunks/{job-d8v5a05d.js → repository-cache-z44ta873.js} +11 -11
  278. package/dist/chunks/{job-r72b02md.js → repository-cache-z59zzgt4.js} +9 -9
  279. package/dist/chunks/{job-29x78va6.js → repository-cache-z63w68vq.js} +6 -6
  280. package/dist/chunks/{job-zmya9kwb.js → repository-cache-zfdtt056.js} +6 -6
  281. package/dist/chunks/{job-pw62wfs5.js → repository-cache-zvnk5jqh.js} +8 -8
  282. package/dist/chunks/{job-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +5 -5
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +116 -116
  291. package/dist/config/plugin/command.js +207 -207
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +125 -125
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +132 -132
  305. package/dist/config/plugin/snapshot.js +112 -112
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +118 -118
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +80 -80
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +68 -68
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +3 -3
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +15 -15
  416. package/dist/filesystem.js +102 -102
  417. package/dist/form.js +80 -80
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +84 -84
  420. package/dist/generate.js +88 -88
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +7 -7
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +5 -5
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +83 -83
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +1 -1
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +81 -81
  451. package/dist/job.js +71 -71
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +83 -83
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +80 -80
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +102 -102
  461. package/dist/mcp/instructions.js +118 -118
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +7 -7
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +6 -6
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +78 -78
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +107 -107
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +84 -84
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +98 -98
  479. package/dist/plugin/command.js +95 -95
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +2 -2
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +114 -114
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +77 -77
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +3 -3
  527. package/dist/plugin/skill.js +131 -131
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +333 -333
  530. package/dist/plugin/system-prompt.js +1 -1
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +6 -6
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +219 -219
  543. package/dist/project/schema.js +4 -4
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +79 -79
  546. package/dist/provider.js +5 -5
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +92 -92
  551. package/dist/reference/instructions.js +82 -82
  552. package/dist/reference.js +86 -86
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +93 -93
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +125 -125
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +211 -211
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +84 -84
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +4 -4
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +3 -3
  592. package/dist/session/session.js +165 -165
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +147 -147
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +207 -207
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +209 -209
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +13 -13
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +99 -99
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +86 -86
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +117 -117
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +114 -114
  625. package/dist/tool/plugin/question.js +95 -95
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +210 -210
  628. package/dist/tool/plugin/skill.js +101 -101
  629. package/dist/tool/plugin/subagent.js +212 -212
  630. package/dist/tool/plugin/webfetch.js +104 -104
  631. package/dist/tool/plugin/websearch.js +104 -104
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +15 -15
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +2 -2
  646. package/dist/v1/config/command.js +5 -5
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +5 -5
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +7 -7
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +80 -80
  664. package/dist/wellknown/plugin.js +72 -72
  665. package/dist/wellknown.js +79 -79
  666. package/dist/workspace/driver.js +3 -3
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +76 -76
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +88 -88
  673. package/package.json +7 -7
  674. package/dist/chunks/job-25sqyrs3.js +0 -22
  675. package/dist/chunks/job-7zk4hah4.js +0 -4
  676. package/dist/chunks/job-c6w4sqp6.js +0 -450
  677. package/dist/chunks/job-dxj72tfx.js +0 -18
  678. package/dist/chunks/job-hrk0pm50.js +0 -243
  679. /package/dist/chunks/{job-0fabt78z.js → repository-cache-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{job-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{job-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{job-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{job-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{job-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{job-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{job-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{job-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{job-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{job-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  690. /package/dist/chunks/{job-3t738kvx.js → repository-cache-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{job-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{job-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{job-41nvscxy.js → repository-cache-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{job-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{job-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{job-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{job-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  698. /package/dist/chunks/{job-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{job-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  700. /package/dist/chunks/{job-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  701. /package/dist/chunks/{job-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  702. /package/dist/chunks/{job-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  703. /package/dist/chunks/{job-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  704. /package/dist/chunks/{job-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  705. /package/dist/chunks/{job-982e01ww.js → repository-cache-982e01ww.js} +0 -0
  706. /package/dist/chunks/{job-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  707. /package/dist/chunks/{job-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  708. /package/dist/chunks/{job-a1tpkmh4.js → repository-cache-a1tpkmh4.js} +0 -0
  709. /package/dist/chunks/{job-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  710. /package/dist/chunks/{job-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  711. /package/dist/chunks/{job-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  712. /package/dist/chunks/{job-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  713. /package/dist/chunks/{job-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  714. /package/dist/chunks/{job-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  715. /package/dist/chunks/{job-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  716. /package/dist/chunks/{job-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  717. /package/dist/chunks/{job-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  718. /package/dist/chunks/{job-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  719. /package/dist/chunks/{job-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  720. /package/dist/chunks/{job-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  721. /package/dist/chunks/{job-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  722. /package/dist/chunks/{job-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  723. /package/dist/chunks/{job-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  724. /package/dist/chunks/{job-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  725. /package/dist/chunks/{job-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  726. /package/dist/chunks/{job-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  727. /package/dist/chunks/{job-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  728. /package/dist/chunks/{job-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  729. /package/dist/chunks/{job-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  730. /package/dist/chunks/{job-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  731. /package/dist/chunks/{job-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  732. /package/dist/chunks/{job-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  733. /package/dist/chunks/{job-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  734. /package/dist/chunks/{job-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  735. /package/dist/chunks/{job-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  736. /package/dist/chunks/{job-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  737. /package/dist/chunks/{job-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  738. /package/dist/chunks/{job-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{job-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{job-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{job-mntxs535.js → repository-cache-mntxs535.js} +0 -0
  742. /package/dist/chunks/{job-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{job-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{job-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{job-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{job-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{job-p8qxwesx.js → repository-cache-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{job-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{job-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{job-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{job-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{job-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{job-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{job-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{job-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{job-se0s1eqw.js → repository-cache-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{job-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{job-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{job-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{job-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{job-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{job-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{job-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{job-x1b8g1yb.js → repository-cache-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{job-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  766. /package/dist/chunks/{job-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{job-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{job-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{job-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{job-zbjnn3ac.js → repository-cache-zbjnn3ac.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./job-1eq7j3rm.js";
4
+ } from "./repository-cache-hzrqpb26.js";
5
5
  import {
6
6
  create3
7
- } from "./job-kg06axw8.js";
7
+ } from "./repository-cache-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./job-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event12,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info11,
18
+ Info: () => Info19,
19
19
  NotFoundError: () => NotFoundError6,
20
- Service: () => Service49,
21
- layer: () => layer18,
22
- node: () => node51
20
+ Service: () => Service48,
21
+ layer: () => layer20,
22
+ node: () => node50
23
23
  });
24
24
  import { Command } from "@opencode-ai/schema/command";
25
25
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event12 } from "@opencode-ai/schema/command";
28
- var Info11 = Command.Info;
27
+ import { Event as Event10 } from "@opencode-ai/schema/command";
28
+ var Info19 = Command.Info;
29
29
 
30
30
  class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service49 extends Context.Service()("@opencode/Command") {
42
+ class Service48 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service49, Effect.gen(function* () {
44
+ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info11.make({
54
+ const info = (definition) => Info19.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service49.of({
58
+ return Service48.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,9 +71,9 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node51 = makeLocationNode({
75
- service: Service49,
76
- layer: layer18,
74
+ var node50 = makeLocationNode({
75
+ service: Service48,
76
+ layer: layer20,
77
77
  deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info11, NotFoundError6, ExecutionError2, Service49, layer18, node51, exports_command4, Event12 };
89
+ export { Info19, NotFoundError6, ExecutionError2, Service48, layer20, node50, exports_command5, Event10 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./job-jrh6xn4c.js";
3
+ } from "./repository-cache-pv7qv44g.js";
4
4
  import {
5
5
  Service79
6
- } from "./job-1eq7j3rm.js";
6
+ } from "./repository-cache-hzrqpb26.js";
7
7
  import {
8
- Service38
9
- } from "./job-nv1mfemk.js";
8
+ Service34
9
+ } from "./repository-cache-ex6jvk62.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./job-p8qxwesx.js";
12
+ } from "./repository-cache-p8qxwesx.js";
13
13
  import {
14
- ID5,
15
- Service42
16
- } from "./job-0amrg371.js";
14
+ ID6,
15
+ Service41
16
+ } from "./repository-cache-d25s7832.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./job-mntxs535.js";
19
+ } from "./repository-cache-mntxs535.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./job-982e01ww.js";
22
+ } from "./repository-cache-982e01ww.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./job-x5yqqxk3.js";
25
+ } from "./repository-cache-xqfsn8ey.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./job-hrvm11jt.js";
28
+ } from "./repository-cache-hrvm11jt.js";
29
29
  import {
30
30
  __export
31
- } from "./job-9rqn6x4v.js";
31
+ } from "./repository-cache-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service38;
45
+ const instances = yield* Service34;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service42;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service41;
50
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service38;
77
+ const instances = yield* Service34;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service42;
80
+ const snapshot = yield* Service41;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID6.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./job-982e01ww.js";
3
+ } from "./repository-cache-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./job-v98qgn33.js";
6
+ } from "./repository-cache-mq9r6drf.js";
7
7
  import {
8
8
  __export
9
- } from "./job-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error = {};
13
- __export(exports_error, {
12
+ var exports_error2 = {};
13
+ __export(exports_error2, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -22,9 +22,9 @@ __export(exports_error, {
22
22
  MessageNotAssistantError: () => MessageNotAssistantError2,
23
23
  MessageNotFoundError: () => MessageNotFoundError2,
24
24
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
25
- NotFoundError: () => NotFoundError5,
25
+ NotFoundError: () => NotFoundError8,
26
26
  PromptConflictError: () => PromptConflictError2,
27
- SessionErrors: () => exports_error,
27
+ SessionErrors: () => exports_error2,
28
28
  SkillNotFoundError: () => SkillNotFoundError2,
29
29
  StepFailedError: () => StepFailedError2,
30
30
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
35
35
  import { Skill } from "@opencode-ai/schema/skill";
36
36
  import { SessionError } from "@opencode-ai/schema/session-error";
37
37
 
38
- class NotFoundError5 extends Schema.TaggedError()("Session.NotFoundError", {
38
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
39
39
  sessionID: SessionSchema2.ID
40
40
  }) {
41
41
  }
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
144
144
  }) {
145
145
  }
146
146
 
147
- export { NotFoundError5, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
147
+ export { NotFoundError8, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./job-1eq7j3rm.js";
4
+ } from "./repository-cache-hzrqpb26.js";
5
5
  import {
6
6
  environment2
7
- } from "./job-w6tbt1ze.js";
7
+ } from "./repository-cache-fryr0adr.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./job-sk3qaz4a.js";
10
+ } from "./repository-cache-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./job-9rqn6x4v.js";
13
+ } from "./repository-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError9,
20
- Options: () => Options9,
19
+ NotFoundError: () => NotFoundError2,
20
+ Options: () => Options2,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service71,
22
+ Service: () => Service17,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured10,
25
- layer: () => layer25,
26
- node: () => node75
24
+ configured: () => configured2,
25
+ layer: () => layer9,
26
+ node: () => node20
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode-ai/schema/pty";
35
35
  import { Global } from "@opencode-ai/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
- var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service71 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service17 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError9({ ptyID: id });
75
+ return yield* new NotFoundError2({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service71.of({
242
+ return Service17.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer25 = makeLayer();
259
- var configured10 = (options) => makeGlobalNode({
260
- service: Service71,
261
- layer: options === undefined ? layer25 : makeLayer(options),
258
+ var layer9 = makeLayer();
259
+ var configured2 = (options) => makeGlobalNode({
260
+ service: Service17,
261
+ layer: options === undefined ? layer9 : makeLayer(options),
262
262
  deps: [node83, Global.node]
263
263
  });
264
- var node75 = configured10();
264
+ var node20 = configured2();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options9, UnavailableError3, NotFoundError9, Service71, layer25, configured10, node75, exports_persistent_pty, Handoff2 };
304
+ export { Options2, UnavailableError3, NotFoundError2, Service17, layer9, configured2, node20, exports_persistent_pty, Handoff2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  ascending2
3
- } from "./job-k4bwy1x5.js";
3
+ } from "./repository-cache-k4bwy1x5.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./job-4ncfc14q.js";
5
+ Service69,
6
+ node72
7
+ } from "./repository-cache-drxzgfe8.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./job-982e01ww.js";
10
+ } from "./repository-cache-982e01ww.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./job-v98qgn33.js";
13
+ } from "./repository-cache-mq9r6drf.js";
14
14
  import {
15
15
  __export
16
- } from "./job-9rqn6x4v.js";
16
+ } from "./repository-cache-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
@@ -78,7 +78,7 @@ function decrementSession(input, sessionID) {
78
78
  return next;
79
79
  }
80
80
  var make19 = Effect.gen(function* () {
81
- const kv = yield* Service78;
81
+ const kv = yield* Service69;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -320,6 +320,6 @@ var make19 = Effect.gen(function* () {
320
320
  });
321
321
  });
322
322
  var layer = Layer.effect(Service68, make19);
323
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node82] });
323
+ var node71 = makeGlobalNode({ service: Service68, layer, deps: [node72] });
324
324
 
325
325
  export { Service68, make19, node71, exports_job };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./job-ft2ykv9q.js";
3
+ } from "./repository-cache-t7qz6q2a.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin39
12
+ Plugin: () => Plugin12
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode-ai/ai";
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin39 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin39, exports_plan };
109
+ export { Plugin12, exports_plan };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./job-rh50mt9d.js";
5
+ } from "./repository-cache-wvwx3b6d.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./job-t8bmmp56.js";
11
+ } from "./repository-cache-g5s092ab.js";
12
12
  import {
13
13
  __export
14
- } from "./job-9rqn6x4v.js";
14
+ } from "./repository-cache-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service65
3
- } from "./job-31s1nbqh.js";
2
+ Service44
3
+ } from "./repository-cache-wjk9qnse.js";
4
4
  import {
5
- Service11
6
- } from "./job-djr7m0g5.js";
5
+ Service8
6
+ } from "./repository-cache-sk3frpwf.js";
7
7
  import {
8
8
  observe2
9
- } from "./job-qsdy395h.js";
9
+ } from "./repository-cache-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./job-9rqn6x4v.js";
12
+ } from "./repository-cache-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin28
18
+ Plugin: () => Plugin22
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin28 = define({
22
+ var Plugin22 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
26
- const compaction = yield* Service11;
25
+ const config = yield* Service44;
26
+ const compaction = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin28 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin28, exports_compaction };
42
+ export { Plugin22, exports_compaction };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./job-p8qxwesx.js";
3
+ } from "./repository-cache-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info18,
12
+ Info: () => Info15,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info18 = Schema.Struct({
64
+ var Info15 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info18 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info18, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info15, exports_provider2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID13,
2
+ ID14,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./job-zmya9kwb.js";
5
+ } from "./repository-cache-zfdtt056.js";
6
6
  import {
7
- ID12
8
- } from "./job-y86695j7.js";
7
+ ID13
8
+ } from "./repository-cache-nzmvpftv.js";
9
9
  import {
10
10
  Service79
11
- } from "./job-1eq7j3rm.js";
11
+ } from "./repository-cache-hzrqpb26.js";
12
12
  import {
13
13
  OAuth3,
14
- Event18
15
- } from "./job-q0kqjkmf.js";
14
+ Event17
15
+ } from "./repository-cache-wz5fptb2.js";
16
16
  import {
17
17
  ID10,
18
18
  MethodID2
19
- } from "./job-78bankzg.js";
19
+ } from "./repository-cache-563f1ftq.js";
20
20
  import {
21
- Service53
22
- } from "./job-mnhhr8vg.js";
21
+ Service60
22
+ } from "./repository-cache-da9t65db.js";
23
23
  import {
24
- get3
25
- } from "./job-sxesk63z.js";
24
+ get2
25
+ } from "./repository-cache-qm4x1tv3.js";
26
26
  import {
27
27
  useragent2
28
- } from "./job-rvwskcwc.js";
28
+ } from "./repository-cache-jfzxswtj.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service53;
158
+ const catalog = yield* Service60;
159
159
  const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID13.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID13.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID14.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID14.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get3(loaded.baseURL ?? baseURL(), {
176
+ try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID13.githubCopilot);
190
+ const item = evt.provider.get(ID14.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID12.make(id)))
195
+ if (!loaded.models.has(ID13.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID12.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID12.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID13.githubCopilot)
220
+ if (evt.model.providerID !== ID14.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID13.githubCopilot)
229
+ if (evt.model.providerID !== ID14.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
235
235
  evt.headers["X-Interaction-Type"] = interaction;
236
236
  if (interaction !== "conversation-agent")
237
237
  evt.headers["x-initiator"] = "agent";
238
- }), { providerID: ID13.githubCopilot });
238
+ }), { providerID: ID14.githubCopilot });
239
239
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
240
- if (evt.model.providerID !== ID13.githubCopilot)
240
+ if (evt.model.providerID !== ID14.githubCopilot)
241
241
  return;
242
242
  const token = evt.request.headers.get("x-api-key");
243
243
  if (!token)
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
245
245
  const text = yield* Effect.promise(() => evt.request.clone().text());
246
246
  const body = Option.getOrUndefined(decodeBody(text));
247
247
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
248
- }), { providerID: ID13.githubCopilot });
248
+ }), { providerID: ID14.githubCopilot });
249
249
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
250
- if (evt.model.providerID !== ID13.githubCopilot)
250
+ if (evt.model.providerID !== ID14.githubCopilot)
251
251
  return;
252
252
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
253
253
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);