@opencode/core 0.0.0-dev-21077 → 0.0.0-dev-21079

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{credential-rhjbct0v.js → job-02a7j1yb.js} +4 -4
  8. package/dist/chunks/{credential-1n08wphv.js → job-039tjp7x.js} +19 -19
  9. package/dist/chunks/{credential-jzzy94zk.js → job-0996nyz8.js} +9 -9
  10. package/dist/chunks/{credential-6gjk1srs.js → job-0c1x1jpa.js} +19 -19
  11. package/dist/chunks/{credential-22j5gcem.js → job-0fkfrjz2.js} +21 -21
  12. package/dist/chunks/{credential-wez5dshc.js → job-0v67btzd.js} +12 -12
  13. package/dist/chunks/{credential-0vbcp93d.js → job-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{credential-mb14aw74.js → job-127b9nq3.js} +2 -2
  15. package/dist/chunks/{credential-xncbfwxk.js → job-19bd5fc5.js} +18 -18
  16. package/dist/chunks/{credential-scxftpbw.js → job-19bze07p.js} +13 -13
  17. package/dist/chunks/{credential-rmjnct9g.js → job-1dgr7zp1.js} +4 -4
  18. package/dist/chunks/{credential-rfg45hmd.js → job-1t77s0vs.js} +22 -22
  19. package/dist/chunks/job-1vezyevr.js +26 -0
  20. package/dist/chunks/{credential-ndgw0f3v.js → job-1w0az4rs.js} +28 -28
  21. package/dist/chunks/{credential-gm80xqq7.js → job-210s6np5.js} +4 -4
  22. package/dist/chunks/{credential-qxmaq0sm.js → job-25cs5cen.js} +8 -8
  23. package/dist/chunks/{credential-mq99xv2c.js → job-25yqr4p3.js} +20 -20
  24. package/dist/chunks/{credential-j7k70mt1.js → job-28x0533s.js} +16 -16
  25. package/dist/chunks/job-2c12xztv.js +513 -0
  26. package/dist/chunks/{credential-45vsmz9h.js → job-2m0qb85n.js} +16 -16
  27. package/dist/chunks/{credential-hshdsga2.js → job-2vpzg4es.js} +1 -1
  28. package/dist/chunks/{credential-b9pm5k8x.js → job-30xz5n9s.js} +22 -22
  29. package/dist/chunks/{credential-ra6by5e5.js → job-3aa4b0fh.js} +24 -24
  30. package/dist/chunks/{credential-dys7k0s0.js → job-3cqwnyj9.js} +8 -8
  31. package/dist/chunks/{credential-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  32. package/dist/chunks/job-3h3jay6b.js +253 -0
  33. package/dist/chunks/{credential-g0gbxkwa.js → job-3h54fp5k.js} +15 -15
  34. package/dist/chunks/{credential-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{credential-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{credential-q9qhhjv2.js → job-3jtzdpaa.js} +33 -33
  37. package/dist/chunks/{credential-nhv7p5wt.js → job-3n57ya95.js} +11 -11
  38. package/dist/chunks/{credential-r373bcqv.js → job-3s2exhsp.js} +4 -4
  39. package/dist/chunks/{credential-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{credential-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{credential-bej0st3k.js → job-3za7s95v.js} +22 -22
  42. package/dist/chunks/{credential-0mjpgxaj.js → job-3zrpsj7p.js} +93 -93
  43. package/dist/chunks/{credential-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{credential-wg8a11j0.js → job-457kk9gz.js} +20 -20
  45. package/dist/chunks/{credential-brt5an88.js → job-4e0q05wd.js} +6 -6
  46. package/dist/chunks/{credential-zy0xyg00.js → job-4gate0yw.js} +36 -36
  47. package/dist/chunks/{credential-pj8a0a0d.js → job-4qcvfhpn.js} +5 -5
  48. package/dist/chunks/{credential-vtvzzxkn.js → job-4t279dyc.js} +13 -13
  49. package/dist/chunks/{credential-54ma36ye.js → job-54ma36ye.js} +1 -1
  50. package/dist/chunks/{credential-fvg499qq.js → job-565my3fm.js} +14 -14
  51. package/dist/chunks/{credential-f1m169n2.js → job-5hdn0svx.js} +10 -10
  52. package/dist/chunks/{credential-5m9w47nd.js → job-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{credential-4fsmsme8.js → job-5njrfvwn.js} +12 -12
  54. package/dist/chunks/{credential-4qhmckww.js → job-5re26fy0.js} +9 -9
  55. package/dist/chunks/{credential-7tfd94v8.js → job-5tbmh0qa.js} +17 -17
  56. package/dist/chunks/{credential-vcmdfh1f.js → job-64d5ccde.js} +15 -15
  57. package/dist/chunks/{credential-rqb4w7qy.js → job-6g8fsaqs.js} +11 -11
  58. package/dist/chunks/{credential-s3rnyz5s.js → job-6hckdz63.js} +26 -26
  59. package/dist/chunks/{credential-65qs235e.js → job-6m9ck4g8.js} +20 -20
  60. package/dist/chunks/{credential-py3kkmfq.js → job-6pc27hjz.js} +6 -6
  61. package/dist/chunks/{credential-6xb47vfp.js → job-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{credential-zbgekxe2.js → job-76192nxt.js} +4 -4
  63. package/dist/chunks/{credential-775gj3j1.js → job-775gj3j1.js} +2 -2
  64. package/dist/chunks/{credential-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{credential-dtsxx5mv.js → job-7bmnjcd1.js} +8 -8
  66. package/dist/chunks/{credential-hnyywhnh.js → job-7c1vnkcm.js} +35 -35
  67. package/dist/chunks/{credential-jfpc1vcc.js → job-7fyrzeqr.js} +1 -1
  68. package/dist/chunks/{credential-k3bh1kct.js → job-7gra0nqm.js} +5 -5
  69. package/dist/chunks/{credential-ncvmk5m4.js → job-7rfyzhr4.js} +11 -11
  70. package/dist/chunks/{credential-m6y60rje.js → job-83eavpp5.js} +39 -39
  71. package/dist/chunks/{credential-38w1dnvg.js → job-882k9js2.js} +76 -76
  72. package/dist/chunks/{credential-6rtzx4km.js → job-8f18n148.js} +33 -33
  73. package/dist/chunks/{credential-6gasy1mn.js → job-8hbfdwcy.js} +6 -6
  74. package/dist/chunks/{credential-8m6m0r52.js → job-8m6m0r52.js} +1 -1
  75. package/dist/chunks/{credential-369pt44z.js → job-8r8vn0wd.js} +28 -28
  76. package/dist/chunks/{credential-mxag24mj.js → job-8z1ayf6d.js} +47 -47
  77. package/dist/chunks/{credential-j09zfasm.js → job-91qna3x0.js} +3 -3
  78. package/dist/chunks/{credential-88t0gbbr.js → job-92r62jsy.js} +11 -11
  79. package/dist/chunks/{credential-pnfekgft.js → job-92sgck50.js} +13 -13
  80. package/dist/chunks/{credential-b674v2dg.js → job-9hwaqfsw.js} +5 -5
  81. package/dist/chunks/{credential-567qzpgd.js → job-9jvqya9k.js} +20 -20
  82. package/dist/chunks/{credential-nmmr4e9w.js → job-9sf2b1wk.js} +36 -36
  83. package/dist/chunks/{credential-zyk2e2x1.js → job-9vdzy19e.js} +26 -26
  84. package/dist/chunks/{credential-039wv4dg.js → job-9vphjyta.js} +11 -11
  85. package/dist/chunks/{credential-nhdt10nm.js → job-9w71hsye.js} +22 -22
  86. package/dist/chunks/{credential-ryqtne0v.js → job-9y0ac6nx.js} +28 -28
  87. package/dist/chunks/{credential-ab9cbtvh.js → job-a276wvpv.js} +29 -29
  88. package/dist/chunks/{credential-my3a7ft8.js → job-a47mbapt.js} +7 -7
  89. package/dist/chunks/{credential-kkd5n1wb.js → job-a638f9xa.js} +46 -46
  90. package/dist/chunks/{credential-e56hn9bn.js → job-aa1q6d6m.js} +17 -17
  91. package/dist/chunks/{credential-q0bwcdvt.js → job-acab3reh.js} +18 -18
  92. package/dist/chunks/{credential-rpjwtdbq.js → job-ad0h1ekw.js} +45 -45
  93. package/dist/chunks/{credential-4ekscj25.js → job-ag1vmkq5.js} +5 -5
  94. package/dist/chunks/{credential-7f8046wn.js → job-aykdpe63.js} +92 -92
  95. package/dist/chunks/{credential-rqem1xsk.js → job-b4e6r5jm.js} +8 -8
  96. package/dist/chunks/{credential-r2cwyjsv.js → job-b54kpts0.js} +18 -18
  97. package/dist/chunks/{credential-87fbabfb.js → job-bbevnd6a.js} +7 -7
  98. package/dist/chunks/{credential-ppyhr432.js → job-bqhxdahr.js} +23 -23
  99. package/dist/chunks/{credential-gzsatz7t.js → job-brm2ejd9.js} +5 -5
  100. package/dist/chunks/{credential-c1fqxshp.js → job-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{credential-q5resnhd.js → job-c1mbdfvr.js} +5 -5
  102. package/dist/chunks/{credential-txp0qwjb.js → job-c92bdz8k.js} +20 -20
  103. package/dist/chunks/{credential-twzm0fh1.js → job-cdwxwcm8.js} +6 -6
  104. package/dist/chunks/{credential-sky29pjs.js → job-cgxk1kc1.js} +3 -3
  105. package/dist/chunks/{credential-6ez66tm6.js → job-cmhswgf0.js} +20 -20
  106. package/dist/chunks/{credential-m1a48d5g.js → job-cn8bj85j.js} +60 -60
  107. package/dist/chunks/{credential-czvs99ad.js → job-cq272wan.js} +13 -13
  108. package/dist/chunks/{credential-yw0h1yf7.js → job-cqpeec48.js} +11 -11
  109. package/dist/chunks/{credential-8pwe8y5v.js → job-css2yt3j.js} +38 -38
  110. package/dist/chunks/{credential-37sfe3bm.js → job-d51195b0.js} +11 -11
  111. package/dist/chunks/{credential-8yqhqj2c.js → job-d7kb6fh0.js} +2 -2
  112. package/dist/chunks/{credential-bacj9t34.js → job-d7x0sh0y.js} +9 -9
  113. package/dist/chunks/{credential-2zv688p8.js → job-dm7t50gs.js} +6 -6
  114. package/dist/chunks/{credential-dqxsqydv.js → job-dqxsqydv.js} +1 -1
  115. package/dist/chunks/{credential-xfkkasph.js → job-drwq78ky.js} +4 -4
  116. package/dist/chunks/{credential-7pkq4a6y.js → job-dvdkkyt1.js} +3 -3
  117. package/dist/chunks/{credential-esad8vat.js → job-ec4a430e.js} +50 -50
  118. package/dist/chunks/{credential-n45znrv4.js → job-ecpgw71p.js} +45 -45
  119. package/dist/chunks/{credential-t2fc4mz5.js → job-edrmdtr5.js} +5 -5
  120. package/dist/chunks/{credential-eej6y6fw.js → job-eej6y6fw.js} +2 -2
  121. package/dist/chunks/{credential-8m7nreqb.js → job-eep7gb24.js} +19 -19
  122. package/dist/chunks/{credential-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{credential-c6hx2ktf.js → job-egeez3df.js} +6 -6
  124. package/dist/chunks/{credential-v4k5v7h4.js → job-en10vwq4.js} +14 -14
  125. package/dist/chunks/{credential-k5qw4hft.js → job-es4zr9pq.js} +8 -8
  126. package/dist/chunks/{credential-wk82jgfm.js → job-eth2ss2a.js} +8 -8
  127. package/dist/chunks/{credential-c7pf8635.js → job-ezbmb5q1.js} +9 -9
  128. package/dist/chunks/{credential-1acjjqhc.js → job-f2n192rq.js} +4 -4
  129. package/dist/chunks/{credential-b6v341m9.js → job-f58wf4nq.js} +11 -11
  130. package/dist/chunks/{credential-z9nwtdma.js → job-fdkvcqsr.js} +16 -16
  131. package/dist/chunks/{credential-s5fn7dhj.js → job-fdv7cw86.js} +31 -31
  132. package/dist/chunks/{credential-8w2qxdqt.js → job-fe6hrmfe.js} +24 -24
  133. package/dist/chunks/{credential-3r88wvpr.js → job-fjjrhmvw.js} +23 -23
  134. package/dist/chunks/{credential-1sgf0ss5.js → job-fjkxn7w1.js} +16 -16
  135. package/dist/chunks/{credential-2sejkfem.js → job-ft3hqk2c.js} +9 -9
  136. package/dist/chunks/{credential-y0tnb4b3.js → job-ft9c0akp.js} +15 -15
  137. package/dist/chunks/{credential-4fnxzqcp.js → job-fww2ha2b.js} +9 -9
  138. package/dist/chunks/{credential-0g1kkss8.js → job-fyp3a0hm.js} +14 -14
  139. package/dist/chunks/{credential-rtaz8t0m.js → job-g4s2gh9e.js} +4 -4
  140. package/dist/chunks/{credential-vsnex79p.js → job-g8be3rk7.js} +27 -27
  141. package/dist/chunks/{credential-as35ary9.js → job-gce79w0q.js} +11 -11
  142. package/dist/chunks/{credential-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{credential-6gzyn8h5.js → job-ghkvfr8f.js} +9 -9
  144. package/dist/chunks/{credential-addxnjmp.js → job-gqtdsdt7.js} +4 -4
  145. package/dist/chunks/{credential-px73pbep.js → job-gvcsr0yn.js} +8 -8
  146. package/dist/chunks/{credential-scp8fp47.js → job-gwhvz0y4.js} +32 -32
  147. package/dist/chunks/{credential-h13qe09z.js → job-gxjtm5af.js} +4 -4
  148. package/dist/chunks/{credential-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{credential-1tyhtd58.js → job-h7je5etx.js} +20 -20
  150. package/dist/chunks/{credential-h7s7r6s9.js → job-h7s7r6s9.js} +2 -2
  151. package/dist/chunks/{credential-4yd5fbph.js → job-h818653d.js} +6 -6
  152. package/dist/chunks/{credential-3sj8yt8v.js → job-h9wp8z5w.js} +4 -4
  153. package/dist/chunks/{credential-160c1116.js → job-hfjntkgv.js} +13 -13
  154. package/dist/chunks/{credential-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
  155. package/dist/chunks/{credential-trex24va.js → job-hn9raw8n.js} +11 -11
  156. package/dist/chunks/{credential-dbqdnwbh.js → job-hpd6gqz6.js} +14 -14
  157. package/dist/chunks/{credential-rh0kfk84.js → job-hph2fv3r.js} +28 -28
  158. package/dist/chunks/{credential-kqx1b4hy.js → job-hsjabct9.js} +4 -4
  159. package/dist/chunks/{credential-a7204kxa.js → job-hzqv7q0z.js} +3 -3
  160. package/dist/chunks/{credential-xa2wshx1.js → job-j3zs6rt6.js} +19 -19
  161. package/dist/chunks/{credential-nksjsfnd.js → job-j67yymgj.js} +11 -11
  162. package/dist/chunks/{credential-cqxtxa12.js → job-j90fxacf.js} +4 -4
  163. package/dist/chunks/{credential-amfa1jkw.js → job-jce1h2b8.js} +13 -13
  164. package/dist/chunks/{credential-3vy9239c.js → job-jjq97kgt.js} +24 -24
  165. package/dist/chunks/{credential-dhmh7aw6.js → job-jvf3yq6v.js} +4 -4
  166. package/dist/chunks/{credential-kpjne5yp.js → job-jwmr3k2g.js} +9 -9
  167. package/dist/chunks/{credential-sjyepcmd.js → job-k9hyry2f.js} +5 -5
  168. package/dist/chunks/{credential-jmt4g3es.js → job-kdqxwgga.js} +6 -6
  169. package/dist/chunks/{credential-fxaymqdw.js → job-khmqacep.js} +4 -4
  170. package/dist/chunks/{credential-dj68pnee.js → job-kkp8zx71.js} +4 -4
  171. package/dist/chunks/{credential-c9rae3wa.js → job-kt58vk6w.js} +14 -14
  172. package/dist/chunks/{credential-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
  173. package/dist/chunks/{credential-0yxc45d0.js → job-m1gwyh0e.js} +38 -38
  174. package/dist/chunks/{credential-de0z98k1.js → job-m5vvttpn.js} +13 -13
  175. package/dist/chunks/{credential-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{credential-maspj1v3.js → job-maspj1v3.js} +1 -1
  177. package/dist/chunks/{credential-91wv4xtc.js → job-mb8r74b3.js} +3 -3
  178. package/dist/chunks/{credential-wt0qpxd3.js → job-me6ycs1a.js} +21 -21
  179. package/dist/chunks/{credential-xkj02v8v.js → job-mjdbxb13.js} +24 -24
  180. package/dist/chunks/{credential-5rx060kx.js → job-mrf1a69w.js} +10 -10
  181. package/dist/chunks/{credential-c2sed5cq.js → job-mtpeagzc.js} +3 -3
  182. package/dist/chunks/{credential-c8bydgjz.js → job-mx9vqzsb.js} +6 -6
  183. package/dist/chunks/{credential-k9beb6wv.js → job-n0h8hcm5.js} +16 -16
  184. package/dist/chunks/{credential-1zr6mbgk.js → job-n241z3qa.js} +11 -11
  185. package/dist/chunks/{credential-cp1qs8w2.js → job-n36d8n8x.js} +16 -16
  186. package/dist/chunks/{credential-84vpb2vm.js → job-n9asgb54.js} +11 -11
  187. package/dist/chunks/{credential-9ht0s32k.js → job-n9xx8v2w.js} +30 -30
  188. package/dist/chunks/{credential-jfnkvmfm.js → job-nc7jj524.js} +9 -9
  189. package/dist/chunks/{credential-h4430by2.js → job-nf6m5d5f.js} +9 -9
  190. package/dist/chunks/{credential-v3b64zrr.js → job-pdgc5yq2.js} +23 -23
  191. package/dist/chunks/{credential-4dg124c5.js → job-pfq1ksym.js} +5 -5
  192. package/dist/chunks/{credential-tpw6cwsb.js → job-phstrbs2.js} +8 -8
  193. package/dist/chunks/{credential-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{credential-pknna89w.js → job-pknna89w.js} +1 -1
  195. package/dist/chunks/{credential-kvkt1qqd.js → job-pqdnhc1j.js} +53 -53
  196. package/dist/chunks/{credential-xemtnvmn.js → job-prrf0erm.js} +44 -44
  197. package/dist/chunks/{credential-y0zxwc0w.js → job-psbkntp0.js} +23 -23
  198. package/dist/chunks/{credential-pezdzhns.js → job-pwestg4g.js} +33 -33
  199. package/dist/chunks/{credential-39cardge.js → job-q1gw77h8.js} +11 -11
  200. package/dist/chunks/{credential-m0ghcn19.js → job-q5swsrkg.js} +19 -19
  201. package/dist/chunks/job-qc068m1q.js +18 -0
  202. package/dist/chunks/{credential-gepknegz.js → job-qdx5nape.js} +34 -34
  203. package/dist/chunks/{credential-1gs191g7.js → job-qfrm95v6.js} +5 -5
  204. package/dist/chunks/{credential-2k8khapm.js → job-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{credential-fkcghbkc.js → job-qk3y40rv.js} +15 -15
  206. package/dist/chunks/{credential-qnc92qwc.js → job-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{credential-e41w5jk2.js → job-qpbfapt8.js} +184 -184
  208. package/dist/chunks/{credential-qsdy395h.js → job-qsdy395h.js} +1 -1
  209. package/dist/chunks/{credential-tqyhj4xt.js → job-qtpmzfhp.js} +4 -4
  210. package/dist/chunks/{credential-bqanrybh.js → job-qxrmnm1s.js} +25 -25
  211. package/dist/chunks/{credential-qm3kde9e.js → job-qyyjyxch.js} +33 -33
  212. package/dist/chunks/{credential-ja06zn37.js → job-r7m15gks.js} +11 -11
  213. package/dist/chunks/{credential-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{credential-rert0e01.js → job-rert0e01.js} +2 -2
  215. package/dist/chunks/{credential-rj3eygr5.js → job-rj3eygr5.js} +2 -2
  216. package/dist/chunks/{credential-0xqyf95c.js → job-rk7s9xkn.js} +4 -4
  217. package/dist/chunks/{credential-sy29epdy.js → job-ry6831an.js} +9 -9
  218. package/dist/chunks/{credential-xxb6073h.js → job-ryppr2g9.js} +24 -24
  219. package/dist/chunks/{credential-waskdk5r.js → job-s2z0d44b.js} +4 -4
  220. package/dist/chunks/{credential-1gfgk62c.js → job-s5met55r.js} +8 -8
  221. package/dist/chunks/{credential-sa8ekw3f.js → job-sa8ekw3f.js} +2 -2
  222. package/dist/chunks/{credential-raby7m75.js → job-sn78md6r.js} +8 -8
  223. package/dist/chunks/{credential-e80seqcp.js → job-sxcaecc0.js} +3 -3
  224. package/dist/chunks/{credential-bfzpxde3.js → job-sxf09kmx.js} +27 -27
  225. package/dist/chunks/{credential-syv4x271.js → job-syv4x271.js} +1 -1
  226. package/dist/chunks/{credential-gkcjs2dn.js → job-t0pyhqcw.js} +11 -11
  227. package/dist/chunks/{credential-nr6ymt8h.js → job-t6sa502c.js} +5 -5
  228. package/dist/chunks/{credential-0dwp6g5k.js → job-t959ne8k.js} +18 -18
  229. package/dist/chunks/{credential-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{credential-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{credential-8s3zmv7m.js → job-td89qvvd.js} +50 -50
  232. package/dist/chunks/{credential-tdstcens.js → job-tdstcens.js} +1 -1
  233. package/dist/chunks/{credential-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{credential-z6yj3edv.js → job-tmf7ragz.js} +23 -23
  235. package/dist/chunks/{credential-43wrgcn8.js → job-tq8ecwgx.js} +50 -50
  236. package/dist/chunks/{credential-8h1a173j.js → job-tr7pah2h.js} +17 -17
  237. package/dist/chunks/{credential-8twccqt2.js → job-tx5jbm57.js} +18 -18
  238. package/dist/chunks/{credential-q66y2r74.js → job-ty2796qv.js} +26 -26
  239. package/dist/chunks/{credential-tyytaxap.js → job-tyytaxap.js} +1 -1
  240. package/dist/chunks/{credential-v0es1rhs.js → job-v0es1rhs.js} +2 -2
  241. package/dist/chunks/{credential-7fv44pcf.js → job-v1qs5gee.js} +14 -14
  242. package/dist/chunks/{credential-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{credential-veqvce7d.js → job-veqvce7d.js} +1 -1
  244. package/dist/chunks/{credential-0q1x4t4y.js → job-vf2jwzcg.js} +22 -22
  245. package/dist/chunks/{credential-fnx95t7x.js → job-vfcwmzqw.js} +26 -26
  246. package/dist/chunks/{credential-14d1mxc2.js → job-vj9cy051.js} +37 -37
  247. package/dist/chunks/{credential-raf8x87w.js → job-vvnh5rp7.js} +14 -14
  248. package/dist/chunks/{credential-t4hrrcp4.js → job-vy0ttj5r.js} +37 -37
  249. package/dist/chunks/{credential-sp975na0.js → job-vzqym90d.js} +13 -13
  250. package/dist/chunks/{credential-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{credential-a5xd9ph1.js → job-w084rf3c.js} +20 -20
  252. package/dist/chunks/{credential-84txncab.js → job-w1eejvng.js} +5 -5
  253. package/dist/chunks/{credential-g6yfr6ja.js → job-w39jehkq.js} +5 -5
  254. package/dist/chunks/{credential-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{credential-q6dxph2r.js → job-w9a2a3nz.js} +5 -5
  256. package/dist/chunks/{credential-wd87259q.js → job-wd87259q.js} +1 -1
  257. package/dist/chunks/{credential-rw0m67m7.js → job-wm2k908j.js} +5 -5
  258. package/dist/chunks/{credential-9exzkq1k.js → job-wqz0e28m.js} +5 -5
  259. package/dist/chunks/{credential-49k8713w.js → job-wrce305w.js} +17 -17
  260. package/dist/chunks/{credential-2ekmzeb3.js → job-wrn1yqb7.js} +23 -23
  261. package/dist/chunks/{credential-4qfzbkvv.js → job-ws9526b8.js} +15 -15
  262. package/dist/chunks/{credential-43fgj17e.js → job-wxevmznr.js} +25 -25
  263. package/dist/chunks/{credential-cf1pjmre.js → job-x4aswrad.js} +43 -43
  264. package/dist/chunks/{credential-pe6c81vb.js → job-x8s5s07e.js} +33 -33
  265. package/dist/chunks/{credential-8bgb3vcd.js → job-x97aaehj.js} +27 -27
  266. package/dist/chunks/{credential-fepda2xk.js → job-xbwbtnkh.js} +35 -35
  267. package/dist/chunks/{credential-1j52r7da.js → job-xdt9hfzq.js} +11 -11
  268. package/dist/chunks/{credential-995t9yvb.js → job-xrvt9x77.js} +26 -26
  269. package/dist/chunks/{credential-fknms47v.js → job-xsy68a41.js} +14 -14
  270. package/dist/chunks/{credential-a6mdarw6.js → job-xtr9q6v2.js} +20 -20
  271. package/dist/chunks/{credential-33864hhd.js → job-xyxhkzpb.js} +6 -6
  272. package/dist/chunks/{credential-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{credential-dpkg50ah.js → job-y71avatq.js} +4 -4
  274. package/dist/chunks/{credential-zvxktrxk.js → job-yd5rae36.js} +24 -24
  275. package/dist/chunks/{credential-5w9yjztw.js → job-yqc6bamn.js} +1 -1
  276. package/dist/chunks/{credential-0k7vzhf9.js → job-yvx9n9ae.js} +43 -43
  277. package/dist/chunks/{credential-1ffvrpkg.js → job-ywt8jp22.js} +6 -6
  278. package/dist/chunks/{credential-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{credential-hxpbrr1s.js → job-z2sc3gt3.js} +22 -22
  280. package/dist/chunks/{credential-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{credential-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{credential-scgrse2b.js → job-zyk1yjk8.js} +5 -5
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +87 -87
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +118 -118
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +116 -116
  299. package/dist/config/plugin/location-watcher.js +118 -118
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +116 -116
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +119 -119
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +115 -115
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +1 -1
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +117 -117
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +85 -85
  317. package/dist/database/database.js +72 -72
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +81 -81
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +76 -76
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +101 -101
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -357
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +136 -136
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -354
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +6 -6
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +101 -101
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +104 -104
  474. package/dist/models-dev.js +109 -109
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +111 -111
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +78 -78
  485. package/dist/plugin/command.js +104 -104
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -329
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +117 -117
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +114 -114
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -116
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -113
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +125 -125
  515. package/dist/plugin/provider/local.js +122 -122
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -125
  520. package/dist/plugin/provider/openai.js +118 -118
  521. package/dist/plugin/provider/opencode.js +100 -100
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +125 -125
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +168 -168
  534. package/dist/plugin/sdk.js +78 -78
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +86 -86
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +99 -99
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +89 -89
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +137 -137
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +81 -81
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +77 -77
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +216 -216
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +7 -7
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +109 -109
  625. package/dist/skill.js +112 -112
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +122 -122
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +124 -124
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +123 -123
  640. package/dist/tool/plugin/shell.js +208 -208
  641. package/dist/tool/plugin/skill.js +111 -111
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +120 -120
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +94 -94
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +91 -91
  671. package/dist/websearch.js +86 -86
  672. package/dist/wellknown/plugin.js +78 -78
  673. package/dist/wellknown.js +81 -81
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +84 -84
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +91 -91
  681. package/dist/worktree.js +98 -98
  682. package/package.json +8 -8
  683. package/dist/chunks/credential-bdft46kr.js +0 -253
  684. package/dist/chunks/credential-ep8gns01.js +0 -513
  685. package/dist/chunks/credential-n95b3jav.js +0 -18
  686. package/dist/chunks/credential-qnwcn7at.js +0 -26
  687. /package/dist/chunks/{credential-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{credential-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{credential-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{credential-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{credential-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{credential-24dcb14g.js → job-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{credential-2710q6r3.js → job-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{credential-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{credential-2bv980vf.js → job-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{credential-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{credential-359p4xyc.js → job-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{credential-3asan66x.js → job-3asan66x.js} +0 -0
  699. /package/dist/chunks/{credential-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{credential-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{credential-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{credential-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{credential-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{credential-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{credential-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{credential-53557ph1.js → job-53557ph1.js} +0 -0
  707. /package/dist/chunks/{credential-550bvhaj.js → job-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{credential-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{credential-6prwharc.js → job-6prwharc.js} +0 -0
  710. /package/dist/chunks/{credential-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{credential-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{credential-7m9af43g.js → job-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{credential-822emrt2.js → job-822emrt2.js} +0 -0
  714. /package/dist/chunks/{credential-84wd9syh.js → job-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{credential-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{credential-8n3pysct.js → job-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{credential-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{credential-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{credential-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{credential-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{credential-af5trqkr.js → job-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{credential-afrmfg78.js → job-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{credential-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{credential-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{credential-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{credential-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{credential-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{credential-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{credential-d9fn303g.js → job-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{credential-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{credential-dajrwvna.js → job-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{credential-dap0rakb.js → job-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{credential-df08tz66.js → job-df08tz66.js} +0 -0
  734. /package/dist/chunks/{credential-dy18nga0.js → job-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{credential-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{credential-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{credential-ec1grn59.js → job-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{credential-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{credential-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{credential-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{credential-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{credential-faypxj3z.js → job-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{credential-fd410y7t.js → job-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{credential-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{credential-g86h250q.js → job-g86h250q.js} +0 -0
  746. /package/dist/chunks/{credential-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{credential-gftt206x.js → job-gftt206x.js} +0 -0
  748. /package/dist/chunks/{credential-hcxmzztb.js → job-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{credential-hk9envan.js → job-hk9envan.js} +0 -0
  750. /package/dist/chunks/{credential-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{credential-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{credential-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{credential-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{credential-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{credential-jze0r7bz.js → job-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{credential-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{credential-m18g726c.js → job-m18g726c.js} +0 -0
  758. /package/dist/chunks/{credential-mp448xyj.js → job-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{credential-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{credential-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{credential-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{credential-njntx4h6.js → job-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{credential-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{credential-pyv0edze.js → job-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{credential-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{credential-q74kybfr.js → job-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{credential-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{credential-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{credential-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{credential-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{credential-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{credential-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{credential-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{credential-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{credential-ve7vex1e.js → job-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{credential-w803qqfp.js → job-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{credential-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{credential-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{credential-wjj7prxr.js → job-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{credential-wtztk69x.js → job-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{credential-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{credential-x61499pn.js → job-x61499pn.js} +0 -0
  783. /package/dist/chunks/{credential-y44na4kk.js → job-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{credential-y8f7s663.js → job-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{credential-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{credential-ym463w8f.js → job-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{credential-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{credential-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
- import {
2
- Service85,
3
- node89
4
- } from "./credential-trex24va.js";
5
1
  import {
6
2
  Service84,
7
3
  node88
8
- } from "./credential-k9beb6wv.js";
4
+ } from "./job-hn9raw8n.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./job-n0h8hcm5.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./credential-pknna89w.js";
11
+ } from "./job-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./credential-3zsf4n22.js";
14
+ } from "./job-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./credential-9rqn6x4v.js";
17
+ } from "./job-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event15,
24
24
  External: () => External2,
25
- ID: () => ID16,
26
- Info: () => Info26,
25
+ ID: () => ID12,
26
+ Info: () => Info21,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service79,
29
+ Service: () => Service68,
30
30
  Value: () => Value2,
31
- node: () => node83
31
+ node: () => node72
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID16 = Credential.ID;
38
+ var ID12 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
40
  var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event20 = Credential.Event;
43
+ var Event15 = Credential.Event;
44
44
 
45
- class Info26 extends Schema.Class("Credential.Info")({
46
- id: ID16,
45
+ class Info21 extends Schema.Class("Credential.Info")({
46
+ id: ID12,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service79 extends Context.Service()("@opencode/Credential") {
53
+ class Service68 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service79, Effect.gen(function* () {
56
- const db = (yield* Service85).db;
57
- const bus = yield* Service84;
55
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
56
+ const db = (yield* Service84).db;
57
+ const bus = yield* Service82;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info26({
62
+ return new Info21({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service79.of({
73
+ return Service68.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info26({
82
- id: input.id ?? ID16.create(),
81
+ const credential = new Info21({
82
+ id: input.id ?? ID12.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event20.Updated, {}, { global: true });
113
+ yield* bus.publish(Event15.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event20.Updated, {}, { global: true });
167
+ yield* bus.publish(Event15.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event20.Updated, {}, { global: true });
200
+ yield* bus.publish(Event15.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node83 = makeGlobalNode({ service: Service79, layer, deps: [node89, node88] });
206
+ var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88, node86] });
207
207
 
208
- export { ID16, OAuth3, Key4, External2, Value2, Event20, Info26, Service79, node83, exports_credential };
208
+ export { ID12, OAuth3, Key4, External2, Value2, Event15, Info21, Service68, node72, exports_credential };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./credential-yw0h1yf7.js";
3
+ } from "./job-cqpeec48.js";
4
4
  import {
5
- Service84
6
- } from "./credential-k9beb6wv.js";
5
+ Service82
6
+ } from "./job-n0h8hcm5.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./credential-pe6c81vb.js";
9
+ Event15
10
+ } from "./job-x8s5s07e.js";
11
11
  import {
12
12
  key2
13
- } from "./credential-addxnjmp.js";
13
+ } from "./job-gqtdsdt7.js";
14
14
  import {
15
- ID14,
15
+ ID11,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./credential-ab9cbtvh.js";
18
+ } from "./job-a276wvpv.js";
19
19
  import {
20
- Service17
21
- } from "./credential-4fnxzqcp.js";
20
+ Service14
21
+ } from "./job-fww2ha2b.js";
22
22
  import {
23
- ID13,
23
+ ID10,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./credential-q9qhhjv2.js";
26
+ } from "./job-3jtzdpaa.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./credential-nmmr4e9w.js";
29
+ } from "./job-9sf2b1wk.js";
30
30
  import {
31
31
  supports2,
32
32
  resolve2
33
- } from "./credential-a7204kxa.js";
33
+ } from "./job-hzqv7q0z.js";
34
34
  import {
35
- ID3,
36
- Input13,
35
+ ID15,
36
+ Input14,
37
37
  Response2
38
- } from "./credential-369pt44z.js";
38
+ } from "./job-8r8vn0wd.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
61
61
  var RemoteResponse = Schema.Struct({
62
62
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
63
63
  websearch: Schema.Struct({
64
- providerID: ID3
64
+ providerID: ID15
65
65
  }).pipe(Schema.optional),
66
66
  mcp: Schema.Struct({
67
67
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID14.make("opencode"),
115
+ integrationID: ID11.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -176,10 +176,10 @@ function oauth(http) {
176
176
  var OpencodePlugin2 = define({
177
177
  id: "opencode.provider.opencode",
178
178
  effect: Effect.fn(function* (ctx) {
179
- const bus = yield* Service84;
179
+ const bus = yield* Service82;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service17;
182
+ const managed = yield* Service14;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID14.make("opencode");
234
+ provider.integrationID = ID11.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
303
303
  sourceConnection: snapshot.connection
304
304
  });
305
305
  }
306
- const item = providers.get(ID13.opencode);
306
+ const item = providers.get(ID10.opencode);
307
307
  if (!item)
308
308
  return;
309
309
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  });
316
316
  });
317
317
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID13.opencode);
318
+ const item = models.provider.get(ID10.opencode);
319
319
  if (!item)
320
320
  return;
321
321
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
404
404
  });
405
405
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
406
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
407
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID10.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
410
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
411
411
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
412
412
  })
413
413
  });
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./credential-k9beb6wv.js";
5
- import {
6
- Service81,
7
- node85
8
- } from "./credential-raf8x87w.js";
2
+ Service82,
3
+ node86
4
+ } from "./job-n0h8hcm5.js";
9
5
  import {
10
6
  Service80,
11
- login2,
12
7
  node84
13
- } from "./credential-as35ary9.js";
8
+ } from "./job-vvnh5rp7.js";
9
+ import {
10
+ Service79,
11
+ login2,
12
+ node83
13
+ } from "./job-gce79w0q.js";
14
14
  import {
15
15
  lazy2
16
- } from "./credential-88xbtdfr.js";
16
+ } from "./job-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./credential-9rqn6x4v.js";
19
+ } from "./job-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
24
  CreateInput: () => CreateInput3,
25
- Event: () => Event7,
25
+ Event: () => Event20,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID4,
28
- Info: () => Info5,
29
- NotFoundError: () => NotFoundError4,
27
+ ID: () => ID16,
28
+ Info: () => Info26,
29
+ NotFoundError: () => NotFoundError10,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service30,
31
+ Service: () => Service78,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node33
33
+ node: () => node82
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 Event7 } from "@opencode/schema/pty";
38
+ import { Event as Event20 } 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 ID4 = Pty.ID;
43
- var Info5 = Pty.Info;
42
+ var ID16 = Pty.ID;
43
+ var Info26 = Pty.Info;
44
44
  var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID4
47
+ class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID16
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID4
53
+ ptyID: ID16
54
54
  }) {
55
55
  }
56
56
 
57
- class Service30 extends Context.Service()("@opencode/Pty") {
57
+ class Service78 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service30, Effect.gen(function* () {
60
- const bus = yield* Service84;
61
- const location = yield* Service81;
62
- const shell = yield* Service80;
59
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
60
+ const bus = yield* Service82;
61
+ const location = yield* Service80;
62
+ const shell = yield* Service79;
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(Service30, 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 NotFoundError4({ ptyID: id });
99
+ return yield* new NotFoundError10({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service30, 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 = ID4.ascending();
125
+ const id = ID16.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(Service30, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service30.of({ list, get, create, update, remove, write, attach });
270
+ return Service78.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node33 = makeLocationNode({
273
- service: Service30,
272
+ var node82 = makeLocationNode({
273
+ service: Service78,
274
274
  layer,
275
- deps: [node88, node85, node84]
275
+ deps: [node86, node84, node83]
276
276
  });
277
277
 
278
- export { ID4, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service30, node33, exports_pty, Event7 };
278
+ export { ID16, Info26, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service78, node82, exports_pty, Event20 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID13,
2
+ ID10,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./credential-q9qhhjv2.js";
7
+ } from "./job-3jtzdpaa.js";
8
8
  import {
9
9
  __export
10
- } from "./credential-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service59,
17
+ Service: () => Service61,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node61
19
+ node: () => node65
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID13,
154
+ providerID: ID10,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service59 extends Context.Service()("@opencode/AISDK") {
162
+ class Service61 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service59.of({
202
+ const service = Service61.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node61 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
877
+ var node65 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service59, locationLayer2, node61, exports_aisdk };
879
+ export { InitError2, Service61, locationLayer2, node65, exports_aisdk };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./credential-k9beb6wv.js";
2
+ Service82,
3
+ node86
4
+ } from "./job-n0h8hcm5.js";
5
5
  import {
6
6
  create3
7
- } from "./credential-rdw6cm16.js";
7
+ } from "./job-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./credential-kvkt1qqd.js";
10
+ } from "./job-pqdnhc1j.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
21
- ID: () => ID6,
22
- Info: () => Info9,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
+ Info: () => Info6,
23
23
  Name: () => Name2,
24
- Service: () => Service51,
24
+ Service: () => Service49,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node53,
29
+ node: () => node51,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event5 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source3 = Skill.Source;
42
- var Info9 = Skill.Info;
43
- var ID6 = Skill.ID;
42
+ var Info6 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service51 extends Context.Service()("@opencode/Skill") {
74
+ class Service49 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service51, Effect.gen(function* () {
77
- const bus = yield* Service84;
76
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
77
+ const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service51.of({
100
+ return Service49.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node53 = makeLocationNode({
112
- service: Service51,
111
+ var node51 = makeLocationNode({
112
+ service: Service49,
113
113
  layer,
114
- deps: [node88]
114
+ deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info9, ID6, Name2, available3, toModelOutput3, prepare3, Service51, node53, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available3, toModelOutput3, prepare3, Service49, node51, exports_skill5, Event5 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./credential-zr2ceqn5.js";
3
+ } from "./job-zr2ceqn5.js";
4
4
  import {
5
- Service55
6
- } from "./credential-mq99xv2c.js";
5
+ Service51
6
+ } from "./job-25yqr4p3.js";
7
7
  import {
8
- Service54
9
- } from "./credential-kkd5n1wb.js";
8
+ Service50
9
+ } from "./job-a638f9xa.js";
10
10
  import {
11
- Service17,
11
+ Service14,
12
12
  statements2,
13
13
  decision2
14
- } from "./credential-4fnxzqcp.js";
14
+ } from "./job-fww2ha2b.js";
15
15
  import {
16
16
  __export
17
- } from "./credential-9rqn6x4v.js";
17
+ } from "./job-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make4
24
+ make: () => make6
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make4 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service54;
35
- const managed = yield* Service17;
36
- const watcher = yield* Service55;
33
+ var make6 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service50;
35
+ const managed = yield* Service14;
36
+ const watcher = yield* Service51;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make4, LoadError2, exports_module };
121
+ export { make6, LoadError2, exports_module };