@opencode/core 0.0.0-dev-21779 → 0.0.0-dev-21787

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 (809) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -82
  3. package/dist/aisdk-native.js +94 -93
  4. package/dist/aisdk.js +100 -99
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -76
  7. package/dist/chunks/{managed-policy-aj7mw0zk.js → generate-034tev2y.js} +2 -2
  8. package/dist/chunks/{managed-policy-apd5jra7.js → generate-0421tmwc.js} +9 -9
  9. package/dist/chunks/{managed-policy-t92kp9s5.js → generate-0c2df23s.js} +4 -4
  10. package/dist/chunks/{managed-policy-8wseh08p.js → generate-0gzf2wbx.js} +4 -4
  11. package/dist/chunks/{managed-policy-pdwtbhzp.js → generate-0kdh9f7n.js} +19 -19
  12. package/dist/chunks/generate-12ts6x5e.js +26 -0
  13. package/dist/chunks/{managed-policy-64a4dgx4.js → generate-1602d4m9.js} +9 -9
  14. package/dist/chunks/{managed-policy-ze6babrc.js → generate-16bfm19d.js} +16 -16
  15. package/dist/chunks/{managed-policy-27w5k9zf.js → generate-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{managed-policy-atfnw7gf.js → generate-1pa7gmjv.js} +5 -5
  17. package/dist/chunks/{managed-policy-cxk65cmw.js → generate-1srm2qwn.js} +11 -11
  18. package/dist/chunks/{managed-policy-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
  19. package/dist/chunks/{managed-policy-v8a9v78w.js → generate-1xnaj2rs.js} +35 -35
  20. package/dist/chunks/{managed-policy-49z7jvp2.js → generate-2d8gesjs.js} +29 -29
  21. package/dist/chunks/{managed-policy-mj9xj69n.js → generate-2f776c8r.js} +56 -56
  22. package/dist/chunks/{managed-policy-e0yygr8n.js → generate-2m52ht03.js} +35 -35
  23. package/dist/chunks/{managed-policy-ghp95cmw.js → generate-2x0b8f33.js} +18 -18
  24. package/dist/chunks/{managed-policy-2z1j29yd.js → generate-2z1j29yd.js} +1 -1
  25. package/dist/chunks/{managed-policy-f4eccy7q.js → generate-38bn2079.js} +17 -17
  26. package/dist/chunks/{managed-policy-ew4kz2ah.js → generate-3d5cbqv5.js} +21 -21
  27. package/dist/chunks/{managed-policy-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  28. package/dist/chunks/{managed-policy-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
  29. package/dist/chunks/{managed-policy-ezyvxv03.js → generate-3tt8f194.js} +48 -48
  30. package/dist/chunks/{managed-policy-r3h5n1vp.js → generate-3yeddse9.js} +8 -8
  31. package/dist/chunks/{managed-policy-p5vfq2v8.js → generate-3z9mrz6q.js} +10 -10
  32. package/dist/chunks/{managed-policy-j2g2ntz0.js → generate-41d4f1qa.js} +19 -19
  33. package/dist/chunks/{managed-policy-p3ey8vsp.js → generate-455h4v89.js} +37 -37
  34. package/dist/chunks/{managed-policy-ca54dx7n.js → generate-46sv0t9j.js} +33 -33
  35. package/dist/chunks/{managed-policy-vggrzz3j.js → generate-4ctzk2hd.js} +30 -30
  36. package/dist/chunks/{managed-policy-xqx3k1v9.js → generate-4r35dryz.js} +25 -25
  37. package/dist/chunks/{managed-policy-4v008n1t.js → generate-4v008n1t.js} +1 -1
  38. package/dist/chunks/{managed-policy-ahhnq9fe.js → generate-4v60j7sz.js} +4 -4
  39. package/dist/chunks/{managed-policy-evsbz9da.js → generate-4xf0z7td.js} +9 -9
  40. package/dist/chunks/{managed-policy-v1hzysda.js → generate-4xn5gq7h.js} +22 -22
  41. package/dist/chunks/{managed-policy-4xvmh7wp.js → generate-4xvmh7wp.js} +3 -3
  42. package/dist/chunks/{managed-policy-68dpv4bm.js → generate-4ynggejv.js} +93 -93
  43. package/dist/chunks/{managed-policy-ed5jkn8v.js → generate-57esxv74.js} +2 -2
  44. package/dist/chunks/{managed-policy-w2eysc6j.js → generate-5enarcya.js} +6 -6
  45. package/dist/chunks/{managed-policy-wpdqzxj0.js → generate-5kzn450w.js} +49 -49
  46. package/dist/chunks/{managed-policy-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  47. package/dist/chunks/{managed-policy-x5p586pb.js → generate-5mkgcf5e.js} +29 -29
  48. package/dist/chunks/{managed-policy-rkdvqggb.js → generate-5nrew705.js} +5 -5
  49. package/dist/chunks/{managed-policy-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
  50. package/dist/chunks/{managed-policy-me2be6v4.js → generate-5rsk6zhh.js} +35 -35
  51. package/dist/chunks/{managed-policy-h7vk0jqt.js → generate-60h9p25p.js} +11 -11
  52. package/dist/chunks/{managed-policy-6p9bsfn5.js → generate-61377pcc.js} +16 -16
  53. package/dist/chunks/{managed-policy-b5vt0e29.js → generate-647zght9.js} +36 -36
  54. package/dist/chunks/{managed-policy-tr9mnhj9.js → generate-64w43kpe.js} +4 -4
  55. package/dist/chunks/{managed-policy-bs208s33.js → generate-67gs8m0e.js} +20 -20
  56. package/dist/chunks/{managed-policy-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{managed-policy-6pjqjmy2.js → generate-6pjqjmy2.js} +1 -1
  58. package/dist/chunks/{managed-policy-wtj1vzq6.js → generate-6wqb6r61.js} +10 -10
  59. package/dist/chunks/{managed-policy-ayhhxpsd.js → generate-6wrzbp15.js} +31 -31
  60. package/dist/chunks/{managed-policy-h1vf7xw6.js → generate-706a9m97.js} +18 -18
  61. package/dist/chunks/{managed-policy-f9fgjzmf.js → generate-72qs9vfp.js} +5 -5
  62. package/dist/chunks/{managed-policy-q666dkhj.js → generate-74wd5b57.js} +24 -24
  63. package/dist/chunks/{managed-policy-76cb1hcw.js → generate-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{managed-policy-ckajzhn0.js → generate-76thwr1m.js} +13 -13
  65. package/dist/chunks/{managed-policy-8kcft6qy.js → generate-7a9fgd28.js} +14 -14
  66. package/dist/chunks/{managed-policy-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{managed-policy-r9d3bf7c.js → generate-7cdxenn5.js} +1 -1
  68. package/dist/chunks/generate-7m48pw0y.js +261 -0
  69. package/dist/chunks/{managed-policy-zq8j0fqq.js → generate-7msg3p4q.js} +19 -19
  70. package/dist/chunks/{managed-policy-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/{managed-policy-avpzytns.js → generate-7zre7e56.js} +7 -7
  72. package/dist/chunks/{managed-policy-hj4bas8x.js → generate-804yeq1k.js} +5 -5
  73. package/dist/chunks/{managed-policy-1ft3a64b.js → generate-80pygm52.js} +32 -32
  74. package/dist/chunks/{managed-policy-z0tr6hr4.js → generate-816av33b.js} +85 -85
  75. package/dist/chunks/{managed-policy-1sb2b4hz.js → generate-843z2d51.js} +17 -17
  76. package/dist/chunks/{managed-policy-q85rya1m.js → generate-8682byc1.js} +6 -6
  77. package/dist/chunks/{managed-policy-bad2ztpq.js → generate-89e5nn63.js} +5 -5
  78. package/dist/chunks/{managed-policy-kwag3h57.js → generate-8acmvnn2.js} +6 -6
  79. package/dist/chunks/{managed-policy-9y2xp9dz.js → generate-8e105es8.js} +15 -15
  80. package/dist/chunks/{managed-policy-6wnv4aap.js → generate-8wnwwakb.js} +17 -17
  81. package/dist/chunks/{managed-policy-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{managed-policy-91rj84md.js → generate-91rj84md.js} +1 -1
  83. package/dist/chunks/{managed-policy-n6vhe5fc.js → generate-91rtgvd1.js} +24 -24
  84. package/dist/chunks/{managed-policy-cqntne3k.js → generate-91tq4j7x.js} +47 -47
  85. package/dist/chunks/{managed-policy-s5rxfzaz.js → generate-92krx78w.js} +3 -3
  86. package/dist/chunks/{managed-policy-f42edk30.js → generate-93e6r647.js} +15 -15
  87. package/dist/chunks/{managed-policy-y1m3tahy.js → generate-943vk4xf.js} +4 -4
  88. package/dist/chunks/{managed-policy-vxse5zfy.js → generate-95yk96qj.js} +13 -13
  89. package/dist/chunks/{managed-policy-n77kgz3v.js → generate-988e81kb.js} +18 -18
  90. package/dist/chunks/{managed-policy-fy5bjxgv.js → generate-998yhzzq.js} +3 -4
  91. package/dist/chunks/{managed-policy-f1fvgra9.js → generate-9bv6909x.js} +14 -14
  92. package/dist/chunks/{managed-policy-pv3f4fmb.js → generate-9ebekwpw.js} +11 -11
  93. package/dist/chunks/{managed-policy-t9r9zczj.js → generate-9g64908n.js} +6 -6
  94. package/dist/chunks/{managed-policy-esnhh37z.js → generate-9gs5w8vw.js} +23 -23
  95. package/dist/chunks/{managed-policy-jt052epg.js → generate-9nb4x13m.js} +10 -10
  96. package/dist/chunks/{managed-policy-m7zcvtr8.js → generate-9p4802g3.js} +189 -189
  97. package/dist/chunks/{managed-policy-jchrqzf6.js → generate-9p9xqj3m.js} +8 -8
  98. package/dist/chunks/{managed-policy-rdesvtjj.js → generate-9qpzkr0s.js} +4 -4
  99. package/dist/chunks/{managed-policy-vrn1tqz6.js → generate-9whth5bc.js} +6 -6
  100. package/dist/chunks/{managed-policy-w0j5ywg8.js → generate-9za7fsez.js} +40 -40
  101. package/dist/chunks/{managed-policy-hw53rdkh.js → generate-a78jnvn4.js} +14 -14
  102. package/dist/chunks/{managed-policy-3kdbrncp.js → generate-afmnpta1.js} +5 -5
  103. package/dist/chunks/{managed-policy-qc74gz25.js → generate-am41y27b.js} +11 -11
  104. package/dist/chunks/{managed-policy-sj9d558k.js → generate-apg5tkyy.js} +24 -27
  105. package/dist/chunks/{managed-policy-z7gjhxcb.js → generate-apyfbx3k.js} +12 -12
  106. package/dist/chunks/{managed-policy-9q42j6a5.js → generate-arjcrnbc.js} +11 -11
  107. package/dist/chunks/{managed-policy-03ememhp.js → generate-axywpa85.js} +13 -13
  108. package/dist/chunks/{managed-policy-awkjnfzq.js → generate-ay55ej5b.js} +20 -20
  109. package/dist/chunks/{managed-policy-3cbjf1nt.js → generate-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{managed-policy-b0mv4wxm.js → generate-b0mv4wxm.js} +2 -2
  111. package/dist/chunks/{managed-policy-prazahgm.js → generate-b6vsg801.js} +2 -4
  112. package/dist/chunks/{managed-policy-tfcjfmds.js → generate-baak6a6c.js} +19 -19
  113. package/dist/chunks/{managed-policy-8554g49p.js → generate-bbcv7z05.js} +33 -33
  114. package/dist/chunks/{managed-policy-mkxcxg19.js → generate-bf5a4r6p.js} +24 -24
  115. package/dist/chunks/{managed-policy-00cr1rxs.js → generate-bgnkmjh7.js} +12 -12
  116. package/dist/chunks/{managed-policy-9hx0ex4r.js → generate-bprg34wm.js} +3 -3
  117. package/dist/chunks/{managed-policy-bstexjd6.js → generate-bstexjd6.js} +1 -1
  118. package/dist/chunks/{managed-policy-d2r51erv.js → generate-bx7p4zt3.js} +17 -17
  119. package/dist/chunks/{managed-policy-42yy1t4m.js → generate-bxpy1z3j.js} +17 -17
  120. package/dist/chunks/{managed-policy-dfgx57nd.js → generate-c1jyg704.js} +35 -35
  121. package/dist/chunks/{managed-policy-je0epjbd.js → generate-c1w24mvk.js} +9 -9
  122. package/dist/chunks/{managed-policy-fbjqxkhq.js → generate-c3q67jfs.js} +5 -5
  123. package/dist/chunks/{managed-policy-rezjgjxe.js → generate-c6sgtb47.js} +20 -20
  124. package/dist/chunks/{managed-policy-p0y7ddwc.js → generate-c7s0gbm9.js} +22 -22
  125. package/dist/chunks/{managed-policy-jrzpqne3.js → generate-c8anzs9p.js} +10 -10
  126. package/dist/chunks/{managed-policy-pqdrg6za.js → generate-cay4tvkt.js} +5 -5
  127. package/dist/chunks/{managed-policy-a5z798gd.js → generate-cg6rqdg0.js} +35 -35
  128. package/dist/chunks/{managed-policy-a8p5crz1.js → generate-cgrnsrfx.js} +22 -22
  129. package/dist/chunks/{managed-policy-7jz5d2t0.js → generate-cm3sk30v.js} +12 -12
  130. package/dist/chunks/{managed-policy-d2vccz4f.js → generate-cp1x68ta.js} +30 -30
  131. package/dist/chunks/{managed-policy-cdfeh84c.js → generate-crvaaxf0.js} +27 -27
  132. package/dist/chunks/{managed-policy-3fwr0gba.js → generate-ctbt5vra.js} +9 -9
  133. package/dist/chunks/{managed-policy-5nd54hzp.js → generate-cwjy3gzh.js} +5 -5
  134. package/dist/chunks/{managed-policy-s1qts2x9.js → generate-d2bz80wk.js} +1 -1
  135. package/dist/chunks/{managed-policy-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
  136. package/dist/chunks/{managed-policy-6vzv00yv.js → generate-d6fcepcv.js} +7 -7
  137. package/dist/chunks/{managed-policy-9kg5w032.js → generate-ddvn7d3w.js} +8 -8
  138. package/dist/chunks/{managed-policy-5ny4wef6.js → generate-dqv1w111.js} +40 -40
  139. package/dist/chunks/{managed-policy-dd6h6kqy.js → generate-dvdcj7cr.js} +24 -24
  140. package/dist/chunks/{managed-policy-zvwzcwk0.js → generate-dy6x8wfh.js} +6 -6
  141. package/dist/chunks/{managed-policy-vvzc2rtq.js → generate-dya2dypy.js} +12 -12
  142. package/dist/chunks/{managed-policy-bctgpknz.js → generate-e1wm1c1c.js} +14 -14
  143. package/dist/chunks/{managed-policy-agqd6nxz.js → generate-e2ne77ac.js} +4 -4
  144. package/dist/chunks/{managed-policy-45chpwqw.js → generate-e5594mv8.js} +11 -11
  145. package/dist/chunks/{managed-policy-e834z07m.js → generate-e834z07m.js} +1 -1
  146. package/dist/chunks/{managed-policy-yzhnqbqe.js → generate-eg1p11h9.js} +46 -46
  147. package/dist/chunks/{managed-policy-mm1qhevh.js → generate-enjcz11b.js} +40 -40
  148. package/dist/chunks/{managed-policy-2jq8265x.js → generate-exvmz0y3.js} +22 -22
  149. package/dist/chunks/{managed-policy-rpw9k8ba.js → generate-f6h5pjek.js} +22 -22
  150. package/dist/chunks/generate-f8ma18fn.js +18 -0
  151. package/dist/chunks/{managed-policy-v7h0nwys.js → generate-f9p4evw4.js} +14 -14
  152. package/dist/chunks/{managed-policy-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{managed-policy-jyq39yw7.js → generate-fxg03wke.js} +18 -18
  154. package/dist/chunks/{managed-policy-2sp6x650.js → generate-g07s9e0a.js} +16 -16
  155. package/dist/chunks/{managed-policy-kjx6j1fh.js → generate-g1jzcvfp.js} +48 -48
  156. package/dist/chunks/{managed-policy-ygbaejqc.js → generate-g4n8wy90.js} +22 -22
  157. package/dist/chunks/{managed-policy-g5h9c0rr.js → generate-g5h9c0rr.js} +2 -2
  158. package/dist/chunks/{managed-policy-m37sd98t.js → generate-g7esga4v.js} +7 -7
  159. package/dist/chunks/{managed-policy-02fhkb6c.js → generate-g8wnc3yf.js} +25 -25
  160. package/dist/chunks/{managed-policy-je88hrb4.js → generate-gdse6xex.js} +13 -13
  161. package/dist/chunks/{managed-policy-j9ezjb8v.js → generate-ggaga4g8.js} +14 -14
  162. package/dist/chunks/{managed-policy-n9p72mjb.js → generate-gj8x1tda.js} +5 -5
  163. package/dist/chunks/{managed-policy-03pkq5wz.js → generate-gkng5bng.js} +6 -6
  164. package/dist/chunks/{managed-policy-rzbj1kbd.js → generate-grzgy5vk.js} +34 -34
  165. package/dist/chunks/{managed-policy-zw3k2mvr.js → generate-gwgmm0r0.js} +32 -32
  166. package/dist/chunks/{managed-policy-nq061v6n.js → generate-h012d7er.js} +32 -32
  167. package/dist/chunks/{managed-policy-2wyes2cm.js → generate-h5qan5zz.js} +8 -8
  168. package/dist/chunks/{managed-policy-pp9yn2rg.js → generate-hdfrs5mg.js} +9 -9
  169. package/dist/chunks/{managed-policy-j113cymg.js → generate-j113cymg.js} +1 -1
  170. package/dist/chunks/{managed-policy-v8vd993n.js → generate-jc512s3p.js} +8 -8
  171. package/dist/chunks/{managed-policy-47jjev45.js → generate-jdm7ypvj.js} +75 -75
  172. package/dist/chunks/{managed-policy-tqxcyjgt.js → generate-jeyrprj9.js} +21 -21
  173. package/dist/chunks/{managed-policy-5ydp8y6j.js → generate-jfz0xtmw.js} +24 -24
  174. package/dist/chunks/{managed-policy-26h8w6n3.js → generate-jrzjw8ef.js} +11 -11
  175. package/dist/chunks/{managed-policy-jt7s8sjd.js → generate-jw5hzjzk.js} +5 -5
  176. package/dist/chunks/generate-jwr30sdr.js +13 -0
  177. package/dist/chunks/{managed-policy-7kn810xp.js → generate-jyk4tkgp.js} +55 -55
  178. package/dist/chunks/{managed-policy-k814nvkf.js → generate-k814nvkf.js} +1 -1
  179. package/dist/chunks/{managed-policy-m4869hkg.js → generate-kbg7fx6b.js} +11 -11
  180. package/dist/chunks/{managed-policy-q1bq6w6w.js → generate-kcrfampp.js} +8 -8
  181. package/dist/chunks/{managed-policy-skdn7emw.js → generate-kn8waak8.js} +9 -9
  182. package/dist/chunks/{managed-policy-9b4y21f1.js → generate-knz8nj5n.js} +9 -9
  183. package/dist/chunks/{managed-policy-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{managed-policy-c0r0jd01.js → generate-kzqkeft0.js} +5 -5
  185. package/dist/chunks/{managed-policy-m1714858.js → generate-m1714858.js} +1 -1
  186. package/dist/chunks/{managed-policy-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{managed-policy-maspj1v3.js → generate-maspj1v3.js} +1 -1
  188. package/dist/chunks/{managed-policy-qwgnw2k6.js → generate-mhw5nazv.js} +21 -21
  189. package/dist/chunks/{managed-policy-e4bdykca.js → generate-mj7y0whk.js} +1 -1
  190. package/dist/chunks/{managed-policy-f27wsjye.js → generate-mjywf106.js} +27 -27
  191. package/dist/chunks/{managed-policy-0bqp6b53.js → generate-mn233j48.js} +9 -9
  192. package/dist/chunks/{managed-policy-xar3ete2.js → generate-mr4qt0w1.js} +12 -12
  193. package/dist/chunks/{managed-policy-2h4dmphj.js → generate-mrwfy854.js} +46 -46
  194. package/dist/chunks/{managed-policy-c0jb4yaq.js → generate-myck1dky.js} +25 -25
  195. package/dist/chunks/{managed-policy-wyrpevsh.js → generate-mycq80cg.js} +19 -19
  196. package/dist/chunks/{managed-policy-n0p0277s.js → generate-n0p0277s.js} +1 -1
  197. package/dist/chunks/{managed-policy-h9g17fvf.js → generate-n1w9rr7b.js} +5 -5
  198. package/dist/chunks/{managed-policy-cr69m9gz.js → generate-n39q19g8.js} +4 -4
  199. package/dist/chunks/{managed-policy-6zfvt8rp.js → generate-n5ka82qe.js} +13 -13
  200. package/dist/chunks/{managed-policy-770pw0s1.js → generate-nah043kf.js} +4 -4
  201. package/dist/chunks/{managed-policy-x026aahv.js → generate-nqe13dkz.js} +23 -23
  202. package/dist/chunks/{managed-policy-zd3s57ef.js → generate-nxe16pbc.js} +14 -14
  203. package/dist/chunks/{managed-policy-p015t6z3.js → generate-p015t6z3.js} +2 -2
  204. package/dist/chunks/{managed-policy-p7vhpwh8.js → generate-p7vhpwh8.js} +1 -1
  205. package/dist/chunks/{managed-policy-jx89vj1k.js → generate-pc1v25hk.js} +3 -3
  206. package/dist/chunks/{managed-policy-3m04bkm7.js → generate-pc3q5c30.js} +6 -6
  207. package/dist/chunks/{managed-policy-0eeh5sc5.js → generate-pe3tcc4r.js} +30 -30
  208. package/dist/chunks/{managed-policy-pknna89w.js → generate-pknna89w.js} +1 -1
  209. package/dist/chunks/{managed-policy-dbztejgq.js → generate-pkyv6v7h.js} +0 -1
  210. package/dist/chunks/generate-pwprjmjf.js +517 -0
  211. package/dist/chunks/{managed-policy-wp43yer9.js → generate-pxvzbmhb.js} +29 -29
  212. package/dist/chunks/{managed-policy-n5wj02fj.js → generate-pyxrqe4f.js} +25 -19
  213. package/dist/chunks/{managed-policy-mz7dkqsg.js → generate-q5hbvftq.js} +17 -17
  214. package/dist/chunks/{managed-policy-49wfgnbx.js → generate-qc2mm8b6.js} +11 -11
  215. package/dist/chunks/{managed-policy-a1p7bg8r.js → generate-qcr4xbb4.js} +18 -18
  216. package/dist/chunks/{managed-policy-8jztxfpf.js → generate-qjgzc4b4.js} +4 -4
  217. package/dist/chunks/{managed-policy-vsnnaxjq.js → generate-qkc3z5ds.js} +4 -4
  218. package/dist/chunks/{managed-policy-9axz1114.js → generate-qv7y9773.js} +9 -9
  219. package/dist/chunks/{managed-policy-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{managed-policy-2gg250z3.js → generate-r38sx3r4.js} +6 -6
  221. package/dist/chunks/{managed-policy-8r6n0qax.js → generate-r542h3bh.js} +2 -4
  222. package/dist/chunks/{managed-policy-pmnt75d6.js → generate-r63szx73.js} +8 -8
  223. package/dist/chunks/{managed-policy-wgbrv6pc.js → generate-r8en70mr.js} +27 -27
  224. package/dist/chunks/{managed-policy-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{managed-policy-0ks2n9jf.js → generate-rcafeyqq.js} +6 -6
  226. package/dist/chunks/{managed-policy-bqxktn40.js → generate-rh6v8sme.js} +14 -14
  227. package/dist/chunks/{managed-policy-tmb3tnse.js → generate-rhpagg0w.js} +35 -35
  228. package/dist/chunks/{managed-policy-vrcsa8qx.js → generate-rjnacbrz.js} +9 -9
  229. package/dist/chunks/{managed-policy-k69edqc3.js → generate-rqkyt2p4.js} +50 -50
  230. package/dist/chunks/{managed-policy-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
  231. package/dist/chunks/{managed-policy-kgbbv3sg.js → generate-rwzztdnt.js} +40 -40
  232. package/dist/chunks/{managed-policy-f5at3vzj.js → generate-rx5q4re9.js} +21 -21
  233. package/dist/chunks/{managed-policy-c0r6m18p.js → generate-s06qzxdv.js} +14 -14
  234. package/dist/chunks/{managed-policy-vwqqd668.js → generate-s12jh10e.js} +8 -8
  235. package/dist/chunks/{managed-policy-zba5tm1j.js → generate-s626qfae.js} +4 -4
  236. package/dist/chunks/{managed-policy-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
  237. package/dist/chunks/{managed-policy-rrmqzdps.js → generate-scvarvm8.js} +7 -7
  238. package/dist/chunks/{managed-policy-ph7pkazd.js → generate-snseane2.js} +56 -52
  239. package/dist/chunks/{managed-policy-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
  240. package/dist/chunks/{managed-policy-ssfehs1z.js → generate-ssfehs1z.js} +1 -1
  241. package/dist/chunks/{managed-policy-njpdtz7k.js → generate-t8f6zgqm.js} +26 -26
  242. package/dist/chunks/{managed-policy-ddjqg4re.js → generate-t9z09xc1.js} +17 -17
  243. package/dist/chunks/{managed-policy-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
  244. package/dist/chunks/{managed-policy-1ee9e5h5.js → generate-tdzazexc.js} +20 -20
  245. package/dist/chunks/{managed-policy-zfrqmavk.js → generate-tgy9njqc.js} +28 -28
  246. package/dist/chunks/{managed-policy-azemrkpd.js → generate-tn1pzc3v.js} +48 -48
  247. package/dist/chunks/{managed-policy-bm5tsqjy.js → generate-ttqc2aqc.js} +11 -11
  248. package/dist/chunks/{managed-policy-twv2r8f4.js → generate-twv2r8f4.js} +2 -2
  249. package/dist/chunks/{managed-policy-n89ynwx4.js → generate-v1g3t408.js} +15 -15
  250. package/dist/chunks/{managed-policy-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
  251. package/dist/chunks/{managed-policy-vd204cgb.js → generate-v8r4h2ge.js} +15 -15
  252. package/dist/chunks/{managed-policy-zw9jfjbq.js → generate-v9hbv2xx.js} +28 -28
  253. package/dist/chunks/{managed-policy-vd3b3yk9.js → generate-vd3b3yk9.js} +1 -1
  254. package/dist/chunks/{managed-policy-veqvce7d.js → generate-veqvce7d.js} +1 -1
  255. package/dist/chunks/{managed-policy-1e5rbrpx.js → generate-vksr3ykb.js} +23 -23
  256. package/dist/chunks/{managed-policy-ydn5pt77.js → generate-vrecv7xn.js} +11 -11
  257. package/dist/chunks/{managed-policy-sa3m9chx.js → generate-vy44t5mr.js} +11 -11
  258. package/dist/chunks/{managed-policy-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{managed-policy-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{managed-policy-s4dfshv0.js → generate-wb8x9t3h.js} +38 -38
  261. package/dist/chunks/{managed-policy-wd87259q.js → generate-wd87259q.js} +1 -1
  262. package/dist/chunks/{managed-policy-qqg9c0kv.js → generate-wmjzvx4b.js} +4 -4
  263. package/dist/chunks/{managed-policy-32rbtppw.js → generate-wn502zcs.js} +20 -20
  264. package/dist/chunks/{managed-policy-6d6xnsqa.js → generate-wp4rg1a9.js} +5 -5
  265. package/dist/chunks/{managed-policy-fe357ss9.js → generate-wqa6kp8n.js} +9 -9
  266. package/dist/chunks/{managed-policy-w9cf5jnd.js → generate-wqfa8sbf.js} +16 -16
  267. package/dist/chunks/{managed-policy-wr3re1en.js → generate-wr3re1en.js} +1 -1
  268. package/dist/chunks/{managed-policy-yb6typ28.js → generate-wtc8kthj.js} +28 -28
  269. package/dist/chunks/{managed-policy-n3q6whry.js → generate-wypdqsf3.js} +19 -19
  270. package/dist/chunks/{managed-policy-zgmrepvs.js → generate-x26wqd07.js} +4 -4
  271. package/dist/chunks/{managed-policy-x132tpv8.js → generate-x5p4acxh.js} +3 -3
  272. package/dist/chunks/{managed-policy-t639c3yy.js → generate-xrbpmgv4.js} +25 -25
  273. package/dist/chunks/{managed-policy-zm48p3w4.js → generate-xs8vwfgw.js} +8 -8
  274. package/dist/chunks/{managed-policy-fkz1sskx.js → generate-y02kp52f.js} +13 -13
  275. package/dist/chunks/{managed-policy-b6j82r80.js → generate-y0xwmjzw.js} +59 -59
  276. package/dist/chunks/{managed-policy-490c48bj.js → generate-y21fntsh.js} +2 -2
  277. package/dist/chunks/{managed-policy-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{managed-policy-efkbwkq1.js → generate-ybnpgdfy.js} +2 -3
  279. package/dist/chunks/{managed-policy-vwdfpcvx.js → generate-yeejah88.js} +3 -3
  280. package/dist/chunks/{managed-policy-3dv7tw0m.js → generate-yhm3km31.js} +4 -4
  281. package/dist/chunks/{managed-policy-q01s6b65.js → generate-ykykgdt7.js} +32 -32
  282. package/dist/chunks/{managed-policy-5k38w7sf.js → generate-yt9pczka.js} +5 -5
  283. package/dist/chunks/{managed-policy-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{managed-policy-ncsf0b7s.js → generate-z15hn2yg.js} +14 -14
  285. package/dist/chunks/{managed-policy-twa7y64b.js → generate-z2g5qvzj.js} +18 -18
  286. package/dist/chunks/{managed-policy-z38nccrw.js → generate-z38nccrw.js} +1 -1
  287. package/dist/chunks/{managed-policy-n52dfyva.js → generate-z67a96cz.js} +18 -18
  288. package/dist/chunks/{managed-policy-wy76b4ds.js → generate-za6jnyck.js} +29 -29
  289. package/dist/chunks/{managed-policy-vmfhehpp.js → generate-zcyx2e1c.js} +35 -35
  290. package/dist/chunks/{managed-policy-fmq5p3ga.js → generate-zjyebp72.js} +6 -6
  291. package/dist/chunks/{managed-policy-zkg84ctx.js → generate-zkg84ctx.js} +1 -1
  292. package/dist/chunks/{managed-policy-zz2mxr8y.js → generate-zvctmeyc.js} +35 -35
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -84
  298. package/dist/config/discovery.js +87 -86
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +104 -103
  301. package/dist/config/plugin/agent.js +118 -117
  302. package/dist/config/plugin/command.js +214 -213
  303. package/dist/config/plugin/compaction.js +157 -156
  304. package/dist/config/plugin/compatibility.js +137 -136
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +119 -118
  307. package/dist/config/plugin/image.js +116 -115
  308. package/dist/config/plugin/instruction.js +118 -117
  309. package/dist/config/plugin/location-watcher.js +120 -119
  310. package/dist/config/plugin/mcp.js +125 -124
  311. package/dist/config/plugin/policy.js +119 -118
  312. package/dist/config/plugin/provider.js +118 -117
  313. package/dist/config/plugin/reference.js +120 -119
  314. package/dist/config/plugin/shell.js +120 -119
  315. package/dist/config/plugin/skill-file.js +107 -106
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +140 -139
  318. package/dist/config/plugin/snapshot.js +118 -117
  319. package/dist/config/plugin/source.js +119 -118
  320. package/dist/config/plugin/tool-output.js +119 -118
  321. package/dist/config/plugin/websearch.js +119 -118
  322. package/dist/config/plugin/worktree.js +120 -119
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +121 -120
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -88
  329. package/dist/database/database.js +74 -73
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +6 -0
  398. package/dist/database/migration.gen.js +53 -52
  399. package/dist/database/migration.js +55 -54
  400. package/dist/database/path.js +2 -2
  401. package/dist/database/schema.gen.js +1 -1
  402. package/dist/database/schema.sql.js +1 -1
  403. package/dist/database/sqlite.bun.js +1 -1
  404. package/dist/database/sqlite.js +1 -1
  405. package/dist/database/sqlite.node.js +1 -1
  406. package/dist/database/sqlite.workerd.js +1 -1
  407. package/dist/database/v1-migration.bun.js +100 -99
  408. package/dist/database/v1-migration.js +1 -1
  409. package/dist/effect/app-node-builder.js +374 -373
  410. package/dist/effect/app-node-platform.js +2 -2
  411. package/dist/effect/keyed-mutex.js +3 -3
  412. package/dist/effect/websocket-constructor.js +1 -1
  413. package/dist/environment/driver.js +1 -1
  414. package/dist/environment/environment.js +98 -97
  415. package/dist/environment/exec-defaults.js +2 -2
  416. package/dist/environment/files.js +1 -1
  417. package/dist/environment/index.js +100 -99
  418. package/dist/environment/local.js +2 -2
  419. package/dist/environment/memory.js +2 -2
  420. package/dist/environment/unavailable.js +1 -1
  421. package/dist/event/sql.js +1 -1
  422. package/dist/event-logger.js +78 -77
  423. package/dist/file-access.js +109 -108
  424. package/dist/file-mutation.js +99 -98
  425. package/dist/file-retention.js +1 -1
  426. package/dist/filesystem/fff.bun.js +2 -2
  427. package/dist/filesystem/fff.js +1 -1
  428. package/dist/filesystem/fff.node.js +2 -2
  429. package/dist/filesystem/fff.workerd.js +2 -2
  430. package/dist/filesystem/location-watcher-policy.js +6 -6
  431. package/dist/filesystem/location-watcher.js +229 -228
  432. package/dist/filesystem/protected.js +1 -1
  433. package/dist/filesystem/search.js +104 -103
  434. package/dist/filesystem/watcher-binding.js +3 -3
  435. package/dist/filesystem/watcher.js +11 -11
  436. package/dist/filesystem.js +109 -108
  437. package/dist/form.js +90 -89
  438. package/dist/formatter/builtins.js +4 -4
  439. package/dist/formatter.js +92 -91
  440. package/dist/generate.js +108 -107
  441. package/dist/git.js +11 -11
  442. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  443. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  444. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  446. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  447. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  448. package/dist/github-copilot/copilot-provider.js +17 -17
  449. package/dist/github-copilot/models.js +104 -103
  450. package/dist/github-copilot/openai-compatible-error.js +1 -1
  451. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  452. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  453. package/dist/github-copilot/responses/openai-error.js +1 -1
  454. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  455. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  456. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  457. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  458. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  461. package/dist/image/photon.js +2 -2
  462. package/dist/image.js +6 -6
  463. package/dist/instance/service.js +5 -5
  464. package/dist/instance.js +365 -364
  465. package/dist/instruction-discovery.js +88 -87
  466. package/dist/instructions/builtins.js +92 -91
  467. package/dist/instructions/index.js +5 -5
  468. package/dist/integration/connection.js +3 -3
  469. package/dist/integration.js +91 -90
  470. package/dist/job.js +80 -79
  471. package/dist/kv/sql.js +2 -2
  472. package/dist/kv.js +77 -76
  473. package/dist/location-activity.js +161 -160
  474. package/dist/location-lifecycle.js +112 -111
  475. package/dist/location-service-map.js +91 -90
  476. package/dist/location-services.js +362 -361
  477. package/dist/location.js +92 -91
  478. package/dist/managed-policy.js +8 -8
  479. package/dist/mcp/client.js +121 -97
  480. package/dist/mcp/index.js +114 -113
  481. package/dist/mcp/instructions.js +143 -142
  482. package/dist/mcp/oauth.js +82 -81
  483. package/dist/mcp/socket-client.js +1 -1
  484. package/dist/mcp/stdio.js +95 -94
  485. package/dist/mime.js +1 -1
  486. package/dist/modal/models.js +104 -103
  487. package/dist/model-resolver.js +104 -103
  488. package/dist/model-retry.js +1 -1
  489. package/dist/model.js +105 -104
  490. package/dist/models-dev.js +112 -111
  491. package/dist/oauth/page.js +1 -1
  492. package/dist/permission/saved.js +86 -85
  493. package/dist/permission/sql.js +5 -5
  494. package/dist/permission.js +122 -121
  495. package/dist/persistent-pty/binary.bun.js +1 -1
  496. package/dist/persistent-pty/daemon.js +1 -1
  497. package/dist/persistent-pty/index.js +90 -89
  498. package/dist/persistent-pty/pty-binding.js +1 -1
  499. package/dist/persistent-pty.js +79 -78
  500. package/dist/plugin/agent.js +78 -77
  501. package/dist/plugin/command.js +105 -104
  502. package/dist/plugin/hooks.js +5 -5
  503. package/dist/plugin/host.js +220 -219
  504. package/dist/plugin/identity.js +5 -5
  505. package/dist/plugin/instance.js +5 -5
  506. package/dist/plugin/internal.js +335 -334
  507. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  508. package/dist/plugin/models-dev.js +101 -100
  509. package/dist/plugin/module.js +119 -118
  510. package/dist/plugin/optimize.js +2 -2
  511. package/dist/plugin/plan.js +107 -106
  512. package/dist/plugin/promise.js +1 -1
  513. package/dist/plugin/provider/amazon-bedrock.js +95 -94
  514. package/dist/plugin/provider/azure.js +118 -117
  515. package/dist/plugin/provider/cerebras.js +1 -1
  516. package/dist/plugin/provider/chatgpt.js +118 -117
  517. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
  518. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -114
  519. package/dist/plugin/provider/cohere.js +2 -2
  520. package/dist/plugin/provider/configured.js +114 -113
  521. package/dist/plugin/provider/databricks.js +1 -1
  522. package/dist/plugin/provider/digitalocean.js +98 -97
  523. package/dist/plugin/provider/dynamic.js +2 -2
  524. package/dist/plugin/provider/factory.js +1 -1
  525. package/dist/plugin/provider/github-copilot.js +100 -99
  526. package/dist/plugin/provider/gitlab.js +98 -97
  527. package/dist/plugin/provider/google-vertex.js +115 -114
  528. package/dist/plugin/provider/kilo.js +1 -1
  529. package/dist/plugin/provider/llmgateway.js +82 -81
  530. package/dist/plugin/provider/lmstudio.js +125 -124
  531. package/dist/plugin/provider/local.js +124 -123
  532. package/dist/plugin/provider/modal.js +97 -96
  533. package/dist/plugin/provider/neon.js +1 -1
  534. package/dist/plugin/provider/nvidia.js +1 -1
  535. package/dist/plugin/provider/ollama.js +127 -126
  536. package/dist/plugin/provider/openai-context-caps.js +95 -94
  537. package/dist/plugin/provider/openai.js +118 -117
  538. package/dist/plugin/provider/opencode.js +104 -103
  539. package/dist/plugin/provider/openrouter.js +96 -95
  540. package/dist/plugin/provider/perplexity.js +2 -2
  541. package/dist/plugin/provider/poe.js +83 -82
  542. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  543. package/dist/plugin/provider/sap-ai-core.js +96 -95
  544. package/dist/plugin/provider/sdk-factory.js +1 -1
  545. package/dist/plugin/provider/snowflake-cortex.js +117 -116
  546. package/dist/plugin/provider/vercel.js +95 -94
  547. package/dist/plugin/provider/vllm.js +127 -126
  548. package/dist/plugin/provider/xai.js +96 -95
  549. package/dist/plugin/provider/zenmux.js +1 -1
  550. package/dist/plugin/provider.js +171 -170
  551. package/dist/plugin/sdk.js +78 -77
  552. package/dist/plugin/service.js +3 -3
  553. package/dist/plugin/skill.js +136 -135
  554. package/dist/plugin/source-directory.js +1 -1
  555. package/dist/plugin/supervisor.js +352 -351
  556. package/dist/plugin/tool-input-repair.js +4 -4
  557. package/dist/plugin/update.js +6 -6
  558. package/dist/plugin/vcs/git.js +91 -90
  559. package/dist/plugin/vcs/hg.js +91 -90
  560. package/dist/plugin/verbosity.js +98 -97
  561. package/dist/plugin/warming.js +116 -115
  562. package/dist/plugin/websearch/exa.js +5 -5
  563. package/dist/plugin/websearch/firecrawl.js +6 -6
  564. package/dist/plugin/websearch/index.js +9 -9
  565. package/dist/plugin/websearch/mcp.js +4 -4
  566. package/dist/plugin/websearch/parallel.js +8 -8
  567. package/dist/plugin/websearch/tavily.js +6 -6
  568. package/dist/plugin/websearch/tinyfish.js +8 -8
  569. package/dist/plugin.js +229 -228
  570. package/dist/project/schema.js +8 -8
  571. package/dist/project/sql.js +4 -4
  572. package/dist/project.js +95 -94
  573. package/dist/provider.js +106 -105
  574. package/dist/pty/protocol.js +1 -1
  575. package/dist/pty/ticket.js +1 -1
  576. package/dist/pty.js +103 -102
  577. package/dist/reference/instructions.js +94 -93
  578. package/dist/reference.js +96 -95
  579. package/dist/repository-cache.js +86 -85
  580. package/dist/repository.js +1 -1
  581. package/dist/ripgrep/binary.js +2 -2
  582. package/dist/ripgrep.js +102 -101
  583. package/dist/rpc.js +91 -90
  584. package/dist/schema.js +1 -1
  585. package/dist/session/affinity.js +1 -1
  586. package/dist/session/command.js +78 -77
  587. package/dist/session/compaction.js +139 -138
  588. package/dist/session/context.js +167 -166
  589. package/dist/session/diff.js +93 -92
  590. package/dist/session/environment.js +5 -5
  591. package/dist/session/error.js +5 -5
  592. package/dist/session/event.js +1 -1
  593. package/dist/session/execution/restart.js +226 -225
  594. package/dist/session/execution.js +133 -132
  595. package/dist/session/generate.js +167 -166
  596. package/dist/session/history.js +15 -15
  597. package/dist/session/inbox.js +97 -96
  598. package/dist/session/info.js +3 -3
  599. package/dist/session/instruction-entry.js +81 -80
  600. package/dist/session/instruction-state.js +8 -8
  601. package/dist/session/instructions.js +98 -97
  602. package/dist/session/message-updater.js +2 -2
  603. package/dist/session/message.js +1 -1
  604. package/dist/session/model-request.js +125 -124
  605. package/dist/session/model-transport.js +9 -9
  606. package/dist/session/move.js +135 -134
  607. package/dist/session/projector.js +93 -92
  608. package/dist/session/prompt.js +110 -109
  609. package/dist/session/recent-text.js +1 -1
  610. package/dist/session/revert.js +99 -98
  611. package/dist/session/run-coordinator.js +1 -1
  612. package/dist/session/runner/index.js +3 -3
  613. package/dist/session/runner/llm.js +233 -232
  614. package/dist/session/runner/max-steps.js +1 -1
  615. package/dist/session/runner/model.js +103 -102
  616. package/dist/session/runner/publish-llm-event.js +118 -117
  617. package/dist/session/runner/retry.js +5 -5
  618. package/dist/session/runner/step.js +129 -128
  619. package/dist/session/runner/to-llm-message.js +14 -14
  620. package/dist/session/schema.js +5 -5
  621. package/dist/session/session.js +165 -164
  622. package/dist/session/shell.js +132 -131
  623. package/dist/session/skill.js +108 -107
  624. package/dist/session/sql.js +5 -5
  625. package/dist/session/stats.js +79 -78
  626. package/dist/session/store.js +89 -88
  627. package/dist/session/subagent-completion.js +1 -1
  628. package/dist/session/subagent-job.js +214 -213
  629. package/dist/session/system-prompt.js +5 -5
  630. package/dist/session/title.js +169 -168
  631. package/dist/session/to-session-error.js +117 -116
  632. package/dist/session/transfer.js +225 -225
  633. package/dist/session/usage.js +1 -1
  634. package/dist/session.js +218 -217
  635. package/dist/shell/parse.js +8 -8
  636. package/dist/shell/result.js +1 -1
  637. package/dist/shell/scan.js +1 -1
  638. package/dist/shell/select.js +15 -15
  639. package/dist/shell.js +134 -133
  640. package/dist/skill/discovery.js +6 -6
  641. package/dist/skill/instructions.js +112 -111
  642. package/dist/skill.js +117 -116
  643. package/dist/snapshot.js +96 -95
  644. package/dist/state.js +1 -1
  645. package/dist/tool/html-markdown.js +1 -1
  646. package/dist/tool/http-body.js +1 -1
  647. package/dist/tool/mcp.js +142 -141
  648. package/dist/tool/plugin/edit.js +125 -124
  649. package/dist/tool/plugin/file-diff.js +1 -1
  650. package/dist/tool/plugin/glob.js +129 -128
  651. package/dist/tool/plugin/grep.js +129 -128
  652. package/dist/tool/plugin/mcp-resource.js +129 -128
  653. package/dist/tool/plugin/opencode.js +114 -113
  654. package/dist/tool/plugin/patch.js +127 -126
  655. package/dist/tool/plugin/question.js +110 -109
  656. package/dist/tool/plugin/read.js +128 -127
  657. package/dist/tool/plugin/shell.js +219 -218
  658. package/dist/tool/plugin/skill.js +118 -117
  659. package/dist/tool/plugin/subagent.js +219 -218
  660. package/dist/tool/plugin/todo.js +140 -139
  661. package/dist/tool/plugin/webfetch.js +118 -117
  662. package/dist/tool/plugin/websearch.js +119 -118
  663. package/dist/tool/plugin/write.js +127 -126
  664. package/dist/tool/read-filesystem.js +105 -104
  665. package/dist/tool/runtime.js +1 -1
  666. package/dist/tool-output.js +7 -7
  667. package/dist/tool.js +12 -12
  668. package/dist/types/database/migration/20261024175301_drop_session_allowance.d.ts +3 -0
  669. package/dist/types/session/history.d.ts +0 -2
  670. package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
  671. package/dist/types/session/schema.d.ts +0 -5
  672. package/dist/types/session/sql.d.ts +0 -16
  673. package/dist/types/session/transfer.d.ts +0 -10
  674. package/dist/types/session/usage.d.ts +0 -2
  675. package/dist/usage-limits.js +93 -92
  676. package/dist/util/error-summary.js +1 -1
  677. package/dist/util/git-executable.js +3 -3
  678. package/dist/util/lazy.js +1 -1
  679. package/dist/util/slug.js +1 -1
  680. package/dist/util/token.js +1 -1
  681. package/dist/util/which.js +1 -1
  682. package/dist/util/wildcard.js +1 -1
  683. package/dist/v1/config/agent.js +5 -5
  684. package/dist/v1/config/command.js +3 -3
  685. package/dist/v1/config/mcp.js +4 -4
  686. package/dist/v1/config/migrate.js +97 -96
  687. package/dist/v1/config/permission.js +7 -7
  688. package/dist/v1/config/plugin.js +1 -1
  689. package/dist/v1/config/provider-options.js +1 -1
  690. package/dist/v1/config/provider.js +4 -4
  691. package/dist/variant.js +98 -97
  692. package/dist/vcs/patch.js +1 -1
  693. package/dist/vcs.js +94 -93
  694. package/dist/voice.js +92 -91
  695. package/dist/websearch.js +88 -87
  696. package/dist/wellknown/plugin.js +80 -79
  697. package/dist/wellknown.js +85 -84
  698. package/dist/workspace/driver.js +5 -5
  699. package/dist/workspace/sql.js +1 -1
  700. package/dist/workspace.js +86 -85
  701. package/dist/worktree/directory.js +2 -2
  702. package/dist/worktree/git.js +9 -9
  703. package/dist/worktree/sql.js +5 -5
  704. package/dist/worktree/strategies.js +94 -93
  705. package/dist/worktree.js +101 -100
  706. package/package.json +8 -8
  707. package/dist/chunks/managed-policy-7yv5xa0k.js +0 -18
  708. package/dist/chunks/managed-policy-7z6mcrx3.js +0 -261
  709. package/dist/chunks/managed-policy-8nedx0w1.js +0 -26
  710. package/dist/chunks/managed-policy-g8qg0zk0.js +0 -517
  711. /package/dist/chunks/{managed-policy-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  712. /package/dist/chunks/{managed-policy-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  713. /package/dist/chunks/{managed-policy-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  714. /package/dist/chunks/{managed-policy-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  715. /package/dist/chunks/{managed-policy-24dcb14g.js → generate-24dcb14g.js} +0 -0
  716. /package/dist/chunks/{managed-policy-2710q6r3.js → generate-2710q6r3.js} +0 -0
  717. /package/dist/chunks/{managed-policy-2bv980vf.js → generate-2bv980vf.js} +0 -0
  718. /package/dist/chunks/{managed-policy-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  719. /package/dist/chunks/{managed-policy-359p4xyc.js → generate-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{managed-policy-3asan66x.js → generate-3asan66x.js} +0 -0
  721. /package/dist/chunks/{managed-policy-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{managed-policy-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{managed-policy-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{managed-policy-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{managed-policy-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{managed-policy-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{managed-policy-53557ph1.js → generate-53557ph1.js} +0 -0
  728. /package/dist/chunks/{managed-policy-550bvhaj.js → generate-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{managed-policy-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
  730. /package/dist/chunks/{managed-policy-6prwharc.js → generate-6prwharc.js} +0 -0
  731. /package/dist/chunks/{managed-policy-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  732. /package/dist/chunks/{managed-policy-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{managed-policy-7m9af43g.js → generate-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{managed-policy-822emrt2.js → generate-822emrt2.js} +0 -0
  735. /package/dist/chunks/{managed-policy-84wd9syh.js → generate-84wd9syh.js} +0 -0
  736. /package/dist/chunks/{managed-policy-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  737. /package/dist/chunks/{managed-policy-8n3pysct.js → generate-8n3pysct.js} +0 -0
  738. /package/dist/chunks/{managed-policy-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  739. /package/dist/chunks/{managed-policy-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{managed-policy-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{managed-policy-a058387c.js → generate-a058387c.js} +0 -0
  742. /package/dist/chunks/{managed-policy-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  743. /package/dist/chunks/{managed-policy-af5trqkr.js → generate-af5trqkr.js} +0 -0
  744. /package/dist/chunks/{managed-policy-afrmfg78.js → generate-afrmfg78.js} +0 -0
  745. /package/dist/chunks/{managed-policy-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  746. /package/dist/chunks/{managed-policy-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  747. /package/dist/chunks/{managed-policy-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{managed-policy-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{managed-policy-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{managed-policy-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{managed-policy-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{managed-policy-d9fn303g.js → generate-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{managed-policy-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{managed-policy-dajrwvna.js → generate-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{managed-policy-dap0rakb.js → generate-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{managed-policy-df08tz66.js → generate-df08tz66.js} +0 -0
  757. /package/dist/chunks/{managed-policy-dy18nga0.js → generate-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{managed-policy-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{managed-policy-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{managed-policy-ec1grn59.js → generate-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{managed-policy-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{managed-policy-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{managed-policy-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{managed-policy-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{managed-policy-faypxj3z.js → generate-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{managed-policy-fd410y7t.js → generate-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{managed-policy-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  768. /package/dist/chunks/{managed-policy-g86h250q.js → generate-g86h250q.js} +0 -0
  769. /package/dist/chunks/{managed-policy-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  770. /package/dist/chunks/{managed-policy-gftt206x.js → generate-gftt206x.js} +0 -0
  771. /package/dist/chunks/{managed-policy-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  772. /package/dist/chunks/{managed-policy-hk9envan.js → generate-hk9envan.js} +0 -0
  773. /package/dist/chunks/{managed-policy-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  774. /package/dist/chunks/{managed-policy-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  775. /package/dist/chunks/{managed-policy-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  776. /package/dist/chunks/{managed-policy-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  777. /package/dist/chunks/{managed-policy-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  778. /package/dist/chunks/{managed-policy-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  779. /package/dist/chunks/{managed-policy-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  780. /package/dist/chunks/{managed-policy-m18g726c.js → generate-m18g726c.js} +0 -0
  781. /package/dist/chunks/{managed-policy-mp448xyj.js → generate-mp448xyj.js} +0 -0
  782. /package/dist/chunks/{managed-policy-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  783. /package/dist/chunks/{managed-policy-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  784. /package/dist/chunks/{managed-policy-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  785. /package/dist/chunks/{managed-policy-njntx4h6.js → generate-njntx4h6.js} +0 -0
  786. /package/dist/chunks/{managed-policy-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  787. /package/dist/chunks/{managed-policy-q74kybfr.js → generate-q74kybfr.js} +0 -0
  788. /package/dist/chunks/{managed-policy-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  789. /package/dist/chunks/{managed-policy-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  790. /package/dist/chunks/{managed-policy-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  791. /package/dist/chunks/{managed-policy-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  792. /package/dist/chunks/{managed-policy-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  793. /package/dist/chunks/{managed-policy-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  794. /package/dist/chunks/{managed-policy-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  795. /package/dist/chunks/{managed-policy-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  796. /package/dist/chunks/{managed-policy-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  797. /package/dist/chunks/{managed-policy-w803qqfp.js → generate-w803qqfp.js} +0 -0
  798. /package/dist/chunks/{managed-policy-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  799. /package/dist/chunks/{managed-policy-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  800. /package/dist/chunks/{managed-policy-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  801. /package/dist/chunks/{managed-policy-wtztk69x.js → generate-wtztk69x.js} +0 -0
  802. /package/dist/chunks/{managed-policy-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  803. /package/dist/chunks/{managed-policy-x61499pn.js → generate-x61499pn.js} +0 -0
  804. /package/dist/chunks/{managed-policy-y44na4kk.js → generate-y44na4kk.js} +0 -0
  805. /package/dist/chunks/{managed-policy-y8f7s663.js → generate-y8f7s663.js} +0 -0
  806. /package/dist/chunks/{managed-policy-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  807. /package/dist/chunks/{managed-policy-ym463w8f.js → generate-ym463w8f.js} +0 -0
  808. /package/dist/chunks/{managed-policy-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  809. /package/dist/chunks/{managed-policy-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./managed-policy-w9cf5jnd.js";
2
+ Service86,
3
+ node90
4
+ } from "./generate-wqfa8sbf.js";
5
5
  import {
6
6
  lazy2
7
- } from "./managed-policy-88xbtdfr.js";
7
+ } from "./generate-88xbtdfr.js";
8
8
  import {
9
- Service81,
10
- node85
11
- } from "./managed-policy-6p9bsfn5.js";
9
+ Service83,
10
+ node87
11
+ } from "./generate-61377pcc.js";
12
12
  import {
13
- Service71,
13
+ Service46,
14
14
  login2,
15
- node74
16
- } from "./managed-policy-rpw9k8ba.js";
15
+ node49
16
+ } from "./generate-f6h5pjek.js";
17
17
  import {
18
18
  __export
19
- } from "./managed-policy-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput3,
25
- Event: () => Event13,
24
+ CreateInput: () => CreateInput2,
25
+ Event: () => Event2,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID8,
28
- Info: () => Info19,
29
- NotFoundError: () => NotFoundError10,
27
+ ID: () => ID2,
28
+ Info: () => Info3,
29
+ NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service70,
31
+ Service: () => Service14,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node73
33
+ node: () => node16
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event13 } from "@opencode/schema/pty";
38
+ import { Event as Event2 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID8 = Pty.ID;
43
- var Info19 = Pty.Info;
44
- var CreateInput3 = Pty.CreateInput;
42
+ var ID2 = Pty.ID;
43
+ var Info3 = Pty.Info;
44
+ var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID8
47
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID8
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service70 extends Context.Service()("@opencode/Pty") {
57
+ class Service14 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service70, Effect.gen(function* () {
60
- const bus = yield* Service85;
61
- const location = yield* Service81;
62
- const shell = yield* Service71;
59
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
60
+ const bus = yield* Service86;
61
+ const location = yield* Service83;
62
+ const shell = yield* Service46;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError10({ ptyID: id });
99
+ return yield* new NotFoundError2({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID8.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service70.of({ list, get, create, update, remove, write, attach });
270
+ return Service14.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node73 = makeLocationNode({
273
- service: Service70,
272
+ var node16 = makeLocationNode({
273
+ service: Service14,
274
274
  layer,
275
- deps: [node89, node85, node74]
275
+ deps: [node90, node87, node49]
276
276
  });
277
277
 
278
- export { ID8, Info19, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service70, node73, exports_pty, Event13 };
278
+ export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./managed-policy-w9cf5jnd.js";
2
+ Service86,
3
+ node90
4
+ } from "./generate-wqfa8sbf.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  External2,
8
- Service76,
9
- node79
10
- } from "./managed-policy-e0yygr8n.js";
8
+ Service74,
9
+ node78
10
+ } from "./generate-2m52ht03.js";
11
11
  import {
12
12
  create3
13
- } from "./managed-policy-vd3b3yk9.js";
13
+ } from "./generate-vd3b3yk9.js";
14
14
  import {
15
15
  key2
16
- } from "./managed-policy-zba5tm1j.js";
16
+ } from "./generate-s626qfae.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./managed-policy-x5p586pb.js";
20
+ } from "./generate-5mkgcf5e.js";
21
21
  import {
22
22
  __export
23
- } from "./managed-policy-9rqn6x4v.js";
23
+ } from "./generate-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event16,
38
+ Event: () => Event14,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID11,
41
- Info: () => Info22,
40
+ ID: () => ID10,
41
+ Info: () => Info21,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service75,
49
- node: () => node78
48
+ Service: () => Service73,
49
+ node: () => node77
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
- import { Event as Event16 } from "@opencode/schema/integration";
72
- var ID11 = Integration.ID;
71
+ import { Event as Event14 } from "@opencode/schema/integration";
72
+ var ID10 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info22 = Integration.Info;
81
+ var Info21 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID11,
104
+ integrationID: ID10,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service75 extends Context.Service()("@opencode/Integration") {
110
+ class Service73 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service75, Effect.gen(function* () {
116
- const credentials = yield* Service76;
117
- const bus = yield* Service85;
115
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
116
+ const credentials = yield* Service74;
117
+ const bus = yield* Service86;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
120
120
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info22.make({
217
+ const project = (entry, connections) => Info21.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
301
301
  const persistence = yield* createCredential({
302
302
  integrationID: attempt.integrationID,
303
303
  label: attempt.label,
304
- value: Key4.make({ type: "key", key: exit.value })
304
+ value: Key3.make({ type: "key", key: exit.value })
305
305
  }).pipe(Effect.asVoid, Effect.exit);
306
306
  const settledAt = yield* Clock.currentTimeMillis;
307
307
  const terminal = Exit.isSuccess(persistence) ? {
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service75.of({
450
+ return Service73.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
469
469
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
470
470
  if (connection.type === "env") {
471
471
  const key = process.env[connection.name];
472
- return key ? Key4.make({ type: "key", key }) : undefined;
472
+ return key ? Key3.make({ type: "key", key }) : undefined;
473
473
  }
474
474
  const credential = yield* credentials.get(connection.id);
475
475
  if (!credential)
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
502
502
  yield* createCredential({
503
503
  integrationID: input.integrationID,
504
504
  label: input.label,
505
- value: Key4.make({
505
+ value: Key3.make({
506
506
  type: "key",
507
507
  key: input.key,
508
508
  ...Object.keys(answer).length > 0 ? { metadata: answer } : {}
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node78 = makeLocationNode({
633
- service: Service75,
632
+ var node77 = makeLocationNode({
633
+ service: Service73,
634
634
  layer,
635
- deps: [node79, node89, AppProcess.node]
635
+ deps: [node78, node90, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID11, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node78, exports_integration, Event16 };
638
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node77, exports_integration, Event14 };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service63
3
- } from "./managed-policy-32rbtppw.js";
2
+ Service60
3
+ } from "./generate-wn502zcs.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./managed-policy-z5v4ffb3.js";
6
+ } from "./generate-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./managed-policy-6p9bsfn5.js";
8
+ Service83
9
+ } from "./generate-61377pcc.js";
10
10
  import {
11
- Service62
12
- } from "./managed-policy-ezyvxv03.js";
11
+ Service59
12
+ } from "./generate-3tt8f194.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./managed-policy-wgbrv6pc.js";
16
+ Source4
17
+ } from "./generate-r8en70mr.js";
18
18
  import {
19
- Service10
20
- } from "./managed-policy-vrcsa8qx.js";
19
+ Service9
20
+ } from "./generate-rjnacbrz.js";
21
21
  import {
22
22
  parse2
23
- } from "./managed-policy-kwag3h57.js";
23
+ } from "./generate-8acmvnn2.js";
24
24
  import {
25
25
  ignore2,
26
- scan3
27
- } from "./managed-policy-770pw0s1.js";
26
+ scan2
27
+ } from "./generate-nah043kf.js";
28
28
  import {
29
29
  __export
30
- } from "./managed-policy-9rqn6x4v.js";
30
+ } from "./generate-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: () => Plugin24
33
+ var exports_skill = {};
34
+ __export(exports_skill, {
35
+ ConfigSkillPlugin: () => exports_skill,
36
+ Plugin: () => Plugin13
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 Plugin24 = define({
43
+ var Plugin13 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const config = yield* Service62;
47
- const discovery = yield* Service10;
46
+ const config = yield* Service59;
47
+ const discovery = yield* Service9;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
- const location = yield* Service81;
51
- const watcher = yield* Service63;
50
+ const location = yield* Service83;
51
+ const watcher = yield* Service60;
52
52
  const loaded = {
53
53
  entries: yield* config.entries(),
54
54
  skills: []
@@ -91,7 +91,7 @@ var Plugin24 = define({
91
91
  const sources = () => {
92
92
  const result = [];
93
93
  const add = (source) => {
94
- if (result.some((item) => Source3.equals(item, source)))
94
+ if (result.some((item) => Source4.equals(item, source)))
95
95
  return;
96
96
  result.push(source);
97
97
  };
@@ -116,13 +116,13 @@ var Plugin24 = define({
116
116
  };
117
117
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
118
118
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
119
- source: Source3.key(source),
119
+ source: Source4.key(source),
120
120
  cause
121
121
  }).pipe(Effect.as([]))));
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");
@@ -144,7 +144,7 @@ var Plugin24 = define({
144
144
  }
145
145
  }
146
146
  yield* Effect.logDebug("skill source loaded", {
147
- source: Source3.key(source),
147
+ source: Source4.key(source),
148
148
  type: source.type,
149
149
  directories,
150
150
  skills: skills.map((skill) => skill.id)
@@ -163,7 +163,7 @@ var Plugin24 = define({
163
163
  if (file) {
164
164
  yield* Effect.logInfo("skills rescanned", {
165
165
  file,
166
- sources: current.map(Source3.key),
166
+ sources: current.map(Source4.key),
167
167
  skills: loaded.skills.map((skill) => skill.id)
168
168
  });
169
169
  }
@@ -179,4 +179,4 @@ var Plugin24 = define({
179
179
  })
180
180
  });
181
181
 
182
- export { Plugin24, exports_skill2 };
182
+ export { Plugin13, exports_skill };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./managed-policy-jchrqzf6.js";
6
+ } from "./generate-9p9xqj3m.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./managed-policy-mj9xj69n.js";
9
+ } from "./generate-2f776c8r.js";
10
10
  import {
11
- Service37,
12
- node40
13
- } from "./managed-policy-7kn810xp.js";
11
+ Service34,
12
+ node37
13
+ } from "./generate-jyk4tkgp.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./managed-policy-v8a9v78w.js";
16
+ name15
17
+ } from "./generate-1xnaj2rs.js";
18
18
  import {
19
19
  __export
20
- } from "./managed-policy-9rqn6x4v.js";
20
+ } from "./generate-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions4 = {};
24
- __export(exports_instructions4, {
25
- McpInstructions: () => exports_instructions4,
26
- Service: () => Service29,
27
- layer: () => layer12,
28
- node: () => node33
23
+ var exports_instructions3 = {};
24
+ __export(exports_instructions3, {
25
+ McpInstructions: () => exports_instructions3,
26
+ Service: () => Service31,
27
+ layer: () => layer13,
28
+ node: () => node34
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,14 +65,14 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service29 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer12 = Layer.effect(Service29, Effect.gen(function* () {
71
- const mcp = yield* Service37;
72
- return Service29.of({
70
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
71
+ const mcp = yield* Service34;
72
+ return Service31.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
- const source = (value) => make19({
75
- key: Key3.make("core/mcp-guidance"),
74
+ const source = (value) => make21({
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node33 = makeLocationNode({ service: Service29, layer: layer12, deps: [node40] });
103
+ var node34 = makeLocationNode({ service: Service31, layer: layer13, deps: [node37] });
104
104
 
105
- export { Service29, layer12, node33, exports_instructions4 };
105
+ export { Service31, layer13, node34, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./managed-policy-f1fvgra9.js";
3
+ } from "./generate-9bv6909x.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make7 = createLocalProviderPlugin2({
37
+ var make5 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make7();
70
+ var OllamaPlugin2 = make5();
71
71
 
72
- export { make7, OllamaPlugin2 };
72
+ export { make5, OllamaPlugin2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./managed-policy-6p9bsfn5.js";
3
+ } from "./generate-61377pcc.js";
4
4
  import {
5
5
  __export
6
- } from "./managed-policy-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service61,
12
+ Service: () => Service70,
13
13
  canonical: () => canonical3,
14
- node: () => node64,
14
+ node: () => node74,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
27
+ var node74 = LayerNode.unbound(Service70, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service61;
29
+ const locations = yield* Service70;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service61, node64, reload2, canonical3, exports_location_service_map };
48
+ export { Service70, node74, reload2, canonical3, exports_location_service_map };