@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,41 +1,41 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-v3p5ska8.js";
2
+ Service83,
3
+ node87
4
+ } from "./form-df6fnvr5.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./form-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./form-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID15,
19
- Info: () => Info25,
17
+ Event: () => Event19,
18
+ ID: () => ID13,
19
+ Info: () => Info23,
20
20
  Name: () => Name3,
21
- Service: () => Service78,
21
+ Service: () => Service72,
22
22
  defaultID: () => defaultID2,
23
- node: () => node82
23
+ node: () => node75
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event20 } from "@opencode/schema/agent";
29
- var ID15 = Agent.ID;
28
+ import { Event as Event19 } from "@opencode/schema/agent";
29
+ var ID13 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID15.make("build");
31
+ var defaultID2 = ID13.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info25 = Agent.Info;
33
+ var Info23 = Agent.Info;
34
34
 
35
- class Service78 extends Context.Service()("@opencode/Agent") {
35
+ class Service72 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service78, Effect.gen(function* () {
38
- const bus = yield* Service82;
37
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
38
+ const bus = yield* Service83;
39
39
  const state = create3({
40
40
  name: "agent",
41
41
  initial: () => ({ agents: new Map }),
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info25.default(id);
49
+ const current = editor.agents.get(id) ?? Info23.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
64
64
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
65
65
  if (configured)
66
66
  return configured;
67
- const build = selectable(data.agents.get(ID15.make("build")));
67
+ const build = selectable(data.agents.get(ID13.make("build")));
68
68
  if (build)
69
69
  return build;
70
70
  for (const agent of data.agents.values()) {
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service78.of({
76
+ return Service72.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID15.make(id));
84
+ return state.get().agents.get(ID13.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
88
88
  if (id !== undefined) {
89
- const selected = ID15.make(id);
89
+ const selected = ID13.make(id);
90
90
  return { id: selected, info: state.get().agents.get(selected) };
91
91
  }
92
92
  const info = selectedDefault();
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node86] });
104
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node87] });
105
105
 
106
- export { ID15, Name3, defaultID2, Color2, Info25, Service78, node82, exports_agent4, Event20 };
106
+ export { ID13, Name3, defaultID2, Color2, Info23, Service72, node75, exports_agent4, Event19 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-v3p5ska8.js";
2
+ Service83,
3
+ node87
4
+ } from "./form-df6fnvr5.js";
5
5
  import {
6
6
  environment2
7
- } from "./pty-0kq1vnt2.js";
7
+ } from "./form-0ndg0faa.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./pty-3t0ybcrp.js";
10
+ } from "./form-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./form-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
@@ -19,12 +19,12 @@ __export(exports_persistent_pty, {
19
19
  NotFoundError: () => NotFoundError7,
20
20
  Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service68,
22
+ Service: () => Service64,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  available: () => available3,
25
- configured: () => configured10,
25
+ configured: () => configured9,
26
26
  layer: () => layer26,
27
- node: () => node72
27
+ node: () => node67
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -51,10 +51,10 @@ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service68 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service64 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service68, Effect.gen(function* () {
57
- const bus = yield* Service82;
56
+ var makeLayer = (options = {}) => Layer.effect(Service64, Effect.gen(function* () {
57
+ const bus = yield* Service83;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service68, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service68.of({
246
+ return Service64.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -260,12 +260,12 @@ var makeLayer = (options = {}) => Layer.effect(Service68, Effect.gen(function* (
260
260
  });
261
261
  }));
262
262
  var layer26 = makeLayer();
263
- var configured10 = (options) => makeGlobalNode({
264
- service: Service68,
263
+ var configured9 = (options) => makeGlobalNode({
264
+ service: Service64,
265
265
  layer: options === undefined ? layer26 : makeLayer(options),
266
- deps: [node86, Global.node]
266
+ deps: [node87, Global.node]
267
267
  });
268
- var node72 = configured10();
268
+ var node67 = configured9();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
271
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options9, UnavailableError3, NotFoundError7, Service68, layer26, configured10, node72, exports_persistent_pty, Handoff2, available3 };
304
+ export { Options9, UnavailableError3, NotFoundError7, Service64, layer26, configured9, node67, exports_persistent_pty, Handoff2, available3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info7,
12
+ Info: () => Info11,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info7 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info7, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info20,
10
+ Info: () => Info19,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info20 = Connection.Info;
18
+ var Info19 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info20, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info19, Status3, key2, exports_connection };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./pty-v3p5ska8.js";
3
+ Service83,
4
+ node87
5
+ } from "./form-df6fnvr5.js";
6
6
  import {
7
- Service84,
8
- node88
9
- } from "./pty-q4ajs4bb.js";
7
+ Service76,
8
+ node79
9
+ } from "./form-a824cvcf.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./form-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event4,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service37,
22
+ Service: () => Service57,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node40,
26
- resolve: () => resolve2
25
+ node: () => node60,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service37 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service57 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event4 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service37, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service84;
85
- const bus = yield* Service82;
84
+ const kv = yield* Service76;
85
+ const bus = yield* Service83;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
88
88
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event4.Updated, {}, { global: true });
116
+ yield* bus.publish(Event13.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service37.of({
119
+ return Service57.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event4.Updated, {}, { global: true });
132
+ yield* bus.publish(Event13.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event4.Updated, {}, { global: true });
147
+ yield* bus.publish(Event13.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node40 = makeGlobalNode({ service: Service37, layer, deps: [httpClient, node88, node86] });
160
+ var node60 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node79, node87] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service37, Event4, inspect2, resolve2, node40, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event13, inspect2, resolve3, node60, exports_wellknown };
@@ -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/token.ts
6
6
  var exports_token = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-v3p5ska8.js";
2
+ Service83,
3
+ node87
4
+ } from "./form-df6fnvr5.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./pty-84txncab.js";
11
+ } from "./form-w1eejvng.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./pty-z5v4ffb3.js";
14
+ } from "./form-z5v4ffb3.js";
15
15
  import {
16
- Service46,
17
- node50
18
- } from "./pty-9gfzbh6g.js";
16
+ Service75,
17
+ node78
18
+ } from "./form-6qze8ysb.js";
19
19
  import {
20
20
  create3
21
- } from "./pty-rdw6cm16.js";
21
+ } from "./form-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./form-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info10,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service45,
34
+ Service: () => Service35,
35
35
  Source: () => Source3,
36
- node: () => node49
36
+ node: () => node38
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info10 = Reference.Info;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service45 extends Context.Service()("@opencode/Reference") {
48
+ class Service35 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service45, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service82;
53
- const cache = yield* Service46;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service75;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info10.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
63
+ return [Info6.make({ ...info, path: source.path })];
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info10.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service45.of({
107
+ return Service35.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node49 = makeLocationNode({
116
- service: Service45,
115
+ var node38 = makeLocationNode({
116
+ service: Service35,
117
117
  layer,
118
- deps: [Global.node, node86, node50]
118
+ deps: [Global.node, node87, node78]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info10, Service45, node49, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service35, node38, exports_reference2, Event7 };
@@ -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/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make19,
14
- node: () => node71,
13
+ make: () => make21,
14
+ node: () => node84,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make19 = (driver) => driver;
32
+ var make21 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node71 = registryNode2({});
47
+ var node84 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node71, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node84, exports_driver };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID7,
2
+ ID8,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./pty-zc28nfrp.js";
7
+ } from "./form-w2z33w1j.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./form-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service56,
17
+ Service: () => Service46,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node59
19
+ node: () => node48
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID7,
154
+ providerID: ID8,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service56 extends Context.Service()("@opencode/AISDK") {
162
+ class Service46 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service56.of({
202
+ const service = Service46.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node59 = makeLocationNode({ service: Service56, layer: locationLayer2, deps: [] });
877
+ var node48 = makeLocationNode({ service: Service46, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service56, locationLayer2, node59, exports_aisdk };
879
+ export { InitError2, Service46, locationLayer2, node48, exports_aisdk };
@@ -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/environment/files.ts
6
6
  var exports_files = {};
@@ -3,27 +3,27 @@ import {
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
5
  Service29
6
- } from "./pty-xs27w66m.js";
6
+ } from "./form-5y0tywp4.js";
7
7
  import {
8
- Service74
9
- } from "./pty-qmarpbgc.js";
8
+ Service69
9
+ } from "./form-d9jccbc4.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./form-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin13
18
+ Plugin: () => Plugin29
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin13 = {
22
+ var Plugin29 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
25
  const mcp = yield* Service29;
26
- const permission = yield* Service74;
26
+ const permission = yield* Service69;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin13 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin13, exports_mcp_resource };
96
+ export { Plugin29, exports_mcp_resource };