@opencode/core 0.0.0-dev-20114 → 0.0.0-dev-20115

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{workspace-jt0ae3x5.js → generate-058r5a9s.js} +16 -16
  8. package/dist/chunks/{workspace-v0qyj49f.js → generate-05v90r5t.js} +32 -32
  9. package/dist/chunks/{workspace-8mjagv5b.js → generate-0cazcqtd.js} +13 -13
  10. package/dist/chunks/{workspace-xmpfc1gs.js → generate-0cgtmc8a.js} +12 -12
  11. package/dist/chunks/{workspace-prq7hedt.js → generate-0jq9fyba.js} +2 -2
  12. package/dist/chunks/generate-0mesazry.js +4 -0
  13. package/dist/chunks/{workspace-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{workspace-0r7yqxbf.js → generate-0r7yqxbf.js} +2 -2
  15. package/dist/chunks/{workspace-tnkedzgy.js → generate-0rkxpd3w.js} +16 -16
  16. package/dist/chunks/{workspace-3mdqjwjq.js → generate-0z594a3n.js} +85 -85
  17. package/dist/chunks/{workspace-6f51hy00.js → generate-135dqwpd.js} +6 -6
  18. package/dist/chunks/{workspace-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{workspace-aesn9jmf.js → generate-1wj59nq5.js} +11 -11
  20. package/dist/chunks/{workspace-xm9ad1cr.js → generate-1wqg2ck8.js} +20 -20
  21. package/dist/chunks/{workspace-21r38tys.js → generate-21r38tys.js} +1 -1
  22. package/dist/chunks/{workspace-2402vzrj.js → generate-2402vzrj.js} +1 -1
  23. package/dist/chunks/{workspace-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{workspace-h747f910.js → generate-2fghpfkp.js} +45 -45
  25. package/dist/chunks/{workspace-2w6fc0zt.js → generate-2fgn2we9.js} +5 -5
  26. package/dist/chunks/{workspace-466thwct.js → generate-2qd48t7m.js} +15 -15
  27. package/dist/chunks/{workspace-qmqgtz8f.js → generate-2sejkfem.js} +9 -9
  28. package/dist/chunks/{workspace-pztc22em.js → generate-2tdwad47.js} +17 -17
  29. package/dist/chunks/generate-2tf17v0s.js +26 -0
  30. package/dist/chunks/{workspace-n6f91730.js → generate-2y92msa0.js} +8 -8
  31. package/dist/chunks/{workspace-knht3pjq.js → generate-2z03bkx6.js} +5 -5
  32. package/dist/chunks/{workspace-505kak1q.js → generate-312csvmh.js} +6 -6
  33. package/dist/chunks/{workspace-1ygqh575.js → generate-33w4ejhs.js} +6 -6
  34. package/dist/chunks/{workspace-4jk4wxge.js → generate-36nf603s.js} +33 -33
  35. package/dist/chunks/{workspace-cy02d2xc.js → generate-3bw4v39f.js} +6 -6
  36. package/dist/chunks/{workspace-q53vqx2z.js → generate-3dx765w3.js} +16 -16
  37. package/dist/chunks/{workspace-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{workspace-60an1160.js → generate-3gc9tq7p.js} +17 -17
  39. package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{workspace-2xn6s27p.js → generate-3ka6c8fj.js} +46 -46
  41. package/dist/chunks/{workspace-45d0fyve.js → generate-3n114cxc.js} +17 -17
  42. package/dist/chunks/{workspace-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{workspace-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{workspace-h7e5g0tn.js → generate-3v0kbfet.js} +6 -6
  45. package/dist/chunks/{workspace-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{workspace-7gc9qn53.js → generate-408p2t6a.js} +29 -29
  47. package/dist/chunks/{workspace-1qx820s6.js → generate-4478d6jr.js} +20 -20
  48. package/dist/chunks/{workspace-h6r3nrb9.js → generate-44h5tttr.js} +4 -4
  49. package/dist/chunks/{workspace-az1ye58n.js → generate-48yaw2g6.js} +34 -34
  50. package/dist/chunks/{workspace-p9pz7yr4.js → generate-4krywg4p.js} +8 -8
  51. package/dist/chunks/{workspace-sz8868xq.js → generate-4sx6m46k.js} +7 -7
  52. package/dist/chunks/{workspace-0za9f44n.js → generate-4vd7n6yw.js} +1 -1
  53. package/dist/chunks/{workspace-bxhncv17.js → generate-4wgvb1zg.js} +8 -8
  54. package/dist/chunks/{workspace-7m8xajth.js → generate-4yqq56vx.js} +22 -22
  55. package/dist/chunks/{workspace-rv3ajkkz.js → generate-4z9rzteq.js} +22 -22
  56. package/dist/chunks/{workspace-hvf24zfz.js → generate-500fmqbd.js} +11 -11
  57. package/dist/chunks/{workspace-3pbxz7sh.js → generate-50d7ccq3.js} +18 -18
  58. package/dist/chunks/{workspace-kb9jw9za.js → generate-5c9sd73s.js} +5 -5
  59. package/dist/chunks/{workspace-5daktx2q.js → generate-5daktx2q.js} +1 -1
  60. package/dist/chunks/{workspace-5ekn9679.js → generate-5ekn9679.js} +1 -1
  61. package/dist/chunks/{workspace-ca8b9jkw.js → generate-5na67w3t.js} +4 -4
  62. package/dist/chunks/{workspace-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{workspace-fhwjz7ks.js → generate-5vs0p599.js} +27 -27
  64. package/dist/chunks/{workspace-669tq793.js → generate-669tq793.js} +1 -1
  65. package/dist/chunks/{workspace-q60sw46r.js → generate-6dxb6f6k.js} +28 -28
  66. package/dist/chunks/{workspace-red9fndq.js → generate-6fra3cd5.js} +5 -5
  67. package/dist/chunks/{workspace-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{workspace-py3kkmfq.js → generate-6pc27hjz.js} +6 -6
  69. package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{workspace-pw8h7q9e.js → generate-7d7mc7nn.js} +30 -30
  71. package/dist/chunks/{workspace-2k8khapm.js → generate-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{workspace-hgazxmwb.js → generate-7fzbbf6p.js} +22 -22
  73. package/dist/chunks/{workspace-9ted079k.js → generate-7p3fcf52.js} +27 -27
  74. package/dist/chunks/{workspace-sfcb33kz.js → generate-7rats573.js} +17 -17
  75. package/dist/chunks/{workspace-ygb2gymn.js → generate-7vv29s32.js} +29 -29
  76. package/dist/chunks/{workspace-bxkg3gdp.js → generate-7w8dz25z.js} +18 -18
  77. package/dist/chunks/{workspace-vwpcpzep.js → generate-8aaqm6qj.js} +8 -8
  78. package/dist/chunks/{workspace-t5rx070x.js → generate-8bpcqbtr.js} +36 -36
  79. package/dist/chunks/{workspace-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{workspace-p1anhhew.js → generate-8exb21m6.js} +22 -22
  81. package/dist/chunks/{workspace-swfc4c09.js → generate-8j75q05v.js} +50 -50
  82. package/dist/chunks/{workspace-5rg82yfa.js → generate-8k1taj4b.js} +23 -23
  83. package/dist/chunks/{workspace-zh0w19mw.js → generate-8whe1ftd.js} +7 -7
  84. package/dist/chunks/{workspace-gfvb90ym.js → generate-94ek1h2f.js} +2 -2
  85. package/dist/chunks/{workspace-msnexz9t.js → generate-96av1tye.js} +33 -33
  86. package/dist/chunks/{workspace-td0mb8yv.js → generate-9chjmrjd.js} +19 -19
  87. package/dist/chunks/{workspace-b7vpt2tp.js → generate-9gz4pnve.js} +14 -14
  88. package/dist/chunks/{workspace-0spbe0cp.js → generate-9hqhm2d2.js} +33 -33
  89. package/dist/chunks/{workspace-ddevztyh.js → generate-9sp5ch6w.js} +35 -35
  90. package/dist/chunks/{workspace-aahyy29f.js → generate-a1fy41p6.js} +80 -80
  91. package/dist/chunks/{workspace-9vb8s0ef.js → generate-a22s65z7.js} +32 -32
  92. package/dist/chunks/{workspace-n0xkpwp9.js → generate-a54cg76a.js} +26 -26
  93. package/dist/chunks/{workspace-aaet6srn.js → generate-aaet6srn.js} +2 -2
  94. package/dist/chunks/{workspace-18gvgcyb.js → generate-ahwm19b7.js} +36 -36
  95. package/dist/chunks/{workspace-9c463c3v.js → generate-arzv5pyn.js} +21 -21
  96. package/dist/chunks/{workspace-7kq06j26.js → generate-aw6rh0e0.js} +18 -18
  97. package/dist/chunks/{workspace-e13yqjz3.js → generate-b0rvnc5h.js} +49 -49
  98. package/dist/chunks/{workspace-583w8zzc.js → generate-b5vd5f2s.js} +3 -3
  99. package/dist/chunks/{workspace-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{workspace-e0rvhg7q.js → generate-ba3st6n3.js} +2 -2
  101. package/dist/chunks/{workspace-myfy8bwe.js → generate-basnvkrt.js} +3 -3
  102. package/dist/chunks/{workspace-c67sf3ms.js → generate-bfhawprk.js} +9 -9
  103. package/dist/chunks/{workspace-nn09g6m5.js → generate-bgbs76xx.js} +24 -24
  104. package/dist/chunks/{workspace-zm1yvs5r.js → generate-bmbezxvj.js} +12 -12
  105. package/dist/chunks/{workspace-xa8fzrz4.js → generate-bt5w0njk.js} +24 -24
  106. package/dist/chunks/{workspace-4v7ngy20.js → generate-btbmdjwj.js} +4 -4
  107. package/dist/chunks/{workspace-g190xswt.js → generate-cavr175a.js} +4 -4
  108. package/dist/chunks/{workspace-vj0qrmre.js → generate-cfsjmcx3.js} +19 -19
  109. package/dist/chunks/{workspace-54tcyq79.js → generate-ckecvw8r.js} +2 -2
  110. package/dist/chunks/{workspace-qec8xvn0.js → generate-cpx588df.js} +318 -318
  111. package/dist/chunks/{workspace-p0b4ytnr.js → generate-cpy6gm2a.js} +4 -4
  112. package/dist/chunks/{workspace-g9177ymk.js → generate-cv19meg5.js} +7 -7
  113. package/dist/chunks/{workspace-e57pv4wg.js → generate-cybk5p7c.js} +73 -73
  114. package/dist/chunks/{workspace-m2tre556.js → generate-d6bnq78f.js} +42 -42
  115. package/dist/chunks/{workspace-a09v9r2j.js → generate-d97kjvmj.js} +13 -13
  116. package/dist/chunks/{workspace-tka7gdsf.js → generate-djdxfn23.js} +35 -35
  117. package/dist/chunks/{workspace-xfkkasph.js → generate-drwq78ky.js} +4 -4
  118. package/dist/chunks/{workspace-6x6zqcbs.js → generate-dsh6f6yj.js} +40 -40
  119. package/dist/chunks/{workspace-mxrrxz3e.js → generate-dtp9vetf.js} +12 -12
  120. package/dist/chunks/{workspace-r4b24f36.js → generate-e0xdgz0m.js} +11 -11
  121. package/dist/chunks/{workspace-791jfm05.js → generate-e40qhhm8.js} +11 -11
  122. package/dist/chunks/{workspace-v7bxjhmx.js → generate-e4670fxf.js} +7 -7
  123. package/dist/chunks/{workspace-2wy0jzng.js → generate-e7shfttd.js} +6 -6
  124. package/dist/chunks/{workspace-rhjbct0v.js → generate-eaj1djv9.js} +8 -8
  125. package/dist/chunks/{workspace-z92dbfgq.js → generate-ebhw3mq4.js} +4 -4
  126. package/dist/chunks/{workspace-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{workspace-g44g4t6r.js → generate-er4hwy7c.js} +15 -15
  128. package/dist/chunks/{workspace-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
  129. package/dist/chunks/{workspace-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{workspace-6bwbzvbk.js → generate-ev27g8wa.js} +32 -32
  131. package/dist/chunks/{workspace-9n3yh9qe.js → generate-ewvdpzth.js} +19 -19
  132. package/dist/chunks/{workspace-asrf6d4d.js → generate-ey7ggjjv.js} +35 -35
  133. package/dist/chunks/{workspace-pkzcwsw4.js → generate-f9qkrfrz.js} +23 -23
  134. package/dist/chunks/{workspace-2yqk5d2g.js → generate-fgbmk54h.js} +11 -11
  135. package/dist/chunks/{workspace-pnkd16h0.js → generate-fjq2vs6z.js} +6 -6
  136. package/dist/chunks/{workspace-pqt57qxs.js → generate-fpm8vwy4.js} +37 -37
  137. package/dist/chunks/{workspace-5yzzbxa7.js → generate-g0445xdp.js} +8 -8
  138. package/dist/chunks/{workspace-z97kzzt3.js → generate-g25em2wa.js} +6 -6
  139. package/dist/chunks/{workspace-b601atsc.js → generate-g26gfjk9.js} +12 -12
  140. package/dist/chunks/{workspace-55q8s0tq.js → generate-g7nv64e4.js} +22 -22
  141. package/dist/chunks/{workspace-0dp24jhc.js → generate-g8f2cmxd.js} +22 -22
  142. package/dist/chunks/{workspace-8076am3r.js → generate-gcqgchj4.js} +41 -41
  143. package/dist/chunks/{workspace-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{workspace-6xhyt350.js → generate-ge5cpj3r.js} +5 -5
  145. package/dist/chunks/{workspace-wg0qqct4.js → generate-gghkw5p5.js} +24 -24
  146. package/dist/chunks/{workspace-0e81x99y.js → generate-gmjjhz4f.js} +3 -3
  147. package/dist/chunks/{workspace-khmhvwbd.js → generate-gr6sts3c.js} +25 -25
  148. package/dist/chunks/{workspace-akzjf690.js → generate-gsxdchbh.js} +9 -9
  149. package/dist/chunks/{workspace-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{workspace-c4cdms68.js → generate-gzafw2k2.js} +17 -17
  151. package/dist/chunks/{workspace-kd2jg7wg.js → generate-gzre948x.js} +10 -10
  152. package/dist/chunks/{workspace-rmj3p531.js → generate-gzvxer3a.js} +5 -5
  153. package/dist/chunks/{workspace-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{workspace-gc4fb455.js → generate-hehaxqkv.js} +4 -4
  155. package/dist/chunks/{workspace-s8x1qprv.js → generate-hgs5ny64.js} +11 -11
  156. package/dist/chunks/{workspace-s30pz1fr.js → generate-hpjt3c9f.js} +18 -18
  157. package/dist/chunks/{workspace-hccbp3fd.js → generate-hqax1sk6.js} +11 -11
  158. package/dist/chunks/{workspace-ww89ca1r.js → generate-hs0gycjv.js} +22 -22
  159. package/dist/chunks/{workspace-9cdcmxar.js → generate-htfm5hm2.js} +13 -13
  160. package/dist/chunks/{workspace-ja6mtjvc.js → generate-hzp6wvvn.js} +18 -18
  161. package/dist/chunks/{workspace-9bysvk2w.js → generate-j2gexte7.js} +15 -15
  162. package/dist/chunks/{workspace-j56e64zr.js → generate-j56e64zr.js} +1 -1
  163. package/dist/chunks/{workspace-vqfzq50h.js → generate-j5w2yx54.js} +6 -6
  164. package/dist/chunks/{workspace-wqc6684y.js → generate-jca4demv.js} +2 -2
  165. package/dist/chunks/{workspace-yd89mvd7.js → generate-jpv1641y.js} +8 -8
  166. package/dist/chunks/{workspace-vs560t14.js → generate-jrwd5gjp.js} +13 -13
  167. package/dist/chunks/{workspace-k1qrnqst.js → generate-k1qrnqst.js} +1 -1
  168. package/dist/chunks/{workspace-sxz6gkc3.js → generate-k8962brh.js} +4 -4
  169. package/dist/chunks/{workspace-56m60q16.js → generate-k8dasee7.js} +5 -5
  170. package/dist/chunks/{workspace-dwyehvxd.js → generate-kh5864kc.js} +19 -19
  171. package/dist/chunks/{workspace-6p5b6z32.js → generate-kjqhhdrj.js} +6 -6
  172. package/dist/chunks/{workspace-vmmqyyr9.js → generate-km5mjpbt.js} +5 -5
  173. package/dist/chunks/{workspace-6qrmzyn8.js → generate-kmdz5r4y.js} +22 -22
  174. package/dist/chunks/{workspace-ksytkaze.js → generate-kw185j9a.js} +21 -21
  175. package/dist/chunks/{workspace-56dkfrzf.js → generate-kwrf6mrp.js} +4 -4
  176. package/dist/chunks/{workspace-bqxbmhwc.js → generate-m2yg46wj.js} +11 -11
  177. package/dist/chunks/{workspace-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{workspace-0e0z5yt4.js → generate-m40fkmb4.js} +15 -15
  179. package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{workspace-pyp5frad.js → generate-mg9my19h.js} +19 -19
  181. package/dist/chunks/{workspace-eq1pz5kg.js → generate-mhkvc446.js} +3 -3
  182. package/dist/chunks/{workspace-b8xr8rbz.js → generate-mnp2fbq7.js} +18 -18
  183. package/dist/chunks/{workspace-6wg7wrda.js → generate-mqzwkyay.js} +6 -6
  184. package/dist/chunks/{workspace-ty6tacf3.js → generate-mvk2jfk4.js} +5 -5
  185. package/dist/chunks/{workspace-sg1hzg94.js → generate-n46we7c3.js} +44 -44
  186. package/dist/chunks/{workspace-xv6wg3rm.js → generate-n6f6v89y.js} +11 -11
  187. package/dist/chunks/{workspace-rhj3j0xw.js → generate-n78y29v0.js} +6 -6
  188. package/dist/chunks/{workspace-y4b1sr7g.js → generate-na4s0x3w.js} +18 -18
  189. package/dist/chunks/{workspace-c5c81y3p.js → generate-nkttmmpy.js} +4 -4
  190. package/dist/chunks/{workspace-pkaafs0j.js → generate-nnh0aynp.js} +22 -22
  191. package/dist/chunks/{workspace-s8zy8myc.js → generate-nxhqveyz.js} +5 -5
  192. package/dist/chunks/{workspace-k3c624dm.js → generate-nzks3jc8.js} +3 -3
  193. package/dist/chunks/{workspace-83me60hv.js → generate-p0b30zvt.js} +11 -11
  194. package/dist/chunks/{workspace-438c5wf5.js → generate-p6frwh1y.js} +32 -32
  195. package/dist/chunks/{workspace-3zvpgha1.js → generate-pbt7bx9c.js} +22 -22
  196. package/dist/chunks/{workspace-ncfym1m4.js → generate-pek3718z.js} +14 -14
  197. package/dist/chunks/{workspace-9zbzdfgd.js → generate-peprph1j.js} +32 -32
  198. package/dist/chunks/generate-phz3h32g.js +18 -0
  199. package/dist/chunks/{workspace-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
  201. package/dist/chunks/{workspace-1816vhxd.js → generate-pmw6zdhr.js} +4 -4
  202. package/dist/chunks/{workspace-78hnnhxt.js → generate-pn9jkae5.js} +11 -11
  203. package/dist/chunks/{workspace-rhr7kre3.js → generate-pwaxk50r.js} +19 -19
  204. package/dist/chunks/generate-q1k3p0aj.js +252 -0
  205. package/dist/chunks/{workspace-k6yq57aq.js → generate-q3t37ft6.js} +3 -3
  206. package/dist/chunks/{workspace-e89xj288.js → generate-q4fmv0xv.js} +5 -5
  207. package/dist/chunks/{workspace-7hxn90bs.js → generate-q4qc13yr.js} +41 -41
  208. package/dist/chunks/{workspace-7tp3f5r3.js → generate-q8n9d2sh.js} +8 -8
  209. package/dist/chunks/{workspace-k2wyf9h9.js → generate-qb1vw869.js} +42 -42
  210. package/dist/chunks/{workspace-m2d0j7c0.js → generate-qg0jgkcp.js} +9 -9
  211. package/dist/chunks/{workspace-qsdy395h.js → generate-qsdy395h.js} +1 -1
  212. package/dist/chunks/{workspace-71f1cn11.js → generate-r03v0hjj.js} +34 -34
  213. package/dist/chunks/{workspace-ae72ha8b.js → generate-r06z5h03.js} +25 -25
  214. package/dist/chunks/{workspace-9a5xrdm0.js → generate-r3889vak.js} +20 -20
  215. package/dist/chunks/{workspace-az5cyybe.js → generate-rcjabzwr.js} +5 -5
  216. package/dist/chunks/{workspace-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{workspace-qdbakdjh.js → generate-reg6q42h.js} +5 -5
  218. package/dist/chunks/{workspace-z873mpyh.js → generate-rj7bpn2q.js} +11 -11
  219. package/dist/chunks/{workspace-0yeq2kq4.js → generate-rmebftez.js} +174 -174
  220. package/dist/chunks/{workspace-vkfdnwpx.js → generate-s26hbv8p.js} +4 -4
  221. package/dist/chunks/{workspace-37sfe3bm.js → generate-s375a249.js} +13 -13
  222. package/dist/chunks/{workspace-re06hfb4.js → generate-sn6ab8mn.js} +26 -26
  223. package/dist/chunks/{workspace-schrbh41.js → generate-srn8r8jz.js} +21 -21
  224. package/dist/chunks/{workspace-mcyzx8fc.js → generate-sve65ey2.js} +11 -11
  225. package/dist/chunks/{workspace-zpser4p9.js → generate-swgq8cqr.js} +9 -9
  226. package/dist/chunks/{workspace-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{workspace-5z6rwdjk.js → generate-tcdcapjr.js} +3 -3
  228. package/dist/chunks/{workspace-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{workspace-tdstcens.js → generate-tdstcens.js} +1 -1
  230. package/dist/chunks/{workspace-ydq9gdxv.js → generate-tjbwbrpf.js} +7 -7
  231. package/dist/chunks/{workspace-t0fxg8b9.js → generate-tn0aqsam.js} +5 -5
  232. package/dist/chunks/{workspace-30a43rch.js → generate-tv09qagv.js} +50 -50
  233. package/dist/chunks/{workspace-tvtrv512.js → generate-tvtrv512.js} +1 -1
  234. package/dist/chunks/{workspace-1gfgk62c.js → generate-tx9w5tca.js} +8 -8
  235. package/dist/chunks/{workspace-2z54xyv0.js → generate-txcvczgx.js} +26 -26
  236. package/dist/chunks/{workspace-06x8he3q.js → generate-tz4n1mmd.js} +4 -4
  237. package/dist/chunks/{workspace-h9ssxcjg.js → generate-v1sqp18z.js} +10 -10
  238. package/dist/chunks/{workspace-5ksqsxw4.js → generate-v44xvwz4.js} +27 -27
  239. package/dist/chunks/{workspace-tq2sjk2m.js → generate-v7twaqy7.js} +24 -24
  240. package/dist/chunks/{workspace-ve4pfa0n.js → generate-ve4pfa0n.js} +1 -1
  241. package/dist/chunks/{workspace-183dvndp.js → generate-vek5t477.js} +9 -9
  242. package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
  243. package/dist/chunks/{workspace-kkvt8xjw.js → generate-vnpwkwtz.js} +17 -17
  244. package/dist/chunks/{workspace-9x5r1zhq.js → generate-vpr681xz.js} +8 -8
  245. package/dist/chunks/{workspace-kr59axht.js → generate-vrjazymd.js} +1 -1
  246. package/dist/chunks/{workspace-sfntmzm9.js → generate-vtpkq4qf.js} +1 -1
  247. package/dist/chunks/{workspace-fjvydvzm.js → generate-vyqn3nqs.js} +4 -4
  248. package/dist/chunks/{workspace-a9qpy9ng.js → generate-vz9yhsd3.js} +20 -20
  249. package/dist/chunks/{workspace-357vwvaw.js → generate-vzbekny8.js} +13 -13
  250. package/dist/chunks/{workspace-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{workspace-9z7cfjnw.js → generate-w9m1hehb.js} +31 -31
  253. package/dist/chunks/{workspace-em664rth.js → generate-wb66k78e.js} +20 -20
  254. package/dist/chunks/{workspace-5mqgys5q.js → generate-wcrxxh2z.js} +35 -35
  255. package/dist/chunks/{workspace-psazpmmj.js → generate-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
  257. package/dist/chunks/{workspace-jhte7jv1.js → generate-wgzm9wz2.js} +11 -11
  258. package/dist/chunks/{workspace-fds0942a.js → generate-wp7yrr8t.js} +24 -24
  259. package/dist/chunks/{workspace-bk7jaeqh.js → generate-wq4mmp7m.js} +4 -4
  260. package/dist/chunks/{workspace-9q0fe16k.js → generate-wtgzqz62.js} +15 -15
  261. package/dist/chunks/{workspace-b23ngztz.js → generate-wwgrxbk4.js} +8 -8
  262. package/dist/chunks/{workspace-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{workspace-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{workspace-e62vcbxn.js → generate-xx13ga85.js} +5 -5
  265. package/dist/chunks/{workspace-91e2qxf2.js → generate-xxyw0hgj.js} +33 -33
  266. package/dist/chunks/{workspace-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{workspace-bzbmha14.js → generate-y4n2nqts.js} +10 -10
  268. package/dist/chunks/{workspace-7wc442ye.js → generate-y52aqrcn.js} +5 -5
  269. package/dist/chunks/{workspace-ypzhfwa9.js → generate-y5df08dr.js} +12 -12
  270. package/dist/chunks/{workspace-dpkg50ah.js → generate-y71avatq.js} +4 -4
  271. package/dist/chunks/{workspace-0g0t9165.js → generate-y7t0d5q6.js} +4 -4
  272. package/dist/chunks/{workspace-0qfaha1m.js → generate-y8adhbbs.js} +3 -3
  273. package/dist/chunks/{workspace-tvj5t05b.js → generate-ydpvnw0r.js} +10 -10
  274. package/dist/chunks/{workspace-ft8my87t.js → generate-ynpb9wcp.js} +11 -11
  275. package/dist/chunks/{workspace-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{workspace-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{workspace-yrznvahk.js → generate-yrznvahk.js} +2 -2
  278. package/dist/chunks/{workspace-1cxs6ddq.js → generate-ysa4kjbr.js} +26 -26
  279. package/dist/chunks/{workspace-27za9r5g.js → generate-yxn70j2j.js} +48 -48
  280. package/dist/chunks/{workspace-bjtzbw4r.js → generate-z07pqspn.js} +3 -3
  281. package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{workspace-975r8ezm.js → generate-z2wn3pyy.js} +35 -35
  283. package/dist/chunks/{workspace-kgen349b.js → generate-z3nay82g.js} +9 -9
  284. package/dist/chunks/{workspace-z63w68vq.js → generate-z63w68vq.js} +2 -2
  285. package/dist/chunks/{workspace-wjds8tjc.js → generate-z8m5seqj.js} +25 -25
  286. package/dist/chunks/{workspace-818pfwc9.js → generate-za9cx4qh.js} +8 -8
  287. package/dist/chunks/{workspace-13q1kvsh.js → generate-zcjrg8ya.js} +6 -6
  288. package/dist/chunks/{workspace-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{workspace-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{workspace-4zetm0jd.js → generate-zxfgyqze.js} +9 -9
  291. package/dist/chunks/{workspace-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  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 +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  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 +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +79 -79
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +1 -1
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +104 -104
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +109 -109
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +82 -82
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +5 -5
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +70 -70
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +2 -2
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  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 +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +4 -4
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +150 -150
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +75 -75
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +126 -126
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  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 +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  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 +208 -208
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +210 -210
  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 +13 -13
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  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 +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +107 -107
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  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/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +2 -2
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +1 -1
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/workspace-6kdq0pjd.js +0 -4
  701. package/dist/chunks/workspace-a9862w5q.js +0 -26
  702. package/dist/chunks/workspace-cm00fmja.js +0 -252
  703. package/dist/chunks/workspace-v1faaxn9.js +0 -18
  704. /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{workspace-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{workspace-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{workspace-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
  716. /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{workspace-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
  724. /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{workspace-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
  727. /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
  730. /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{workspace-922hggd3.js → generate-922hggd3.js} +0 -0
  734. /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
  750. /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{workspace-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
  763. /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
  765. /package/dist/chunks/{workspace-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
  767. /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{workspace-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
  795. /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{workspace-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./workspace-922hggd3.js";
5
+ } from "./generate-922hggd3.js";
6
6
  import {
7
- Service56,
8
- node58
9
- } from "./workspace-nn09g6m5.js";
7
+ Service59,
8
+ node62
9
+ } from "./generate-bgbs76xx.js";
10
10
  import {
11
- Content3
12
- } from "./workspace-ksytkaze.js";
11
+ Content2
12
+ } from "./generate-kw185j9a.js";
13
13
  import {
14
14
  detect2
15
- } from "./workspace-3smtnn6g.js";
15
+ } from "./generate-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./generate-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node14,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service12, Effect.gen(function* () {
334
- const environment = yield* Service56;
335
- return Service12.of({
333
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
334
+ const environment = yield* Service59;
335
+ return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node14 = makeLocationNode({ service: Service12, layer, deps: [node58] });
340
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [node62] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./workspace-qfa1cgps.js";
3
+ } from "./generate-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-q53vqx2z.js";
2
+ Service83,
3
+ node87
4
+ } from "./generate-3dx765w3.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./workspace-tnkedzgy.js";
6
+ Service79,
7
+ node83
8
+ } from "./generate-0rkxpd3w.js";
9
9
  import {
10
- Service56,
11
- node58
12
- } from "./workspace-nn09g6m5.js";
10
+ Service59,
11
+ node62
12
+ } from "./generate-bgbs76xx.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./workspace-gd4qta3r.js";
15
+ } from "./generate-gd4qta3r.js";
16
16
  import {
17
- Service55,
17
+ Service49,
18
18
  args2,
19
- node57
20
- } from "./workspace-pyp5frad.js";
19
+ node51
20
+ } from "./generate-mg9my19h.js";
21
21
  import {
22
- Service67,
23
- node69
24
- } from "./workspace-1gfgk62c.js";
22
+ Service78,
23
+ node82
24
+ } from "./generate-tx9w5tca.js";
25
25
  import {
26
- Service51,
27
- node53
28
- } from "./workspace-vwpcpzep.js";
26
+ Service48,
27
+ node50
28
+ } from "./generate-8aaqm6qj.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./workspace-k6yq57aq.js";
31
+ } from "./generate-q3t37ft6.js";
32
32
  import {
33
33
  latest2,
34
- Service52,
35
- node54
36
- } from "./workspace-k2wyf9h9.js";
34
+ Service51,
35
+ node53
36
+ } from "./generate-qb1vw869.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./workspace-xmpfc1gs.js";
40
+ } from "./generate-0cgtmc8a.js";
41
41
  import {
42
42
  __export
43
- } from "./workspace-9rqn6x4v.js";
43
+ } from "./generate-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
@@ -48,10 +48,10 @@ __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
49
  NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service50,
51
+ Service: () => Service47,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node52
54
+ node: () => node49
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service50 extends Context.Service()("@opencode/Shell") {
73
+ class Service47 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service50, Effect.gen(function* () {
90
- const bus = yield* Service82;
91
- const location = yield* Service78;
89
+ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
90
+ const bus = yield* Service83;
91
+ const location = yield* Service79;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service55;
94
- const environment = yield* Service56;
95
- const hooks = yield* Service67;
96
- const environments = yield* Service51;
97
- const config = yield* Service52;
93
+ const shell = yield* Service49;
94
+ const environment = yield* Service59;
95
+ const hooks = yield* Service78;
96
+ const environments = yield* Service48;
97
+ const config = yield* Service51;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service50.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service47.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node52 = makeLocationNode({
320
- service: Service50,
319
+ var node49 = makeLocationNode({
320
+ service: Service47,
321
321
  layer: layer(),
322
322
  deps: [
323
- node86,
324
- node82,
323
+ node87,
324
+ node83,
325
325
  Global.node,
326
- node57,
327
- node58,
328
- node69,
326
+ node51,
327
+ node62,
328
+ node82,
329
+ node50,
329
330
  node53,
330
- node54,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service50, cleanup2, node52, exports_shell4 };
335
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./workspace-hccbp3fd.js";
2
+ Service84,
3
+ node88
4
+ } from "./generate-hqax1sk6.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./workspace-rhjbct0v.js";
10
+ } from "./generate-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./workspace-bjtzbw4r.js";
13
+ } from "./generate-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./workspace-9rqn6x4v.js";
16
+ } from "./generate-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,7 +22,7 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service23,
25
+ Service: () => Service24,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service23 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service24 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,8 +75,8 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service23, Effect.gen(function* () {
79
- const { db } = yield* Service83;
78
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
79
+ const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service23.of({ list, put, remove, load });
111
+ return Service24.of({ list, put, remove, load });
112
112
  }));
113
- var node27 = makeLocationNode({ service: Service23, layer, deps: [node87] });
113
+ var node27 = makeLocationNode({ service: Service24, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node27, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node27, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./workspace-fxgpk5d8.js";
3
+ } from "./generate-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./workspace-g4wezp1m.js";
6
+ } from "./generate-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./workspace-x61499pn.js";
9
+ } from "./generate-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./workspace-af5trqkr.js";
12
+ } from "./generate-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./workspace-afrmfg78.js";
15
+ } from "./generate-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./workspace-x0ckcb58.js";
18
+ } from "./generate-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-q53vqx2z.js";
2
+ Service83,
3
+ node87
4
+ } from "./generate-3dx765w3.js";
5
5
  import {
6
6
  Service30,
7
7
  node33
8
- } from "./workspace-e13yqjz3.js";
8
+ } from "./generate-b0rvnc5h.js";
9
9
  import {
10
- Service62,
11
- node64
12
- } from "./workspace-swfc4c09.js";
10
+ Service74,
11
+ node78
12
+ } from "./generate-8j75q05v.js";
13
13
  import {
14
- Service35,
15
- node38
16
- } from "./workspace-khmhvwbd.js";
14
+ Service54,
15
+ node57
16
+ } from "./generate-gr6sts3c.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service29,
26
- layer: () => layer11,
27
- name: () => name14,
25
+ Service: () => Service22,
26
+ layer: () => layer10,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node32
29
+ node: () => node25
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service29 extends Context.Service()("@opencode/McpTool") {
38
+ class Service22 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service29, Effect.gen(function* () {
40
+ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
41
41
  const mcp = yield* Service30;
42
- const tools = yield* Service35;
43
- const bus = yield* Service82;
44
- const permission = yield* Service62;
42
+ const tools = yield* Service54;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service74;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name14(tool.server, tool.name),
59
+ action: name13(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service22.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node32 = makeLocationNode({
124
- service: Service29,
125
- layer: layer11,
126
- deps: [node38, node33, node86, node64]
123
+ var node25 = makeLocationNode({
124
+ service: Service22,
125
+ layer: layer10,
126
+ deps: [node57, node33, node87, node78]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service29, layer11, node32, exports_mcp3 };
129
+ export { namespace2, name13, Service22, layer10, node25, exports_mcp3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./generate-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./workspace-g190xswt.js";
6
+ } from "./generate-cavr175a.js";
7
7
  import {
8
- Info15
9
- } from "./workspace-818pfwc9.js";
8
+ Info11
9
+ } from "./generate-za9cx4qh.js";
10
10
  import {
11
- Info12
12
- } from "./workspace-t0fxg8b9.js";
11
+ Info17
12
+ } from "./generate-tn0aqsam.js";
13
13
  import {
14
- Info13
15
- } from "./workspace-sxz6gkc3.js";
14
+ Info19
15
+ } from "./generate-k8962brh.js";
16
16
  import {
17
- Info11
18
- } from "./workspace-s8zy8myc.js";
17
+ Info15
18
+ } from "./generate-nxhqveyz.js";
19
19
  import {
20
20
  Spec2
21
- } from "./workspace-2k8khapm.js";
21
+ } from "./generate-7dqw4kz8.js";
22
22
  import {
23
23
  Info14
24
- } from "./workspace-0r7yqxbf.js";
24
+ } from "./generate-0r7yqxbf.js";
25
25
  import {
26
26
  Info10
27
- } from "./workspace-18gvgcyb.js";
27
+ } from "./generate-ahwm19b7.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./workspace-1816vhxd.js";
36
+ } from "./generate-pmw6zdhr.js";
37
37
  import {
38
38
  __export
39
- } from "./workspace-9rqn6x4v.js";
39
+ } from "./generate-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -87,7 +87,7 @@ function normalize2(input) {
87
87
  const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info11, value, path, diagnostics);
228
+ const server = decodeValue(Info15, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info28,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info28 = Connection.Info;
17
+ var Info24 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };