@opencode/core 2.0.20 → 2.0.21

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{credential-eeaf82dq.js → job-00x4qneg.js} +8 -8
  8. package/dist/chunks/{credential-dfe8djrf.js → job-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{credential-cr4nqcbv.js → job-0cmgxwc3.js} +11 -11
  10. package/dist/chunks/{credential-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{credential-s0mc307a.js → job-0ptd10ac.js} +11 -11
  12. package/dist/chunks/{credential-rpjgfq5s.js → job-0tmgye68.js} +5 -5
  13. package/dist/chunks/{credential-b3rzqckw.js → job-0wjxfcep.js} +18 -18
  14. package/dist/chunks/{credential-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{credential-rt0y70g6.js → job-1ddmwb72.js} +13 -13
  16. package/dist/chunks/{credential-vayd7y3p.js → job-1mdp675b.js} +6 -6
  17. package/dist/chunks/{credential-jws6fkes.js → job-1p07q0wb.js} +6 -6
  18. package/dist/chunks/{credential-21r38tys.js → job-21r38tys.js} +1 -1
  19. package/dist/chunks/{credential-2dwnk97h.js → job-21zzzqpe.js} +18 -18
  20. package/dist/chunks/{credential-m2sn03fv.js → job-230c54mq.js} +15 -15
  21. package/dist/chunks/{credential-6ersrjne.js → job-23pqda6t.js} +6 -6
  22. package/dist/chunks/{credential-myd2tyxx.js → job-24ncmqw9.js} +15 -15
  23. package/dist/chunks/{credential-01764t6m.js → job-27msewjz.js} +14 -14
  24. package/dist/chunks/{credential-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{credential-z1qbwb2j.js → job-2b6sywcb.js} +8 -8
  26. package/dist/chunks/{credential-860w7ty6.js → job-2dre8qhb.js} +4 -4
  27. package/dist/chunks/{credential-psr41n11.js → job-2erysbps.js} +12 -12
  28. package/dist/chunks/{credential-r9m8wmbv.js → job-2h8w1cfj.js} +29 -29
  29. package/dist/chunks/{credential-mn7chjbp.js → job-2jb1f61f.js} +9 -9
  30. package/dist/chunks/{credential-reg6q42h.js → job-2p623br6.js} +5 -5
  31. package/dist/chunks/{credential-8as63f7d.js → job-2sf5vtpp.js} +8 -8
  32. package/dist/chunks/{credential-5gg7jdww.js → job-2sv4arh8.js} +7 -7
  33. package/dist/chunks/{credential-9eq5kwq7.js → job-2w5dyyz8.js} +5 -5
  34. package/dist/chunks/{credential-gxdeyq0h.js → job-2ydcz6pr.js} +17 -17
  35. package/dist/chunks/{credential-kyh50zn5.js → job-2zhq2a85.js} +48 -48
  36. package/dist/chunks/{credential-xnwfhxg1.js → job-2zp87bs7.js} +25 -25
  37. package/dist/chunks/{credential-6vhy8yb4.js → job-321mahy6.js} +32 -32
  38. package/dist/chunks/{credential-n6rh12ap.js → job-35hkzk16.js} +7 -7
  39. package/dist/chunks/{credential-87kvv8a5.js → job-372g89p4.js} +25 -25
  40. package/dist/chunks/{credential-vyqn3nqs.js → job-3e147rt9.js} +9 -9
  41. package/dist/chunks/{credential-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{credential-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{credential-vggwrjrt.js → job-3mft5zsr.js} +18 -18
  44. package/dist/chunks/{credential-m67h27zr.js → job-3r704csb.js} +1 -1
  45. package/dist/chunks/{credential-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{credential-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  47. package/dist/chunks/job-3v8rp85y.js +252 -0
  48. package/dist/chunks/{credential-eqpt8p1k.js → job-3vy408b5.js} +21 -21
  49. package/dist/chunks/{credential-s673kgky.js → job-3wtv6kz3.js} +30 -30
  50. package/dist/chunks/{credential-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{credential-8wb366f9.js → job-48c763ft.js} +6 -6
  52. package/dist/chunks/{credential-35vy03by.js → job-4dyf21mr.js} +17 -17
  53. package/dist/chunks/{credential-1r1tv6v0.js → job-4h23kj6w.js} +10 -10
  54. package/dist/chunks/{credential-k553bdtw.js → job-4tn3p6ay.js} +35 -35
  55. package/dist/chunks/{credential-54ma36ye.js → job-54ma36ye.js} +1 -1
  56. package/dist/chunks/{credential-qqeeq2t9.js → job-57b9ws8p.js} +4 -4
  57. package/dist/chunks/{credential-57ez7d0k.js → job-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{credential-r68z10wk.js → job-5aa0r02j.js} +6 -6
  59. package/dist/chunks/{credential-pkt3h2b9.js → job-5cmqbqwp.js} +17 -17
  60. package/dist/chunks/{credential-7w99qc9d.js → job-5cmxdwv8.js} +3 -3
  61. package/dist/chunks/{credential-5daktx2q.js → job-5daktx2q.js} +1 -1
  62. package/dist/chunks/{credential-1kkkrqff.js → job-5k4xw9x6.js} +25 -25
  63. package/dist/chunks/{credential-6yvxz189.js → job-5nnetc6k.js} +8 -8
  64. package/dist/chunks/{credential-sknxvkc8.js → job-5svcwqmc.js} +26 -26
  65. package/dist/chunks/{credential-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{credential-669tq793.js → job-669tq793.js} +1 -1
  67. package/dist/chunks/{credential-qzd7m72z.js → job-6j9mr40r.js} +12 -12
  68. package/dist/chunks/{credential-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{credential-r2w7cvnr.js → job-73n25p0e.js} +10 -10
  70. package/dist/chunks/{credential-r5x6zcsm.js → job-73tb2d7t.js} +3 -3
  71. package/dist/chunks/{credential-yyk0fdyr.js → job-79dvcba4.js} +76 -76
  72. package/dist/chunks/{credential-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{credential-cjfyp86a.js → job-7f5ge08c.js} +39 -39
  74. package/dist/chunks/{credential-7j45yeqe.js → job-7h2raa0m.js} +22 -22
  75. package/dist/chunks/{credential-37axwcy6.js → job-7hxgqze9.js} +35 -33
  76. package/dist/chunks/{credential-6wqdzgpe.js → job-7mx9kf16.js} +11 -11
  77. package/dist/chunks/{credential-9ysd9rcf.js → job-7t9gt51b.js} +13 -13
  78. package/dist/chunks/{credential-nfr71wq7.js → job-7z3v8smk.js} +8 -8
  79. package/dist/chunks/{credential-vpqca0z9.js → job-80nn28cp.js} +11 -11
  80. package/dist/chunks/{credential-nb9p6b26.js → job-80scg3y3.js} +4 -4
  81. package/dist/chunks/{credential-vzwn6bjz.js → job-81z9xrjy.js} +21 -21
  82. package/dist/chunks/{credential-84txncab.js → job-84txncab.js} +1 -1
  83. package/dist/chunks/{credential-cn1v2m3x.js → job-8d0p2m37.js} +8 -8
  84. package/dist/chunks/{credential-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{credential-n7q661v8.js → job-8db6vkjt.js} +25 -25
  86. package/dist/chunks/job-8dbeyrdc.js +26 -0
  87. package/dist/chunks/{credential-6fmzyh88.js → job-8j5tm5td.js} +34 -34
  88. package/dist/chunks/{credential-rgq9hrpw.js → job-8k2kc9ag.js} +7 -7
  89. package/dist/chunks/{credential-r513yfhg.js → job-8pwpezbf.js} +24 -24
  90. package/dist/chunks/{credential-gfvb90ym.js → job-94ek1h2f.js} +2 -2
  91. package/dist/chunks/{credential-7pmn0fht.js → job-94m5kbhr.js} +23 -23
  92. package/dist/chunks/{credential-h8vvrgsf.js → job-95f1p06x.js} +17 -17
  93. package/dist/chunks/{credential-0ap57xmb.js → job-97h51v5t.js} +11 -11
  94. package/dist/chunks/{credential-49dxcv90.js → job-9gspbefy.js} +23 -23
  95. package/dist/chunks/{credential-6n174ycw.js → job-9wcym3xz.js} +13 -13
  96. package/dist/chunks/{credential-69vgqr14.js → job-a4k5rsdw.js} +20 -20
  97. package/dist/chunks/{credential-w07vsv7f.js → job-a7yhm3z2.js} +25 -25
  98. package/dist/chunks/{credential-34vw7f1n.js → job-a98nbm3g.js} +18 -18
  99. package/dist/chunks/{credential-aaet6srn.js → job-aaet6srn.js} +2 -2
  100. package/dist/chunks/{credential-kr2z21pd.js → job-ab1ys2yh.js} +17 -17
  101. package/dist/chunks/{credential-rjyw1ade.js → job-amzxah2v.js} +43 -43
  102. package/dist/chunks/{credential-1qkzpzzz.js → job-anp1t542.js} +25 -25
  103. package/dist/chunks/{credential-xr72vas6.js → job-awtsf2hr.js} +6 -6
  104. package/dist/chunks/{credential-7svg9qyr.js → job-b4st347k.js} +3 -3
  105. package/dist/chunks/{credential-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{credential-dn5d15e9.js → job-b9fqpfm8.js} +3 -3
  107. package/dist/chunks/{credential-63fq9d04.js → job-bcf9qfhy.js} +11 -11
  108. package/dist/chunks/{credential-5te2f5xw.js → job-bd4hr4wh.js} +31 -31
  109. package/dist/chunks/{credential-5hxyj64z.js → job-bg585zsx.js} +12 -12
  110. package/dist/chunks/{credential-17xqc022.js → job-bnc1xqpd.js} +15 -15
  111. package/dist/chunks/{credential-rkmmz4cx.js → job-brsymgq7.js} +8 -8
  112. package/dist/chunks/{credential-j5gmcxfs.js → job-bx0gng0c.js} +20 -20
  113. package/dist/chunks/{credential-w3jfy4gq.js → job-bxfy3ep7.js} +11 -11
  114. package/dist/chunks/{credential-4pk2n38q.js → job-bxzpjmy4.js} +25 -25
  115. package/dist/chunks/{credential-2z5bkz89.js → job-bype3acy.js} +36 -36
  116. package/dist/chunks/{credential-6582e1zf.js → job-bz7b5t1b.js} +6 -6
  117. package/dist/chunks/{credential-8ytcc0ez.js → job-c1vmsse5.js} +18 -18
  118. package/dist/chunks/{credential-r9f2t4hr.js → job-c248vghb.js} +22 -22
  119. package/dist/chunks/{credential-r5mfbntr.js → job-c3c0cf95.js} +90 -90
  120. package/dist/chunks/{credential-j6ze8jrf.js → job-c9x0wrsc.js} +18 -18
  121. package/dist/chunks/{credential-e34dw6hk.js → job-cezb84g9.js} +164 -164
  122. package/dist/chunks/{credential-54tcyq79.js → job-ckecvw8r.js} +2 -2
  123. package/dist/chunks/{credential-pa8pe2x7.js → job-czfptnv9.js} +4 -4
  124. package/dist/chunks/{credential-hytzprz1.js → job-d1a9hefb.js} +11 -11
  125. package/dist/chunks/{credential-ccg1mtqe.js → job-d7semmcg.js} +27 -27
  126. package/dist/chunks/{credential-x01zr8y0.js → job-dah7mteb.js} +17 -17
  127. package/dist/chunks/{credential-hyq1p8wb.js → job-deaeaxqh.js} +14 -14
  128. package/dist/chunks/{credential-3g99d3pg.js → job-dncx4ycs.js} +5 -5
  129. package/dist/chunks/{credential-965ggptx.js → job-dq0v80fr.js} +12 -12
  130. package/dist/chunks/{credential-m7eh5me1.js → job-dr2s0fjn.js} +12 -12
  131. package/dist/chunks/{credential-1aavndqb.js → job-dx8qg5g2.js} +11 -11
  132. package/dist/chunks/{credential-3c8vhndt.js → job-dydyxn0c.js} +6 -6
  133. package/dist/chunks/{credential-tzxp8tch.js → job-dymtghw6.js} +15 -15
  134. package/dist/chunks/{credential-znxzs23z.js → job-dyndan9x.js} +7 -7
  135. package/dist/chunks/{credential-3ev070rc.js → job-e7e40j07.js} +23 -23
  136. package/dist/chunks/{credential-ecfe7b91.js → job-ecfe7b91.js} +2 -2
  137. package/dist/chunks/{credential-vnzfaa5x.js → job-ed8ee58a.js} +4 -4
  138. package/dist/chunks/{credential-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{credential-as42p2kz.js → job-egadbg92.js} +13 -13
  140. package/dist/chunks/{credential-ybqqd820.js → job-eqrfnj34.js} +20 -20
  141. package/dist/chunks/{credential-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{credential-9v0v5k0m.js → job-f09mb087.js} +41 -41
  143. package/dist/chunks/{credential-4j4tgtq5.js → job-f29mbr7f.js} +4 -4
  144. package/dist/chunks/{credential-rxfap019.js → job-f50vaec3.js} +22 -22
  145. package/dist/chunks/{credential-7dqw4kz8.js → job-fcrkznn8.js} +5 -5
  146. package/dist/chunks/{credential-fyd2dh6z.js → job-fmzghwgw.js} +13 -13
  147. package/dist/chunks/{credential-pv6wngh8.js → job-fnsgkk5v.js} +22 -22
  148. package/dist/chunks/{credential-995e57hq.js → job-frdvpnjn.js} +2 -2
  149. package/dist/chunks/{credential-76832g3x.js → job-g0tt42na.js} +11 -9
  150. package/dist/chunks/{credential-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{credential-vrewfqnt.js → job-gd8pphrc.js} +1 -1
  152. package/dist/chunks/{credential-320xhtpp.js → job-gfctbcth.js} +10 -10
  153. package/dist/chunks/{credential-0m7nkzkh.js → job-ggxahnyx.js} +8 -8
  154. package/dist/chunks/{credential-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{credential-w2fmgtkz.js → job-gva2p7bf.js} +32 -32
  156. package/dist/chunks/{credential-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{credential-tntb81s9.js → job-h6zqkqnm.js} +18 -18
  158. package/dist/chunks/{credential-m2ddg3y2.js → job-hjrhn7sa.js} +15 -15
  159. package/dist/chunks/{credential-m9mb90fb.js → job-hk6cjtaz.js} +5 -5
  160. package/dist/chunks/{credential-hw2ff0tr.js → job-hp7jr1jp.js} +12 -12
  161. package/dist/chunks/{credential-1hnfrh0d.js → job-hpg6w38n.js} +34 -34
  162. package/dist/chunks/job-ht5y0zrb.js +18 -0
  163. package/dist/chunks/{credential-cfm9g534.js → job-htjw9qza.js} +6 -6
  164. package/dist/chunks/{credential-hvpdd4sy.js → job-hy1na680.js} +9 -9
  165. package/dist/chunks/{credential-b46899qp.js → job-j543e7zy.js} +11 -11
  166. package/dist/chunks/{credential-j56e64zr.js → job-j56e64zr.js} +1 -1
  167. package/dist/chunks/{credential-akwq9tj0.js → job-jeerxax2.js} +22 -22
  168. package/dist/chunks/{credential-7mpr3p1f.js → job-jk9p3pr1.js} +14 -14
  169. package/dist/chunks/{credential-egndxt76.js → job-jmvgh3qv.js} +43 -43
  170. package/dist/chunks/{credential-xn90480x.js → job-jv8zx4t6.js} +301 -301
  171. package/dist/chunks/{credential-t590yz96.js → job-jy3q8cv1.js} +11 -11
  172. package/dist/chunks/{credential-zyh8zg28.js → job-jzxd5mvh.js} +34 -34
  173. package/dist/chunks/{credential-30g65q41.js → job-k9rsy0a9.js} +15 -15
  174. package/dist/chunks/{credential-eyj09mx0.js → job-kfcwqfca.js} +27 -27
  175. package/dist/chunks/{credential-9q51rf9r.js → job-kftb8sdn.js} +10 -10
  176. package/dist/chunks/{credential-kq6h27xz.js → job-kgchvb5g.js} +4 -4
  177. package/dist/chunks/{credential-mpf0mq91.js → job-kmyvrf53.js} +8 -8
  178. package/dist/chunks/{credential-fwwk8vbp.js → job-kp8q1t60.js} +5 -5
  179. package/dist/chunks/{credential-nye1dag9.js → job-krfw28kg.js} +31 -31
  180. package/dist/chunks/{credential-vsvxbsy9.js → job-m0p8cpk7.js} +77 -77
  181. package/dist/chunks/{credential-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{credential-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{credential-yf64nb4f.js → job-ma9c1wd2.js} +14 -14
  184. package/dist/chunks/{credential-mfqp6xfm.js → job-mfqp6xfm.js} +2 -2
  185. package/dist/chunks/{credential-tky6hxra.js → job-mjphe00w.js} +28 -28
  186. package/dist/chunks/{credential-g190xswt.js → job-mjymc32g.js} +4 -4
  187. package/dist/chunks/{credential-q2hsetqa.js → job-mn6n0y1n.js} +19 -19
  188. package/dist/chunks/{credential-dnxkq42g.js → job-mpk0rfs5.js} +4 -4
  189. package/dist/chunks/{credential-mr6y2ppx.js → job-msknqe7y.js} +8 -8
  190. package/dist/chunks/{credential-mzywpf3p.js → job-mvksx64m.js} +4 -4
  191. package/dist/chunks/{credential-zkahend3.js → job-my8d63dw.js} +6 -6
  192. package/dist/chunks/{credential-k8sz2zj3.js → job-n4szqbm8.js} +41 -41
  193. package/dist/chunks/{credential-qwsb95v7.js → job-n7zyc71s.js} +39 -39
  194. package/dist/chunks/{credential-dzq4rv13.js → job-n8v4y01d.js} +20 -20
  195. package/dist/chunks/{credential-fhs97t90.js → job-nq7qbqzc.js} +9 -9
  196. package/dist/chunks/{credential-9pkkzrmj.js → job-nrk5vjbf.js} +5 -5
  197. package/dist/chunks/{credential-fxtkerxr.js → job-ntgtekfh.js} +16 -16
  198. package/dist/chunks/{credential-ead3g9p8.js → job-nxhqveyz.js} +5 -5
  199. package/dist/chunks/{credential-nzks3jc8.js → job-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{credential-xn3gx34d.js → job-p2scykdn.js} +32 -32
  201. package/dist/chunks/{credential-xxndcd6m.js → job-pc4b88sv.js} +4 -4
  202. package/dist/chunks/{credential-bkxev147.js → job-pdpyt1kt.js} +9 -9
  203. package/dist/chunks/{credential-d7srgpft.js → job-pema4mtg.js} +9 -9
  204. package/dist/chunks/{credential-cckay3nk.js → job-pgw42aqy.js} +5 -5
  205. package/dist/chunks/{credential-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{credential-pknna89w.js → job-pknna89w.js} +1 -1
  207. package/dist/chunks/{credential-ca7kmppq.js → job-pt0meat3.js} +11 -11
  208. package/dist/chunks/{credential-gygscfxn.js → job-pxz4gc4z.js} +4 -4
  209. package/dist/chunks/{credential-gqs84h8k.js → job-pyez88hg.js} +31 -31
  210. package/dist/chunks/{credential-fgashtey.js → job-pzvyvyg4.js} +12 -12
  211. package/dist/chunks/{credential-8rsx1zec.js → job-qje3r2wc.js} +3 -3
  212. package/dist/chunks/{credential-jv01nqvq.js → job-qn4ba14w.js} +5 -5
  213. package/dist/chunks/{credential-tcmebnch.js → job-qp7xcb4s.js} +17 -17
  214. package/dist/chunks/{credential-qsdy395h.js → job-qsdy395h.js} +1 -1
  215. package/dist/chunks/{credential-pnaxc6j9.js → job-qwjmgwmn.js} +8 -8
  216. package/dist/chunks/{credential-r8xr0va3.js → job-r8xr0va3.js} +1 -1
  217. package/dist/chunks/{credential-c86te7yw.js → job-rb7cysfw.js} +9 -9
  218. package/dist/chunks/{credential-dmr0vvsc.js → job-rc8j1xt1.js} +5 -5
  219. package/dist/chunks/{credential-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{credential-cwa6csj7.js → job-rey5gbxv.js} +9 -9
  221. package/dist/chunks/{credential-s8d7rejh.js → job-rhjbct0v.js} +4 -4
  222. package/dist/chunks/{credential-hd8vw2pw.js → job-rk1r2hx8.js} +1 -1
  223. package/dist/chunks/{credential-r9pqfw3c.js → job-rwtjgree.js} +28 -28
  224. package/dist/chunks/{credential-dwrr54rh.js → job-s2yhstx6.js} +26 -26
  225. package/dist/chunks/{credential-gv83f00q.js → job-sgsdap7d.js} +22 -22
  226. package/dist/chunks/{credential-s5e2htb3.js → job-srtvgg2d.js} +6 -6
  227. package/dist/chunks/{credential-qa3qhgw8.js → job-sxz6gkc3.js} +7 -7
  228. package/dist/chunks/{credential-x5fprgp4.js → job-t62vap4r.js} +5 -5
  229. package/dist/chunks/{credential-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{credential-nbajkkwv.js → job-tbtg7k2g.js} +25 -25
  231. package/dist/chunks/{credential-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{credential-818pfwc9.js → job-tdhe5xga.js} +8 -8
  233. package/dist/chunks/{credential-tdstcens.js → job-tdstcens.js} +1 -1
  234. package/dist/chunks/{credential-3w2b2yj4.js → job-tn0aqsam.js} +5 -5
  235. package/dist/chunks/{credential-gj6q2tkf.js → job-tq0ersfe.js} +29 -29
  236. package/dist/chunks/{credential-tvtrv512.js → job-tvtrv512.js} +1 -1
  237. package/dist/chunks/{credential-ct0b5bas.js → job-txbrvd03.js} +44 -44
  238. package/dist/chunks/{credential-fx1epf7g.js → job-v54cehp4.js} +53 -53
  239. package/dist/chunks/{credential-bw9zjykr.js → job-v6gb7zv2.js} +6 -6
  240. package/dist/chunks/{credential-c6hr400c.js → job-v6jt2rw3.js} +3 -3
  241. package/dist/chunks/{credential-epnck8kw.js → job-vdpw8b0t.js} +11 -11
  242. package/dist/chunks/{credential-bnqp8nta.js → job-vdqv4tww.js} +16 -16
  243. package/dist/chunks/{credential-veqvce7d.js → job-veqvce7d.js} +1 -1
  244. package/dist/chunks/{credential-drnx3qwb.js → job-vf68ak62.js} +21 -21
  245. package/dist/chunks/{credential-zy43x3f1.js → job-vfjhn2wd.js} +4 -4
  246. package/dist/chunks/{credential-ws120pvh.js → job-vk5bz9xj.js} +6 -6
  247. package/dist/chunks/{credential-nng2ktcm.js → job-vmgq4x8b.js} +2 -2
  248. package/dist/chunks/{credential-4mdx2368.js → job-vmzrcmtw.js} +6 -6
  249. package/dist/chunks/{credential-evrr6asg.js → job-vsq07z0a.js} +11 -11
  250. package/dist/chunks/{credential-7x29ec5h.js → job-vz4zcjem.js} +5 -5
  251. package/dist/chunks/{credential-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{credential-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{credential-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{credential-tjtda90p.js → job-w4cz4w8n.js} +2 -2
  255. package/dist/chunks/{credential-32ymn5e1.js → job-w6ebfasv.js} +3 -3
  256. package/dist/chunks/{credential-z41nk1d3.js → job-w85vjd23.js} +27 -27
  257. package/dist/chunks/{credential-psazpmmj.js → job-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{credential-wd87259q.js → job-wd87259q.js} +1 -1
  259. package/dist/chunks/{credential-wtjjgayy.js → job-wm3q5ckg.js} +22 -22
  260. package/dist/chunks/{credential-xqbsjtqf.js → job-wpv4xhp3.js} +15 -15
  261. package/dist/chunks/{credential-4tbg5pgg.js → job-wt6bjq2d.js} +6 -93
  262. package/dist/chunks/{credential-6pqttx51.js → job-wtj8vade.js} +3 -3
  263. package/dist/chunks/{credential-w27cvc4j.js → job-wtmkasd2.js} +10 -10
  264. package/dist/chunks/{credential-g3xec8vw.js → job-wy2r7fzd.js} +43 -43
  265. package/dist/chunks/{credential-vh9g9snc.js → job-wygg9rvv.js} +19 -19
  266. package/dist/chunks/{credential-jczj3x0w.js → job-x01dckpp.js} +28 -25
  267. package/dist/chunks/{credential-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{credential-wp4r7acg.js → job-x5y9z3y2.js} +27 -27
  269. package/dist/chunks/{credential-0y2g8rq0.js → job-x7n7fr05.js} +24 -24
  270. package/dist/chunks/{credential-9asmjjbg.js → job-xgdw0hys.js} +8 -8
  271. package/dist/chunks/{credential-xkntkrq7.js → job-xkntkrq7.js} +2 -2
  272. package/dist/chunks/{credential-phmegyhy.js → job-xp9nh6c1.js} +41 -41
  273. package/dist/chunks/{credential-h6b02349.js → job-xvp1j2dc.js} +5 -5
  274. package/dist/chunks/{credential-2exk30js.js → job-y083drbn.js} +5 -5
  275. package/dist/chunks/{credential-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{credential-dpkg50ah.js → job-y71avatq.js} +4 -4
  277. package/dist/chunks/{credential-yspm5xbj.js → job-ydesmw24.js} +10 -10
  278. package/dist/chunks/{credential-67hdgqhw.js → job-ykd9stzd.js} +12 -12
  279. package/dist/chunks/{credential-30men631.js → job-ynzdndxd.js} +22 -22
  280. package/dist/chunks/{credential-wb1prbnq.js → job-ypqa2cd5.js} +24 -24
  281. package/dist/chunks/{credential-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{credential-yrznvahk.js → job-yrznvahk.js} +2 -2
  283. package/dist/chunks/{credential-bjtzbw4r.js → job-z07pqspn.js} +3 -3
  284. package/dist/chunks/{credential-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{credential-z63w68vq.js → job-z63w68vq.js} +2 -2
  286. package/dist/chunks/{credential-mt8f3a05.js → job-z8bzfx2e.js} +37 -37
  287. package/dist/chunks/{credential-k4sma9mx.js → job-zayhf9qs.js} +23 -23
  288. package/dist/chunks/{credential-n4r3xatb.js → job-zee1rnkq.js} +4 -4
  289. package/dist/chunks/{credential-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{credential-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{credential-hhd7x08z.js → job-zr3nw1y0.js} +5 -5
  292. package/dist/chunks/{credential-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +88 -88
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +120 -120
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +4 -4
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +94 -94
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +99 -99
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +3 -3
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +4 -4
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +124 -124
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +82 -82
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +94 -94
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +119 -119
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +108 -108
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/types/form.d.ts +5 -1
  660. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +0 -2
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +7 -7
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/credential-4v7qdvcn.js +0 -18
  703. package/dist/chunks/credential-c9ejnn61.js +0 -252
  704. package/dist/chunks/credential-p8vfyszn.js +0 -26
  705. /package/dist/chunks/{credential-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{credential-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{credential-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{credential-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{credential-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{credential-24dcb14g.js → job-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{credential-2710q6r3.js → job-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{credential-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{credential-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{credential-34c7v6d4.js → job-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{credential-359p4xyc.js → job-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{credential-3asan66x.js → job-3asan66x.js} +0 -0
  717. /package/dist/chunks/{credential-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{credential-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{credential-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{credential-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{credential-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{credential-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{credential-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{credential-53557ph1.js → job-53557ph1.js} +0 -0
  725. /package/dist/chunks/{credential-550bvhaj.js → job-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{credential-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{credential-6prwharc.js → job-6prwharc.js} +0 -0
  728. /package/dist/chunks/{credential-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{credential-7m9af43g.js → job-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{credential-822emrt2.js → job-822emrt2.js} +0 -0
  731. /package/dist/chunks/{credential-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{credential-8n3pysct.js → job-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{credential-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{credential-922hggd3.js → job-922hggd3.js} +0 -0
  735. /package/dist/chunks/{credential-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{credential-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{credential-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{credential-af5trqkr.js → job-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{credential-afrmfg78.js → job-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{credential-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{credential-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{credential-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{credential-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{credential-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{credential-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{credential-d9fn303g.js → job-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{credential-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{credential-dajrwvna.js → job-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{credential-dap0rakb.js → job-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{credential-df08tz66.js → job-df08tz66.js} +0 -0
  751. /package/dist/chunks/{credential-dy18nga0.js → job-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{credential-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{credential-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{credential-ec1grn59.js → job-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{credential-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{credential-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{credential-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{credential-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{credential-faypxj3z.js → job-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{credential-fd410y7t.js → job-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{credential-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{credential-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{credential-g86h250q.js → job-g86h250q.js} +0 -0
  764. /package/dist/chunks/{credential-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{credential-gftt206x.js → job-gftt206x.js} +0 -0
  766. /package/dist/chunks/{credential-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{credential-hk9envan.js → job-hk9envan.js} +0 -0
  768. /package/dist/chunks/{credential-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{credential-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{credential-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{credential-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{credential-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{credential-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{credential-mp448xyj.js → job-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{credential-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{credential-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{credential-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{credential-njntx4h6.js → job-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{credential-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{credential-q74kybfr.js → job-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{credential-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{credential-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{credential-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{credential-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{credential-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{credential-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{credential-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{credential-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{credential-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{credential-w803qqfp.js → job-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{credential-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{credential-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{credential-wtztk69x.js → job-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{credential-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{credential-x61499pn.js → job-x61499pn.js} +0 -0
  796. /package/dist/chunks/{credential-y44na4kk.js → job-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{credential-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{credential-y8f7s663.js → job-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{credential-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{credential-ym463w8f.js → job-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{credential-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./credential-evrr6asg.js";
2
+ Service84,
3
+ node88
4
+ } from "./job-vsq07z0a.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./credential-s8d7rejh.js";
10
+ } from "./job-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./credential-bjtzbw4r.js";
13
+ } from "./job-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./credential-9rqn6x4v.js";
16
+ } from "./job-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service26,
25
+ Service: () => Service33,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node30,
29
+ node: () => node36,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service26 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service33 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service26, Effect.gen(function* () {
79
- const { db } = yield* Service83;
78
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
79
+ const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service26.of({ list, put, remove, load });
111
+ return Service33.of({ list, put, remove, load });
112
112
  }));
113
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node87] });
113
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node30, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node36, exports_instruction_entry };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service67
3
- } from "./credential-eyj09mx0.js";
3
+ } from "./job-kfcwqfca.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./credential-4vcrnpx2.js";
7
+ } from "./job-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./credential-3v8g72cx.js";
10
+ } from "./job-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input3,
19
+ Input: () => Input6,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin38,
22
+ Plugin: () => Plugin42,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description2,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name3
27
+ name: () => name6
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name3 = "webfetch";
33
+ var name6 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input3 = Schema.Struct({
41
+ var Input6 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input3.fields.format,
51
+ format: Input6.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin38 = {
95
+ var Plugin42 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
99
  const permission = yield* Service67;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name3,
101
+ name: name6,
102
102
  options: { codemode: false },
103
103
  description: description2,
104
- input: Input3,
104
+ input: Input6,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin38 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name3,
112
+ action: name6,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name3, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin38, extractTextFromHTML2, exports_webfetch };
170
+ export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input6, Plugin42, extractTextFromHTML2, exports_webfetch };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
11
- Info: () => Info13,
10
+ Entry: () => Entry3,
11
+ Info: () => Info14,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry3 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info13, exports_lsp };
84
+ export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info14, exports_lsp };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service36,
3
- node39
4
- } from "./credential-ccg1mtqe.js";
2
+ Service39,
3
+ node43
4
+ } from "./job-d7semmcg.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./credential-s8d7rejh.js";
10
+ } from "./job-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions5 = {};
17
17
  __export(exports_instructions5, {
18
18
  ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service34,
20
- node: () => node37
19
+ Service: () => Service38,
20
+ node: () => node41
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service38 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service34, Effect.gen(function* () {
63
- const references = yield* Service36;
64
- return Service34.of({
62
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
63
+ const references = yield* Service39;
64
+ return Service38.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
71
+ return make20({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node37 = makeLocationNode({ service: Service34, layer, deps: [node39] });
84
+ var node41 = makeLocationNode({ service: Service38, layer, deps: [node43] });
85
85
 
86
- export { Service34, node37, exports_instructions5 };
86
+ export { Service38, node41, exports_instructions5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service55
3
- } from "./credential-9v0v5k0m.js";
2
+ Service51
3
+ } from "./job-f09mb087.js";
4
4
  import {
5
- Service12
6
- } from "./credential-cwa6csj7.js";
5
+ Service4
6
+ } from "./job-rey5gbxv.js";
7
7
  import {
8
8
  observe2
9
- } from "./credential-qsdy395h.js";
9
+ } from "./job-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./credential-9rqn6x4v.js";
12
+ } from "./job-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin19
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin2
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin19 = define({
22
+ var Plugin2 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service55;
26
- const policy = yield* Service12;
25
+ const config = yield* Service51;
26
+ const policy = yield* Service4;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin19 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin19, exports_location_watcher };
38
+ export { Plugin2, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer18,
10
+ configured: () => configured6,
11
+ layer: () => layer17,
12
12
  make: () => make16,
13
- node: () => node50,
13
+ node: () => node42,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
- var node50 = configured7();
31
+ var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
+ var node42 = configured6();
34
34
 
35
- export { Metadata2, make16, useragent2, layer18, configured7, node50, exports_app };
35
+ export { Metadata2, make16, useragent2, layer17, configured6, node42, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service47
3
- } from "./credential-eqpt8p1k.js";
2
+ Service54
3
+ } from "./job-3vy408b5.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service47;
22
+ const environment = yield* Service54;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82
3
- } from "./credential-bnqp8nta.js";
2
+ Service83
3
+ } from "./job-vdqv4tww.js";
4
4
  import {
5
- Service57,
6
- Event13
7
- } from "./credential-3ev070rc.js";
5
+ Service53,
6
+ Event12
7
+ } from "./job-e7e40j07.js";
8
8
  import {
9
9
  __export
10
- } from "./credential-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin4,
15
+ Plugin: () => Plugin20,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin4 = define({
20
+ var Plugin20 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service82;
24
- const wellknown = yield* Service57;
23
+ const bus = yield* Service83;
24
+ const wellknown = yield* Service53;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin4 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin4, exports_plugin };
48
+ export { Plugin20, exports_plugin };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./credential-922hggd3.js";
4
+ } from "./job-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service84,
9
- node88
10
- } from "./credential-965ggptx.js";
8
+ Service82,
9
+ node86
10
+ } from "./job-dq0v80fr.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./credential-995e57hq.js";
14
+ } from "./job-frdvpnjn.js";
15
15
  import {
16
16
  create3
17
- } from "./credential-rdw6cm16.js";
17
+ } from "./job-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./credential-9rqn6x4v.js";
20
+ } from "./job-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID7,
27
- Service: () => Service52,
25
+ Error: () => Error3,
26
+ ID: () => ID6,
27
+ Service: () => Service44,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node57,
29
+ node: () => node48,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,20 +34,20 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service52 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service44 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service52, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service84;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID7.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node57 = makeLocationNode({
144
- service: Service52,
143
+ var node48 = makeLocationNode({
144
+ service: Service44,
145
145
  layer,
146
- deps: [FSUtil.node, node88, Global.node, node84]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service52, Service52.of({
148
+ var noopLayer2 = Layer.succeed(Service44, Service44.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service52, Service52.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID7, Error5, Service52, node57, noopLayer2, exports_snapshot2 };
166
+ export { ID6, Error3, Service44, node48, noopLayer2, exports_snapshot2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service62
3
- } from "./credential-bw9zjykr.js";
2
+ Service63
3
+ } from "./job-v6gb7zv2.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./credential-4v7qdvcn.js";
6
+ } from "./job-ht5y0zrb.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./credential-32ymn5e1.js";
9
+ } from "./job-w6ebfasv.js";
10
10
  import {
11
- Service43
12
- } from "./credential-0y2g8rq0.js";
11
+ Service42
12
+ } from "./job-x7n7fr05.js";
13
13
  import {
14
14
  __export
15
- } from "./credential-9rqn6x4v.js";
15
+ } from "./job-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service62;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
25
+ const instances = yield* Service63;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });