@opencode/core 0.0.0-dev-21662 → 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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{mime-034tev2y.js → reference-034tev2y.js} +2 -2
  8. package/dist/chunks/reference-07cvc9wn.js +257 -0
  9. package/dist/chunks/{mime-m5y7mrec.js → reference-0aabztd5.js} +37 -37
  10. package/dist/chunks/{mime-7hkznkk2.js → reference-0dnn63dc.js} +22 -22
  11. package/dist/chunks/{mime-makr7g9p.js → reference-0f0dnca3.js} +20 -20
  12. package/dist/chunks/{mime-dw8r8nqw.js → reference-0j8er3xh.js} +13 -13
  13. package/dist/chunks/{mime-dywpt2jz.js → reference-0jz5fbss.js} +21 -21
  14. package/dist/chunks/{mime-7hy4mxk4.js → reference-0m83bapc.js} +5 -5
  15. package/dist/chunks/{mime-18efg9pm.js → reference-0ndnbbn0.js} +11 -11
  16. package/dist/chunks/{mime-j2e1pdqh.js → reference-0r8en8zz.js} +10 -10
  17. package/dist/chunks/{mime-jf0x0mkb.js → reference-108gkaby.js} +13 -13
  18. package/dist/chunks/{mime-4en5cy3a.js → reference-14vqzes2.js} +18 -18
  19. package/dist/chunks/{mime-cvh6tqsr.js → reference-1711wf45.js} +12 -12
  20. package/dist/chunks/{mime-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{mime-b5hjsjtc.js → reference-1hyje1p9.js} +25 -25
  22. package/dist/chunks/{mime-nvxqht09.js → reference-1njtx4es.js} +3 -3
  23. package/dist/chunks/{mime-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{mime-q1akkz19.js → reference-1yzxt8mn.js} +11 -11
  25. package/dist/chunks/{mime-dxknpyv9.js → reference-233jjx4c.js} +17 -17
  26. package/dist/chunks/{mime-etb6jfd1.js → reference-27va4m0r.js} +32 -32
  27. package/dist/chunks/{mime-9bbgn1zx.js → reference-297fdtb1.js} +11 -11
  28. package/dist/chunks/{mime-a5qzt3rb.js → reference-2f1cs0mb.js} +2 -2
  29. package/dist/chunks/{mime-fwg6t5aa.js → reference-2fem2qqn.js} +5 -5
  30. package/dist/chunks/{mime-78t3ejb4.js → reference-2fg4fkaj.js} +18 -18
  31. package/dist/chunks/{mime-xa6jjthr.js → reference-2hpggya2.js} +1 -1
  32. package/dist/chunks/{mime-3ryz99p0.js → reference-2jq4ff38.js} +4 -4
  33. package/dist/chunks/{mime-pw6tpjg0.js → reference-2n0ty02m.js} +51 -51
  34. package/dist/chunks/{mime-h5frkgzc.js → reference-2nzqa2tq.js} +30 -30
  35. package/dist/chunks/{mime-at840swy.js → reference-2rd3d0hp.js} +11 -11
  36. package/dist/chunks/{mime-agbrqsyc.js → reference-2t8maz45.js} +28 -28
  37. package/dist/chunks/{mime-wwf2h3h9.js → reference-2ww2ff7e.js} +21 -21
  38. package/dist/chunks/{mime-2z1j29yd.js → reference-2z1j29yd.js} +1 -1
  39. package/dist/chunks/{mime-h7w2c8gt.js → reference-307hjk8t.js} +13 -13
  40. package/dist/chunks/{mime-35y8wyjz.js → reference-31wms35x.js} +8 -8
  41. package/dist/chunks/{mime-przv10k5.js → reference-39r9rzhd.js} +4 -4
  42. package/dist/chunks/{mime-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{mime-3x352axd.js → reference-3k8j9mz0.js} +34 -34
  44. package/dist/chunks/{mime-1hshenye.js → reference-3kfn2j5q.js} +4 -4
  45. package/dist/chunks/{mime-ms6fca56.js → reference-3wn85t44.js} +46 -46
  46. package/dist/chunks/{mime-jjby1v15.js → reference-3x8kzqev.js} +19 -19
  47. package/dist/chunks/{mime-zeg0rdj0.js → reference-4arsphjq.js} +56 -56
  48. package/dist/chunks/{mime-86vkr6ja.js → reference-4ezxaq78.js} +18 -18
  49. package/dist/chunks/{mime-ec8872rv.js → reference-4kfy9c2m.js} +34 -34
  50. package/dist/chunks/{mime-qht88apq.js → reference-4shcznxh.js} +23 -23
  51. package/dist/chunks/{mime-de78d3b2.js → reference-4svb63hy.js} +35 -35
  52. package/dist/chunks/{mime-4v008n1t.js → reference-4v008n1t.js} +1 -1
  53. package/dist/chunks/{mime-4xvmh7wp.js → reference-4xvmh7wp.js} +3 -3
  54. package/dist/chunks/{mime-rgw8zdkq.js → reference-54gv86a9.js} +8 -8
  55. package/dist/chunks/{mime-xgp4rgab.js → reference-5djjexeq.js} +1 -1
  56. package/dist/chunks/{mime-w2eysc6j.js → reference-5enarcya.js} +6 -6
  57. package/dist/chunks/{mime-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{mime-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{mime-z1a2w6sk.js → reference-5r9a3vh3.js} +26 -26
  60. package/dist/chunks/{mime-p7vhpwh8.js → reference-5zrxpy3q.js} +5 -5
  61. package/dist/chunks/{mime-fmc8gber.js → reference-61g7nd3s.js} +10 -10
  62. package/dist/chunks/{mime-way9x9na.js → reference-69w1p6yk.js} +24 -24
  63. package/dist/chunks/{mime-bdkfqjh1.js → reference-6ayjbyaf.js} +3 -3
  64. package/dist/chunks/{mime-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{mime-k8ha6td9.js → reference-6gym6y7m.js} +32 -32
  66. package/dist/chunks/{mime-9975mbgd.js → reference-6nnfvszr.js} +21 -21
  67. package/dist/chunks/{mime-antc3kt1.js → reference-6pe7vn7p.js} +18 -18
  68. package/dist/chunks/{mime-cn524wvf.js → reference-6perv44c.js} +14 -14
  69. package/dist/chunks/{mime-6pjqjmy2.js → reference-6pjqjmy2.js} +1 -1
  70. package/dist/chunks/{mime-40d1e0p0.js → reference-6sw2gn8c.js} +43 -43
  71. package/dist/chunks/{mime-76cb1hcw.js → reference-76cb1hcw.js} +1 -1
  72. package/dist/chunks/{mime-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{mime-3483qh8f.js → reference-7bnde8q6.js} +16 -16
  74. package/dist/chunks/{mime-ay6kp039.js → reference-7vw4nys1.js} +4 -4
  75. package/dist/chunks/{mime-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{mime-wvv9pwzq.js → reference-7yj30c8s.js} +17 -17
  77. package/dist/chunks/{mime-3xr2c3vg.js → reference-867cczcy.js} +45 -45
  78. package/dist/chunks/{mime-dz78pxbz.js → reference-8cj6s5zj.js} +28 -28
  79. package/dist/chunks/{mime-tq360aqh.js → reference-8hky2e3x.js} +21 -21
  80. package/dist/chunks/{mime-qhz1719s.js → reference-8k73trgp.js} +29 -29
  81. package/dist/chunks/{mime-mr6kd87r.js → reference-8p8nexw9.js} +13 -13
  82. package/dist/chunks/{mime-vxawy97t.js → reference-8taff695.js} +17 -17
  83. package/dist/chunks/{mime-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{mime-91rj84md.js → reference-91rj84md.js} +1 -1
  85. package/dist/chunks/{mime-es3s6s73.js → reference-953xbrr3.js} +5 -5
  86. package/dist/chunks/{mime-2c6wxkce.js → reference-954vrfjz.js} +14 -14
  87. package/dist/chunks/{mime-998yhzzq.js → reference-998yhzzq.js} +3 -3
  88. package/dist/chunks/{mime-cs9nhmnc.js → reference-9fq5cvaf.js} +25 -25
  89. package/dist/chunks/{mime-c2q4mep3.js → reference-9szkry8c.js} +7 -7
  90. package/dist/chunks/{mime-e3ynzpwe.js → reference-9v02bs0k.js} +5 -5
  91. package/dist/chunks/{mime-csp3r2wr.js → reference-9vyw5bnv.js} +19 -19
  92. package/dist/chunks/{mime-367y2685.js → reference-9y617mgq.js} +9 -9
  93. package/dist/chunks/{mime-3fddq23p.js → reference-9yyv8yy4.js} +19 -19
  94. package/dist/chunks/reference-a610t88q.js +18 -0
  95. package/dist/chunks/{mime-2bpj5bas.js → reference-a6p3qmva.js} +82 -82
  96. package/dist/chunks/{mime-fbjqxkhq.js → reference-acdmrrd1.js} +8 -8
  97. package/dist/chunks/{mime-f6h5pjek.js → reference-armekrg6.js} +22 -22
  98. package/dist/chunks/{mime-1pt7st65.js → reference-avb4hb8j.js} +27 -27
  99. package/dist/chunks/{mime-h6chhj6a.js → reference-aygxzdnw.js} +34 -34
  100. package/dist/chunks/{mime-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{mime-57b792pb.js → reference-azarmemk.js} +44 -44
  102. package/dist/chunks/{mime-b0mv4wxm.js → reference-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{mime-qesqfwsz.js → reference-b2sv8bpc.js} +5 -5
  104. package/dist/chunks/{mime-5nnwax6m.js → reference-b6vsg801.js} +5 -5
  105. package/dist/chunks/{mime-shhwk7r4.js → reference-bceb57s2.js} +16 -16
  106. package/dist/chunks/{mime-fb9p315s.js → reference-bhkt8v4f.js} +20 -20
  107. package/dist/chunks/{mime-rrad2nt9.js → reference-bjhzkqyk.js} +4 -4
  108. package/dist/chunks/{mime-xrpfz6f8.js → reference-bqwdyg2t.js} +9 -9
  109. package/dist/chunks/{mime-12yp6zfs.js → reference-c3yk3agv.js} +44 -44
  110. package/dist/chunks/{mime-c9kxtag3.js → reference-c7s7jw20.js} +30 -30
  111. package/dist/chunks/{mime-hvqk9px9.js → reference-c8819f4b.js} +23 -23
  112. package/dist/chunks/{mime-d2887f8n.js → reference-c9t2ty9q.js} +4 -4
  113. package/dist/chunks/{mime-gfhhve88.js → reference-ce5fknq2.js} +5 -5
  114. package/dist/chunks/{mime-ab5qny6w.js → reference-cmb5kt6z.js} +33 -33
  115. package/dist/chunks/{mime-faz434mq.js → reference-cmj7s95h.js} +66 -66
  116. package/dist/chunks/{mime-c99z4cs7.js → reference-cqcd4edx.js} +13 -13
  117. package/dist/chunks/{mime-s7kyse9r.js → reference-d2dx6a7h.js} +9 -9
  118. package/dist/chunks/{mime-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{mime-9tvpxs1q.js → reference-d8p3t516.js} +4 -4
  120. package/dist/chunks/{mime-esezyxfc.js → reference-d8qd4w10.js} +11 -11
  121. package/dist/chunks/{mime-1ta8vatk.js → reference-d8t680bk.js} +4 -4
  122. package/dist/chunks/{mime-1dgpftbk.js → reference-dcqpnb0y.js} +7 -7
  123. package/dist/chunks/{mime-cwd8eagc.js → reference-dewmw27y.js} +4 -4
  124. package/dist/chunks/{mime-k1ahy816.js → reference-dgc6zgst.js} +5 -5
  125. package/dist/chunks/{mime-jx89vj1k.js → reference-dh62xe4r.js} +3 -3
  126. package/dist/chunks/{mime-9562mf0m.js → reference-dqgvvwe0.js} +9 -9
  127. package/dist/chunks/{mime-zc6v1jhv.js → reference-dt1dewz5.js} +16 -16
  128. package/dist/chunks/{mime-sjsbybqr.js → reference-dy4pv8et.js} +12 -12
  129. package/dist/chunks/{mime-e834z07m.js → reference-e834z07m.js} +1 -1
  130. package/dist/chunks/{mime-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{mime-7ymw8hcc.js → reference-eq9cyptm.js} +42 -42
  132. package/dist/chunks/{mime-m37sd98t.js → reference-eqmd2tfz.js} +7 -7
  133. package/dist/chunks/{mime-dsxwdbtx.js → reference-f67dkjq4.js} +21 -21
  134. package/dist/chunks/{mime-gx9515g0.js → reference-f8vd2a9b.js} +11 -11
  135. package/dist/chunks/{mime-1jt66y4q.js → reference-f9sbv1za.js} +48 -48
  136. package/dist/chunks/{mime-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
  137. package/dist/chunks/reference-ffm6r77t.js +26 -0
  138. package/dist/chunks/{mime-mdrzmmdf.js → reference-fgak986r.js} +26 -26
  139. package/dist/chunks/{mime-8f1s63js.js → reference-g04rf8w6.js} +5 -5
  140. package/dist/chunks/{mime-g5h9c0rr.js → reference-g5h9c0rr.js} +2 -2
  141. package/dist/chunks/{mime-h99fb420.js → reference-g5j8m9ve.js} +16 -16
  142. package/dist/chunks/{mime-fb07bnzr.js → reference-g9chkspz.js} +15 -15
  143. package/dist/chunks/{mime-b3a0a1dt.js → reference-gbmf93tw.js} +11 -11
  144. package/dist/chunks/{mime-ss9hm05n.js → reference-gf5n06h2.js} +14 -14
  145. package/dist/chunks/{mime-gkww2qs4.js → reference-gfpxj5hf.js} +8 -8
  146. package/dist/chunks/{mime-h0ra2w7t.js → reference-ghb7106v.js} +32 -32
  147. package/dist/chunks/{mime-5sm65pen.js → reference-gxjyhf1s.js} +50 -50
  148. package/dist/chunks/{mime-yks697c0.js → reference-h5z6qxf3.js} +20 -20
  149. package/dist/chunks/{mime-grfdtbby.js → reference-hjzm8qgk.js} +33 -33
  150. package/dist/chunks/{mime-gbppfq5v.js → reference-hxs3jcbh.js} +3 -3
  151. package/dist/chunks/{mime-j113cymg.js → reference-j113cymg.js} +1 -1
  152. package/dist/chunks/{mime-mvm1cxx8.js → reference-j1kmhe03.js} +38 -34
  153. package/dist/chunks/{mime-8x9y3wj0.js → reference-jcqm84fr.js} +9 -9
  154. package/dist/chunks/{mime-cp2r97hh.js → reference-jh20twgm.js} +7 -7
  155. package/dist/chunks/{mime-9p9xqj3m.js → reference-jneg3k74.js} +6 -6
  156. package/dist/chunks/{mime-xn6a1j0y.js → reference-jq4rj68g.js} +11 -11
  157. package/dist/chunks/{mime-be4ky1jx.js → reference-jvdzp9ms.js} +4 -4
  158. package/dist/chunks/{mime-1f869mtq.js → reference-jx68n2v7.js} +1 -1
  159. package/dist/chunks/{mime-6g5dn60k.js → reference-k3562rys.js} +10 -10
  160. package/dist/chunks/{mime-k814nvkf.js → reference-k814nvkf.js} +1 -1
  161. package/dist/chunks/{mime-tw8z5tpz.js → reference-kcty1ace.js} +18 -18
  162. package/dist/chunks/{mime-8j2dev17.js → reference-kg4y9gc0.js} +35 -35
  163. package/dist/chunks/{mime-8jmzjr3t.js → reference-kkntnx2q.js} +5 -5
  164. package/dist/chunks/{mime-ytr2aw5s.js → reference-kndrgbcf.js} +8 -8
  165. package/dist/chunks/{mime-fc77mr6m.js → reference-kw46yrg2.js} +27 -27
  166. package/dist/chunks/{mime-m1714858.js → reference-m1714858.js} +1 -1
  167. package/dist/chunks/{mime-kcw2mt0q.js → reference-m8vnyr1s.js} +9 -9
  168. package/dist/chunks/{mime-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{mime-a4ed5y5r.js → reference-ma8ws105.js} +17 -17
  170. package/dist/chunks/{mime-maspj1v3.js → reference-maspj1v3.js} +1 -1
  171. package/dist/chunks/{mime-yywe7zex.js → reference-mg6b5d3z.js} +13 -13
  172. package/dist/chunks/{mime-vfaknrr0.js → reference-mpzxhqjk.js} +18 -18
  173. package/dist/chunks/{mime-n0p0277s.js → reference-n0p0277s.js} +1 -1
  174. package/dist/chunks/{mime-vp7nbskz.js → reference-n3axp0yc.js} +14 -14
  175. package/dist/chunks/{mime-cmrd856v.js → reference-n49wygsy.js} +8 -8
  176. package/dist/chunks/{mime-099h1hwj.js → reference-n4fp6f8d.js} +6 -6
  177. package/dist/chunks/{mime-afg4vg0a.js → reference-n61v90z4.js} +48 -48
  178. package/dist/chunks/{mime-fch85cg6.js → reference-n8d8y6qz.js} +10 -10
  179. package/dist/chunks/{mime-dcw54xmr.js → reference-n9e2wk5v.js} +6 -6
  180. package/dist/chunks/{mime-770pw0s1.js → reference-nah043kf.js} +4 -4
  181. package/dist/chunks/{mime-dahs8mrh.js → reference-nazbq7w0.js} +14 -14
  182. package/dist/chunks/{mime-jqc4b6as.js → reference-ncg31dbj.js} +18 -18
  183. package/dist/chunks/{mime-fs4v9sqg.js → reference-ngd7ekm8.js} +7 -7
  184. package/dist/chunks/{mime-c5k488xh.js → reference-nsgvs482.js} +14 -14
  185. package/dist/chunks/{mime-p015t6z3.js → reference-p015t6z3.js} +2 -2
  186. package/dist/chunks/{mime-dehah0wg.js → reference-p330xe03.js} +14 -14
  187. package/dist/chunks/{mime-9tgdekzb.js → reference-p6q4m3qk.js} +43 -43
  188. package/dist/chunks/{mime-p6vdpmm7.js → reference-p8x9nhrm.js} +9 -9
  189. package/dist/chunks/{mime-j686yndx.js → reference-pfg6nwxg.js} +26 -26
  190. package/dist/chunks/{mime-pknna89w.js → reference-pknna89w.js} +1 -1
  191. package/dist/chunks/{mime-w24tx78k.js → reference-pscgdtph.js} +11 -11
  192. package/dist/chunks/{mime-wv25cjfq.js → reference-pvz0z9yn.js} +22 -22
  193. package/dist/chunks/{mime-j9d5v112.js → reference-q0tfq5t2.js} +6 -6
  194. package/dist/chunks/{mime-1ynsyetg.js → reference-q0wzr35k.js} +25 -25
  195. package/dist/chunks/{mime-vgk61ywp.js → reference-q46y00v4.js} +9 -9
  196. package/dist/chunks/{mime-0gewffq4.js → reference-q91r7fzh.js} +12 -12
  197. package/dist/chunks/{mime-99s58nzh.js → reference-qcypp6s5.js} +9 -9
  198. package/dist/chunks/{mime-daavfx2n.js → reference-qg6w8app.js} +13 -13
  199. package/dist/chunks/{mime-qjgzc4b4.js → reference-qjgzc4b4.js} +1 -1
  200. package/dist/chunks/{mime-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
  201. package/dist/chunks/{mime-khq36pg9.js → reference-r5majfkb.js} +13 -13
  202. package/dist/chunks/{mime-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
  203. package/dist/chunks/{mime-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
  204. package/dist/chunks/{mime-shxxcw0f.js → reference-rw71ew34.js} +4 -4
  205. package/dist/chunks/{mime-12a87htm.js → reference-ry7kp2db.js} +8 -8
  206. package/dist/chunks/{mime-w2cw001h.js → reference-s04fhkcw.js} +3 -3
  207. package/dist/chunks/{mime-q9qe5dt4.js → reference-s6whas8k.js} +12 -12
  208. package/dist/chunks/{mime-vgatjcfj.js → reference-s9hxxgb8.js} +84 -84
  209. package/dist/chunks/{mime-c4970w7t.js → reference-sbegqkxp.js} +6 -6
  210. package/dist/chunks/{mime-2trgpvge.js → reference-scpsh37c.js} +15 -15
  211. package/dist/chunks/{mime-mh7750nv.js → reference-sfgqhxwc.js} +2 -2
  212. package/dist/chunks/{mime-3yh7bp88.js → reference-snm2qmq7.js} +20 -20
  213. package/dist/chunks/{mime-jw539tsy.js → reference-snm52sr2.js} +18 -18
  214. package/dist/chunks/{mime-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
  215. package/dist/chunks/{mime-xvt56c4d.js → reference-st4p3zbh.js} +35 -35
  216. package/dist/chunks/{mime-egmw08v6.js → reference-sv2aw4yq.js} +5 -5
  217. package/dist/chunks/{mime-mtgfg349.js → reference-svjkc6ey.js} +24 -24
  218. package/dist/chunks/{mime-845h38vz.js → reference-sy87a8wb.js} +33 -33
  219. package/dist/chunks/{mime-sdw0stpz.js → reference-t1s8rtrn.js} +15 -15
  220. package/dist/chunks/{mime-avyq2sch.js → reference-t7w9mbga.js} +3 -3
  221. package/dist/chunks/{mime-ks4dhf3r.js → reference-tarnqw0m.js} +17 -17
  222. package/dist/chunks/{mime-8sxdqgb0.js → reference-tasvem1v.js} +6 -6
  223. package/dist/chunks/{mime-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
  224. package/dist/chunks/{mime-3nnrz6f6.js → reference-tmc7xdjs.js} +4 -4
  225. package/dist/chunks/{mime-dkq45v8d.js → reference-tnqzh63d.js} +8 -8
  226. package/dist/chunks/{mime-tw8zr1ps.js → reference-tw8zr1ps.js} +1 -1
  227. package/dist/chunks/{mime-twv2r8f4.js → reference-twv2r8f4.js} +2 -2
  228. package/dist/chunks/{mime-2r3n53wq.js → reference-v0aazhy0.js} +11 -11
  229. package/dist/chunks/{mime-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
  230. package/dist/chunks/{mime-yz0kavm7.js → reference-v3htpbcn.js} +16 -16
  231. package/dist/chunks/{mime-2yvtks3w.js → reference-v75htaq3.js} +6 -6
  232. package/dist/chunks/{mime-x6e5q3s7.js → reference-v8e5qm2c.js} +11 -11
  233. package/dist/chunks/{mime-8dvrnm31.js → reference-v919ewzn.js} +36 -36
  234. package/dist/chunks/{mime-rrpm1tdr.js → reference-vbf812b9.js} +25 -25
  235. package/dist/chunks/{mime-vd3b3yk9.js → reference-vd3b3yk9.js} +1 -1
  236. package/dist/chunks/{mime-veqvce7d.js → reference-veqvce7d.js} +1 -1
  237. package/dist/chunks/{mime-xs1m5cpe.js → reference-vjtgj0yq.js} +4 -4
  238. package/dist/chunks/{mime-dvn6w1q7.js → reference-vq537ftf.js} +19 -19
  239. package/dist/chunks/reference-vrjhymqn.js +523 -0
  240. package/dist/chunks/{mime-aex04x02.js → reference-vry4t0gh.js} +4 -4
  241. package/dist/chunks/{mime-hy03mgxa.js → reference-w05t22bp.js} +26 -26
  242. package/dist/chunks/{mime-6fpyxm8h.js → reference-w0jjrdy3.js} +11 -11
  243. package/dist/chunks/{mime-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{mime-n39q19g8.js → reference-w7zjqt6n.js} +4 -4
  245. package/dist/chunks/{mime-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
  246. package/dist/chunks/{mime-wd87259q.js → reference-wd87259q.js} +1 -1
  247. package/dist/chunks/{mime-c37dr9s5.js → reference-wdn14rh7.js} +33 -33
  248. package/dist/chunks/{mime-ngeq0yak.js → reference-whkc4da7.js} +4 -4
  249. package/dist/chunks/{mime-rbg5ajna.js → reference-wjd1k730.js} +9 -9
  250. package/dist/chunks/{mime-e6zvexf0.js → reference-wmwmhrgq.js} +10 -10
  251. package/dist/chunks/{mime-wr3re1en.js → reference-wr3re1en.js} +1 -1
  252. package/dist/chunks/{mime-tx9renrs.js → reference-wskggc81.js} +6 -6
  253. package/dist/chunks/{mime-3kdbrncp.js → reference-x3mp4vcj.js} +5 -5
  254. package/dist/chunks/{mime-z44n2dnr.js → reference-x7sq7g0m.js} +23 -23
  255. package/dist/chunks/{mime-3rn14jrq.js → reference-xapnwa6c.js} +18 -18
  256. package/dist/chunks/{mime-bstexjd6.js → reference-xd9cc171.js} +5 -5
  257. package/dist/chunks/{mime-st7p3hwb.js → reference-xffzfxwd.js} +2 -2
  258. package/dist/chunks/{mime-2qc2a76n.js → reference-xhjrc3ew.js} +11 -11
  259. package/dist/chunks/{mime-v7qwy7k6.js → reference-xm8ddap8.js} +11 -11
  260. package/dist/chunks/{mime-p0ncpex0.js → reference-xmgbg1w1.js} +23 -23
  261. package/dist/chunks/{mime-kfye5h0a.js → reference-xmpvkfqb.js} +5 -5
  262. package/dist/chunks/{mime-nefyg2qe.js → reference-xmry5mjf.js} +22 -23
  263. package/dist/chunks/{mime-rcbjwvze.js → reference-xpve62cf.js} +4 -4
  264. package/dist/chunks/{mime-pbrndjvt.js → reference-xvcq0a37.js} +12 -12
  265. package/dist/chunks/{mime-326newke.js → reference-y3wdcfp2.js} +4 -4
  266. package/dist/chunks/{mime-4rs84ng6.js → reference-y45mmnaw.js} +14 -14
  267. package/dist/chunks/{mime-0akmrmk7.js → reference-y5mjzf8n.js} +20 -20
  268. package/dist/chunks/{mime-9mcfgtzv.js → reference-y5zyg2mm.js} +189 -189
  269. package/dist/chunks/{mime-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
  270. package/dist/chunks/{mime-6gm6bk7h.js → reference-yd0qn0bb.js} +23 -23
  271. package/dist/chunks/{mime-tqx9c315.js → reference-ydsespw1.js} +8 -8
  272. package/dist/chunks/{mime-hymmg9xs.js → reference-ygvq11bn.js} +26 -26
  273. package/dist/chunks/{mime-b8fewz8c.js → reference-yhkv4e77.js} +10 -10
  274. package/dist/chunks/{mime-g7tvh7ca.js → reference-ym0fp58v.js} +14 -14
  275. package/dist/chunks/{mime-8e1vzrak.js → reference-ymb3jxsn.js} +12 -12
  276. package/dist/chunks/{mime-wsjhra5c.js → reference-yrj74tq8.js} +11 -11
  277. package/dist/chunks/{mime-sjefdf1p.js → reference-yx5z65v3.js} +10 -10
  278. package/dist/chunks/{mime-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{mime-z38nccrw.js → reference-z38nccrw.js} +1 -1
  280. package/dist/chunks/{mime-92xjtyzm.js → reference-z9y71txf.js} +3 -3
  281. package/dist/chunks/{mime-7zghsshh.js → reference-zkeee37c.js} +24 -24
  282. package/dist/chunks/{mime-zkg84ctx.js → reference-zkg84ctx.js} +1 -1
  283. package/dist/chunks/reference-zm25mbzg.js +58 -0
  284. package/dist/chunks/{mime-nsm09qdn.js → reference-ztd79bjn.js} +23 -23
  285. package/dist/chunks/{mime-avb6j7af.js → reference-ztj6qd7j.js} +44 -44
  286. package/dist/chunks/{mime-nvq2cp9b.js → reference-zv31yxkj.js} +6 -6
  287. package/dist/chunks/{mime-9ben7srh.js → reference-zvk4dyfv.js} +14 -14
  288. package/dist/chunks/{mime-q8g6wzn7.js → reference-zzh4dnpm.js} +33 -33
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +118 -118
  306. package/dist/config/plugin/mcp.js +123 -123
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +3 -3
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +94 -94
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -369
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +72 -72
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +80 -80
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +109 -109
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -360
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +156 -156
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -357
  470. package/dist/location.js +91 -91
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +111 -111
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +104 -104
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +117 -117
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +76 -76
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -332
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +97 -0
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +103 -103
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +123 -123
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +171 -170
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +103 -103
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +101 -101
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +93 -93
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +3 -3
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +166 -166
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +95 -95
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +5 -5
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +101 -101
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +107 -107
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +8 -8
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +15 -15
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +95 -95
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +139 -139
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +120 -120
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +115 -115
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +138 -138
  654. package/dist/tool/plugin/webfetch.js +115 -115
  655. package/dist/tool/plugin/websearch.js +116 -116
  656. package/dist/tool/plugin/write.js +120 -120
  657. package/dist/tool/read-filesystem.js +102 -102
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +14 -14
  661. package/dist/types/plugin/provider/openai-context-caps.d.ts +2 -0
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +95 -95
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +84 -84
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +81 -81
  684. package/dist/workspace/driver.js +3 -3
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +82 -82
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +8 -8
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +96 -96
  692. package/package.json +8 -8
  693. package/dist/chunks/mime-1s6zx0v5.js +0 -257
  694. package/dist/chunks/mime-ezna1kdx.js +0 -18
  695. package/dist/chunks/mime-x49m95er.js +0 -523
  696. package/dist/chunks/mime-ypydzh1y.js +0 -26
  697. /package/dist/chunks/{mime-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{mime-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{mime-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{mime-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{mime-24dcb14g.js → reference-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{mime-2710q6r3.js → reference-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{mime-2bv980vf.js → reference-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{mime-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{mime-359p4xyc.js → reference-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{mime-3asan66x.js → reference-3asan66x.js} +0 -0
  707. /package/dist/chunks/{mime-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{mime-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{mime-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{mime-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{mime-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{mime-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{mime-53557ph1.js → reference-53557ph1.js} +0 -0
  714. /package/dist/chunks/{mime-550bvhaj.js → reference-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{mime-5fjb7ams.js → reference-5fjb7ams.js} +0 -0
  716. /package/dist/chunks/{mime-6prwharc.js → reference-6prwharc.js} +0 -0
  717. /package/dist/chunks/{mime-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{mime-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{mime-7m9af43g.js → reference-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{mime-822emrt2.js → reference-822emrt2.js} +0 -0
  721. /package/dist/chunks/{mime-84wd9syh.js → reference-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{mime-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{mime-8n3pysct.js → reference-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{mime-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{mime-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{mime-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{mime-a058387c.js → reference-a058387c.js} +0 -0
  728. /package/dist/chunks/{mime-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{mime-af5trqkr.js → reference-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{mime-afrmfg78.js → reference-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{mime-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{mime-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{mime-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{mime-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{mime-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{mime-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{mime-d9fn303g.js → reference-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{mime-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{mime-dajrwvna.js → reference-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{mime-dap0rakb.js → reference-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{mime-df08tz66.js → reference-df08tz66.js} +0 -0
  742. /package/dist/chunks/{mime-dy18nga0.js → reference-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{mime-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{mime-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{mime-ec1grn59.js → reference-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{mime-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{mime-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{mime-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{mime-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{mime-faypxj3z.js → reference-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{mime-fd410y7t.js → reference-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{mime-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{mime-g86h250q.js → reference-g86h250q.js} +0 -0
  754. /package/dist/chunks/{mime-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{mime-gftt206x.js → reference-gftt206x.js} +0 -0
  756. /package/dist/chunks/{mime-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{mime-hk9envan.js → reference-hk9envan.js} +0 -0
  758. /package/dist/chunks/{mime-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{mime-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{mime-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{mime-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{mime-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{mime-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{mime-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{mime-m18g726c.js → reference-m18g726c.js} +0 -0
  766. /package/dist/chunks/{mime-mp448xyj.js → reference-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{mime-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{mime-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{mime-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{mime-njntx4h6.js → reference-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{mime-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{mime-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{mime-q74kybfr.js → reference-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{mime-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{mime-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{mime-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{mime-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{mime-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{mime-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{mime-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{mime-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{mime-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{mime-w803qqfp.js → reference-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{mime-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{mime-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{mime-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{mime-wtztk69x.js → reference-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{mime-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{mime-x61499pn.js → reference-x61499pn.js} +0 -0
  790. /package/dist/chunks/{mime-y44na4kk.js → reference-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{mime-y8f7s663.js → reference-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{mime-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{mime-ym463w8f.js → reference-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{mime-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{mime-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./mime-92xjtyzm.js";
7
+ } from "./reference-z9y71txf.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./mime-be4ky1jx.js";
11
+ } from "./reference-jvdzp9ms.js";
12
12
  import {
13
- Service78,
14
- node80
15
- } from "./mime-cvh6tqsr.js";
13
+ Service83,
14
+ node87
15
+ } from "./reference-1711wf45.js";
16
16
  import {
17
- ID14,
17
+ ID17,
18
18
  Current3,
19
- Info24,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event16,
21
+ Event19,
22
22
  Vcs3
23
- } from "./mime-9562mf0m.js";
23
+ } from "./reference-dqgvvwe0.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./mime-034tev2y.js";
27
+ } from "./reference-034tev2y.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./mime-ayjs7tqn.js";
30
+ } from "./reference-ayjs7tqn.js";
31
31
  import {
32
32
  __export
33
- } from "./mime-9rqn6x4v.js";
33
+ } from "./reference-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID13,
40
- Info: () => Info23,
39
+ ID: () => ID16,
40
+ Info: () => Info27,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service82,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node79,
46
+ node: () => node86,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID13 = ID14;
59
+ var ID16 = ID17;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info23 = Info24;
62
+ var Info27 = Info28;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
65
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID13
66
+ projectID: ID16
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service77 extends Context.Service()("@opencode/Project") {
77
+ class Service82 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,9 +98,9 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service77, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service78;
103
+ const git = yield* Service83;
104
104
  const proc = yield* AppProcess.Service;
105
105
  const bus = yield* Service85;
106
106
  const db = (yield* Service86).db;
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event16.Updated, fromRow(changed));
115
+ yield* bus.publish(Event19.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID13.global,
151
+ previous: project.previous ?? ID16.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
173
173
  if (!row)
174
174
  return yield* new NotFoundError11({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event16.Updated, project);
176
+ yield* bus.publish(Event19.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event16.Updated, fromRow(row));
187
+ yield* bus.publish(Event19.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID13.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID13.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID13.make(root) : undefined;
226
+ return root ? ID16.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID13.make(node) : undefined;
242
+ return node ? ID16.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
247
247
  const id = previous ?? (yield* hgRoot(worktree));
248
248
  return {
249
249
  previous,
250
- id: id ?? ID13.global,
250
+ id: id ?? ID16.global,
251
251
  directory: worktree,
252
252
  vcs: { type: "hg", store: dotHg }
253
253
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* save({
267
267
  previous,
268
- id: id ?? ID13.global,
268
+ id: id ?? ID16.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* save({
282
- id: ID13.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID13.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event16.Updated, fromRow(row));
304
+ yield* bus.publish(Event19.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service77.of({ list, update, activate, resolve, sweep });
307
+ return Service82.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node79 = makeGlobalNode({
310
- service: Service77,
309
+ var node86 = makeGlobalNode({
310
+ service: Service82,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node80, AppProcess.node]
312
+ deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service77;
317
+ const project = yield* Service82;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node79]
320
+ deps: [node86]
321
321
  });
322
322
 
323
- export { ID13, Vcs2, Current2, Info23, UpdateInput3, NotFoundError11, root2, Service77, node79, sweepNode2, exports_project };
323
+ export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service51
3
- } from "./mime-c4970w7t.js";
2
+ Service41
3
+ } from "./reference-sbegqkxp.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./mime-ezna1kdx.js";
6
+ } from "./reference-a610t88q.js";
7
7
  import {
8
- Service41
9
- } from "./mime-ms6fca56.js";
8
+ Service50
9
+ } from "./reference-3wn85t44.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./mime-k814nvkf.js";
12
+ } from "./reference-k814nvkf.js";
13
13
  import {
14
14
  __export
15
- } from "./mime-9rqn6x4v.js";
15
+ } from "./reference-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service51;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
25
+ const instances = yield* Service41;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./mime-92xjtyzm.js";
4
+ } from "./reference-z9y71txf.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service85,
8
8
  node89
9
- } from "./mime-be4ky1jx.js";
9
+ } from "./reference-jvdzp9ms.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./mime-p015t6z3.js";
12
+ } from "./reference-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./mime-ec1grn59.js";
15
+ } from "./reference-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./mime-j2e1pdqh.js";
18
+ } from "./reference-0r8en8zz.js";
19
19
  import {
20
- Service55,
21
- node57
22
- } from "./mime-9ben7srh.js";
20
+ Service70,
21
+ node74
22
+ } from "./reference-zvk4dyfv.js";
23
23
  import {
24
- Service22,
25
- node25
26
- } from "./mime-2bpj5bas.js";
24
+ Service26,
25
+ node30
26
+ } from "./reference-a6p3qmva.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./mime-tw8zr1ps.js";
30
+ } from "./reference-tw8zr1ps.js";
31
31
  import {
32
32
  __export
33
- } from "./mime-9rqn6x4v.js";
33
+ } from "./reference-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service9,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node3
41
+ layer: () => layer6,
42
+ node: () => node11
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service9 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
75
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
76
76
  const bus = yield* Service85;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service22;
79
- const store = yield* Service55;
78
+ const context = yield* Service26;
79
+ const store = yield* Service70;
80
80
  const db = (yield* Service86).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service2.of({ generate });
163
+ return Service9.of({ generate });
164
164
  }));
165
- var node3 = makeLocationNode({
166
- service: Service2,
167
- layer: layer3,
168
- deps: [node89, llmClient2, node25, node57, node90]
165
+ var node11 = makeLocationNode({
166
+ service: Service9,
167
+ layer: layer6,
168
+ deps: [node89, llmClient2, node30, node74, node90]
169
169
  });
170
170
 
171
- export { Service2, isUntitled2, layer3, node3, exports_title };
171
+ export { Service9, isUntitled2, layer6, node11, exports_title };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./mime-qfa1cgps.js";
3
+ } from "./reference-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./mime-rb9dy4dg.js";
3
+ } from "./reference-rb9dy4dg.js";
4
4
  import {
5
- ID4,
6
- Service35
7
- } from "./mime-845h38vz.js";
5
+ ID5,
6
+ Service45
7
+ } from "./reference-sy87a8wb.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./mime-nvxqht09.js";
10
+ } from "./reference-1njtx4es.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./mime-2yvtks3w.js";
13
+ } from "./reference-v75htaq3.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./mime-998yhzzq.js";
16
+ } from "./reference-998yhzzq.js";
17
17
  import {
18
18
  __export
19
- } from "./mime-9rqn6x4v.js";
19
+ } from "./reference-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service35;
84
+ const snapshot = yield* Service45;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID4.make(from),
91
- to: ID4.make(to),
90
+ from: ID5.make(from),
91
+ to: ID5.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./mime-92xjtyzm.js";
4
+ } from "./reference-z9y71txf.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./mime-be4ky1jx.js";
8
+ } from "./reference-jvdzp9ms.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./mime-pknna89w.js";
11
+ } from "./reference-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./mime-m1714858.js";
14
+ } from "./reference-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./mime-9rqn6x4v.js";
17
+ } from "./reference-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -22,13 +22,13 @@ __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info28,
27
- Key: () => Key3,
25
+ ID: () => ID15,
26
+ Info: () => Info25,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service81,
29
+ Service: () => Service79,
30
30
  Value: () => Value2,
31
- node: () => node84
31
+ node: () => node83
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID17 = Credential.ID;
39
+ var ID15 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
- var Key3 = Credential.Key;
41
+ var Key4 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
44
  var Event18 = Credential.Event;
45
45
 
46
- class Info28 extends Schema.Class("Credential.Info")({
47
- id: ID17,
46
+ class Info25 extends Schema.Class("Credential.Info")({
47
+ id: ID15,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service81 extends Context.Service()("@opencode/Credential") {
54
+ class Service79 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service81, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
58
  const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info28({
63
+ return new Info25({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service81.of({
74
+ return Service79.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info28({
83
- id: input.id ?? ID17.create(),
82
+ const credential = new Info25({
83
+ id: input.id ?? ID15.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -204,6 +204,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  }));
207
- var node84 = makeGlobalNode({ service: Service81, layer, deps: [node90, node89] });
207
+ var node83 = makeGlobalNode({ service: Service79, layer, deps: [node90, node89] });
208
208
 
209
- export { ID17, OAuth3, Key3, External2, Value2, Event18, Info28, Service81, node84, exports_credential };
209
+ export { ID15, OAuth3, Key4, External2, Value2, Event18, Info25, Service79, node83, exports_credential };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service72
4
- } from "./mime-h5frkgzc.js";
3
+ Service65
4
+ } from "./reference-2nzqa2tq.js";
5
5
  import {
6
- Service66
7
- } from "./mime-12yp6zfs.js";
6
+ Service52
7
+ } from "./reference-c3yk3agv.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service72;
12
+ const providers = yield* Service65;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service66);
14
+ const service = yield* Effect.serviceOption(Service52);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service67
3
- } from "./mime-makr7g9p.js";
2
+ Service53
3
+ } from "./reference-0f0dnca3.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./mime-z5v4ffb3.js";
6
+ } from "./reference-z5v4ffb3.js";
7
7
  import {
8
- Service76
9
- } from "./mime-vxawy97t.js";
8
+ Service81
9
+ } from "./reference-8taff695.js";
10
10
  import {
11
- Service66
12
- } from "./mime-12yp6zfs.js";
11
+ Service52
12
+ } from "./reference-c3yk3agv.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./mime-wwf2h3h9.js";
17
+ } from "./reference-2ww2ff7e.js";
18
18
  import {
19
- Service7
20
- } from "./mime-8x9y3wj0.js";
19
+ Service6
20
+ } from "./reference-jcqm84fr.js";
21
21
  import {
22
22
  parse2
23
- } from "./mime-tx9renrs.js";
23
+ } from "./reference-wskggc81.js";
24
24
  import {
25
25
  ignore2,
26
- scan3
27
- } from "./mime-770pw0s1.js";
26
+ scan2
27
+ } from "./reference-nah043kf.js";
28
28
  import {
29
29
  __export
30
- } from "./mime-9rqn6x4v.js";
30
+ } from "./reference-9rqn6x4v.js";
31
31
 
32
32
  // src/config/plugin/skill.ts
33
- var exports_skill2 = {};
34
- __export(exports_skill2, {
35
- ConfigSkillPlugin: () => exports_skill2,
36
- Plugin: () => Plugin22
33
+ var exports_skill = {};
34
+ __export(exports_skill, {
35
+ ConfigSkillPlugin: () => exports_skill,
36
+ Plugin: () => Plugin16
37
37
  });
38
38
  import { define } from "@opencode/plugin/effect/plugin";
39
39
  import { FSUtil } from "@opencode/util/fs-util";
40
40
  import { Global } from "@opencode/util/global";
41
41
  import path from "path";
42
42
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
43
- var Plugin22 = define({
43
+ var Plugin16 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const config = yield* Service66;
47
- const discovery = yield* Service7;
46
+ const config = yield* Service52;
47
+ const discovery = yield* Service6;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
- const location = yield* Service76;
51
- const watcher = yield* Service67;
50
+ const location = yield* Service81;
51
+ const watcher = yield* Service53;
52
52
  const loaded = {
53
53
  entries: yield* config.entries(),
54
54
  skills: []
@@ -122,7 +122,7 @@ var Plugin22 = define({
122
122
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
123
123
  const skills = [];
124
124
  for (const directory of directories) {
125
- for (const filepath of yield* scan3(directory)) {
125
+ for (const filepath of yield* scan2(directory)) {
126
126
  const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
127
127
  if (!roots.some((root) => FSUtil.contains(root, resolved)))
128
128
  yield* watch(resolved, "file");
@@ -179,4 +179,4 @@ var Plugin22 = define({
179
179
  })
180
180
  });
181
181
 
182
- export { Plugin22, exports_skill2 };
182
+ export { Plugin16, exports_skill };