@opencode/core 0.0.0-dev-20945 → 0.0.0-dev-20947

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{pty-02nrjc1r.js → form-02nrjc1r.js} +1 -1
  8. package/dist/chunks/{pty-6f908b02.js → form-059731j3.js} +8 -8
  9. package/dist/chunks/{pty-sq7nze2g.js → form-09r737me.js} +34 -34
  10. package/dist/chunks/{pty-rpf1qvc3.js → form-0br3sbwn.js} +4 -4
  11. package/dist/chunks/{pty-9wcwrqqm.js → form-0e5d1q09.js} +20 -20
  12. package/dist/chunks/{pty-vvsvq11f.js → form-0fd51wbp.js} +4 -4
  13. package/dist/chunks/{pty-0kq1vnt2.js → form-0ndg0faa.js} +13 -13
  14. package/dist/chunks/{pty-fzvpg9cx.js → form-0r60aszv.js} +32 -32
  15. package/dist/chunks/{pty-0vbcp93d.js → form-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{pty-hrk0n9pc.js → form-0w2v831d.js} +3 -3
  17. package/dist/chunks/{pty-pnw81b68.js → form-0x2ae93g.js} +28 -28
  18. package/dist/chunks/{pty-9pa8tak9.js → form-127b9nq3.js} +2 -2
  19. package/dist/chunks/{pty-rv8bg9zk.js → form-19ezngz8.js} +6 -6
  20. package/dist/chunks/{pty-8prte6g2.js → form-19j39p6z.js} +28 -28
  21. package/dist/chunks/{pty-gx0wdj2t.js → form-1txvh394.js} +3 -3
  22. package/dist/chunks/{pty-8er28y98.js → form-1wzqzz22.js} +5 -5
  23. package/dist/chunks/{pty-xq7qjm04.js → form-25h130a1.js} +15 -15
  24. package/dist/chunks/{pty-a89e0tac.js → form-277eer69.js} +4 -4
  25. package/dist/chunks/{pty-yma1e4ev.js → form-27vdz40p.js} +15 -15
  26. package/dist/chunks/{pty-qj20gv4f.js → form-2eqqy56z.js} +11 -11
  27. package/dist/chunks/{pty-5tad3bay.js → form-2j7m7xd2.js} +8 -8
  28. package/dist/chunks/{pty-607tc6va.js → form-2k8khapm.js} +5 -5
  29. package/dist/chunks/{pty-2sejkfem.js → form-2sejkfem.js} +2 -2
  30. package/dist/chunks/{pty-6hcssy04.js → form-2v32gvte.js} +11 -11
  31. package/dist/chunks/{pty-hxs8kxrd.js → form-2zd83npj.js} +11 -11
  32. package/dist/chunks/{pty-s3sf2gr6.js → form-306a0exk.js} +20 -20
  33. package/dist/chunks/{pty-ydeefbjq.js → form-30wfj1n4.js} +10 -10
  34. package/dist/chunks/{pty-h7s7r6s9.js → form-31xfzrxg.js} +5 -5
  35. package/dist/chunks/{pty-v0zj6wv7.js → form-33sn4450.js} +39 -39
  36. package/dist/chunks/{pty-cw9t8fyw.js → form-3eaxan5r.js} +5 -5
  37. package/dist/chunks/{pty-3fc6dm20.js → form-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{pty-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{pty-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{pty-66b6z3ve.js → form-3jw5ar1f.js} +19 -19
  41. package/dist/chunks/{pty-qqjzd42y.js → form-3k7apka1.js} +1 -1
  42. package/dist/chunks/{pty-9c80ajet.js → form-3qyv7vzy.js} +8 -8
  43. package/dist/chunks/{pty-3smtnn6g.js → form-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{pty-pn730q52.js → form-3sraz6ss.js} +39 -39
  45. package/dist/chunks/{pty-3tvqynh2.js → form-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{pty-eg6prxs1.js → form-3y53v1bx.js} +16 -16
  47. package/dist/chunks/{pty-vdn09hgv.js → form-3zesr7q7.js} +4 -4
  48. package/dist/chunks/{pty-3zsf4n22.js → form-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{pty-c9wbyant.js → form-41qfwe6g.js} +4 -4
  50. package/dist/chunks/{pty-fjdawx2k.js → form-48d837cs.js} +11 -11
  51. package/dist/chunks/{pty-5k2zrbw7.js → form-4bj1b5bj.js} +85 -85
  52. package/dist/chunks/{pty-ethdrrhc.js → form-4d5txdkp.js} +1 -1
  53. package/dist/chunks/{pty-7afg5kn9.js → form-4gx6x74g.js} +15 -15
  54. package/dist/chunks/{pty-g3w5es5w.js → form-4k2ddg7n.js} +3 -3
  55. package/dist/chunks/{pty-d0k1g5nx.js → form-4mwpykj0.js} +6 -6
  56. package/dist/chunks/{pty-n5xgnb69.js → form-4rqs6yce.js} +8 -8
  57. package/dist/chunks/{pty-54ma36ye.js → form-54ma36ye.js} +1 -1
  58. package/dist/chunks/{pty-2s7dtdje.js → form-5ga5b214.js} +22 -22
  59. package/dist/chunks/{pty-2edf9g1m.js → form-5hj9z6kr.js} +24 -24
  60. package/dist/chunks/{pty-5m9w47nd.js → form-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{pty-cmwkp3r5.js → form-5xtgfte3.js} +8 -8
  62. package/dist/chunks/{pty-xs27w66m.js → form-5y0tywp4.js} +44 -44
  63. package/dist/chunks/{pty-fjvmb1q4.js → form-5ybdevb0.js} +35 -35
  64. package/dist/chunks/{pty-6kgmdsq6.js → form-5yxp05h0.js} +51 -51
  65. package/dist/chunks/{pty-8sahcayy.js → form-6e4c5wka.js} +32 -32
  66. package/dist/chunks/{pty-mrcdbg0n.js → form-6emmestt.js} +45 -45
  67. package/dist/chunks/{pty-cvrr7bf2.js → form-6k6bnagh.js} +13 -13
  68. package/dist/chunks/{pty-h8gnvgy0.js → form-6mqp682y.js} +8 -8
  69. package/dist/chunks/{pty-jws6fkes.js → form-6pc27hjz.js} +4 -4
  70. package/dist/chunks/{pty-9gfzbh6g.js → form-6qze8ysb.js} +23 -23
  71. package/dist/chunks/{pty-6xb47vfp.js → form-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{pty-q9y31vqn.js → form-75t9bye9.js} +6 -6
  73. package/dist/chunks/{pty-775gj3j1.js → form-775gj3j1.js} +2 -2
  74. package/dist/chunks/{pty-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{pty-3d4ymmg4.js → form-7ejdeqms.js} +16 -16
  76. package/dist/chunks/{pty-zxv48ndd.js → form-7j6s122j.js} +9 -9
  77. package/dist/chunks/{pty-xy1yywfj.js → form-7pv7hw7n.js} +18 -18
  78. package/dist/chunks/{pty-qxsas7jk.js → form-7vnh4v92.js} +11 -11
  79. package/dist/chunks/{pty-q4fg9b7s.js → form-80qt5czk.js} +50 -50
  80. package/dist/chunks/{pty-6de4zjg3.js → form-822y64vb.js} +69 -69
  81. package/dist/chunks/{pty-7ehaxsq5.js → form-82kf3jg0.js} +15 -15
  82. package/dist/chunks/{pty-ympt5fcf.js → form-82t7k0nh.js} +33 -33
  83. package/dist/chunks/{pty-6dcba37k.js → form-8atgx3ya.js} +8 -8
  84. package/dist/chunks/{pty-8m6m0r52.js → form-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{pty-1739nk5s.js → form-8nc6zkts.js} +28 -28
  86. package/dist/chunks/{pty-an1qcxgb.js → form-8v8ce5z1.js} +36 -36
  87. package/dist/chunks/{pty-j09zfasm.js → form-91qna3x0.js} +3 -3
  88. package/dist/chunks/{pty-s0meg1b8.js → form-96zrc6ax.js} +7 -7
  89. package/dist/chunks/{pty-20anygfn.js → form-9av87sgt.js} +45 -45
  90. package/dist/chunks/{pty-97k7h61m.js → form-9fpyc4y1.js} +16 -16
  91. package/dist/chunks/{pty-r8w6ttfv.js → form-9rdbteg8.js} +11 -11
  92. package/dist/chunks/{pty-w48hzcn4.js → form-9sn33rqc.js} +6 -6
  93. package/dist/chunks/{pty-5f9nf4hj.js → form-9tnx4h2s.js} +3 -3
  94. package/dist/chunks/{pty-zghx9vvp.js → form-a55amyvq.js} +29 -29
  95. package/dist/chunks/{pty-q4ajs4bb.js → form-a824cvcf.js} +10 -10
  96. package/dist/chunks/{pty-qdvdxf2k.js → form-a9731p8k.js} +181 -181
  97. package/dist/chunks/{pty-s100x8e8.js → form-a9qkr9g3.js} +31 -31
  98. package/dist/chunks/{pty-gq0accs8.js → form-ac21eqq7.js} +8 -8
  99. package/dist/chunks/{pty-2p13j2kb.js → form-afe92jp7.js} +3 -3
  100. package/dist/chunks/{pty-cnvmc6fb.js → form-amy9nr96.js} +23 -23
  101. package/dist/chunks/{pty-6wndw9rh.js → form-ax3tz5jt.js} +4 -4
  102. package/dist/chunks/{pty-g4akawe6.js → form-axx5sjxa.js} +23 -23
  103. package/dist/chunks/{pty-e43591r5.js → form-b1vf1kh0.js} +91 -91
  104. package/dist/chunks/{pty-2xdh0w28.js → form-b674v2dg.js} +5 -5
  105. package/dist/chunks/{pty-q5e7cmwt.js → form-bczx5ry5.js} +1 -1
  106. package/dist/chunks/{pty-k8mv4n69.js → form-bg3gckj7.js} +22 -22
  107. package/dist/chunks/{pty-1ffvrpkg.js → form-bjx1sjef.js} +6 -6
  108. package/dist/chunks/{pty-t1gb04pn.js → form-bpy5r15a.js} +13 -13
  109. package/dist/chunks/{pty-vqbmn0xt.js → form-bqnw4zcg.js} +8 -8
  110. package/dist/chunks/{pty-cbqfkr4p.js → form-bxsrt1rp.js} +4 -4
  111. package/dist/chunks/{pty-c1fqxshp.js → form-c1fqxshp.js} +3 -3
  112. package/dist/chunks/{pty-2eegacq4.js → form-cmmdg65p.js} +8 -8
  113. package/dist/chunks/{pty-31ywfv50.js → form-cnzq3x3k.js} +12 -12
  114. package/dist/chunks/{pty-8a5t9khg.js → form-cserprn9.js} +20 -20
  115. package/dist/chunks/{pty-pghk10f8.js → form-d79x3a1q.js} +9 -9
  116. package/dist/chunks/{pty-qmarpbgc.js → form-d9jccbc4.js} +56 -56
  117. package/dist/chunks/{pty-hpw3665f.js → form-d9ph3ygh.js} +28 -28
  118. package/dist/chunks/{pty-v3p5ska8.js → form-df6fnvr5.js} +12 -12
  119. package/dist/chunks/{pty-8rkrdynz.js → form-dfjck66s.js} +37 -37
  120. package/dist/chunks/{pty-e0tnwjbb.js → form-dnrfz0q2.js} +22 -22
  121. package/dist/chunks/{pty-dqxsqydv.js → form-dqxsqydv.js} +1 -1
  122. package/dist/chunks/{pty-qqeeq2t9.js → form-drwq78ky.js} +7 -7
  123. package/dist/chunks/{pty-9sz7nexa.js → form-e0gqyvam.js} +16 -16
  124. package/dist/chunks/{pty-ckazfp8g.js → form-e16j1n5r.js} +17 -17
  125. package/dist/chunks/{pty-rnmfkyhk.js → form-e21t7egf.js} +38 -38
  126. package/dist/chunks/{pty-e80seqcp.js → form-e80seqcp.js} +1 -1
  127. package/dist/chunks/{pty-h9d3160z.js → form-e8fts9y6.js} +18 -18
  128. package/dist/chunks/{pty-mybzhh9a.js → form-eb6wq3zy.js} +5 -5
  129. package/dist/chunks/{pty-yfpbz0yb.js → form-ebvbgbap.js} +45 -45
  130. package/dist/chunks/{pty-de66sqtn.js → form-ed3133pq.js} +17 -17
  131. package/dist/chunks/{pty-eej6y6fw.js → form-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{pty-ef5x83kb.js → form-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{pty-gj0f7hmv.js → form-eg5kq0wk.js} +11 -11
  134. package/dist/chunks/{pty-f3n2bv5m.js → form-em2x5nm4.js} +13 -13
  135. package/dist/chunks/{pty-er13sehk.js → form-f1qh747r.js} +12 -12
  136. package/dist/chunks/{pty-qfy0nnm5.js → form-f2nkc2bd.js} +12 -12
  137. package/dist/chunks/{pty-tr1gvy62.js → form-f45c2wqa.js} +27 -27
  138. package/dist/chunks/{pty-xsgk3b13.js → form-f58gpcny.js} +9 -9
  139. package/dist/chunks/{pty-bh2h312c.js → form-f78dsz6n.js} +11 -11
  140. package/dist/chunks/{pty-as986mw6.js → form-f8d1cjf3.js} +16 -16
  141. package/dist/chunks/{pty-7hyaj12q.js → form-fawedr2k.js} +10 -10
  142. package/dist/chunks/{pty-a3d5jsrq.js → form-fg72yp13.js} +17 -17
  143. package/dist/chunks/{pty-nm0q0e1t.js → form-fgznzfpn.js} +32 -32
  144. package/dist/chunks/{pty-wtgcjadp.js → form-fwpheymm.js} +17 -17
  145. package/dist/chunks/{pty-khmqacep.js → form-fxaymqdw.js} +4 -4
  146. package/dist/chunks/{pty-pbtzveat.js → form-fy85dzp7.js} +24 -24
  147. package/dist/chunks/{pty-tg0kwg8q.js → form-g0mjhmpg.js} +18 -18
  148. package/dist/chunks/{pty-g686f6pq.js → form-g686f6pq.js} +2 -2
  149. package/dist/chunks/{pty-5fykfdj7.js → form-g6yfr6ja.js} +5 -5
  150. package/dist/chunks/{pty-gd4qta3r.js → form-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{pty-db2wf4at.js → form-gqtdsdt7.js} +4 -4
  152. package/dist/chunks/{pty-p49yswtn.js → form-h46ghbar.js} +23 -23
  153. package/dist/chunks/{pty-h6vf3j39.js → form-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{pty-mjpkqx7p.js → form-ha8954d1.js} +29 -29
  155. package/dist/chunks/{pty-6wg7wrda.js → form-had4kgfk.js} +6 -6
  156. package/dist/chunks/{pty-b26f43jx.js → form-hbn2k00m.js} +11 -11
  157. package/dist/chunks/{pty-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{pty-j353xgqb.js → form-hj4ygqcq.js} +8 -8
  159. package/dist/chunks/{pty-69j91c1q.js → form-hpfvhvya.js} +8 -8
  160. package/dist/chunks/{pty-8f1a6wvh.js → form-hy3jsexh.js} +46 -46
  161. package/dist/chunks/{pty-pvwettvr.js → form-hym2f59v.js} +9 -9
  162. package/dist/chunks/{pty-c9nxy5qv.js → form-hz6ef5h4.js} +33 -33
  163. package/dist/chunks/{pty-7f5fnqp2.js → form-j4mjwbh7.js} +7 -7
  164. package/dist/chunks/{pty-0zqnk5z9.js → form-j5yap3y4.js} +4 -4
  165. package/dist/chunks/{pty-ntvrhfrd.js → form-jb41p51h.js} +14 -14
  166. package/dist/chunks/{pty-jrx2a02v.js → form-jf06h9wq.js} +26 -26
  167. package/dist/chunks/{pty-4ts7tf6z.js → form-jk540des.js} +10 -12
  168. package/dist/chunks/{pty-ftdn8ckz.js → form-jpz1sbwc.js} +11 -11
  169. package/dist/chunks/{pty-pk8j2qrs.js → form-jv2kaqdm.js} +13 -13
  170. package/dist/chunks/{pty-z4y32ccy.js → form-k18re6s4.js} +21 -21
  171. package/dist/chunks/{pty-ck6m1vrp.js → form-k99j0hdv.js} +23 -23
  172. package/dist/chunks/{pty-c394f5a2.js → form-kd3nkf6b.js} +16 -16
  173. package/dist/chunks/{pty-qf76qvkk.js → form-kecqjjhm.js} +5 -5
  174. package/dist/chunks/{pty-1d5t9qnr.js → form-keswfrch.js} +13 -13
  175. package/dist/chunks/{pty-kjt3e84p.js → form-kgkjns6k.js} +11 -11
  176. package/dist/chunks/{pty-ppntd1nv.js → form-kyfczz2e.js} +12 -12
  177. package/dist/chunks/{pty-chqfxdm3.js → form-m6aapqtj.js} +24 -24
  178. package/dist/chunks/{pty-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{pty-maspj1v3.js → form-maspj1v3.js} +1 -1
  180. package/dist/chunks/{pty-pbpewdms.js → form-mj04efr5.js} +25 -25
  181. package/dist/chunks/{pty-ez8f2bbm.js → form-mqqhst8y.js} +4 -4
  182. package/dist/chunks/{pty-143qq2q9.js → form-mtpeagzc.js} +3 -3
  183. package/dist/chunks/{pty-y8jzcpjv.js → form-n6ge0jbz.js} +9 -9
  184. package/dist/chunks/{pty-288v2fpa.js → form-n7qacaxh.js} +17 -17
  185. package/dist/chunks/{pty-7k8jpxr1.js → form-n84mec99.js} +12 -12
  186. package/dist/chunks/{pty-ct8t11n6.js → form-nc4bet3h.js} +11 -11
  187. package/dist/chunks/{pty-j41t0h0z.js → form-nj2kvgja.js} +4 -4
  188. package/dist/chunks/{pty-m7psy4vk.js → form-npayzc43.js} +6 -6
  189. package/dist/chunks/{pty-d9b5n5ge.js → form-nq2b8p7n.js} +21 -21
  190. package/dist/chunks/{pty-fd3j7r5c.js → form-ny2rxstd.js} +5 -5
  191. package/dist/chunks/{pty-a40nck69.js → form-nydqvqd1.js} +23 -23
  192. package/dist/chunks/{pty-x97dcv64.js → form-nznf04hb.js} +9 -9
  193. package/dist/chunks/{pty-qbt3t408.js → form-p22nwjv1.js} +2 -2
  194. package/dist/chunks/{pty-3haw7r2g.js → form-p688wjw9.js} +9 -9
  195. package/dist/chunks/{pty-xqyega4a.js → form-p6grt35w.js} +4 -4
  196. package/dist/chunks/{pty-193x24z7.js → form-pa1r1w26.js} +13 -13
  197. package/dist/chunks/{pty-0rt46w6s.js → form-pexjtwtd.js} +19 -19
  198. package/dist/chunks/{pty-g3nth5ah.js → form-pfenne1w.js} +51 -51
  199. package/dist/chunks/{pty-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{pty-j6vpt3ek.js → form-pk7kp0ha.js} +13 -13
  201. package/dist/chunks/{pty-pknna89w.js → form-pknna89w.js} +1 -1
  202. package/dist/chunks/{pty-jpz15csq.js → form-pnkvp2wh.js} +4 -4
  203. package/dist/chunks/form-pq18g9mh.js +26 -0
  204. package/dist/chunks/{pty-q0xm7vwc.js → form-q0xm7vwc.js} +2 -2
  205. package/dist/chunks/{pty-0n2m89ce.js → form-q4gtn4tc.js} +25 -25
  206. package/dist/chunks/form-q509s3k3.js +18 -0
  207. package/dist/chunks/{pty-2kjzqttw.js → form-q76vn8xq.js} +32 -32
  208. package/dist/chunks/{pty-qm0v3jhh.js → form-qa3qhgw8.js} +7 -7
  209. package/dist/chunks/{pty-d2x469ty.js → form-qdjnfcj8.js} +24 -24
  210. package/dist/chunks/{pty-qnc92qwc.js → form-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{pty-qsdy395h.js → form-qsdy395h.js} +1 -1
  212. package/dist/chunks/{pty-px41as06.js → form-qy4q8v6w.js} +5 -5
  213. package/dist/chunks/{pty-rdw6cm16.js → form-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{pty-rert0e01.js → form-rert0e01.js} +2 -2
  215. package/dist/chunks/{pty-xwszpszr.js → form-rgrnpx6b.js} +27 -27
  216. package/dist/chunks/{pty-fgcmqe3m.js → form-rhvsmm7d.js} +20 -20
  217. package/dist/chunks/{pty-rj3eygr5.js → form-rj3eygr5.js} +2 -2
  218. package/dist/chunks/{pty-9pkkzrmj.js → form-rmm45jmv.js} +5 -5
  219. package/dist/chunks/{pty-jfxy3w4j.js → form-rw4qcwcj.js} +15 -15
  220. package/dist/chunks/{pty-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
  221. package/dist/chunks/{pty-5ddwb480.js → form-sas4s4zn.js} +32 -32
  222. package/dist/chunks/{pty-scgrse2b.js → form-scgrse2b.js} +2 -2
  223. package/dist/chunks/{pty-kkwvactk.js → form-sh5z954b.js} +14 -14
  224. package/dist/chunks/{pty-pvvch4t1.js → form-sjs8znna.js} +41 -41
  225. package/dist/chunks/{pty-fyyz0s13.js → form-stgt6n7x.js} +14 -14
  226. package/dist/chunks/{pty-f29mbr7f.js → form-syf57q56.js} +4 -4
  227. package/dist/chunks/{pty-syv4x271.js → form-syv4x271.js} +1 -1
  228. package/dist/chunks/{pty-m09gnrb9.js → form-t99511nd.js} +28 -28
  229. package/dist/chunks/{pty-tazgh4e4.js → form-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{pty-89znhe33.js → form-tcezcvh9.js} +4 -4
  231. package/dist/chunks/{pty-tdstcens.js → form-tdstcens.js} +1 -1
  232. package/dist/chunks/{pty-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
  233. package/dist/chunks/{pty-0k77gycm.js → form-tm98w8z9.js} +19 -19
  234. package/dist/chunks/{pty-11vynswf.js → form-tmzc3aj8.js} +26 -26
  235. package/dist/chunks/{pty-ehtaw9d1.js → form-tpbr7x97.js} +18 -18
  236. package/dist/chunks/{pty-f9s7s5p7.js → form-tq7zt23m.js} +5 -5
  237. package/dist/chunks/{pty-tyytaxap.js → form-tyytaxap.js} +1 -1
  238. package/dist/chunks/{pty-knsam22r.js → form-tz53ddc1.js} +5 -5
  239. package/dist/chunks/{pty-5av885h1.js → form-tzcg4n0g.js} +13 -13
  240. package/dist/chunks/{pty-6g7e4dd5.js → form-v0es1rhs.js} +7 -7
  241. package/dist/chunks/{pty-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{pty-veqvce7d.js → form-veqvce7d.js} +1 -1
  243. package/dist/chunks/{pty-hv99qf5t.js → form-vfa4vt6e.js} +12 -12
  244. package/dist/chunks/{pty-hfbyhya8.js → form-vppcbm3y.js} +10 -10
  245. package/dist/chunks/{pty-rd7h3zr1.js → form-vs030j7e.js} +9 -9
  246. package/dist/chunks/{pty-6yc87gb3.js → form-vxnjn3gy.js} +23 -23
  247. package/dist/chunks/{pty-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{pty-ee8q9djg.js → form-w02h5ydj.js} +14 -14
  249. package/dist/chunks/{pty-84txncab.js → form-w1eejvng.js} +5 -5
  250. package/dist/chunks/{pty-7ygng7x2.js → form-w2n6rccj.js} +58 -58
  251. package/dist/chunks/{pty-zc28nfrp.js → form-w2z33w1j.js} +31 -31
  252. package/dist/chunks/{pty-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-y54pxzdy.js → form-w6k8tkd2.js} +5 -5
  254. package/dist/chunks/{pty-t9ddj6j8.js → form-w7hte7gg.js} +9 -9
  255. package/dist/chunks/{pty-wd87259q.js → form-wd87259q.js} +1 -1
  256. package/dist/chunks/{pty-b4s8ej7r.js → form-wk5z6jzv.js} +9 -9
  257. package/dist/chunks/{pty-qe7a2st6.js → form-wvpc58r4.js} +43 -43
  258. package/dist/chunks/{pty-9jw3ccen.js → form-x0zjna7n.js} +13 -13
  259. package/dist/chunks/{pty-7wbens8j.js → form-x32mvc4s.js} +320 -320
  260. package/dist/chunks/{pty-zpe6edxa.js → form-xms7d978.js} +9 -9
  261. package/dist/chunks/{pty-qtcy7vt8.js → form-xtqgywq0.js} +40 -40
  262. package/dist/chunks/{pty-0w2b2cca.js → form-xxhd6h3y.js} +32 -32
  263. package/dist/chunks/{pty-b2fv2zwp.js → form-xxmvpg75.js} +23 -23
  264. package/dist/chunks/{pty-a0t77qzm.js → form-xye03hfh.js} +18 -18
  265. package/dist/chunks/form-y14nt2w1.js +253 -0
  266. package/dist/chunks/{pty-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{pty-z41z05dk.js → form-y29v8fx6.js} +6 -6
  268. package/dist/chunks/{pty-nv1390rc.js → form-y2a9r24h.js} +18 -18
  269. package/dist/chunks/{pty-0qxqhjz5.js → form-y2mqfp0b.js} +11 -11
  270. package/dist/chunks/{pty-jwcy2c2z.js → form-y71avatq.js} +4 -4
  271. package/dist/chunks/{pty-00p3fx9n.js → form-y9k3q9ka.js} +3 -3
  272. package/dist/chunks/{pty-6ghz6dva.js → form-yj3x42dc.js} +11 -11
  273. package/dist/chunks/{pty-1acjjqhc.js → form-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{pty-01qhqbw5.js → form-ytkpp1sy.js} +11 -11
  275. package/dist/chunks/{pty-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{pty-66tg3gv6.js → form-zbtmdah5.js} +15 -15
  277. package/dist/chunks/{pty-k76fn4kw.js → form-zcrspsvn.js} +4 -4
  278. package/dist/chunks/{pty-3e4qw7kp.js → form-zha2r5bt.js} +23 -23
  279. package/dist/chunks/{pty-k35ztsfm.js → form-zn4sg67n.js} +7 -7
  280. package/dist/chunks/{pty-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{pty-4q9fsd81.js → form-zr5p0t8y.js} +11 -11
  282. package/dist/chunks/{pty-twkgpt66.js → form-zwrfsjfy.js} +24 -24
  283. package/dist/chunks/{pty-zxq2ej10.js → form-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +11 -11
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +82 -82
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +117 -117
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +348 -348
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +90 -90
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +218 -218
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +157 -157
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +9 -9
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +2 -2
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +108 -108
  627. package/dist/snapshot.js +91 -91
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +122 -122
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/types/config/variable.d.ts +0 -1
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/pty-4pjsscn6.js +0 -26
  686. package/dist/chunks/pty-pf31ssb9.js +0 -18
  687. package/dist/chunks/pty-t0m65wbp.js +0 -253
  688. /package/dist/chunks/{pty-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{pty-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{pty-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{pty-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{pty-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{pty-24dcb14g.js → form-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{pty-2710q6r3.js → form-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{pty-2axfhc9x.js → form-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{pty-2bv980vf.js → form-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{pty-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{pty-359p4xyc.js → form-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{pty-3asan66x.js → form-3asan66x.js} +0 -0
  700. /package/dist/chunks/{pty-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{pty-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{pty-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{pty-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{pty-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{pty-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{pty-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{pty-53557ph1.js → form-53557ph1.js} +0 -0
  708. /package/dist/chunks/{pty-550bvhaj.js → form-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{pty-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{pty-6prwharc.js → form-6prwharc.js} +0 -0
  711. /package/dist/chunks/{pty-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{pty-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{pty-7m9af43g.js → form-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{pty-822emrt2.js → form-822emrt2.js} +0 -0
  715. /package/dist/chunks/{pty-84wd9syh.js → form-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{pty-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{pty-8n3pysct.js → form-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{pty-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{pty-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{pty-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{pty-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{pty-af5trqkr.js → form-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{pty-afrmfg78.js → form-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{pty-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{pty-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{pty-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{pty-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{pty-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{pty-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{pty-d9fn303g.js → form-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{pty-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{pty-dajrwvna.js → form-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{pty-dap0rakb.js → form-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{pty-df08tz66.js → form-df08tz66.js} +0 -0
  735. /package/dist/chunks/{pty-dy18nga0.js → form-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{pty-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{pty-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{pty-ec1grn59.js → form-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{pty-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{pty-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{pty-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{pty-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{pty-faypxj3z.js → form-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{pty-fd410y7t.js → form-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{pty-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{pty-g86h250q.js → form-g86h250q.js} +0 -0
  747. /package/dist/chunks/{pty-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{pty-gftt206x.js → form-gftt206x.js} +0 -0
  749. /package/dist/chunks/{pty-hcxmzztb.js → form-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{pty-hk9envan.js → form-hk9envan.js} +0 -0
  751. /package/dist/chunks/{pty-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{pty-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{pty-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{pty-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{pty-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{pty-jze0r7bz.js → form-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{pty-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{pty-m18g726c.js → form-m18g726c.js} +0 -0
  759. /package/dist/chunks/{pty-mp448xyj.js → form-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{pty-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{pty-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{pty-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{pty-njntx4h6.js → form-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{pty-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{pty-pyv0edze.js → form-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{pty-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{pty-q74kybfr.js → form-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{pty-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{pty-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{pty-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{pty-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{pty-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{pty-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{pty-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{pty-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{pty-ve7vex1e.js → form-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{pty-w803qqfp.js → form-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{pty-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{pty-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{pty-wjj7prxr.js → form-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{pty-wtztk69x.js → form-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{pty-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{pty-x61499pn.js → form-x61499pn.js} +0 -0
  784. /package/dist/chunks/{pty-y44na4kk.js → form-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{pty-y8f7s663.js → form-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{pty-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{pty-ym463w8f.js → form-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{pty-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{pty-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service79
3
- } from "./pty-eg6prxs1.js";
2
+ Service81
3
+ } from "./form-3y53v1bx.js";
4
4
  import {
5
- Service66
6
- } from "./pty-twkgpt66.js";
5
+ Service79
6
+ } from "./form-zwrfsjfy.js";
7
7
  import {
8
- Service14,
8
+ Service78,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./pty-9jw3ccen.js";
11
+ } from "./form-x0zjna7n.js";
12
12
  import {
13
- Service17
14
- } from "./pty-66tg3gv6.js";
13
+ Service77
14
+ } from "./form-zbtmdah5.js";
15
15
  import {
16
- Service74
17
- } from "./pty-qmarpbgc.js";
16
+ Service69
17
+ } from "./form-d9jccbc4.js";
18
18
  import {
19
- Service73,
19
+ Service51,
20
20
  resolvePath2
21
- } from "./pty-nv1390rc.js";
21
+ } from "./form-y2a9r24h.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./pty-6prwharc.js";
24
+ } from "./form-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./pty-9rqn6x4v.js";
27
+ } from "./form-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: () => Input4,
34
- Output: () => Output4,
35
- Plugin: () => Plugin5,
36
- name: () => name4
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin19,
36
+ name: () => name2
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 name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input4 = 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 Output4 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin5 = {
193
+ var Plugin19 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service73;
197
- const fileMutation = yield* Service14;
198
- const environment = yield* Service66;
199
- const formatter = yield* Service17;
200
- const location = yield* Service79;
201
- const permission = yield* Service74;
196
+ const access = yield* Service51;
197
+ const fileMutation = yield* Service78;
198
+ const environment = yield* Service79;
199
+ const formatter = yield* Service77;
200
+ const location = yield* Service81;
201
+ const permission = yield* Service69;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name4,
203
+ name: name2,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  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. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. 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.",
206
- input: Input4,
207
- output: Output4,
206
+ input: Input2,
207
+ output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin5 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name4, Input4, Output4, Plugin5, exports_edit };
279
+ export { name2, Input2, Output2, Plugin19, exports_edit };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service74
3
- } from "./pty-qmarpbgc.js";
2
+ Service69
3
+ } from "./form-d9jccbc4.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./pty-4vcrnpx2.js";
7
+ } from "./form-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./pty-3v8g72cx.js";
10
+ } from "./form-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./form-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: () => Input9,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input6,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin10,
22
+ Plugin: () => Plugin23,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name6
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name6 = "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 description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `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 Input9 = Schema.Struct({
41
+ var Input6 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input6.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 Plugin10 = {
95
+ var Plugin23 = {
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* Service74;
99
+ const permission = yield* Service69;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name6,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input9,
103
+ description: description3,
104
+ input: Input6,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin10 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name6,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin10, extractTextFromHTML2, exports_webfetch };
170
+ export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin23, extractTextFromHTML2, exports_webfetch };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service82
3
- } from "./pty-v3p5ska8.js";
2
+ Service83
3
+ } from "./form-df6fnvr5.js";
4
4
  import {
5
- ID11,
5
+ ID10,
6
6
  Event17,
7
- Service71
8
- } from "./pty-6yc87gb3.js";
7
+ Service63
8
+ } from "./form-vxnjn3gy.js";
9
9
  import {
10
- ID7
11
- } from "./pty-zc28nfrp.js";
10
+ ID8
11
+ } from "./form-w2z33w1j.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./pty-q9y31vqn.js";
14
+ } from "./form-75t9bye9.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service71;
45
- const bus = yield* Service82;
44
+ const credentials = yield* Service63;
45
+ const bus = yield* Service83;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID7.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID8.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID7.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID8.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID7.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID8.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID7.googleVertex,
81
+ integrationID: ID8.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID7.googleVertex,
85
+ integrationID: ID8.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -0,0 +1,253 @@
1
+ import {
2
+ node75
3
+ } from "./form-fy85dzp7.js";
4
+ import {
5
+ node77
6
+ } from "./form-t99511nd.js";
7
+ import {
8
+ node65
9
+ } from "./form-f45c2wqa.js";
10
+ import {
11
+ node85,
12
+ boundNode2
13
+ } from "./form-3y53v1bx.js";
14
+ import {
15
+ node64
16
+ } from "./form-w2z33w1j.js";
17
+ import {
18
+ node48
19
+ } from "./form-hbn2k00m.js";
20
+ import {
21
+ node62
22
+ } from "./form-5ybdevb0.js";
23
+ import {
24
+ node40
25
+ } from "./form-19j39p6z.js";
26
+ import {
27
+ configured7,
28
+ node58
29
+ } from "./form-pfenne1w.js";
30
+ import {
31
+ node82
32
+ } from "./form-zwrfsjfy.js";
33
+ import {
34
+ node81
35
+ } from "./form-x0zjna7n.js";
36
+ import {
37
+ node80
38
+ } from "./form-zbtmdah5.js";
39
+ import {
40
+ node17
41
+ } from "./form-6e4c5wka.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node16
45
+ } from "./form-09r737me.js";
46
+ import {
47
+ node47
48
+ } from "./form-6emmestt.js";
49
+ import {
50
+ node22
51
+ } from "./form-cserprn9.js";
52
+ import {
53
+ node55
54
+ } from "./form-f58gpcny.js";
55
+ import {
56
+ node32
57
+ } from "./form-5y0tywp4.js";
58
+ import {
59
+ Service43,
60
+ node45
61
+ } from "./form-4mwpykj0.js";
62
+ import {
63
+ node28
64
+ } from "./form-em2x5nm4.js";
65
+ import {
66
+ node76
67
+ } from "./form-cmmdg65p.js";
68
+ import {
69
+ node72
70
+ } from "./form-d9jccbc4.js";
71
+ import {
72
+ node46
73
+ } from "./form-pk7kp0ha.js";
74
+ import {
75
+ configured4,
76
+ node36
77
+ } from "./form-zha2r5bt.js";
78
+ import {
79
+ node35
80
+ } from "./form-tzcg4n0g.js";
81
+ import {
82
+ node39
83
+ } from "./form-qdjnfcj8.js";
84
+ import {
85
+ node30
86
+ } from "./form-mj04efr5.js";
87
+ import {
88
+ node38
89
+ } from "./form-ha8954d1.js";
90
+ import {
91
+ node27
92
+ } from "./form-keswfrch.js";
93
+ import {
94
+ node53
95
+ } from "./form-dnrfz0q2.js";
96
+ import {
97
+ node31
98
+ } from "./form-sh5z954b.js";
99
+ import {
100
+ node26
101
+ } from "./form-4bj1b5bj.js";
102
+ import {
103
+ node52
104
+ } from "./form-k99j0hdv.js";
105
+ import {
106
+ node68
107
+ } from "./form-0ndg0faa.js";
108
+ import {
109
+ node61
110
+ } from "./form-f78dsz6n.js";
111
+ import {
112
+ node56
113
+ } from "./form-5yxp05h0.js";
114
+ import {
115
+ node70
116
+ } from "./form-7pv7hw7n.js";
117
+ import {
118
+ node21
119
+ } from "./form-m6aapqtj.js";
120
+ import {
121
+ node37
122
+ } from "./form-tmzc3aj8.js";
123
+ import {
124
+ node42
125
+ } from "./form-tm98w8z9.js";
126
+ import {
127
+ node20
128
+ } from "./form-0e5d1q09.js";
129
+ import {
130
+ node8
131
+ } from "./form-0x2ae93g.js";
132
+ import {
133
+ Service66,
134
+ node69
135
+ } from "./form-8v8ce5z1.js";
136
+ import {
137
+ node54
138
+ } from "./form-y2a9r24h.js";
139
+ import {
140
+ node6,
141
+ bound2
142
+ } from "./form-5xtgfte3.js";
143
+ import {
144
+ node12
145
+ } from "./form-ebvbgbap.js";
146
+ import {
147
+ node9
148
+ } from "./form-bg3gckj7.js";
149
+ import {
150
+ node10
151
+ } from "./form-e16j1n5r.js";
152
+ import {
153
+ node4
154
+ } from "./form-3sraz6ss.js";
155
+ import {
156
+ node19
157
+ } from "./form-dfjck66s.js";
158
+ import {
159
+ node3
160
+ } from "./form-rgrnpx6b.js";
161
+ import {
162
+ node2
163
+ } from "./form-822y64vb.js";
164
+ import {
165
+ __export
166
+ } from "./form-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service43,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node45
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node85,
182
+ node69,
183
+ node82,
184
+ node58,
185
+ node75,
186
+ node40,
187
+ node38,
188
+ node70,
189
+ node37,
190
+ node65,
191
+ node64,
192
+ node62,
193
+ node47,
194
+ node48,
195
+ node20,
196
+ node76,
197
+ node6,
198
+ node4,
199
+ node42,
200
+ node17,
201
+ node16,
202
+ node68,
203
+ node19,
204
+ node56,
205
+ node53,
206
+ node35,
207
+ node36,
208
+ node54,
209
+ node81,
210
+ node80,
211
+ node32,
212
+ node72,
213
+ node39,
214
+ node61,
215
+ node55,
216
+ node31,
217
+ node27,
218
+ node28,
219
+ node77,
220
+ node22,
221
+ node10,
222
+ node30,
223
+ node9,
224
+ node46,
225
+ node12,
226
+ node3,
227
+ node26,
228
+ node52,
229
+ node2,
230
+ node21,
231
+ node8
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node58.replace(configured7({ project: false, global: false })),
236
+ node36.replace(configured4({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node85.replace(boundNode2(ref)),
244
+ node6.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service66).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./pty-2bv980vf.js";
3
+ } from "./form-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./pty-g4wezp1m.js";
6
+ } from "./form-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./pty-x61499pn.js";
9
+ } from "./form-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./pty-af5trqkr.js";
12
+ } from "./form-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./pty-afrmfg78.js";
15
+ } from "./form-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./pty-x0ckcb58.js";
18
+ } from "./form-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./pty-pvvch4t1.js";
6
+ } from "./form-sjs8znna.js";
7
7
  import {
8
- Service79,
9
- node83
10
- } from "./pty-eg6prxs1.js";
8
+ Service81,
9
+ node85
10
+ } from "./form-3y53v1bx.js";
11
11
  import {
12
- Service74,
13
- node78
14
- } from "./pty-qmarpbgc.js";
12
+ Service69,
13
+ node72
14
+ } from "./form-d9jccbc4.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./form-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service73,
26
- node: () => node77,
25
+ Service: () => Service51,
26
+ node: () => node54,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service73 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service51 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service73, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service79;
55
- const permission = yield* Service74;
54
+ const location = yield* Service81;
55
+ const permission = yield* Service69;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service73.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service51.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node77 = makeLocationNode({ service: Service73, layer, deps: [FSUtil.node, node83, node78] });
106
+ var node54 = makeLocationNode({ service: Service51, layer, deps: [FSUtil.node, node85, node72] });
107
107
 
108
- export { Kind2, ResolveInput2, Service73, resolvePath2, node77, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service51, resolvePath2, node54, exports_file_access };