@opencode/core 0.0.0-dev-21668 → 0.0.0-dev-21670

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{snapshot-aj7mw0zk.js → reference-034tev2y.js} +2 -2
  8. package/dist/chunks/reference-07cvc9wn.js +257 -0
  9. package/dist/chunks/{snapshot-htnzn55t.js → reference-0aabztd5.js} +29 -29
  10. package/dist/chunks/{snapshot-6jjcp2t3.js → reference-0dnn63dc.js} +19 -19
  11. package/dist/chunks/{snapshot-btnzg8nv.js → reference-0f0dnca3.js} +16 -16
  12. package/dist/chunks/{snapshot-desdfmbz.js → reference-0j8er3xh.js} +17 -17
  13. package/dist/chunks/{snapshot-gz2sw2ma.js → reference-0jz5fbss.js} +16 -16
  14. package/dist/chunks/{snapshot-fgjt3jgn.js → reference-0m83bapc.js} +5 -5
  15. package/dist/chunks/{snapshot-9fgzczsj.js → reference-0ndnbbn0.js} +7 -7
  16. package/dist/chunks/{snapshot-mesf2czn.js → reference-0r8en8zz.js} +7 -7
  17. package/dist/chunks/{snapshot-3fgynn9z.js → reference-108gkaby.js} +13 -13
  18. package/dist/chunks/{snapshot-4yjsd0st.js → reference-14vqzes2.js} +18 -18
  19. package/dist/chunks/{snapshot-32d3hzha.js → reference-1711wf45.js} +12 -12
  20. package/dist/chunks/{snapshot-27w5k9zf.js → reference-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{snapshot-a9x398e2.js → reference-1hyje1p9.js} +25 -25
  22. package/dist/chunks/{snapshot-mtpeagzc.js → reference-1njtx4es.js} +3 -3
  23. package/dist/chunks/{snapshot-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{snapshot-pqb8eb2f.js → reference-1yzxt8mn.js} +8 -8
  25. package/dist/chunks/{snapshot-nds6ga7z.js → reference-233jjx4c.js} +17 -17
  26. package/dist/chunks/{snapshot-nskhb6ad.js → reference-27va4m0r.js} +32 -32
  27. package/dist/chunks/{snapshot-x341zyq1.js → reference-297fdtb1.js} +11 -11
  28. package/dist/chunks/{snapshot-x4c5ct84.js → reference-2f1cs0mb.js} +2 -2
  29. package/dist/chunks/{snapshot-bpvjn4b4.js → reference-2fem2qqn.js} +5 -5
  30. package/dist/chunks/{snapshot-n911m9zj.js → reference-2fg4fkaj.js} +20 -20
  31. package/dist/chunks/{snapshot-2xayqnkb.js → reference-2hpggya2.js} +1 -1
  32. package/dist/chunks/{snapshot-t211gxpv.js → reference-2jq4ff38.js} +4 -4
  33. package/dist/chunks/{snapshot-py70aet5.js → reference-2n0ty02m.js} +43 -43
  34. package/dist/chunks/{snapshot-xwbd5bvh.js → reference-2nzqa2tq.js} +28 -28
  35. package/dist/chunks/{snapshot-c2wjegh6.js → reference-2rd3d0hp.js} +11 -11
  36. package/dist/chunks/{snapshot-rj8x90ng.js → reference-2t8maz45.js} +28 -28
  37. package/dist/chunks/{snapshot-jt7rgdp8.js → reference-2ww2ff7e.js} +21 -21
  38. package/dist/chunks/{snapshot-2z1j29yd.js → reference-2z1j29yd.js} +1 -1
  39. package/dist/chunks/{snapshot-xnh17wmv.js → reference-307hjk8t.js} +13 -13
  40. package/dist/chunks/{snapshot-bgg6fpfq.js → reference-31wms35x.js} +8 -8
  41. package/dist/chunks/{snapshot-5z9pfwbq.js → reference-39r9rzhd.js} +4 -4
  42. package/dist/chunks/{snapshot-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{snapshot-m9vdqn0q.js → reference-3k8j9mz0.js} +34 -34
  44. package/dist/chunks/{snapshot-ry63fkbp.js → reference-3kfn2j5q.js} +6 -6
  45. package/dist/chunks/{snapshot-chxh2xv4.js → reference-3wn85t44.js} +47 -47
  46. package/dist/chunks/{snapshot-fepyh2km.js → reference-3x8kzqev.js} +19 -19
  47. package/dist/chunks/{snapshot-ks069zf8.js → reference-4arsphjq.js} +52 -52
  48. package/dist/chunks/{snapshot-3maxfv7x.js → reference-4ezxaq78.js} +17 -17
  49. package/dist/chunks/{snapshot-c2jwcn11.js → reference-4kfy9c2m.js} +34 -34
  50. package/dist/chunks/{snapshot-a82ggzqd.js → reference-4shcznxh.js} +16 -16
  51. package/dist/chunks/{snapshot-e9h2djdw.js → reference-4svb63hy.js} +32 -32
  52. package/dist/chunks/{snapshot-4v008n1t.js → reference-4v008n1t.js} +1 -1
  53. package/dist/chunks/{snapshot-4xvmh7wp.js → reference-4xvmh7wp.js} +3 -3
  54. package/dist/chunks/{snapshot-gzjdybps.js → reference-54gv86a9.js} +5 -5
  55. package/dist/chunks/{snapshot-zzzmj3mf.js → reference-5djjexeq.js} +1 -1
  56. package/dist/chunks/{snapshot-w2eysc6j.js → reference-5enarcya.js} +6 -6
  57. package/dist/chunks/{snapshot-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{snapshot-d092qe14.js → reference-5r9a3vh3.js} +28 -28
  59. package/dist/chunks/{snapshot-p7vhpwh8.js → reference-5zrxpy3q.js} +5 -5
  60. package/dist/chunks/{snapshot-20nwq5j7.js → reference-61g7nd3s.js} +9 -9
  61. package/dist/chunks/{snapshot-xvtsgqh3.js → reference-69w1p6yk.js} +24 -24
  62. package/dist/chunks/{snapshot-tfkshzr6.js → reference-6ayjbyaf.js} +3 -3
  63. package/dist/chunks/{snapshot-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{snapshot-b2gqx2s6.js → reference-6gym6y7m.js} +29 -29
  65. package/dist/chunks/{snapshot-qz83k29f.js → reference-6nnfvszr.js} +21 -21
  66. package/dist/chunks/{snapshot-7xnhddsz.js → reference-6pe7vn7p.js} +14 -14
  67. package/dist/chunks/{snapshot-bjvnb1jb.js → reference-6perv44c.js} +8 -8
  68. package/dist/chunks/{snapshot-6pjqjmy2.js → reference-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{snapshot-p7qc0ane.js → reference-6sw2gn8c.js} +43 -43
  70. package/dist/chunks/{snapshot-w8qtt4th.js → reference-76cb1hcw.js} +4 -4
  71. package/dist/chunks/{snapshot-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{snapshot-expey290.js → reference-7bnde8q6.js} +16 -16
  73. package/dist/chunks/{snapshot-yk0esd9v.js → reference-7vw4nys1.js} +4 -4
  74. package/dist/chunks/{snapshot-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{snapshot-n35z2g72.js → reference-7yj30c8s.js} +17 -17
  76. package/dist/chunks/{snapshot-8yhhbcjk.js → reference-867cczcy.js} +43 -43
  77. package/dist/chunks/{snapshot-4t140x50.js → reference-8cj6s5zj.js} +28 -28
  78. package/dist/chunks/{snapshot-66cfxs70.js → reference-8hky2e3x.js} +23 -23
  79. package/dist/chunks/{snapshot-k5xhafzb.js → reference-8k73trgp.js} +24 -24
  80. package/dist/chunks/{snapshot-xaxjrmdm.js → reference-8p8nexw9.js} +15 -15
  81. package/dist/chunks/{snapshot-v753rv77.js → reference-8taff695.js} +16 -16
  82. package/dist/chunks/{snapshot-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{snapshot-91rj84md.js → reference-91rj84md.js} +1 -1
  84. package/dist/chunks/{snapshot-pacbbjc0.js → reference-953xbrr3.js} +5 -5
  85. package/dist/chunks/{snapshot-sz1wsyga.js → reference-954vrfjz.js} +11 -11
  86. package/dist/chunks/{snapshot-dvj9ct8m.js → reference-998yhzzq.js} +3 -3
  87. package/dist/chunks/{snapshot-5m4gtxdr.js → reference-9fq5cvaf.js} +35 -35
  88. package/dist/chunks/{snapshot-rey6ew65.js → reference-9szkry8c.js} +5 -5
  89. package/dist/chunks/{snapshot-w9a9fs8e.js → reference-9v02bs0k.js} +10 -10
  90. package/dist/chunks/{snapshot-pv9y8cyn.js → reference-9vyw5bnv.js} +19 -19
  91. package/dist/chunks/{snapshot-c1gjp1wv.js → reference-9y617mgq.js} +9 -9
  92. package/dist/chunks/{snapshot-5awenbjt.js → reference-9yyv8yy4.js} +18 -18
  93. package/dist/chunks/reference-a610t88q.js +18 -0
  94. package/dist/chunks/{snapshot-hbw75saf.js → reference-a6p3qmva.js} +86 -86
  95. package/dist/chunks/{snapshot-9437wt4d.js → reference-acdmrrd1.js} +8 -8
  96. package/dist/chunks/{snapshot-a2c90ztv.js → reference-armekrg6.js} +17 -17
  97. package/dist/chunks/{snapshot-sh0vvbd0.js → reference-avb4hb8j.js} +27 -27
  98. package/dist/chunks/{snapshot-f95ahvj8.js → reference-aygxzdnw.js} +30 -30
  99. package/dist/chunks/{snapshot-3cbjf1nt.js → reference-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{snapshot-t8549y5a.js → reference-azarmemk.js} +45 -45
  101. package/dist/chunks/{snapshot-b0mv4wxm.js → reference-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{snapshot-1psv69az.js → reference-b2sv8bpc.js} +5 -5
  103. package/dist/chunks/{snapshot-b6vsg801.js → reference-b6vsg801.js} +2 -2
  104. package/dist/chunks/{snapshot-5z80vped.js → reference-bceb57s2.js} +16 -16
  105. package/dist/chunks/{snapshot-xctkx9ev.js → reference-bhkt8v4f.js} +22 -22
  106. package/dist/chunks/{snapshot-ar2j3j0f.js → reference-bjhzkqyk.js} +4 -4
  107. package/dist/chunks/{snapshot-26qqh6c2.js → reference-bqwdyg2t.js} +9 -9
  108. package/dist/chunks/{snapshot-a8rbahn6.js → reference-c3yk3agv.js} +47 -47
  109. package/dist/chunks/{snapshot-1z8e55mc.js → reference-c7s7jw20.js} +30 -30
  110. package/dist/chunks/{snapshot-7zb10xad.js → reference-c8819f4b.js} +23 -23
  111. package/dist/chunks/{snapshot-c9t2ty9q.js → reference-c9t2ty9q.js} +1 -1
  112. package/dist/chunks/{snapshot-p3p972wa.js → reference-ce5fknq2.js} +5 -5
  113. package/dist/chunks/{snapshot-4ms7e40b.js → reference-cmb5kt6z.js} +30 -30
  114. package/dist/chunks/{snapshot-mfw0x7a6.js → reference-cmj7s95h.js} +66 -66
  115. package/dist/chunks/{snapshot-p0x3txpd.js → reference-cqcd4edx.js} +13 -13
  116. package/dist/chunks/{snapshot-173t91w5.js → reference-d2dx6a7h.js} +4 -4
  117. package/dist/chunks/{snapshot-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{snapshot-e8pm465n.js → reference-d8p3t516.js} +4 -4
  119. package/dist/chunks/{snapshot-mzyv1r8q.js → reference-d8qd4w10.js} +8 -8
  120. package/dist/chunks/{snapshot-c1yxjx8d.js → reference-d8t680bk.js} +4 -4
  121. package/dist/chunks/{snapshot-twkwk1tg.js → reference-dcqpnb0y.js} +7 -7
  122. package/dist/chunks/{snapshot-dzn8tf7s.js → reference-dewmw27y.js} +4 -4
  123. package/dist/chunks/{snapshot-pcspdvfz.js → reference-dgc6zgst.js} +5 -5
  124. package/dist/chunks/{snapshot-033a0jkt.js → reference-dh62xe4r.js} +3 -3
  125. package/dist/chunks/{snapshot-c3cfh5w6.js → reference-dqgvvwe0.js} +9 -9
  126. package/dist/chunks/{snapshot-t8tbgrvw.js → reference-dt1dewz5.js} +12 -12
  127. package/dist/chunks/{snapshot-gtggn4m8.js → reference-dy4pv8et.js} +13 -13
  128. package/dist/chunks/{snapshot-e834z07m.js → reference-e834z07m.js} +1 -1
  129. package/dist/chunks/{snapshot-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{snapshot-kra5gpw7.js → reference-eq9cyptm.js} +42 -42
  131. package/dist/chunks/{snapshot-m37sd98t.js → reference-eqmd2tfz.js} +7 -7
  132. package/dist/chunks/{snapshot-4pk1s674.js → reference-f67dkjq4.js} +21 -21
  133. package/dist/chunks/{snapshot-9sznrwc9.js → reference-f8vd2a9b.js} +11 -11
  134. package/dist/chunks/{snapshot-tpez38m9.js → reference-f9sbv1za.js} +45 -45
  135. package/dist/chunks/{snapshot-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
  136. package/dist/chunks/reference-ffm6r77t.js +26 -0
  137. package/dist/chunks/{snapshot-z2f4zgv2.js → reference-fgak986r.js} +28 -28
  138. package/dist/chunks/{snapshot-snaj6n18.js → reference-g04rf8w6.js} +5 -5
  139. package/dist/chunks/{snapshot-g5h9c0rr.js → reference-g5h9c0rr.js} +2 -2
  140. package/dist/chunks/{snapshot-jh96v5at.js → reference-g5j8m9ve.js} +19 -19
  141. package/dist/chunks/{snapshot-8tsxffec.js → reference-g9chkspz.js} +15 -15
  142. package/dist/chunks/{snapshot-esvf2qf6.js → reference-gbmf93tw.js} +11 -11
  143. package/dist/chunks/{snapshot-610sztem.js → reference-gf5n06h2.js} +14 -14
  144. package/dist/chunks/{snapshot-kmcztane.js → reference-gfpxj5hf.js} +8 -8
  145. package/dist/chunks/{snapshot-z45bvydx.js → reference-ghb7106v.js} +30 -30
  146. package/dist/chunks/{snapshot-7pr1y472.js → reference-gxjyhf1s.js} +50 -50
  147. package/dist/chunks/{snapshot-4stkd5r6.js → reference-h5z6qxf3.js} +18 -18
  148. package/dist/chunks/{snapshot-0cxd67sz.js → reference-hjzm8qgk.js} +36 -36
  149. package/dist/chunks/{snapshot-5vbppz2s.js → reference-hxs3jcbh.js} +3 -3
  150. package/dist/chunks/{snapshot-j113cymg.js → reference-j113cymg.js} +1 -1
  151. package/dist/chunks/{snapshot-h973wt88.js → reference-j1kmhe03.js} +36 -32
  152. package/dist/chunks/{snapshot-8x9y3wj0.js → reference-jcqm84fr.js} +9 -9
  153. package/dist/chunks/{snapshot-qn60nzrt.js → reference-jh20twgm.js} +7 -7
  154. package/dist/chunks/{snapshot-y2tacs4v.js → reference-jneg3k74.js} +8 -8
  155. package/dist/chunks/{snapshot-zmh6aqr2.js → reference-jq4rj68g.js} +11 -11
  156. package/dist/chunks/{snapshot-fp9qajhf.js → reference-jvdzp9ms.js} +4 -4
  157. package/dist/chunks/{snapshot-hj9jsy39.js → reference-jx68n2v7.js} +4 -4
  158. package/dist/chunks/{snapshot-h1xsva0t.js → reference-k3562rys.js} +10 -10
  159. package/dist/chunks/{snapshot-k814nvkf.js → reference-k814nvkf.js} +1 -1
  160. package/dist/chunks/{snapshot-7q6s22z8.js → reference-kcty1ace.js} +15 -15
  161. package/dist/chunks/{snapshot-dvnjm1h8.js → reference-kg4y9gc0.js} +33 -33
  162. package/dist/chunks/{snapshot-fp00nt0f.js → reference-kkntnx2q.js} +5 -5
  163. package/dist/chunks/{snapshot-zysf9qxs.js → reference-kndrgbcf.js} +8 -8
  164. package/dist/chunks/{snapshot-0x28tm96.js → reference-kw46yrg2.js} +27 -27
  165. package/dist/chunks/{snapshot-m1714858.js → reference-m1714858.js} +1 -1
  166. package/dist/chunks/{snapshot-rd6zdj6e.js → reference-m8vnyr1s.js} +9 -9
  167. package/dist/chunks/{snapshot-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  168. package/dist/chunks/{snapshot-bwcj1zz2.js → reference-ma8ws105.js} +15 -15
  169. package/dist/chunks/{snapshot-maspj1v3.js → reference-maspj1v3.js} +1 -1
  170. package/dist/chunks/{snapshot-32jffxcm.js → reference-mg6b5d3z.js} +13 -13
  171. package/dist/chunks/{snapshot-752jpkzc.js → reference-mpzxhqjk.js} +20 -20
  172. package/dist/chunks/{snapshot-n0p0277s.js → reference-n0p0277s.js} +1 -1
  173. package/dist/chunks/{snapshot-yywmapa3.js → reference-n3axp0yc.js} +14 -14
  174. package/dist/chunks/{snapshot-x4rf9yj3.js → reference-n49wygsy.js} +11 -11
  175. package/dist/chunks/{snapshot-fvvr5s83.js → reference-n4fp6f8d.js} +6 -6
  176. package/dist/chunks/{snapshot-65xpdfa7.js → reference-n61v90z4.js} +34 -34
  177. package/dist/chunks/{snapshot-9h4y1sr0.js → reference-n8d8y6qz.js} +10 -10
  178. package/dist/chunks/{snapshot-bt6ghjgk.js → reference-n9e2wk5v.js} +11 -11
  179. package/dist/chunks/{snapshot-nah043kf.js → reference-nah043kf.js} +1 -1
  180. package/dist/chunks/{snapshot-tf2ec46p.js → reference-nazbq7w0.js} +14 -14
  181. package/dist/chunks/{snapshot-fr70jeat.js → reference-ncg31dbj.js} +14 -14
  182. package/dist/chunks/{snapshot-tpzqzpez.js → reference-ngd7ekm8.js} +4 -4
  183. package/dist/chunks/{snapshot-6fc2jj72.js → reference-nsgvs482.js} +11 -11
  184. package/dist/chunks/{snapshot-p015t6z3.js → reference-p015t6z3.js} +2 -2
  185. package/dist/chunks/{snapshot-fyqk7716.js → reference-p330xe03.js} +14 -14
  186. package/dist/chunks/{snapshot-9y2jjkve.js → reference-p6q4m3qk.js} +46 -46
  187. package/dist/chunks/{snapshot-et8k1vr1.js → reference-p8x9nhrm.js} +9 -9
  188. package/dist/chunks/{snapshot-7xq4z8xa.js → reference-pfg6nwxg.js} +25 -25
  189. package/dist/chunks/{snapshot-pknna89w.js → reference-pknna89w.js} +1 -1
  190. package/dist/chunks/{snapshot-4vgzdrnt.js → reference-pscgdtph.js} +11 -11
  191. package/dist/chunks/{snapshot-dktwc335.js → reference-pvz0z9yn.js} +30 -30
  192. package/dist/chunks/{snapshot-4d3r9sj7.js → reference-q0tfq5t2.js} +6 -6
  193. package/dist/chunks/{snapshot-tcnewvsx.js → reference-q0wzr35k.js} +20 -20
  194. package/dist/chunks/{snapshot-0421tmwc.js → reference-q46y00v4.js} +9 -9
  195. package/dist/chunks/{snapshot-2cj8dw40.js → reference-q91r7fzh.js} +12 -12
  196. package/dist/chunks/{snapshot-y7gkpn43.js → reference-qcypp6s5.js} +9 -9
  197. package/dist/chunks/{snapshot-s73pgd5t.js → reference-qg6w8app.js} +13 -13
  198. package/dist/chunks/{snapshot-qjgzc4b4.js → reference-qjgzc4b4.js} +1 -1
  199. package/dist/chunks/{snapshot-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
  200. package/dist/chunks/{snapshot-48kj9ap1.js → reference-r5majfkb.js} +13 -13
  201. package/dist/chunks/{snapshot-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
  202. package/dist/chunks/{snapshot-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
  203. package/dist/chunks/{snapshot-tf5c574a.js → reference-rw71ew34.js} +4 -4
  204. package/dist/chunks/{snapshot-ccp6j38y.js → reference-ry7kp2db.js} +8 -8
  205. package/dist/chunks/{snapshot-nk8tpxf0.js → reference-s04fhkcw.js} +3 -3
  206. package/dist/chunks/{snapshot-j7t1g52h.js → reference-s6whas8k.js} +12 -12
  207. package/dist/chunks/{snapshot-3s06s3jm.js → reference-s9hxxgb8.js} +87 -87
  208. package/dist/chunks/{snapshot-qah7t4da.js → reference-sbegqkxp.js} +6 -6
  209. package/dist/chunks/{snapshot-6hx05w6d.js → reference-scpsh37c.js} +15 -15
  210. package/dist/chunks/{snapshot-gp4q1vjf.js → reference-sfgqhxwc.js} +2 -2
  211. package/dist/chunks/{snapshot-tj8qecb5.js → reference-snm2qmq7.js} +18 -18
  212. package/dist/chunks/{snapshot-qqn4m6zg.js → reference-snm52sr2.js} +17 -17
  213. package/dist/chunks/{snapshot-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
  214. package/dist/chunks/{snapshot-xzpe0agp.js → reference-st4p3zbh.js} +35 -35
  215. package/dist/chunks/{snapshot-6d6xnsqa.js → reference-sv2aw4yq.js} +5 -5
  216. package/dist/chunks/{snapshot-6rhfy3ae.js → reference-svjkc6ey.js} +24 -24
  217. package/dist/chunks/{snapshot-j9cjhb81.js → reference-sy87a8wb.js} +24 -24
  218. package/dist/chunks/{snapshot-ycqmxcqc.js → reference-t1s8rtrn.js} +17 -17
  219. package/dist/chunks/{snapshot-4q3ynb4r.js → reference-t7w9mbga.js} +3 -3
  220. package/dist/chunks/{snapshot-yphmbpfe.js → reference-tarnqw0m.js} +17 -17
  221. package/dist/chunks/{snapshot-xkympmbz.js → reference-tasvem1v.js} +6 -6
  222. package/dist/chunks/{snapshot-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
  223. package/dist/chunks/{snapshot-3nnrz6f6.js → reference-tmc7xdjs.js} +4 -4
  224. package/dist/chunks/{snapshot-956c56jz.js → reference-tnqzh63d.js} +4 -4
  225. package/dist/chunks/{snapshot-tw8zr1ps.js → reference-tw8zr1ps.js} +1 -1
  226. package/dist/chunks/{snapshot-twv2r8f4.js → reference-twv2r8f4.js} +2 -2
  227. package/dist/chunks/{snapshot-sknn4ytw.js → reference-v0aazhy0.js} +11 -11
  228. package/dist/chunks/{snapshot-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
  229. package/dist/chunks/{snapshot-xxcv7c4s.js → reference-v3htpbcn.js} +18 -18
  230. package/dist/chunks/{snapshot-zg933662.js → reference-v75htaq3.js} +6 -6
  231. package/dist/chunks/{snapshot-zyd3t986.js → reference-v8e5qm2c.js} +9 -9
  232. package/dist/chunks/{snapshot-93z9sy6y.js → reference-v919ewzn.js} +36 -36
  233. package/dist/chunks/{snapshot-mqew7zyd.js → reference-vbf812b9.js} +32 -32
  234. package/dist/chunks/{snapshot-vd3b3yk9.js → reference-vd3b3yk9.js} +1 -1
  235. package/dist/chunks/{snapshot-veqvce7d.js → reference-veqvce7d.js} +1 -1
  236. package/dist/chunks/{snapshot-anyn98fc.js → reference-vjtgj0yq.js} +4 -4
  237. package/dist/chunks/{snapshot-easvm2vj.js → reference-vq537ftf.js} +17 -17
  238. package/dist/chunks/{snapshot-0xry0drq.js → reference-vrjhymqn.js} +335 -335
  239. package/dist/chunks/{snapshot-rffg35ng.js → reference-vry4t0gh.js} +4 -4
  240. package/dist/chunks/{snapshot-5nbhg5mq.js → reference-w05t22bp.js} +21 -21
  241. package/dist/chunks/{snapshot-w06brs61.js → reference-w0jjrdy3.js} +11 -11
  242. package/dist/chunks/{snapshot-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{snapshot-ve7ke69q.js → reference-w7zjqt6n.js} +4 -4
  244. package/dist/chunks/{snapshot-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
  245. package/dist/chunks/{snapshot-wd87259q.js → reference-wd87259q.js} +1 -1
  246. package/dist/chunks/{snapshot-9pn10d5x.js → reference-wdn14rh7.js} +34 -34
  247. package/dist/chunks/{snapshot-97hv35cm.js → reference-whkc4da7.js} +4 -4
  248. package/dist/chunks/{snapshot-de80h68g.js → reference-wjd1k730.js} +9 -9
  249. package/dist/chunks/{snapshot-71r0w8zg.js → reference-wmwmhrgq.js} +10 -10
  250. package/dist/chunks/{snapshot-0h8y3ex8.js → reference-wr3re1en.js} +4 -4
  251. package/dist/chunks/{snapshot-knyqd3dz.js → reference-wskggc81.js} +6 -6
  252. package/dist/chunks/{snapshot-szcgc7h4.js → reference-x3mp4vcj.js} +5 -5
  253. package/dist/chunks/{snapshot-q5ve17hv.js → reference-x7sq7g0m.js} +25 -25
  254. package/dist/chunks/{snapshot-6t3tc22h.js → reference-xapnwa6c.js} +18 -18
  255. package/dist/chunks/{snapshot-bstexjd6.js → reference-xd9cc171.js} +5 -5
  256. package/dist/chunks/{snapshot-nkr5r85d.js → reference-xffzfxwd.js} +2 -2
  257. package/dist/chunks/{snapshot-rmhxa1va.js → reference-xhjrc3ew.js} +11 -11
  258. package/dist/chunks/{snapshot-kzwb18h7.js → reference-xm8ddap8.js} +11 -11
  259. package/dist/chunks/{snapshot-w1pg8ac5.js → reference-xmgbg1w1.js} +23 -23
  260. package/dist/chunks/{snapshot-0sdvj732.js → reference-xmpvkfqb.js} +5 -5
  261. package/dist/chunks/{snapshot-wh9mm6vw.js → reference-xmry5mjf.js} +21 -22
  262. package/dist/chunks/{snapshot-p76me67c.js → reference-xpve62cf.js} +4 -4
  263. package/dist/chunks/{snapshot-7x3q52mv.js → reference-xvcq0a37.js} +12 -12
  264. package/dist/chunks/{snapshot-6pefdjqg.js → reference-y3wdcfp2.js} +4 -4
  265. package/dist/chunks/{snapshot-dmkv2tgn.js → reference-y45mmnaw.js} +14 -14
  266. package/dist/chunks/{snapshot-4kjpm9vg.js → reference-y5mjzf8n.js} +22 -22
  267. package/dist/chunks/{snapshot-37yt7bbd.js → reference-y5zyg2mm.js} +177 -177
  268. package/dist/chunks/{snapshot-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
  269. package/dist/chunks/{snapshot-hb29wq2n.js → reference-yd0qn0bb.js} +23 -23
  270. package/dist/chunks/{snapshot-tcvw3ax2.js → reference-ydsespw1.js} +8 -8
  271. package/dist/chunks/{snapshot-23kx2h0m.js → reference-ygvq11bn.js} +29 -29
  272. package/dist/chunks/{snapshot-vnn4dnfn.js → reference-yhkv4e77.js} +10 -10
  273. package/dist/chunks/{snapshot-f36md42a.js → reference-ym0fp58v.js} +12 -12
  274. package/dist/chunks/{snapshot-t1jhrm4y.js → reference-ymb3jxsn.js} +23 -23
  275. package/dist/chunks/{snapshot-jx13zqpg.js → reference-yrj74tq8.js} +11 -11
  276. package/dist/chunks/{snapshot-e2ze8rsg.js → reference-yx5z65v3.js} +10 -10
  277. package/dist/chunks/{snapshot-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{snapshot-z38nccrw.js → reference-z38nccrw.js} +1 -1
  279. package/dist/chunks/{snapshot-s6v9y3bv.js → reference-z9y71txf.js} +3 -3
  280. package/dist/chunks/{snapshot-btd04tm9.js → reference-zkeee37c.js} +24 -24
  281. package/dist/chunks/{snapshot-zkg84ctx.js → reference-zkg84ctx.js} +1 -1
  282. package/dist/chunks/reference-zm25mbzg.js +58 -0
  283. package/dist/chunks/{snapshot-3fp5dj89.js → reference-ztd79bjn.js} +18 -18
  284. package/dist/chunks/{snapshot-sk9w2v45.js → reference-ztj6qd7j.js} +42 -42
  285. package/dist/chunks/{snapshot-90ckabyq.js → reference-zv31yxkj.js} +3 -3
  286. package/dist/chunks/{snapshot-58b8s1qw.js → reference-zvk4dyfv.js} +11 -11
  287. package/dist/chunks/{snapshot-1skgtqkp.js → reference-zzh4dnpm.js} +29 -29
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  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 +114 -114
  305. package/dist/config/plugin/mcp.js +123 -123
  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 +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  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 +119 -119
  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 +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +94 -94
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  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 +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  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 +3 -3
  425. package/dist/filesystem/search.js +101 -101
  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 +105 -105
  433. package/dist/git.js +10 -10
  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 +361 -360
  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 +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +6 -6
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +99 -99
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +111 -111
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +86 -86
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +97 -0
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -170
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -351
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +92 -92
  565. package/dist/provider.js +99 -99
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +3 -3
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +220 -220
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +164 -164
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +101 -101
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +107 -107
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +137 -137
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +211 -211
  650. package/dist/tool/plugin/skill.js +115 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +102 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/types/plugin/provider/openai-context-caps.d.ts +2 -0
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +80 -80
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +8 -8
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/snapshot-2m3we97b.js +0 -257
  693. package/dist/chunks/snapshot-ev660z6k.js +0 -18
  694. package/dist/chunks/snapshot-kg5hf5sk.js +0 -26
  695. /package/dist/chunks/{snapshot-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{snapshot-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{snapshot-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{snapshot-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{snapshot-24dcb14g.js → reference-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{snapshot-2710q6r3.js → reference-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{snapshot-2bv980vf.js → reference-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{snapshot-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{snapshot-359p4xyc.js → reference-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{snapshot-3asan66x.js → reference-3asan66x.js} +0 -0
  705. /package/dist/chunks/{snapshot-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{snapshot-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{snapshot-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{snapshot-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{snapshot-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{snapshot-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{snapshot-53557ph1.js → reference-53557ph1.js} +0 -0
  712. /package/dist/chunks/{snapshot-550bvhaj.js → reference-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{snapshot-5fjb7ams.js → reference-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{snapshot-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{snapshot-6prwharc.js → reference-6prwharc.js} +0 -0
  716. /package/dist/chunks/{snapshot-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{snapshot-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{snapshot-7m9af43g.js → reference-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{snapshot-822emrt2.js → reference-822emrt2.js} +0 -0
  720. /package/dist/chunks/{snapshot-84wd9syh.js → reference-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{snapshot-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{snapshot-8n3pysct.js → reference-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{snapshot-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{snapshot-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{snapshot-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{snapshot-a058387c.js → reference-a058387c.js} +0 -0
  727. /package/dist/chunks/{snapshot-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{snapshot-af5trqkr.js → reference-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{snapshot-afrmfg78.js → reference-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{snapshot-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{snapshot-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{snapshot-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{snapshot-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{snapshot-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{snapshot-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{snapshot-d9fn303g.js → reference-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{snapshot-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{snapshot-dajrwvna.js → reference-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{snapshot-dap0rakb.js → reference-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{snapshot-df08tz66.js → reference-df08tz66.js} +0 -0
  741. /package/dist/chunks/{snapshot-dy18nga0.js → reference-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{snapshot-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{snapshot-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{snapshot-ec1grn59.js → reference-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{snapshot-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{snapshot-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{snapshot-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{snapshot-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{snapshot-faypxj3z.js → reference-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{snapshot-fd410y7t.js → reference-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{snapshot-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{snapshot-g86h250q.js → reference-g86h250q.js} +0 -0
  753. /package/dist/chunks/{snapshot-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{snapshot-gftt206x.js → reference-gftt206x.js} +0 -0
  755. /package/dist/chunks/{snapshot-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{snapshot-hk9envan.js → reference-hk9envan.js} +0 -0
  757. /package/dist/chunks/{snapshot-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{snapshot-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{snapshot-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{snapshot-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{snapshot-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{snapshot-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{snapshot-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{snapshot-m18g726c.js → reference-m18g726c.js} +0 -0
  765. /package/dist/chunks/{snapshot-mp448xyj.js → reference-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{snapshot-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{snapshot-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{snapshot-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{snapshot-njntx4h6.js → reference-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{snapshot-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{snapshot-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{snapshot-q74kybfr.js → reference-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{snapshot-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{snapshot-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{snapshot-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{snapshot-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{snapshot-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{snapshot-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{snapshot-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{snapshot-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{snapshot-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{snapshot-w803qqfp.js → reference-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{snapshot-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{snapshot-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{snapshot-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{snapshot-wtztk69x.js → reference-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{snapshot-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{snapshot-x61499pn.js → reference-x61499pn.js} +0 -0
  789. /package/dist/chunks/{snapshot-y44na4kk.js → reference-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{snapshot-y8f7s663.js → reference-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{snapshot-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{snapshot-ym463w8f.js → reference-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{snapshot-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{snapshot-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service75,
10
- node: () => node78
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service75 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service75, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service75.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node78 = makeLocationNode({ service: Service75, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service75, node78, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./snapshot-j113cymg.js";
5
+ } from "./reference-j113cymg.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./snapshot-xwbd5bvh.js";
9
+ } from "./reference-2nzqa2tq.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./snapshot-f95ahvj8.js";
13
+ } from "./reference-aygxzdnw.js";
14
14
  import {
15
15
  __export
16
- } from "./snapshot-9rqn6x4v.js";
16
+ } from "./reference-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./snapshot-qfa1cgps.js";
3
+ } from "./reference-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,79 +1,79 @@
1
1
  import {
2
2
  Service86
3
- } from "./snapshot-s6v9y3bv.js";
3
+ } from "./reference-z9y71txf.js";
4
4
  import {
5
5
  Service85
6
- } from "./snapshot-fp9qajhf.js";
6
+ } from "./reference-jvdzp9ms.js";
7
7
  import {
8
- Service53
9
- } from "./snapshot-qah7t4da.js";
8
+ Service41
9
+ } from "./reference-sbegqkxp.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./snapshot-k814nvkf.js";
12
+ } from "./reference-k814nvkf.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./snapshot-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./snapshot-zg933662.js";
23
+ } from "./reference-v75htaq3.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./snapshot-ec1grn59.js";
26
+ } from "./reference-ec1grn59.js";
27
27
  import {
28
- Service71
29
- } from "./snapshot-58b8s1qw.js";
28
+ Service70
29
+ } from "./reference-zvk4dyfv.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service52
33
- } from "./snapshot-3fp5dj89.js";
32
+ Service40
33
+ } from "./reference-ztd79bjn.js";
34
34
  import {
35
- Service49
36
- } from "./snapshot-dvnjm1h8.js";
35
+ Service38
36
+ } from "./reference-kg4y9gc0.js";
37
37
  import {
38
38
  prepare2
39
- } from "./snapshot-5z80vped.js";
39
+ } from "./reference-bceb57s2.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./snapshot-expey290.js";
44
+ } from "./reference-7bnde8q6.js";
45
45
  import {
46
46
  start2
47
- } from "./snapshot-et8k1vr1.js";
47
+ } from "./reference-p8x9nhrm.js";
48
48
  import {
49
- get4
50
- } from "./snapshot-j7t1g52h.js";
49
+ get5
50
+ } from "./reference-s6whas8k.js";
51
51
  import {
52
52
  __export
53
- } from "./snapshot-9rqn6x4v.js";
53
+ } from "./reference-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session2 = {};
57
57
  __export(exports_session2, {
58
58
  Session: () => exports_session2,
59
- make: () => make13
59
+ make: () => make14
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make13 = Effect.fn("Session.make")(function* () {
64
+ var make14 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service85;
66
66
  const database = yield* Service86;
67
- const store = yield* Service71;
68
- const instances = yield* Service53;
69
- const execution = yield* Service49;
70
- const admission = yield* Service52;
67
+ const store = yield* Service70;
68
+ const instances = yield* Service41;
69
+ const execution = yield* Service38;
70
+ const admission = yield* Service40;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError8({ sessionID });
76
+ return yield* new NotFoundError10({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -146,7 +146,7 @@ var make13 = Effect.fn("Session.make")(function* () {
146
146
  });
147
147
  if (existing)
148
148
  return existing;
149
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service53, instances), Effect.provideService(FSUtil.Service, fs)));
149
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
150
150
  if (session.revert)
151
151
  yield* commit2(bus, session);
152
152
  return yield* admission.admit({
@@ -162,7 +162,7 @@ var make13 = Effect.fn("Session.make")(function* () {
162
162
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
163
163
  const session = yield* get(sessionID);
164
164
  const running = yield* Effect.gen(function* () {
165
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service53, instances), Effect.tapError((error) => synthetic(sessionID, {
165
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
166
166
  text: `User shell command failed to start:
167
167
  ${input.command}
168
168
 
@@ -191,7 +191,7 @@ ${error.message}`,
191
191
  });
192
192
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
193
193
  const session = yield* get(sessionID);
194
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service53, instances));
194
+ const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
195
195
  yield* bus.publish(SessionEvent2.Skill.Activated, {
196
196
  sessionID,
197
197
  id: skill.id,
@@ -248,13 +248,13 @@ ${error.message}`,
248
248
  const session = yield* get(sessionID);
249
249
  if (yield* execution.isActive(sessionID))
250
250
  return yield* new BusyError2({ sessionID });
251
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
251
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
252
252
  });
253
253
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
254
254
  const session = yield* get(sessionID);
255
255
  if (yield* execution.isActive(sessionID))
256
256
  return yield* new BusyError2({ sessionID });
257
- yield* clear2(session).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service85, bus));
257
+ yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service85, bus));
258
258
  return yield* execution.wake(sessionID);
259
259
  });
260
260
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -346,4 +346,4 @@ ${error.message}`,
346
346
  return { forSession };
347
347
  });
348
348
 
349
- export { make13, exports_session2 };
349
+ export { make14, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node85,
13
+ make: () => make19,
14
+ node: () => node62,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make19 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node85 = registryNode2({});
47
+ var node62 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node85, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node62, exports_driver };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./snapshot-fp9qajhf.js";
4
+ } from "./reference-jvdzp9ms.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./snapshot-v753rv77.js";
6
+ Service81,
7
+ node85
8
+ } from "./reference-8taff695.js";
9
9
  import {
10
- Service80,
11
- node83
12
- } from "./snapshot-btd04tm9.js";
10
+ Service58,
11
+ node60
12
+ } from "./reference-zkeee37c.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./snapshot-tczq8hjw.js";
15
+ } from "./reference-tczq8hjw.js";
16
16
  import {
17
- Service59,
17
+ Service60,
18
18
  args2,
19
- node61
20
- } from "./snapshot-a2c90ztv.js";
19
+ node63
20
+ } from "./reference-armekrg6.js";
21
21
  import {
22
- Service75,
23
- node78
24
- } from "./snapshot-bgg6fpfq.js";
22
+ Service73,
23
+ node77
24
+ } from "./reference-31wms35x.js";
25
25
  import {
26
- Service48,
27
- node51
28
- } from "./snapshot-ccp6j38y.js";
26
+ Service51,
27
+ node53
28
+ } from "./reference-ry7kp2db.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./snapshot-mtpeagzc.js";
31
+ } from "./reference-1njtx4es.js";
32
32
  import {
33
33
  latest2,
34
- Service54,
35
- node56
36
- } from "./snapshot-a8rbahn6.js";
34
+ Service52,
35
+ node54
36
+ } from "./reference-c3yk3agv.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./snapshot-w06brs61.js";
40
+ } from "./reference-w0jjrdy3.js";
41
41
  import {
42
42
  __export
43
- } from "./snapshot-9rqn6x4v.js";
43
+ } from "./reference-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service47,
51
+ Service: () => Service50,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node50
54
+ node: () => node52
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service47 extends Context.Service()("@opencode/Shell") {
74
+ class Service50 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service47, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
91
91
  const bus = yield* Service85;
92
- const location = yield* Service82;
92
+ const location = yield* Service81;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service59;
95
- const environment = yield* Service80;
96
- const hooks = yield* Service75;
97
- const environments = yield* Service48;
98
- const config = yield* Service54;
94
+ const shell = yield* Service60;
95
+ const environment = yield* Service58;
96
+ const hooks = yield* Service73;
97
+ const environments = yield* Service51;
98
+ const config = yield* Service52;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError6({ id });
119
+ return yield* new NotFoundError7({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service47.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service50.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node50 = makeLocationNode({
342
- service: Service47,
341
+ var node52 = makeLocationNode({
342
+ service: Service50,
343
343
  layer: layer(),
344
344
  deps: [
345
345
  node89,
346
- node86,
346
+ node85,
347
347
  Global.node,
348
- node61,
349
- node83,
350
- node78,
351
- node51,
352
- node56,
348
+ node63,
349
+ node60,
350
+ node77,
351
+ node53,
352
+ node54,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service47, cleanup2, node50, exports_shell4 };
357
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service50, cleanup2, node52, exports_shell4 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./snapshot-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- node88
6
- } from "./snapshot-32d3hzha.js";
5
+ node87
6
+ } from "./reference-1711wf45.js";
7
7
  import {
8
- Service82,
9
- node86
10
- } from "./snapshot-v753rv77.js";
8
+ Service81,
9
+ node85
10
+ } from "./reference-8taff695.js";
11
11
  import {
12
12
  create3
13
- } from "./snapshot-vd3b3yk9.js";
13
+ } from "./reference-vd3b3yk9.js";
14
14
  import {
15
15
  make12
16
- } from "./snapshot-pcspdvfz.js";
16
+ } from "./reference-dgc6zgst.js";
17
17
  import {
18
18
  __export
19
- } from "./snapshot-9rqn6x4v.js";
19
+ } from "./reference-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service20,
24
+ Service: () => Service17,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node23
26
+ node: () => node20
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service20 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service17 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service20, Effect.gen(function* () {
37
- const location = yield* Service82;
36
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
37
+ const location = yield* Service81;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make12;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service20.of({ ...state, directory: location.directory });
58
+ return Service17.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node23 = makeLocationNode({
61
- service: Service20,
60
+ var node20 = makeLocationNode({
61
+ service: Service17,
62
62
  layer,
63
- deps: [node86, Global.node, node88, FSUtil.node]
63
+ deps: [node85, Global.node, node87, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service20, node23, exports_strategies };
66
+ export { Service17, node20, exports_strategies };