@opencode/core 0.0.0-dev-20238 → 0.0.0-dev-20241

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 (796) 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 +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{workspace-e1vtdn37.js → pty-01vst05w.js} +36 -36
  8. package/dist/chunks/{workspace-hekxc47r.js → pty-0bfcnrg1.js} +1 -1
  9. package/dist/chunks/{workspace-1mdxwgjq.js → pty-0c3h0e6z.js} +16 -16
  10. package/dist/chunks/{workspace-wx59m8c7.js → pty-0gefkeg7.js} +11 -11
  11. package/dist/chunks/{workspace-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{workspace-zxgcz1z1.js → pty-0zfem7mk.js} +19 -19
  13. package/dist/chunks/{workspace-4qrmk4ra.js → pty-140xbb54.js} +28 -28
  14. package/dist/chunks/{workspace-e1hy5pz5.js → pty-15y67vk6.js} +2 -2
  15. package/dist/chunks/{workspace-9a29ceb3.js → pty-16hsz39w.js} +32 -32
  16. package/dist/chunks/{workspace-eq1pz5kg.js → pty-1bbkgx8g.js} +3 -3
  17. package/dist/chunks/{workspace-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{workspace-ktef7j4m.js → pty-1n9x896q.js} +9 -9
  19. package/dist/chunks/{workspace-s5h1yxee.js → pty-1q4zsn8w.js} +6 -6
  20. package/dist/chunks/{workspace-38phfjcn.js → pty-1rh4yqvv.js} +9 -9
  21. package/dist/chunks/{workspace-hh5kkd24.js → pty-1t09j7vg.js} +10 -10
  22. package/dist/chunks/{workspace-hyjxey4b.js → pty-1wpnfrkj.js} +4 -4
  23. package/dist/chunks/{workspace-2ejs92bv.js → pty-1xjcf8r7.js} +15 -15
  24. package/dist/chunks/{workspace-21r38tys.js → pty-21r38tys.js} +1 -1
  25. package/dist/chunks/{workspace-dgzqva13.js → pty-24171fwy.js} +36 -36
  26. package/dist/chunks/{workspace-ygpxda6d.js → pty-24wggvhe.js} +19 -19
  27. package/dist/chunks/{workspace-qd546yrf.js → pty-29j3yxrv.js} +32 -32
  28. package/dist/chunks/{workspace-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{workspace-e8wk7e8v.js → pty-2k2q6fw8.js} +9 -9
  30. package/dist/chunks/{workspace-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
  31. package/dist/chunks/{workspace-3tqbg8ds.js → pty-2x3f6yxr.js} +12 -12
  32. package/dist/chunks/{workspace-mhgx8wws.js → pty-30krspkn.js} +4 -4
  33. package/dist/chunks/{workspace-maye8mhe.js → pty-31bxas0a.js} +27 -27
  34. package/dist/chunks/{workspace-rgdhtqj5.js → pty-32zdxkvs.js} +35 -35
  35. package/dist/chunks/{workspace-rhdmxfkx.js → pty-399vjpvh.js} +13 -13
  36. package/dist/chunks/{workspace-naqwnkkp.js → pty-3dek0r7g.js} +22 -22
  37. package/dist/chunks/{workspace-r3gmntzt.js → pty-3dqaahn9.js} +9 -9
  38. package/dist/chunks/{workspace-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{workspace-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{workspace-ppc50qyr.js → pty-3jhgxqxx.js} +32 -32
  41. package/dist/chunks/{workspace-fm2mk21r.js → pty-3meec69r.js} +15 -15
  42. package/dist/chunks/{workspace-2spzn6st.js → pty-3nqrbqk0.js} +21 -21
  43. package/dist/chunks/{workspace-ysd7sdvb.js → pty-3p17msm4.js} +9 -9
  44. package/dist/chunks/{workspace-d3m7nd9b.js → pty-3r1sf261.js} +13 -13
  45. package/dist/chunks/{workspace-y6mjvh6p.js → pty-3s3yvxep.js} +3 -3
  46. package/dist/chunks/{workspace-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{workspace-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{workspace-gcch2vjz.js → pty-3wa2an9q.js} +31 -31
  49. package/dist/chunks/{workspace-j6wgtyv7.js → pty-3zar4bb6.js} +29 -29
  50. package/dist/chunks/{workspace-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{workspace-nzyhnfxz.js → pty-44h5tttr.js} +4 -4
  52. package/dist/chunks/{workspace-zy2n98kk.js → pty-45wxwjsv.js} +51 -51
  53. package/dist/chunks/{workspace-m8erdd9w.js → pty-464e7j92.js} +33 -33
  54. package/dist/chunks/{workspace-k3x2sf3r.js → pty-48vtn20n.js} +12 -12
  55. package/dist/chunks/{workspace-150yg2gd.js → pty-49exe669.js} +5 -5
  56. package/dist/chunks/{workspace-k7cxv1jz.js → pty-4jg0yvch.js} +16 -16
  57. package/dist/chunks/{workspace-dgzzq6er.js → pty-4k009h74.js} +21 -21
  58. package/dist/chunks/{workspace-6aebm42n.js → pty-4pkc64bv.js} +16 -16
  59. package/dist/chunks/{workspace-zbn85w19.js → pty-4s7et4sz.js} +70 -70
  60. package/dist/chunks/{workspace-95x7y5k8.js → pty-50a34wry.js} +8 -8
  61. package/dist/chunks/{workspace-6x0h2hvg.js → pty-57ez7d0k.js} +9 -9
  62. package/dist/chunks/{workspace-5daktx2q.js → pty-5daktx2q.js} +1 -1
  63. package/dist/chunks/{workspace-2y34zzjz.js → pty-5qkxfyep.js} +4 -4
  64. package/dist/chunks/{workspace-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{workspace-73zbfbv7.js → pty-5zzhnchw.js} +8 -8
  66. package/dist/chunks/{workspace-aj2s28vj.js → pty-61n243wx.js} +1 -1
  67. package/dist/chunks/{workspace-669tq793.js → pty-669tq793.js} +1 -1
  68. package/dist/chunks/{workspace-rcqvxznz.js → pty-6b6tf05m.js} +11 -11
  69. package/dist/chunks/{workspace-16srrwpp.js → pty-6f3gsd2m.js} +40 -40
  70. package/dist/chunks/{workspace-8zm3c697.js → pty-6fjgv3tx.js} +7 -7
  71. package/dist/chunks/{workspace-c203jhqw.js → pty-6h8axav6.js} +9 -9
  72. package/dist/chunks/{workspace-fwwk8vbp.js → pty-6hjx5zpb.js} +9 -9
  73. package/dist/chunks/{workspace-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{workspace-k0y9f3c4.js → pty-6n4wvebq.js} +26 -26
  75. package/dist/chunks/{workspace-rkprpv83.js → pty-6pc27hjz.js} +6 -6
  76. package/dist/chunks/{workspace-9bzf6wdj.js → pty-6pd7t5p9.js} +11 -11
  77. package/dist/chunks/{workspace-r29hx2n2.js → pty-6r5c1vje.js} +20 -20
  78. package/dist/chunks/{workspace-41czef58.js → pty-6rm5yzkt.js} +4 -4
  79. package/dist/chunks/{workspace-tsve2r88.js → pty-73hkkxz0.js} +4 -4
  80. package/dist/chunks/{workspace-16jcs5eh.js → pty-77qrrhbk.js} +7 -7
  81. package/dist/chunks/{workspace-dt2m10bg.js → pty-78jvmpng.js} +29 -29
  82. package/dist/chunks/{workspace-pg7gpga9.js → pty-78kppgjr.js} +5 -5
  83. package/dist/chunks/{workspace-cwa6csj7.js → pty-79qaa2kf.js} +9 -9
  84. package/dist/chunks/{workspace-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{workspace-9b86kaje.js → pty-7fp69wc6.js} +3 -3
  86. package/dist/chunks/{workspace-11pm3r9v.js → pty-7k5pzz91.js} +12 -12
  87. package/dist/chunks/{workspace-rt447pd7.js → pty-7qcv56qz.js} +5 -5
  88. package/dist/chunks/{workspace-b7k25wxh.js → pty-7r0mserh.js} +30 -30
  89. package/dist/chunks/{workspace-n6p6yg9c.js → pty-7y5p1sr1.js} +8 -8
  90. package/dist/chunks/{workspace-5jgcqyeb.js → pty-807f613b.js} +40 -40
  91. package/dist/chunks/{workspace-5d3kt81x.js → pty-81y2sag2.js} +17 -17
  92. package/dist/chunks/{workspace-w1eejvng.js → pty-84txncab.js} +5 -5
  93. package/dist/chunks/{workspace-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{workspace-90ns493a.js → pty-8g2qdxs9.js} +35 -35
  95. package/dist/chunks/{workspace-h8qnj1c8.js → pty-92873q6k.js} +26 -26
  96. package/dist/chunks/{workspace-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{workspace-83z9h53v.js → pty-990hcqnx.js} +28 -28
  98. package/dist/chunks/{workspace-p8q21zge.js → pty-9hqygntd.js} +20 -20
  99. package/dist/chunks/{workspace-eyfs9fn9.js → pty-9j0dwt0n.js} +5 -5
  100. package/dist/chunks/{workspace-zjyqk7jh.js → pty-9jdec6an.js} +22 -22
  101. package/dist/chunks/{workspace-rb06gkc1.js → pty-9r13wbwg.js} +1 -1
  102. package/dist/chunks/{workspace-kr1avhb0.js → pty-9sayw2ch.js} +1 -1
  103. package/dist/chunks/{workspace-1efy3mt3.js → pty-9sbw2ymd.js} +28 -28
  104. package/dist/chunks/pty-9zdhvgqs.js +18 -0
  105. package/dist/chunks/{workspace-g88fbw77.js → pty-a0vpxxed.js} +3 -3
  106. package/dist/chunks/{workspace-4bt902dy.js → pty-a1rbvmj7.js} +35 -35
  107. package/dist/chunks/{workspace-6qr29wt1.js → pty-a3he3nyv.js} +30 -30
  108. package/dist/chunks/{workspace-2eryhk75.js → pty-a3zfxb3h.js} +27 -27
  109. package/dist/chunks/{workspace-aaet6srn.js → pty-aaet6srn.js} +2 -2
  110. package/dist/chunks/{workspace-ab9238g2.js → pty-ab9238g2.js} +1 -1
  111. package/dist/chunks/{workspace-pecb0brz.js → pty-af04s6ss.js} +5 -5
  112. package/dist/chunks/{workspace-gjdct0ng.js → pty-afh0ypz9.js} +25 -25
  113. package/dist/chunks/{workspace-dtmpjap9.js → pty-agwtjn7h.js} +5 -5
  114. package/dist/chunks/{workspace-hbexs1ta.js → pty-arey8x0d.js} +12 -12
  115. package/dist/chunks/{workspace-m8dj6xzb.js → pty-b10jyf86.js} +20 -20
  116. package/dist/chunks/{workspace-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{workspace-fk76ksd4.js → pty-b7qnbf45.js} +16 -16
  118. package/dist/chunks/{workspace-jmp6pjcj.js → pty-b81v50pn.js} +3 -3
  119. package/dist/chunks/{workspace-0n965b9a.js → pty-bf10k29y.js} +5 -5
  120. package/dist/chunks/{workspace-mrbnkvws.js → pty-bfh6ya47.js} +16 -16
  121. package/dist/chunks/{workspace-dwpz52md.js → pty-bmwcq5x5.js} +24 -24
  122. package/dist/chunks/{workspace-n92e0945.js → pty-bnpy9ev6.js} +16 -16
  123. package/dist/chunks/{workspace-waefp8y5.js → pty-btx594cc.js} +11 -11
  124. package/dist/chunks/{workspace-2kh7b0pr.js → pty-bvam09wt.js} +22 -22
  125. package/dist/chunks/{workspace-ey9veasj.js → pty-c2egcwd5.js} +13 -13
  126. package/dist/chunks/{workspace-p89640sn.js → pty-c7f1t297.js} +27 -27
  127. package/dist/chunks/{workspace-48b9emvv.js → pty-c86zcgcw.js} +11 -11
  128. package/dist/chunks/{workspace-m43etvqh.js → pty-ch9ek5wv.js} +23 -23
  129. package/dist/chunks/{workspace-54tcyq79.js → pty-ckecvw8r.js} +2 -2
  130. package/dist/chunks/{workspace-a4tqrw51.js → pty-cp4trhpy.js} +15 -15
  131. package/dist/chunks/{workspace-984e37tw.js → pty-d99kb9jw.js} +17 -17
  132. package/dist/chunks/{workspace-0v53mg2y.js → pty-dfe8djrf.js} +4 -4
  133. package/dist/chunks/{workspace-dj9sq318.js → pty-dj9sq318.js} +2 -2
  134. package/dist/chunks/{workspace-sp54tfke.js → pty-dke02a2q.js} +17 -17
  135. package/dist/chunks/{workspace-xkntkrq7.js → pty-dmqcgk4z.js} +5 -5
  136. package/dist/chunks/{workspace-g9r2hcbj.js → pty-dnmtb8jk.js} +30 -30
  137. package/dist/chunks/{workspace-b9hkethe.js → pty-dqczjf24.js} +3 -3
  138. package/dist/chunks/{workspace-drwq78ky.js → pty-drwq78ky.js} +1 -1
  139. package/dist/chunks/{workspace-c8gr6drp.js → pty-dy3v49r2.js} +11 -11
  140. package/dist/chunks/{workspace-y10fxw0n.js → pty-e6btmr3s.js} +150 -150
  141. package/dist/chunks/{workspace-qn4ba14w.js → pty-e6hmchc5.js} +5 -5
  142. package/dist/chunks/{workspace-7bav93g1.js → pty-e7bpba2x.js} +11 -11
  143. package/dist/chunks/{workspace-eaj1djv9.js → pty-eaj1djv9.js} +1 -1
  144. package/dist/chunks/{workspace-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  145. package/dist/chunks/{workspace-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{workspace-9skvqb4b.js → pty-ef8z397z.js} +18 -18
  147. package/dist/chunks/{workspace-y2nra5ch.js → pty-em4dwj0d.js} +9 -9
  148. package/dist/chunks/{workspace-sw70eac5.js → pty-es2axc3h.js} +32 -32
  149. package/dist/chunks/{workspace-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{workspace-d5czjx5e.js → pty-eveqn7cq.js} +15 -15
  151. package/dist/chunks/{workspace-gp14635f.js → pty-evxzpz7n.js} +13 -13
  152. package/dist/chunks/{workspace-yp2x3t23.js → pty-f2n192rq.js} +4 -4
  153. package/dist/chunks/pty-f3b7p96q.js +252 -0
  154. package/dist/chunks/{workspace-jw80jp6b.js → pty-f3ngv102.js} +4 -4
  155. package/dist/chunks/{workspace-t0pyh7pd.js → pty-fbk8frwm.js} +1 -1
  156. package/dist/chunks/{workspace-46gv8nvg.js → pty-fm4n3eyq.js} +15 -15
  157. package/dist/chunks/{workspace-5xtgfte3.js → pty-g0445xdp.js} +6 -6
  158. package/dist/chunks/{workspace-g5agzp2h.js → pty-g5agzp2h.js} +2 -2
  159. package/dist/chunks/{workspace-9vat1wnt.js → pty-g7ev7cxw.js} +14 -14
  160. package/dist/chunks/{workspace-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{workspace-awhgtamw.js → pty-gk5v5xhs.js} +23 -23
  162. package/dist/chunks/{workspace-jabm8zzh.js → pty-gqpj6er6.js} +36 -36
  163. package/dist/chunks/{workspace-k1qrnqst.js → pty-gs4tkc79.js} +8 -8
  164. package/dist/chunks/{workspace-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{workspace-k5e7yqx1.js → pty-h00myp85.js} +58 -58
  166. package/dist/chunks/{workspace-5rjs1zbx.js → pty-h24wanpd.js} +24 -24
  167. package/dist/chunks/{workspace-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{workspace-nt39rg59.js → pty-h958fs6f.js} +18 -18
  169. package/dist/chunks/{workspace-ybsgjnb0.js → pty-h98gf4gh.js} +41 -41
  170. package/dist/chunks/{workspace-t6v48v8f.js → pty-haszz9qj.js} +95 -95
  171. package/dist/chunks/{workspace-ndmv45hp.js → pty-hbznj76v.js} +3 -3
  172. package/dist/chunks/{workspace-h2r7bbkd.js → pty-hdthj1pw.js} +8 -8
  173. package/dist/chunks/{workspace-h8d9xkaq.js → pty-hqwm4sk8.js} +15 -15
  174. package/dist/chunks/{workspace-1xw4hqxx.js → pty-htjsxrd7.js} +15 -15
  175. package/dist/chunks/{workspace-qae9ahxg.js → pty-hybxtsjq.js} +9 -9
  176. package/dist/chunks/{workspace-4waey5yj.js → pty-j0ct8xdg.js} +2 -2
  177. package/dist/chunks/{workspace-j56e64zr.js → pty-j56e64zr.js} +1 -1
  178. package/dist/chunks/{workspace-fgn7sf7e.js → pty-j62n369y.js} +3 -3
  179. package/dist/chunks/pty-j9x84jzd.js +26 -0
  180. package/dist/chunks/{workspace-bffz3vk9.js → pty-jam4tn4y.js} +9 -9
  181. package/dist/chunks/{workspace-zgrbnmf2.js → pty-jc00fynt.js} +9 -9
  182. package/dist/chunks/{workspace-rgnqfr3v.js → pty-jfkvjta7.js} +29 -29
  183. package/dist/chunks/{workspace-4dxafkqb.js → pty-jk65v3xz.js} +3 -3
  184. package/dist/chunks/{workspace-3eavv4sq.js → pty-k2s68ryd.js} +6 -6
  185. package/dist/chunks/{workspace-yqzfvmg9.js → pty-k31j77h5.js} +333 -333
  186. package/dist/chunks/{workspace-k3c624dm.js → pty-k3c624dm.js} +3 -3
  187. package/dist/chunks/{workspace-yb4mq2bj.js → pty-ka2whr6h.js} +46 -46
  188. package/dist/chunks/{workspace-cydxmqrz.js → pty-kpgsxh3c.js} +13 -13
  189. package/dist/chunks/{workspace-fztsg0yk.js → pty-kvj59xr5.js} +1 -1
  190. package/dist/chunks/{workspace-xttd1tj2.js → pty-m2fxrq1x.js} +15 -15
  191. package/dist/chunks/{workspace-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{workspace-jf7tajsg.js → pty-m563m38r.js} +11 -11
  193. package/dist/chunks/{workspace-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{workspace-spmh1vek.js → pty-mfjdmrp8.js} +40 -40
  195. package/dist/chunks/{workspace-33w4ejhs.js → pty-mfqp6xfm.js} +9 -9
  196. package/dist/chunks/{workspace-sx7yxhmc.js → pty-mmd2gt62.js} +20 -20
  197. package/dist/chunks/{workspace-nf6159fp.js → pty-mvz1jaak.js} +22 -22
  198. package/dist/chunks/{workspace-73gyw9md.js → pty-mxbk4svv.js} +88 -88
  199. package/dist/chunks/{workspace-a28msnrx.js → pty-natfc3ay.js} +4 -4
  200. package/dist/chunks/{workspace-qw5c8m98.js → pty-nc3tx9jz.js} +8 -8
  201. package/dist/chunks/{workspace-g390ytxs.js → pty-nf1sbg18.js} +8 -8
  202. package/dist/chunks/{workspace-wxyy423z.js → pty-ngad3z0g.js} +18 -18
  203. package/dist/chunks/{workspace-f4fb4ahx.js → pty-nvsf456q.js} +17 -17
  204. package/dist/chunks/{workspace-fyac72vw.js → pty-nw2v4mce.js} +13 -13
  205. package/dist/chunks/{workspace-r3rh6mw3.js → pty-nyw6c0bv.js} +26 -26
  206. package/dist/chunks/{workspace-6ehbgqat.js → pty-p7a39gy5.js} +6 -6
  207. package/dist/chunks/{workspace-n3j4cxq5.js → pty-p87y7hpb.js} +16 -16
  208. package/dist/chunks/{workspace-xab4b6ma.js → pty-p8y8cyr8.js} +15 -15
  209. package/dist/chunks/{workspace-be7qvw84.js → pty-pakcngh0.js} +8 -8
  210. package/dist/chunks/{workspace-m1jktbz8.js → pty-petzbryk.js} +6 -6
  211. package/dist/chunks/{workspace-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{workspace-e90gknse.js → pty-pkfctg7d.js} +50 -50
  213. package/dist/chunks/{workspace-pknna89w.js → pty-pknna89w.js} +1 -1
  214. package/dist/chunks/{workspace-h1jz91a9.js → pty-pqcp81t9.js} +15 -15
  215. package/dist/chunks/{workspace-862ar548.js → pty-pt3xaqgj.js} +6 -6
  216. package/dist/chunks/{workspace-w84g4023.js → pty-q752a5kc.js} +6 -6
  217. package/dist/chunks/{workspace-5wna7wmm.js → pty-qpaq7ft3.js} +13 -13
  218. package/dist/chunks/{workspace-qsdy395h.js → pty-qsdy395h.js} +1 -1
  219. package/dist/chunks/{workspace-nx02as4e.js → pty-qwmtame2.js} +9 -9
  220. package/dist/chunks/{workspace-n7khmxjc.js → pty-r4ezxwjb.js} +10 -10
  221. package/dist/chunks/{workspace-mtq6xxnx.js → pty-ratrq7cm.js} +7 -7
  222. package/dist/chunks/{workspace-3dv7a6vg.js → pty-rceabfjb.js} +4 -4
  223. package/dist/chunks/{workspace-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{workspace-pnv527nz.js → pty-rhafb4aa.js} +9 -9
  225. package/dist/chunks/{workspace-hkagk5ex.js → pty-rp4sv622.js} +2 -2
  226. package/dist/chunks/{workspace-heh9s3tj.js → pty-rq80fhnt.js} +6 -6
  227. package/dist/chunks/{workspace-qzc07359.js → pty-rqdx9gb6.js} +28 -28
  228. package/dist/chunks/{workspace-xqagnatd.js → pty-rqzzs8tq.js} +13 -13
  229. package/dist/chunks/{workspace-1xm4vf8s.js → pty-rr5w79wt.js} +11 -11
  230. package/dist/chunks/{workspace-g9wvc4df.js → pty-rsr04b2n.js} +5 -5
  231. package/dist/chunks/{workspace-p6wxjpka.js → pty-s30fyz93.js} +4 -4
  232. package/dist/chunks/{workspace-htrze483.js → pty-s7c8pqjf.js} +10 -10
  233. package/dist/chunks/{workspace-aa5zmkvc.js → pty-sd182w7n.js} +24 -24
  234. package/dist/chunks/{workspace-p0wnzdte.js → pty-sf6t82jx.js} +29 -29
  235. package/dist/chunks/{workspace-ykpgxs72.js → pty-sqa4x5n4.js} +42 -42
  236. package/dist/chunks/{workspace-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{workspace-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{workspace-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{workspace-tf88t1eh.js → pty-te1pvy5w.js} +38 -38
  240. package/dist/chunks/{workspace-9b31mr9v.js → pty-tjznwxx0.js} +46 -46
  241. package/dist/chunks/{workspace-akqk8sab.js → pty-ts860kc8.js} +12 -12
  242. package/dist/chunks/{workspace-tvtrv512.js → pty-tvtrv512.js} +1 -1
  243. package/dist/chunks/{workspace-pedttwxr.js → pty-tx9w5tca.js} +8 -8
  244. package/dist/chunks/{workspace-cxmh4q5b.js → pty-tz4n1mmd.js} +4 -4
  245. package/dist/chunks/{workspace-2tngcs8y.js → pty-v4yy06kz.js} +48 -48
  246. package/dist/chunks/{workspace-8hry8h31.js → pty-v7h219eh.js} +26 -26
  247. package/dist/chunks/{workspace-cyc2wncq.js → pty-vb7xznyv.js} +32 -32
  248. package/dist/chunks/{workspace-veqvce7d.js → pty-veqvce7d.js} +1 -1
  249. package/dist/chunks/{workspace-eefz1cnf.js → pty-vmyhsb96.js} +23 -23
  250. package/dist/chunks/{workspace-6nh4s561.js → pty-vt27zn5n.js} +18 -18
  251. package/dist/chunks/{workspace-p8wv2ncz.js → pty-vx1akz9y.js} +14 -14
  252. package/dist/chunks/{workspace-ypzhfwa9.js → pty-vy4zg7qh.js} +12 -12
  253. package/dist/chunks/{workspace-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{workspace-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{workspace-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{workspace-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
  257. package/dist/chunks/{workspace-wd87259q.js → pty-wd87259q.js} +1 -1
  258. package/dist/chunks/{workspace-a8fp7ezv.js → pty-wkcsbyg1.js} +12 -12
  259. package/dist/chunks/{workspace-czdw7bxj.js → pty-wkmn09sz.js} +28 -28
  260. package/dist/chunks/{workspace-hkwj0bg6.js → pty-wkq7w2hk.js} +9 -9
  261. package/dist/chunks/{workspace-q7azfttr.js → pty-wq4mmp7m.js} +4 -4
  262. package/dist/chunks/{workspace-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{workspace-79d41h82.js → pty-xa84kt07.js} +28 -28
  264. package/dist/chunks/{workspace-hk03ff6z.js → pty-xpdm92c9.js} +11 -11
  265. package/dist/chunks/{workspace-7k4ya4mk.js → pty-xpzjeq3a.js} +25 -25
  266. package/dist/chunks/{workspace-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{workspace-bxdyab95.js → pty-y2yz6ws7.js} +15 -15
  268. package/dist/chunks/{workspace-a89e0tac.js → pty-y6mhz57t.js} +4 -4
  269. package/dist/chunks/{workspace-dpkg50ah.js → pty-y71avatq.js} +4 -4
  270. package/dist/chunks/{workspace-5s43rmdb.js → pty-y84esdn3.js} +6 -6
  271. package/dist/chunks/pty-yckhfgep.js +326 -0
  272. package/dist/chunks/{workspace-synqbpwm.js → pty-yfj51pwm.js} +23 -23
  273. package/dist/chunks/{workspace-0csdmtm4.js → pty-ykp63ekt.js} +8 -8
  274. package/dist/chunks/{workspace-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{workspace-ceejba7k.js → pty-yrq2792c.js} +5 -5
  276. package/dist/chunks/{workspace-yrznvahk.js → pty-yrznvahk.js} +2 -2
  277. package/dist/chunks/{workspace-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
  278. package/dist/chunks/{workspace-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{workspace-pyctfm1s.js → pty-z4x8vcyx.js} +12 -12
  280. package/dist/chunks/{workspace-z63w68vq.js → pty-z63w68vq.js} +2 -2
  281. package/dist/chunks/{workspace-e6zxwbax.js → pty-zd8qt3bk.js} +27 -27
  282. package/dist/chunks/{workspace-25c0jgp8.js → pty-zdcx8jr2.js} +8 -8
  283. package/dist/chunks/{workspace-x9ctzyqd.js → pty-zdewfq3n.js} +5 -5
  284. package/dist/chunks/{workspace-2re12hwp.js → pty-zdq65h6r.js} +1 -1
  285. package/dist/chunks/{workspace-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{workspace-ce5fknq2.js → pty-zk8c4w5t.js} +5 -5
  287. package/dist/chunks/{workspace-k8dasee7.js → pty-zq6stcrg.js} +8 -8
  288. package/dist/chunks/{workspace-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{workspace-npnt4k9w.js → pty-zrb5rc4f.js} +31 -31
  290. package/dist/chunks/{workspace-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +81 -81
  325. package/dist/database/database.js +70 -70
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +79 -79
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +93 -93
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +104 -104
  430. package/dist/form.js +80 -80
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +103 -103
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +99 -99
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +84 -84
  464. package/dist/job.js +77 -77
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +135 -135
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +87 -87
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +108 -108
  475. package/dist/mcp/instructions.js +128 -128
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +99 -99
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +78 -78
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +105 -105
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +86 -86
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +104 -104
  493. package/dist/plugin/command.js +101 -101
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +120 -120
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +94 -94
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +120 -120
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +74 -74
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +139 -139
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +221 -221
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +97 -97
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +130 -130
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +224 -224
  582. package/dist/session/execution.js +126 -126
  583. package/dist/session/generate.js +153 -153
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +86 -86
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +77 -77
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +97 -97
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +117 -117
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +2 -2
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +172 -172
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +85 -85
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +208 -208
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +223 -223
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +216 -216
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +140 -140
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +101 -101
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +91 -91
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +127 -127
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +103 -103
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +217 -217
  646. package/dist/tool/plugin/skill.js +113 -113
  647. package/dist/tool/plugin/subagent.js +217 -217
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +114 -114
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +100 -100
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +2 -2
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +14 -14
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +1 -1
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +87 -87
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +94 -94
  695. package/package.json +8 -8
  696. package/dist/chunks/workspace-3ecdent5.js +0 -26
  697. package/dist/chunks/workspace-95agse3a.js +0 -252
  698. package/dist/chunks/workspace-hfwvq92w.js +0 -326
  699. package/dist/chunks/workspace-v1faaxn9.js +0 -18
  700. /package/dist/chunks/{workspace-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{workspace-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{workspace-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{workspace-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{workspace-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{workspace-24dcb14g.js → pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{workspace-2710q6r3.js → pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{workspace-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{workspace-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{workspace-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{workspace-359p4xyc.js → pty-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{workspace-3asan66x.js → pty-3asan66x.js} +0 -0
  712. /package/dist/chunks/{workspace-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{workspace-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{workspace-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{workspace-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{workspace-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{workspace-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{workspace-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{workspace-53557ph1.js → pty-53557ph1.js} +0 -0
  720. /package/dist/chunks/{workspace-550bvhaj.js → pty-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{workspace-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{workspace-6prwharc.js → pty-6prwharc.js} +0 -0
  723. /package/dist/chunks/{workspace-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{workspace-7m9af43g.js → pty-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{workspace-822emrt2.js → pty-822emrt2.js} +0 -0
  726. /package/dist/chunks/{workspace-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{workspace-8n3pysct.js → pty-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{workspace-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{workspace-922hggd3.js → pty-922hggd3.js} +0 -0
  730. /package/dist/chunks/{workspace-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{workspace-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{workspace-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{workspace-af5trqkr.js → pty-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{workspace-afrmfg78.js → pty-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{workspace-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{workspace-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{workspace-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{workspace-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{workspace-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{workspace-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{workspace-d9fn303g.js → pty-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{workspace-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{workspace-dajrwvna.js → pty-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{workspace-dap0rakb.js → pty-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{workspace-df08tz66.js → pty-df08tz66.js} +0 -0
  746. /package/dist/chunks/{workspace-dy18nga0.js → pty-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{workspace-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{workspace-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{workspace-ec1grn59.js → pty-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{workspace-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{workspace-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{workspace-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{workspace-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{workspace-faypxj3z.js → pty-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{workspace-fd410y7t.js → pty-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{workspace-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{workspace-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{workspace-g86h250q.js → pty-g86h250q.js} +0 -0
  759. /package/dist/chunks/{workspace-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{workspace-gftt206x.js → pty-gftt206x.js} +0 -0
  761. /package/dist/chunks/{workspace-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{workspace-hk9envan.js → pty-hk9envan.js} +0 -0
  763. /package/dist/chunks/{workspace-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{workspace-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{workspace-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{workspace-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{workspace-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{workspace-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{workspace-mp448xyj.js → pty-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{workspace-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{workspace-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{workspace-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{workspace-njntx4h6.js → pty-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{workspace-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{workspace-q74kybfr.js → pty-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{workspace-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{workspace-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{workspace-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{workspace-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{workspace-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{workspace-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{workspace-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{workspace-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{workspace-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{workspace-w803qqfp.js → pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{workspace-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{workspace-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{workspace-wtztk69x.js → pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{workspace-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{workspace-x61499pn.js → pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{workspace-y44na4kk.js → pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{workspace-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{workspace-y8f7s663.js → pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{workspace-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{workspace-ym463w8f.js → pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{workspace-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service81,
10
- node: () => node85
9
+ Service: () => Service78,
10
+ node: () => node82
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service81 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service78 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service81, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service81.of({ has, register, trigger });
57
+ return Service78.of({ has, register, trigger });
58
58
  }));
59
- var node85 = makeLocationNode({ service: Service81, layer, deps: [] });
59
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [] });
60
60
 
61
- export { Service81, node85, exports_hooks };
61
+ export { Service78, node82, exports_hooks };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service30,
9
+ Service: () => Service35,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service30 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service35 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service30, exports_runner };
18
+ export { DrainResult2, Service35, exports_runner };
@@ -1,147 +1,147 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./workspace-jzg6c2d5.js";
3
+ } from "./pty-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./workspace-q3sfg36h.js";
6
+ } from "./pty-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./workspace-1cnp2v09.js";
9
+ } from "./pty-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./workspace-rcb2kzg1.js";
12
+ } from "./pty-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./workspace-msx8hqn2.js";
15
+ } from "./pty-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./workspace-bkyjaxrp.js";
18
+ } from "./pty-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./workspace-g86h250q.js";
21
+ } from "./pty-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./workspace-jr7sbwjy.js";
24
+ } from "./pty-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./workspace-7m9af43g.js";
27
+ } from "./pty-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./workspace-j2ntwpah.js";
30
+ } from "./pty-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./workspace-njntx4h6.js";
33
+ } from "./pty-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./workspace-qrg20bc0.js";
36
+ } from "./pty-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./workspace-z9919s4g.js";
39
+ } from "./pty-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./workspace-43n2bw4t.js";
42
+ } from "./pty-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./workspace-n3j8tn72.js";
45
+ } from "./pty-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./workspace-d9jj8t3e.js";
48
+ } from "./pty-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./workspace-fd410y7t.js";
51
+ } from "./pty-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./workspace-e5kj55wp.js";
54
+ } from "./pty-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./workspace-f6n9ztr4.js";
57
+ } from "./pty-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./workspace-q74kybfr.js";
60
+ } from "./pty-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./workspace-53557ph1.js";
63
+ } from "./pty-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./workspace-7akdwqpd.js";
66
+ } from "./pty-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./workspace-wer8tq1h.js";
69
+ } from "./pty-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./workspace-wtztk69x.js";
72
+ } from "./pty-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./workspace-ssg3fenm.js";
75
+ } from "./pty-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./workspace-2c3vjs8z.js";
78
+ } from "./pty-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./workspace-17cy0kzp.js";
81
+ } from "./pty-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./workspace-hk9envan.js";
84
+ } from "./pty-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./workspace-w803qqfp.js";
87
+ } from "./pty-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./workspace-jwfs4k6c.js";
90
+ } from "./pty-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./workspace-mp448xyj.js";
93
+ } from "./pty-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./workspace-aqzs7mqg.js";
96
+ } from "./pty-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./workspace-ygaqb7jw.js";
99
+ } from "./pty-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./workspace-8n3pysct.js";
102
+ } from "./pty-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./workspace-d9fn303g.js";
105
+ } from "./pty-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./workspace-cvy3z8tj.js";
108
+ } from "./pty-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./workspace-9a4afbnw.js";
111
+ } from "./pty-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./workspace-n05xt0ee.js";
114
+ } from "./pty-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./workspace-sdp7kfr6.js";
117
+ } from "./pty-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./workspace-a6k6eb26.js";
120
+ } from "./pty-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./workspace-4knz6hnm.js";
123
+ } from "./pty-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./workspace-df08tz66.js";
126
+ } from "./pty-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./workspace-bmr6ed5q.js";
129
+ } from "./pty-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./workspace-atq7p7m5.js";
132
+ } from "./pty-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./workspace-qb87gjwd.js";
135
+ } from "./pty-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./workspace-359p4xyc.js";
138
+ } from "./pty-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./workspace-y8f7s663.js";
141
+ } from "./pty-y8f7s663.js";
142
142
  import {
143
143
  _20260923013825_project_time_active_default
144
- } from "./workspace-8wj87zfr.js";
144
+ } from "./pty-8wj87zfr.js";
145
145
 
146
146
  // src/database/migration.gen.ts
147
147
  var migrations2 = [
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-fk76ksd4.js";
2
+ Service83,
3
+ node87
4
+ } from "./pty-b7qnbf45.js";
5
5
  import {
6
- Service64,
7
- node66
8
- } from "./workspace-rhdmxfkx.js";
6
+ Service71,
7
+ node75
8
+ } from "./pty-399vjpvh.js";
9
9
  import {
10
10
  create3
11
- } from "./workspace-rdw6cm16.js";
11
+ } from "./pty-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./workspace-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event8,
21
- ID: () => ID5,
20
+ Event: () => Event7,
21
+ ID: () => ID3,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service50,
31
+ Service: () => Service47,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node52
33
+ node: () => node49
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event8 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
40
+ import { Event as Event7 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service50 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service47 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service50, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service64;
68
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
69
+ const bus = yield* Service83;
70
+ const kv = yield* Service71;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service50.of({
127
+ return Service47.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node52 = makeLocationNode({
188
- service: Service50,
187
+ var node49 = makeLocationNode({
188
+ service: Service47,
189
189
  layer,
190
- deps: [node86, node66]
190
+ deps: [node87, node75]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service50, node52, exports_websearch3, Event8 };
193
+ export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service47, node49, exports_websearch3, Event7 };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service74
3
- } from "./workspace-n3j4cxq5.js";
2
+ Service80
3
+ } from "./pty-p87y7hpb.js";
4
4
  import {
5
- Service53
6
- } from "./workspace-dwpz52md.js";
5
+ Service54
6
+ } from "./pty-bmwcq5x5.js";
7
7
  import {
8
- Service52,
8
+ Service53,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./workspace-xqagnatd.js";
11
+ } from "./pty-rqzzs8tq.js";
12
12
  import {
13
- Service41
14
- } from "./workspace-bxdyab95.js";
13
+ Service14
14
+ } from "./pty-y2yz6ws7.js";
15
15
  import {
16
- Service71
17
- } from "./workspace-16srrwpp.js";
16
+ Service72
17
+ } from "./pty-6f3gsd2m.js";
18
18
  import {
19
- Service70,
19
+ Service13,
20
20
  resolvePath2
21
- } from "./workspace-wxyy423z.js";
21
+ } from "./pty-ngad3z0g.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./workspace-6prwharc.js";
24
+ } from "./pty-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./workspace-9rqn6x4v.js";
27
+ } from "./pty-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin12,
36
- name: () => name9
33
+ Input: () => Input11,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin48,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin12 = {
106
+ var Plugin48 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service70;
110
- const fileMutation = yield* Service52;
111
- const environment = yield* Service53;
112
- const formatter = yield* Service41;
113
- const location = yield* Service74;
114
- const permission = yield* Service71;
109
+ const access = yield* Service13;
110
+ const fileMutation = yield* Service53;
111
+ const environment = yield* Service54;
112
+ const formatter = yield* Service14;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service72;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name11,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output6,
119
+ input: Input11,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin12 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output6, Plugin12, exports_edit };
197
+ export { name11, Input11, Output8, Plugin48, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./workspace-ym463w8f.js";
3
+ } from "./pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service71
3
- } from "./workspace-16srrwpp.js";
2
+ Service72
3
+ } from "./pty-6f3gsd2m.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./workspace-4vcrnpx2.js";
7
+ } from "./pty-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./workspace-3v8g72cx.js";
10
+ } from "./pty-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./pty-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: () => Input11,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input9,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin14,
22
+ Plugin: () => Plugin46,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name9
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 name11 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name9 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
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 Input11 = Schema.Struct({
41
+ var Input9 = 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 Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin14 = {
95
+ var Plugin46 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service71;
99
+ const permission = yield* Service72;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name9,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input11,
103
+ description: description4,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin14 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name9,
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 { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin14, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin46, extractTextFromHTML2, exports_webfetch };