@opencode/core 0.0.0-dev-21201 → 0.0.0-dev-21207

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{generate-p5grttz1.js → persistent-pty-07hm112z.js} +36 -36
  8. package/dist/chunks/{generate-97h9dstt.js → persistent-pty-0a4xt203.js} +16 -16
  9. package/dist/chunks/{generate-hkffa77z.js → persistent-pty-0b5g1ynf.js} +4 -4
  10. package/dist/chunks/{generate-n821n20x.js → persistent-pty-0bamrq62.js} +22 -22
  11. package/dist/chunks/{generate-r7z06xw0.js → persistent-pty-0e4dr41z.js} +37 -37
  12. package/dist/chunks/{generate-gnpa5mn8.js → persistent-pty-0ehmmcyw.js} +17 -17
  13. package/dist/chunks/{generate-5x16q44j.js → persistent-pty-0hvxqb6d.js} +30 -30
  14. package/dist/chunks/{generate-vwq3bzaf.js → persistent-pty-0jmz7zhd.js} +10 -10
  15. package/dist/chunks/{generate-szhvfkp6.js → persistent-pty-0kq1vnt2.js} +19 -19
  16. package/dist/chunks/{generate-jsj7rmb6.js → persistent-pty-0m15zpmn.js} +18 -18
  17. package/dist/chunks/{generate-mrefkyyq.js → persistent-pty-0qfx4vg1.js} +5 -5
  18. package/dist/chunks/{generate-eqe06c60.js → persistent-pty-0tz9w1hv.js} +40 -40
  19. package/dist/chunks/{generate-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  20. package/dist/chunks/{generate-r2wdjp82.js → persistent-pty-0vs1brv3.js} +8 -8
  21. package/dist/chunks/{generate-40jpxat6.js → persistent-pty-18g55aa2.js} +6 -6
  22. package/dist/chunks/{generate-rh3hvas6.js → persistent-pty-19m9vfay.js} +16 -16
  23. package/dist/chunks/{generate-p37cw4rj.js → persistent-pty-1ajx6rf5.js} +8 -8
  24. package/dist/chunks/{generate-g2x9m4s9.js → persistent-pty-1gzh7x8v.js} +15 -15
  25. package/dist/chunks/{generate-j77jx3jb.js → persistent-pty-1jge3f37.js} +34 -34
  26. package/dist/chunks/{generate-r4q0brfc.js → persistent-pty-1mgnj47k.js} +3 -3
  27. package/dist/chunks/{generate-ftpjb7c3.js → persistent-pty-1msrarhd.js} +28 -28
  28. package/dist/chunks/{generate-pfq1ksym.js → persistent-pty-1nwxscpy.js} +5 -5
  29. package/dist/chunks/{generate-46wps90y.js → persistent-pty-1pav5ndx.js} +20 -20
  30. package/dist/chunks/{generate-apyxdd5c.js → persistent-pty-1qpcq0yb.js} +19 -19
  31. package/dist/chunks/{generate-khmqacep.js → persistent-pty-1w2wqhfv.js} +4 -4
  32. package/dist/chunks/{generate-ggnwgtvx.js → persistent-pty-23hfca39.js} +4 -4
  33. package/dist/chunks/{generate-m4ay8zc3.js → persistent-pty-26pvtrrv.js} +30 -30
  34. package/dist/chunks/{generate-mm2041e2.js → persistent-pty-287dc9gj.js} +11 -11
  35. package/dist/chunks/{generate-a0y26jw4.js → persistent-pty-296pqcyw.js} +4 -4
  36. package/dist/chunks/{generate-h9ybj0dp.js → persistent-pty-29jpnasx.js} +12 -12
  37. package/dist/chunks/{generate-bh7zjcn6.js → persistent-pty-2b974e2a.js} +20 -20
  38. package/dist/chunks/{generate-r2m716tb.js → persistent-pty-2mq1h16s.js} +9 -9
  39. package/dist/chunks/{generate-fvay2ke4.js → persistent-pty-2pvdeqne.js} +86 -86
  40. package/dist/chunks/{generate-nr1ht2p9.js → persistent-pty-2sf5w7c0.js} +8 -8
  41. package/dist/chunks/{generate-d3ebfx6x.js → persistent-pty-2xt21v74.js} +9 -9
  42. package/dist/chunks/{generate-6ctkc7g2.js → persistent-pty-3126pgvt.js} +29 -29
  43. package/dist/chunks/{generate-vthepxc9.js → persistent-pty-368fk4db.js} +2 -2
  44. package/dist/chunks/{generate-42n7x6v3.js → persistent-pty-36rq9ymx.js} +6 -6
  45. package/dist/chunks/{generate-mxxvm3hc.js → persistent-pty-374251z8.js} +16 -16
  46. package/dist/chunks/{generate-dzw83ac5.js → persistent-pty-38phfjcn.js} +9 -9
  47. package/dist/chunks/{generate-8rg28a98.js → persistent-pty-39vged4c.js} +12 -12
  48. package/dist/chunks/{generate-rjq8wmvv.js → persistent-pty-39z47dss.js} +13 -13
  49. package/dist/chunks/{generate-pnaxc6j9.js → persistent-pty-3a83a0n4.js} +8 -8
  50. package/dist/chunks/{generate-arz7hw7x.js → persistent-pty-3dedrcqz.js} +3 -3
  51. package/dist/chunks/{generate-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  52. package/dist/chunks/{generate-8yde7yhj.js → persistent-pty-3fkmq7pq.js} +9 -9
  53. package/dist/chunks/{generate-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  54. package/dist/chunks/{generate-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
  55. package/dist/chunks/{generate-7vdx0bbg.js → persistent-pty-3j7kj2y8.js} +15 -15
  56. package/dist/chunks/{generate-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  57. package/dist/chunks/{generate-zyz4g0ys.js → persistent-pty-3sv35849.js} +27 -27
  58. package/dist/chunks/{generate-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  59. package/dist/chunks/{generate-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  60. package/dist/chunks/{generate-q5pynxgh.js → persistent-pty-41mnrj5z.js} +12 -12
  61. package/dist/chunks/{generate-ejfcq634.js → persistent-pty-45yxkxq5.js} +4 -4
  62. package/dist/chunks/{generate-rk7eg0n7.js → persistent-pty-4d3befan.js} +8 -8
  63. package/dist/chunks/{generate-jc4wv75z.js → persistent-pty-4p1cenkk.js} +45 -45
  64. package/dist/chunks/{generate-jh682bf3.js → persistent-pty-4rmh7taa.js} +8 -8
  65. package/dist/chunks/{generate-x519dv4j.js → persistent-pty-4rv9xmb7.js} +11 -11
  66. package/dist/chunks/{generate-bxfd39by.js → persistent-pty-53wmdg2z.js} +26 -26
  67. package/dist/chunks/{generate-s13f39cf.js → persistent-pty-546wh2b3.js} +13 -13
  68. package/dist/chunks/{generate-g8vstf03.js → persistent-pty-54f956qq.js} +13 -13
  69. package/dist/chunks/{generate-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  70. package/dist/chunks/{generate-j8qhqvx8.js → persistent-pty-57ws9skg.js} +22 -22
  71. package/dist/chunks/{generate-24nextkm.js → persistent-pty-5cdwp8x1.js} +11 -11
  72. package/dist/chunks/{generate-g6yfr6ja.js → persistent-pty-5fykfdj7.js} +5 -5
  73. package/dist/chunks/{generate-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{generate-76m4msn9.js → persistent-pty-5x0spf49.js} +49 -49
  75. package/dist/chunks/{generate-7dqw4kz8.js → persistent-pty-607tc6va.js} +5 -5
  76. package/dist/chunks/{generate-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
  77. package/dist/chunks/{generate-wgxkjpdd.js → persistent-pty-68g6xwqn.js} +18 -18
  78. package/dist/chunks/{generate-sz5rmx8q.js → persistent-pty-68spmrpe.js} +3 -3
  79. package/dist/chunks/{generate-fdbnp50v.js → persistent-pty-6hcchj7j.js} +70 -70
  80. package/dist/chunks/{generate-ncyym10m.js → persistent-pty-6m2evtbw.js} +17 -17
  81. package/dist/chunks/{generate-xherg1x9.js → persistent-pty-6qx5ffhj.js} +3 -3
  82. package/dist/chunks/{generate-qgahkyyr.js → persistent-pty-6v03kn10.js} +30 -30
  83. package/dist/chunks/{generate-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  84. package/dist/chunks/{generate-3g8j9he4.js → persistent-pty-6xcvt31d.js} +1 -1
  85. package/dist/chunks/{generate-080tfazd.js → persistent-pty-76nj6dhf.js} +7 -7
  86. package/dist/chunks/{generate-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
  87. package/dist/chunks/{generate-5e6kt3vp.js → persistent-pty-7b0e7y4m.js} +6 -6
  88. package/dist/chunks/{generate-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{generate-0ns3955d.js → persistent-pty-7eqp7xtn.js} +176 -176
  90. package/dist/chunks/{generate-py3kkmfq.js → persistent-pty-7fkffz83.js} +4 -4
  91. package/dist/chunks/{generate-149ww98r.js → persistent-pty-7g7x9kjy.js} +6 -6
  92. package/dist/chunks/{generate-a01105mq.js → persistent-pty-7gvejd0q.js} +26 -26
  93. package/dist/chunks/{generate-k45cm24m.js → persistent-pty-7j2qrq70.js} +31 -31
  94. package/dist/chunks/{generate-jgqmcces.js → persistent-pty-7k8y39tb.js} +45 -45
  95. package/dist/chunks/persistent-pty-7n7aetrn.js +513 -0
  96. package/dist/chunks/{generate-y945vb8n.js → persistent-pty-7s8vtvkc.js} +8 -8
  97. package/dist/chunks/{generate-4y39m51q.js → persistent-pty-7y5ptgp2.js} +11 -11
  98. package/dist/chunks/{generate-84txncab.js → persistent-pty-84txncab.js} +1 -1
  99. package/dist/chunks/{generate-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  100. package/dist/chunks/{generate-hmqggt0z.js → persistent-pty-8m4ndff2.js} +26 -26
  101. package/dist/chunks/{generate-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
  102. package/dist/chunks/{generate-fg7nvtjy.js → persistent-pty-8mxaw1fa.js} +43 -43
  103. package/dist/chunks/{generate-gnnw4atk.js → persistent-pty-8nqwyyrr.js} +20 -20
  104. package/dist/chunks/{generate-karx3kgp.js → persistent-pty-8qw7ce1p.js} +21 -21
  105. package/dist/chunks/{generate-91qna3x0.js → persistent-pty-91qna3x0.js} +3 -3
  106. package/dist/chunks/{generate-waskdk5r.js → persistent-pty-97aeaand.js} +4 -4
  107. package/dist/chunks/{generate-ryarz677.js → persistent-pty-98kr54cv.js} +28 -28
  108. package/dist/chunks/{generate-h896pcm5.js → persistent-pty-9ae44cfy.js} +6 -6
  109. package/dist/chunks/{generate-6z0h4rce.js → persistent-pty-9n49pgr6.js} +22 -22
  110. package/dist/chunks/{generate-f2hqdn62.js → persistent-pty-9nmz2bca.js} +9 -9
  111. package/dist/chunks/{generate-6a82qsz1.js → persistent-pty-9nv551d5.js} +11 -11
  112. package/dist/chunks/{generate-fx2js9bg.js → persistent-pty-9qjz7egn.js} +24 -24
  113. package/dist/chunks/persistent-pty-9zy3g968.js +26 -0
  114. package/dist/chunks/{generate-q4axk96g.js → persistent-pty-a0z8gye3.js} +13 -13
  115. package/dist/chunks/{generate-bnkdg7qv.js → persistent-pty-a4xxkpja.js} +13 -13
  116. package/dist/chunks/{generate-b12fh71z.js → persistent-pty-aacha31a.js} +5 -5
  117. package/dist/chunks/{generate-shy8zm2a.js → persistent-pty-ak0n8wqr.js} +3 -3
  118. package/dist/chunks/{generate-n80tey8m.js → persistent-pty-argqn24j.js} +20 -20
  119. package/dist/chunks/{generate-b2jzzyp8.js → persistent-pty-avyh4w4k.js} +18 -18
  120. package/dist/chunks/{generate-qfj50933.js → persistent-pty-ay5c0bv3.js} +25 -25
  121. package/dist/chunks/{generate-37hhh2vs.js → persistent-pty-b2df57q2.js} +1 -1
  122. package/dist/chunks/{generate-9dgp8fag.js → persistent-pty-b3kbpvds.js} +50 -50
  123. package/dist/chunks/{generate-m0ptpkd8.js → persistent-pty-bcxm7vqe.js} +11 -11
  124. package/dist/chunks/{generate-v29xn8f1.js → persistent-pty-bfc3jzxx.js} +14 -14
  125. package/dist/chunks/{generate-w67mkghx.js → persistent-pty-bgfh09k4.js} +19 -19
  126. package/dist/chunks/{generate-efzvzatf.js → persistent-pty-bq3rfpty.js} +21 -21
  127. package/dist/chunks/{generate-gj71zhbs.js → persistent-pty-bx0gyb4h.js} +5 -5
  128. package/dist/chunks/{generate-bzeyqsqd.js → persistent-pty-bzeyqsqd.js} +1 -1
  129. package/dist/chunks/{generate-pzm75kh2.js → persistent-pty-c0nr5bpp.js} +20 -20
  130. package/dist/chunks/{generate-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
  131. package/dist/chunks/{generate-3kass1x4.js → persistent-pty-c75t29hq.js} +11 -11
  132. package/dist/chunks/{generate-embw8kgh.js → persistent-pty-ca7w653e.js} +4 -4
  133. package/dist/chunks/{generate-kr6b5ws7.js → persistent-pty-catab2z7.js} +3 -3
  134. package/dist/chunks/{generate-m91gvp7t.js → persistent-pty-cdqe3acw.js} +6 -6
  135. package/dist/chunks/{generate-grwryfk3.js → persistent-pty-cne5fydz.js} +15 -15
  136. package/dist/chunks/{generate-cp937pt4.js → persistent-pty-cp937pt4.js} +1 -1
  137. package/dist/chunks/{generate-g4tehmc6.js → persistent-pty-cw4vxgxd.js} +26 -26
  138. package/dist/chunks/{generate-d1a28jh7.js → persistent-pty-d1a28jh7.js} +2 -2
  139. package/dist/chunks/{generate-v5dkyp31.js → persistent-pty-d216944b.js} +7 -7
  140. package/dist/chunks/{generate-m8xhzamz.js → persistent-pty-dcsvv0a8.js} +5 -5
  141. package/dist/chunks/{generate-c70r8365.js → persistent-pty-dcvyzbc9.js} +23 -23
  142. package/dist/chunks/{generate-9dk9f4te.js → persistent-pty-df3a40xp.js} +16 -16
  143. package/dist/chunks/{generate-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  144. package/dist/chunks/{generate-fn9t717r.js → persistent-pty-dq407baf.js} +6 -6
  145. package/dist/chunks/{generate-pjbmnn5d.js → persistent-pty-dy0tp0j6.js} +10 -10
  146. package/dist/chunks/{generate-ncyx88y1.js → persistent-pty-e0pc35xj.js} +32 -32
  147. package/dist/chunks/{generate-rjyhgtyc.js → persistent-pty-e87gf2rh.js} +7 -7
  148. package/dist/chunks/{generate-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
  149. package/dist/chunks/{generate-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{generate-1acjjqhc.js → persistent-pty-f2n192rq.js} +4 -4
  151. package/dist/chunks/{generate-dar3hyn7.js → persistent-pty-fawagqxt.js} +23 -23
  152. package/dist/chunks/{generate-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
  153. package/dist/chunks/{generate-c13ag1bn.js → persistent-pty-fgg1h6tp.js} +15 -15
  154. package/dist/chunks/{generate-89bb6baa.js → persistent-pty-fqhbsnr5.js} +8 -8
  155. package/dist/chunks/{generate-6sgzzrav.js → persistent-pty-fqyjd71p.js} +25 -25
  156. package/dist/chunks/{generate-vbg8rtpq.js → persistent-pty-fv4sm444.js} +33 -33
  157. package/dist/chunks/{generate-b0z2891m.js → persistent-pty-fwbmh39w.js} +4 -4
  158. package/dist/chunks/{generate-cb2h0j1t.js → persistent-pty-g1kxasap.js} +17 -17
  159. package/dist/chunks/{generate-a4nh07be.js → persistent-pty-g7fa7svs.js} +23 -23
  160. package/dist/chunks/{generate-6tc37tey.js → persistent-pty-gakes9sg.js} +9 -9
  161. package/dist/chunks/{generate-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{generate-aj3rbcf1.js → persistent-pty-gm31ynds.js} +5 -5
  163. package/dist/chunks/{generate-cqmzp0mx.js → persistent-pty-gs0drmb7.js} +5 -5
  164. package/dist/chunks/{generate-qb4f6xmp.js → persistent-pty-gshnfpyh.js} +22 -22
  165. package/dist/chunks/{generate-6tcy41jb.js → persistent-pty-gzqd72by.js} +15 -15
  166. package/dist/chunks/{generate-d362veps.js → persistent-pty-h26kdy9n.js} +24 -24
  167. package/dist/chunks/{generate-nwvmg0fn.js → persistent-pty-h2955e8q.js} +17 -17
  168. package/dist/chunks/{generate-66wr1y9a.js → persistent-pty-h5h55k1t.js} +4 -4
  169. package/dist/chunks/{generate-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{generate-80scg3y3.js → persistent-pty-h90v2x9d.js} +4 -4
  171. package/dist/chunks/{generate-ngmxgv0g.js → persistent-pty-hdfxv9rf.js} +13 -13
  172. package/dist/chunks/{generate-fjrfzm7z.js → persistent-pty-he0cfhpc.js} +42 -42
  173. package/dist/chunks/{generate-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
  174. package/dist/chunks/{generate-rw61g3we.js → persistent-pty-hk8s4rpe.js} +18 -18
  175. package/dist/chunks/{generate-2hv7g8ph.js → persistent-pty-hkajtpqc.js} +2 -2
  176. package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
  177. package/dist/chunks/{generate-nxmm6209.js → persistent-pty-hv3fvgxa.js} +4 -4
  178. package/dist/chunks/{generate-bwgeqdk4.js → persistent-pty-hyry98jx.js} +17 -17
  179. package/dist/chunks/{generate-m8gczy5t.js → persistent-pty-j4yfb354.js} +11 -11
  180. package/dist/chunks/{generate-zby0cawh.js → persistent-pty-jj579w2g.js} +24 -24
  181. package/dist/chunks/{generate-rmn06tv3.js → persistent-pty-k3bwfq85.js} +4 -4
  182. package/dist/chunks/{generate-3btk6sd6.js → persistent-pty-k8xwrkek.js} +45 -45
  183. package/dist/chunks/{generate-dtjxe34e.js → persistent-pty-kee9eehy.js} +8 -8
  184. package/dist/chunks/{generate-mx4p7qc7.js → persistent-pty-khzq4x05.js} +27 -27
  185. package/dist/chunks/{generate-y7nndgyc.js → persistent-pty-kjd40bgk.js} +9 -9
  186. package/dist/chunks/persistent-pty-kt23qymt.js +257 -0
  187. package/dist/chunks/{generate-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
  188. package/dist/chunks/{generate-3qvj434t.js → persistent-pty-m05fbbj0.js} +84 -84
  189. package/dist/chunks/{generate-hwbt70tw.js → persistent-pty-m1skjvb8.js} +1 -1
  190. package/dist/chunks/{generate-w6hqqfrn.js → persistent-pty-m87p00k5.js} +8 -8
  191. package/dist/chunks/{generate-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{generate-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  193. package/dist/chunks/{generate-f4fzpthd.js → persistent-pty-mbjmp2z7.js} +43 -43
  194. package/dist/chunks/{generate-a09b619x.js → persistent-pty-md3yr6xj.js} +7 -7
  195. package/dist/chunks/{generate-6sagrjcx.js → persistent-pty-mswjsdq2.js} +18 -18
  196. package/dist/chunks/{generate-ehygg6sf.js → persistent-pty-mswsvpz6.js} +1 -1
  197. package/dist/chunks/{generate-addxnjmp.js → persistent-pty-mxvxcxwy.js} +4 -4
  198. package/dist/chunks/{generate-dys7k0s0.js → persistent-pty-n61013np.js} +8 -8
  199. package/dist/chunks/{generate-dsb0ttzc.js → persistent-pty-nmhvfjt2.js} +17 -17
  200. package/dist/chunks/{generate-yad4tbft.js → persistent-pty-nq3qw2vm.js} +4 -4
  201. package/dist/chunks/{generate-jvncv862.js → persistent-pty-nt017e08.js} +11 -11
  202. package/dist/chunks/{generate-5bnha4a9.js → persistent-pty-nt2cm5g7.js} +2 -2
  203. package/dist/chunks/{generate-n1n192bv.js → persistent-pty-nxe4pcap.js} +4 -4
  204. package/dist/chunks/{generate-f98v112d.js → persistent-pty-p1dnjvcc.js} +5 -5
  205. package/dist/chunks/{generate-3g642jy4.js → persistent-pty-pb1esjts.js} +10 -10
  206. package/dist/chunks/{generate-4pggza71.js → persistent-pty-pes8a9te.js} +36 -36
  207. package/dist/chunks/{generate-xcd63yev.js → persistent-pty-pjnrv22w.js} +11 -11
  208. package/dist/chunks/{generate-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{generate-exwt628r.js → persistent-pty-pkm7e8th.js} +6 -6
  210. package/dist/chunks/{generate-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  211. package/dist/chunks/{generate-xm6xth1b.js → persistent-pty-pwxqqvpq.js} +24 -24
  212. package/dist/chunks/{generate-rwxf188v.js → persistent-pty-pxmy34vh.js} +13 -13
  213. package/dist/chunks/{generate-mrvexgqt.js → persistent-pty-q4d4j6bt.js} +17 -17
  214. package/dist/chunks/{generate-03gknxvn.js → persistent-pty-q5rwhrtr.js} +32 -32
  215. package/dist/chunks/{generate-0xw4533y.js → persistent-pty-qgccrhvw.js} +8 -8
  216. package/dist/chunks/{generate-c591c83b.js → persistent-pty-qgzg94dt.js} +17 -17
  217. package/dist/chunks/{generate-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  218. package/dist/chunks/{generate-xfkkasph.js → persistent-pty-qqeeq2t9.js} +7 -7
  219. package/dist/chunks/{generate-yjhj4zwb.js → persistent-pty-qs13swd0.js} +48 -48
  220. package/dist/chunks/{generate-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  221. package/dist/chunks/{generate-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{generate-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
  223. package/dist/chunks/{generate-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
  224. package/dist/chunks/{generate-7k98dxqk.js → persistent-pty-rtvdsvz0.js} +10 -10
  225. package/dist/chunks/{generate-9sv3ea6j.js → persistent-pty-rx905nvw.js} +11 -11
  226. package/dist/chunks/{generate-24rc0c34.js → persistent-pty-ryt5ycva.js} +20 -20
  227. package/dist/chunks/{generate-vy8jrsdb.js → persistent-pty-s1rzx2rx.js} +16 -16
  228. package/dist/chunks/{generate-kq63he01.js → persistent-pty-s4e55a1y.js} +5 -5
  229. package/dist/chunks/{generate-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{generate-0w8yd4gf.js → persistent-pty-se3cmajw.js} +18 -18
  231. package/dist/chunks/{generate-14tjad02.js → persistent-pty-sj31pcmn.js} +33 -33
  232. package/dist/chunks/{generate-e80seqcp.js → persistent-pty-sxcaecc0.js} +3 -3
  233. package/dist/chunks/{generate-475gm7w9.js → persistent-pty-sxgg5vg7.js} +17 -17
  234. package/dist/chunks/{generate-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
  235. package/dist/chunks/{generate-x9j3ktrk.js → persistent-pty-t0pyhqcw.js} +11 -11
  236. package/dist/chunks/{generate-0ca0gn91.js → persistent-pty-t0tz8gfx.js} +12 -12
  237. package/dist/chunks/{generate-s8d7rejh.js → persistent-pty-t550f9t1.js} +4 -4
  238. package/dist/chunks/{generate-xwb84dzk.js → persistent-pty-t6dt94yt.js} +11 -11
  239. package/dist/chunks/{generate-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{generate-ffjraqq7.js → persistent-pty-tcxp8tq6.js} +3 -3
  241. package/dist/chunks/{generate-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  242. package/dist/chunks/{generate-kggd2yhz.js → persistent-pty-tea6mbfw.js} +10 -10
  243. package/dist/chunks/{generate-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
  244. package/dist/chunks/{generate-w271hm3d.js → persistent-pty-tpbvzr1y.js} +15 -15
  245. package/dist/chunks/{generate-manwb5tf.js → persistent-pty-ts10gvyd.js} +14 -14
  246. package/dist/chunks/{generate-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
  247. package/dist/chunks/{generate-v210v162.js → persistent-pty-v210v162.js} +2 -2
  248. package/dist/chunks/{generate-vdq2jh6f.js → persistent-pty-v293qw80.js} +22 -22
  249. package/dist/chunks/{generate-hh9fc0w8.js → persistent-pty-v2rhndg3.js} +32 -32
  250. package/dist/chunks/{generate-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
  251. package/dist/chunks/{generate-nd1pd7yg.js → persistent-pty-v9ncrnjw.js} +9 -9
  252. package/dist/chunks/{generate-bs9bmazf.js → persistent-pty-v9t8k6fh.js} +14 -14
  253. package/dist/chunks/{generate-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  254. package/dist/chunks/{generate-v08njbym.js → persistent-pty-vhekmsjv.js} +5 -5
  255. package/dist/chunks/{generate-3mkrtgmz.js → persistent-pty-vk73as10.js} +20 -20
  256. package/dist/chunks/{generate-a0eqybx1.js → persistent-pty-vnvv926v.js} +11 -11
  257. package/dist/chunks/{generate-rvesa5k7.js → persistent-pty-vtbat0ks.js} +21 -21
  258. package/dist/chunks/{generate-apv97swk.js → persistent-pty-vvgahrge.js} +28 -28
  259. package/dist/chunks/{generate-qxm16qy9.js → persistent-pty-vxb9f0te.js} +7 -7
  260. package/dist/chunks/{generate-y8xq7ga8.js → persistent-pty-vxttbewe.js} +7 -7
  261. package/dist/chunks/{generate-0805dz2c.js → persistent-pty-vzm2s9ff.js} +8 -8
  262. package/dist/chunks/{generate-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  263. package/dist/chunks/{generate-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{generate-b5n8znr2.js → persistent-pty-w9qdmkss.js} +26 -26
  265. package/dist/chunks/{generate-4f5f1e58.js → persistent-pty-wak88xg7.js} +16 -16
  266. package/dist/chunks/{generate-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  267. package/dist/chunks/{generate-44e6fh5f.js → persistent-pty-wjr337jx.js} +44 -44
  268. package/dist/chunks/{generate-wjr9rjd7.js → persistent-pty-wjr9rjd7.js} +2 -2
  269. package/dist/chunks/{generate-zdse71m2.js → persistent-pty-ww7z4zes.js} +23 -23
  270. package/dist/chunks/{generate-t9ymh72b.js → persistent-pty-x5hm6bvw.js} +7 -7
  271. package/dist/chunks/{generate-rkm2zns9.js → persistent-pty-xacqwv33.js} +8 -8
  272. package/dist/chunks/{generate-z4ztj7g0.js → persistent-pty-xf8yqmad.js} +9 -9
  273. package/dist/chunks/{generate-90kmffnn.js → persistent-pty-xpyhv29g.js} +27 -27
  274. package/dist/chunks/{generate-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{generate-7v9zxh8s.js → persistent-pty-ybt6a39d.js} +6 -6
  276. package/dist/chunks/{generate-ba8y31bh.js → persistent-pty-yfcvgves.js} +21 -21
  277. package/dist/chunks/{generate-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{generate-rt1d4x09.js → persistent-pty-z5tkq5nc.js} +25 -25
  279. package/dist/chunks/{generate-j78e14ba.js → persistent-pty-zd0masta.js} +50 -50
  280. package/dist/chunks/{generate-f10p82d7.js → persistent-pty-zdhjww4c.js} +9 -9
  281. package/dist/chunks/{generate-f893ew9g.js → persistent-pty-znznz47e.js} +11 -11
  282. package/dist/chunks/{generate-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{generate-zpr8mzes.js → persistent-pty-zswavtpb.js} +5 -5
  284. package/dist/chunks/{generate-8s2szf4d.js → persistent-pty-zvkna10r.js} +25 -25
  285. package/dist/chunks/{generate-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +206 -206
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +115 -115
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +114 -114
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +1 -1
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +82 -82
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +108 -108
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +84 -84
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +113 -113
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +92 -92
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +76 -76
  490. package/dist/plugin/command.js +102 -102
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +123 -123
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +132 -132
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -350
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +217 -217
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +101 -101
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +91 -91
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +136 -136
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +157 -157
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +88 -88
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  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 +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +128 -128
  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 +164 -164
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +208 -208
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +212 -212
  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 +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +116 -116
  631. package/dist/snapshot.js +93 -93
  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 +128 -128
  636. package/dist/tool/plugin/edit.js +122 -122
  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 +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +103 -103
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +209 -209
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +213 -213
  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 +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +16 -16
  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/command.js +5 -5
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +86 -86
  677. package/dist/websearch.js +82 -82
  678. package/dist/wellknown/plugin.js +76 -76
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/generate-5rafqc7n.js +0 -26
  690. package/dist/chunks/generate-by5v678g.js +0 -18
  691. package/dist/chunks/generate-eynva37m.js +0 -257
  692. package/dist/chunks/generate-m067xvhw.js +0 -513
  693. /package/dist/chunks/{generate-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{generate-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{generate-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{generate-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{generate-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{generate-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{generate-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{generate-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{generate-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{generate-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{generate-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{generate-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{generate-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{generate-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{generate-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{generate-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{generate-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{generate-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{generate-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{generate-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  713. /package/dist/chunks/{generate-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{generate-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{generate-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  716. /package/dist/chunks/{generate-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{generate-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{generate-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{generate-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  720. /package/dist/chunks/{generate-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{generate-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{generate-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{generate-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{generate-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{generate-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{generate-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{generate-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{generate-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{generate-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{generate-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{generate-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{generate-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{generate-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{generate-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{generate-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{generate-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{generate-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{generate-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{generate-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  740. /package/dist/chunks/{generate-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{generate-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{generate-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{generate-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{generate-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{generate-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{generate-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{generate-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{generate-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{generate-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{generate-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{generate-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  752. /package/dist/chunks/{generate-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{generate-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  754. /package/dist/chunks/{generate-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{generate-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  756. /package/dist/chunks/{generate-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{generate-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{generate-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{generate-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{generate-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{generate-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{generate-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{generate-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  764. /package/dist/chunks/{generate-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{generate-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{generate-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{generate-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{generate-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{generate-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{generate-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{generate-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{generate-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{generate-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{generate-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{generate-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{generate-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{generate-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{generate-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{generate-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{generate-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{generate-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{generate-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{generate-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{generate-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{generate-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{generate-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{generate-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{generate-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{generate-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{generate-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{generate-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{generate-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{generate-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{generate-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service57,
3
- node59
4
- } from "./generate-vy8jrsdb.js";
2
+ Service38,
3
+ node40
4
+ } from "./persistent-pty-s1rzx2rx.js";
5
5
  import {
6
- Service32,
7
- node35
8
- } from "./generate-fvay2ke4.js";
6
+ Service19,
7
+ node22
8
+ } from "./persistent-pty-2pvdeqne.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./generate-6xb47vfp.js";
12
+ } from "./persistent-pty-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./generate-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service12,
20
+ Service: () => Service11,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node14
22
+ node: () => node13
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service12 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service11 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service32;
30
- const jobs = yield* Service57;
29
+ const sessions = yield* Service19;
30
+ const jobs = yield* Service38;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service12.of({
45
+ return Service11.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node14 = Node.makeGlobalNode({
68
- service: Service12,
69
- layer: Layer.effect(Service12, make),
70
- deps: [node35, node59]
67
+ var node13 = Node.makeGlobalNode({
68
+ service: Service11,
69
+ layer: Layer.effect(Service11, make),
70
+ deps: [node22, node40]
71
71
  });
72
72
 
73
- export { Service12, node14, exports_subagent_job };
73
+ export { Service11, node13, exports_subagent_job };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer8,
9
+ layer: () => layer7,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer8, exports_unavailable };
22
+ export { spawner2, layer7, exports_unavailable };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service64
3
- } from "./generate-karx3kgp.js";
2
+ Service65
3
+ } from "./persistent-pty-8qw7ce1p.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service64;
24
+ const environment = yield* Service65;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./generate-hgz4x7wa.js";
3
+ } from "./persistent-pty-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./generate-z5v4ffb3.js";
6
+ } from "./persistent-pty-z5v4ffb3.js";
7
7
  import {
8
8
  Service82
9
- } from "./generate-2hv7g8ph.js";
9
+ } from "./persistent-pty-hkajtpqc.js";
10
10
  import {
11
- Service64
12
- } from "./generate-karx3kgp.js";
11
+ Service65
12
+ } from "./persistent-pty-8qw7ce1p.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service31
16
- } from "./generate-0w8yd4gf.js";
15
+ Service64
16
+ } from "./persistent-pty-se3cmajw.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./generate-k45cm24m.js";
23
+ } from "./persistent-pty-7j2qrq70.js";
24
24
  import {
25
- Service66
26
- } from "./generate-76m4msn9.js";
25
+ Service54
26
+ } from "./persistent-pty-5x0spf49.js";
27
27
  import {
28
- Service14
29
- } from "./generate-6tcy41jb.js";
28
+ Service53
29
+ } from "./persistent-pty-gzqd72by.js";
30
30
  import {
31
31
  __export
32
- } from "./generate-9rqn6x4v.js";
32
+ } from "./persistent-pty-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
39
- Output: () => Output3,
40
- Plugin: () => Plugin38,
41
- name: () => name3,
38
+ Input: () => Input7,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin42,
41
+ name: () => name7,
42
42
  toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,7 +65,7 @@ var Input3 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output3 = Schema.Array(Match2);
68
+ var Output5 = Schema.Array(Match2);
69
69
  var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin38 = {
86
+ var Plugin42 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service64;
90
- const ripgrep = yield* Service31;
89
+ const environment = yield* Service65;
90
+ const ripgrep = yield* Service64;
91
91
  const location = yield* Service82;
92
- const access = yield* Service14;
93
- const permission = yield* Service66;
92
+ const access = yield* Service53;
93
+ const permission = yield* Service54;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
99
- output: Output3,
98
+ input: Input7,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -154,4 +154,4 @@ var Plugin38 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output3, toModelContent3, Plugin38, exports_grep };
157
+ export { name7, Input7, Output5, toModelContent3, Plugin42, exports_grep };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID10,
2
+ ID16,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./generate-efzvzatf.js";
5
+ } from "./persistent-pty-bq3rfpty.js";
6
6
  import {
7
7
  __export
8
- } from "./generate-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
11
  var exports_agent2 = {};
12
12
  __export(exports_agent2, {
13
13
  AgentPlugin: () => exports_agent2,
14
- Plugin: () => Plugin33
14
+ Plugin: () => Plugin32
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
84
- var Plugin33 = define({
84
+ var Plugin32 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -91,32 +91,32 @@ var Plugin33 = define({
91
91
  item.mode = "primary";
92
92
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
93
93
  });
94
- editor.update(ID10.make("general"), (item) => {
94
+ editor.update(ID16.make("general"), (item) => {
95
95
  item.name = Name3.make("General");
96
96
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
97
97
  item.mode = "subagent";
98
98
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
99
99
  });
100
- editor.update(ID10.make("explore"), (item) => {
100
+ editor.update(ID16.make("explore"), (item) => {
101
101
  item.name = Name3.make("Explore");
102
102
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
103
103
  item.system = PROMPT_EXPLORE;
104
104
  item.mode = "subagent";
105
105
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
106
106
  });
107
- editor.update(ID10.make("compaction"), (item) => {
107
+ editor.update(ID16.make("compaction"), (item) => {
108
108
  item.name = Name3.make("Compaction");
109
109
  item.mode = "primary";
110
110
  item.hidden = true;
111
111
  });
112
- editor.update(ID10.make("title"), (item) => {
112
+ editor.update(ID16.make("title"), (item) => {
113
113
  item.name = Name3.make("Title");
114
114
  item.mode = "primary";
115
115
  item.hidden = true;
116
116
  item.system = PROMPT_TITLE;
117
117
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
118
118
  });
119
- editor.update(ID10.make("summary"), (item) => {
119
+ editor.update(ID16.make("summary"), (item) => {
120
120
  item.name = Name3.make("Summary");
121
121
  item.mode = "primary";
122
122
  item.hidden = true;
@@ -127,4 +127,4 @@ var Plugin33 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin33, exports_agent2 };
130
+ export { Plugin32, exports_agent2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13
3
- } from "./generate-90kmffnn.js";
2
+ ID12
3
+ } from "./persistent-pty-xpyhv29g.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./generate-exwt628r.js";
6
+ } from "./persistent-pty-pkm7e8th.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID13.make("cloudflare-ai-gateway");
13
+ var providerID = ID12.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-xwb84dzk.js";
3
+ } from "./persistent-pty-t6dt94yt.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./generate-3v8g72cx.js";
6
+ } from "./persistent-pty-3v8g72cx.js";
7
7
  import {
8
8
  MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./generate-wjr9rjd7.js";
10
+ } from "./persistent-pty-wjr9rjd7.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin21,
18
+ Plugin: () => Plugin22,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint3
20
+ endpoint: () => endpoint2
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint3 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint2 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin21 = define({
54
+ var Plugin22 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin21 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin21 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint3, Plugin21, exports_tinyfish };
123
+ export { endpoint2, Plugin22, exports_tinyfish };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-xwb84dzk.js";
3
+ } from "./persistent-pty-t6dt94yt.js";
4
4
  import {
5
5
  Service85
6
- } from "./generate-66wr1y9a.js";
6
+ } from "./persistent-pty-h5h55k1t.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./generate-ryarz677.js";
9
+ Event18
10
+ } from "./persistent-pty-98kr54cv.js";
11
11
  import {
12
12
  key2
13
- } from "./generate-addxnjmp.js";
13
+ } from "./persistent-pty-mxvxcxwy.js";
14
14
  import {
15
- ID14,
15
+ ID13,
16
16
  MethodID2
17
- } from "./generate-a01105mq.js";
17
+ } from "./persistent-pty-7gvejd0q.js";
18
18
  import {
19
- ID13,
19
+ ID12,
20
20
  aisdk2,
21
- Service77
22
- } from "./generate-90kmffnn.js";
21
+ Service75
22
+ } from "./persistent-pty-xpyhv29g.js";
23
23
  import {
24
- ID12,
25
- Info21
26
- } from "./generate-ftpjb7c3.js";
24
+ ID11,
25
+ Info19
26
+ } from "./persistent-pty-1msrarhd.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./generate-pjvnvgmy.js";
30
+ } from "./persistent-pty-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID13.gitlab;
39
- var integrationID = ID14.make("gitlab");
38
+ var providerID = ID12.gitlab;
39
+ var integrationID = ID13.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service77;
60
+ const providers = yield* Service75;
61
61
  const bus = yield* Service85;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info21.default(providerID, ID12.make(model.id)),
188
+ ...Info19.default(providerID, ID11.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID13.gitlab)
222
+ if (evt.model.providerID !== ID12.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./generate-rdw6cm16.js";
3
+ } from "./persistent-pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service7,
13
- node: () => node8
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service5.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
52
52
 
53
- export { Service7, node8, exports_location_watcher_policy };
53
+ export { Service5, node7, exports_location_watcher_policy };