@opencode/core 0.0.0-dev-21592 → 0.0.0-dev-21599
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-9nw8ck4g.js → tool-output-02vyapm1.js} +4 -4
- package/dist/chunks/{model-pkax9v1w.js → tool-output-02yfng3f.js} +7 -7
- package/dist/chunks/{model-aj7mw0zk.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{model-5fsc8n82.js → tool-output-03wdg0rt.js} +13 -13
- package/dist/chunks/{model-dkq45v8d.js → tool-output-0gka690g.js} +6 -6
- package/dist/chunks/{model-x0n658k6.js → tool-output-0gt8ey1a.js} +116 -44
- package/dist/chunks/{model-se9dn7rd.js → tool-output-0r009c13.js} +12 -12
- package/dist/chunks/{model-8xsxb202.js → tool-output-0yxbjwbd.js} +29 -29
- package/dist/chunks/{model-gwprnrgv.js → tool-output-10y9v1vv.js} +14 -14
- package/dist/chunks/{model-ttdgtk4q.js → tool-output-14k2p94z.js} +6 -6
- package/dist/chunks/{model-wzdjcsat.js → tool-output-14zr9vj7.js} +15 -15
- package/dist/chunks/{model-d6gm4j52.js → tool-output-15engxec.js} +46 -46
- package/dist/chunks/{model-jj73fkkr.js → tool-output-1bsnzyrd.js} +18 -18
- package/dist/chunks/{model-27w5k9zf.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-51481qqa.js → tool-output-1vkp420h.js} +13 -13
- package/dist/chunks/{model-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-5zrxpy3q.js → tool-output-1yq9hg58.js} +5 -5
- package/dist/chunks/{model-z6g09nf1.js → tool-output-20fcarzd.js} +3 -3
- package/dist/chunks/{model-f1nzbf19.js → tool-output-20nwq5j7.js} +9 -9
- package/dist/chunks/{model-1w4vqh2t.js → tool-output-27bs79w9.js} +2 -2
- package/dist/chunks/{model-mkrzd24w.js → tool-output-2e1v5rzb.js} +11 -11
- package/dist/chunks/{model-321ec0g4.js → tool-output-2f4xewgk.js} +16 -16
- package/dist/chunks/{model-6f9z7j1v.js → tool-output-2gc5wwsr.js} +13 -13
- package/dist/chunks/{model-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-7ye4ae45.js → tool-output-31wms35x.js} +8 -8
- package/dist/chunks/{model-t656wjzj.js → tool-output-33fnmx25.js} +13 -13
- package/dist/chunks/{model-szqbbbee.js → tool-output-3ae58x6v.js} +43 -43
- package/dist/chunks/{model-0n48jksk.js → tool-output-3aracdxg.js} +26 -26
- package/dist/chunks/{model-vrmm9ccr.js → tool-output-3f9f2kqk.js} +14 -14
- package/dist/chunks/{model-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-99frgwf9.js → tool-output-3nn70jee.js} +19 -19
- package/dist/chunks/{model-n4qksct9.js → tool-output-3w0cf4vg.js} +9 -9
- package/dist/chunks/{model-0xg995h5.js → tool-output-3wfjj3xn.js} +15 -15
- package/dist/chunks/{model-w2eysc6j.js → tool-output-40za9wsf.js} +9 -9
- package/dist/chunks/{model-j9qw6n70.js → tool-output-45fm8dkf.js} +49 -49
- package/dist/chunks/{model-tee140je.js → tool-output-4cmd85k7.js} +25 -26
- package/dist/chunks/{model-nv65jaj5.js → tool-output-4t0ptnzh.js} +1 -1
- package/dist/chunks/{model-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{model-4xvmh7wp.js → tool-output-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-anx7ry72.js → tool-output-4z3w2m2c.js} +4 -4
- package/dist/chunks/{model-4v9wqr06.js → tool-output-52fzkx6b.js} +24 -24
- package/dist/chunks/{model-cw8gdmwg.js → tool-output-56zd4020.js} +33 -33
- package/dist/chunks/{model-6hfnb0rs.js → tool-output-575qvmdv.js} +4 -4
- package/dist/chunks/{model-bn4a103g.js → tool-output-5cv37nj8.js} +18 -18
- package/dist/chunks/{model-r07gp9b9.js → tool-output-5epaxwsw.js} +4 -4
- package/dist/chunks/{model-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-q0qwz8mp.js → tool-output-5ndmwyx5.js} +35 -35
- package/dist/chunks/{model-8jxvmzrw.js → tool-output-6dhf79kj.js} +28 -28
- package/dist/chunks/tool-output-6e65pr7w.js +257 -0
- package/dist/chunks/{model-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-gy8yxpp1.js → tool-output-6npt4pta.js} +11 -11
- package/dist/chunks/{model-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-xeaspr23.js → tool-output-6v3q5vvj.js} +14 -14
- package/dist/chunks/{model-n6v2b7cw.js → tool-output-6y263vp8.js} +5 -5
- package/dist/chunks/{model-d1rt1382.js → tool-output-732r365v.js} +5 -5
- package/dist/chunks/{model-072q16cb.js → tool-output-75kq81p9.js} +28 -28
- package/dist/chunks/{model-w8qtt4th.js → tool-output-76cb1hcw.js} +4 -4
- package/dist/chunks/{model-k1whs75x.js → tool-output-7adgnzsg.js} +11 -11
- package/dist/chunks/{model-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-q39pt7dd.js → tool-output-7ees5jkk.js} +17 -17
- package/dist/chunks/{model-741bc9hj.js → tool-output-7mrxhv66.js} +28 -28
- package/dist/chunks/{model-sztxty7m.js → tool-output-7n9251cj.js} +17 -17
- package/dist/chunks/{model-td85jp64.js → tool-output-7nsfs16y.js} +177 -177
- package/dist/chunks/{model-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-adpvjdsc.js → tool-output-86aqzbp9.js} +24 -24
- package/dist/chunks/{model-9nkjg9qd.js → tool-output-89sdcr2v.js} +6 -6
- package/dist/chunks/{model-4txkrg0g.js → tool-output-8a38ne9n.js} +11 -11
- package/dist/chunks/{model-n8hmsfpk.js → tool-output-8d56qhxn.js} +30 -30
- package/dist/chunks/{model-kmfx2698.js → tool-output-8gf3zxsg.js} +17 -17
- package/dist/chunks/{model-b5q9zetx.js → tool-output-8gtwayjs.js} +46 -46
- package/dist/chunks/{model-egmw08v6.js → tool-output-8k8s1td8.js} +5 -5
- package/dist/chunks/{model-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-jj9caqwr.js → tool-output-8ykqf5wm.js} +11 -11
- package/dist/chunks/{model-bzr0y705.js → tool-output-8zqhaj5c.js} +13 -13
- package/dist/chunks/{model-91rj84md.js → tool-output-91rj84md.js} +1 -1
- package/dist/chunks/{model-qgeehj15.js → tool-output-98pd45a3.js} +10 -10
- package/dist/chunks/{model-dvj9ct8m.js → tool-output-998yhzzq.js} +3 -3
- package/dist/chunks/{model-tjfc794x.js → tool-output-9a6nh89z.js} +14 -14
- package/dist/chunks/{model-953xbrr3.js → tool-output-9b28cy4d.js} +5 -5
- package/dist/chunks/{model-72g5xjtf.js → tool-output-9fk2bqmm.js} +4 -4
- package/dist/chunks/{model-5g6946ns.js → tool-output-9g93d3f5.js} +20 -20
- package/dist/chunks/{model-bq891ma8.js → tool-output-9pqw3rfv.js} +19 -19
- package/dist/chunks/{model-c3zdnxfx.js → tool-output-9wgzwg7t.js} +34 -34
- package/dist/chunks/{model-6jpgtjve.js → tool-output-abvderva.js} +54 -54
- package/dist/chunks/{model-272c0xdt.js → tool-output-ad0mv7as.js} +6 -6
- package/dist/chunks/{model-jg5w3cjw.js → tool-output-agech8jz.js} +16 -16
- package/dist/chunks/{model-5zfr5p9e.js → tool-output-aja4sf8e.js} +25 -25
- package/dist/chunks/{model-01j7rzmr.js → tool-output-at9rzsb2.js} +68 -68
- package/dist/chunks/{model-srsshwrf.js → tool-output-awcmzese.js} +4 -4
- package/dist/chunks/{model-p4h2267x.js → tool-output-axwvcc3s.js} +16 -16
- package/dist/chunks/{model-3cbjf1nt.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-g4y1xy0d.js → tool-output-b0p0cccz.js} +28 -28
- package/dist/chunks/{model-t25nhsq0.js → tool-output-b0v8jwaf.js} +5 -5
- package/dist/chunks/{model-66r9f6z1.js → tool-output-b29mbqx6.js} +5 -5
- package/dist/chunks/{model-wtnsyy90.js → tool-output-b3hcype2.js} +18 -18
- package/dist/chunks/{model-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
- package/dist/chunks/{model-92m6938h.js → tool-output-bcq1fbbx.js} +20 -20
- package/dist/chunks/{model-rjnacbrz.js → tool-output-bgm817xr.js} +9 -9
- package/dist/chunks/{model-qq9tt1td.js → tool-output-bjvhwptd.js} +3 -3
- package/dist/chunks/{model-g88zdbhx.js → tool-output-bmrhpq87.js} +14 -14
- package/dist/chunks/{model-g1ay4zd8.js → tool-output-bqwdyg2t.js} +9 -9
- package/dist/chunks/{model-e88dgn8f.js → tool-output-br3esf13.js} +4 -4
- package/dist/chunks/{model-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{model-mr3cdd38.js → tool-output-bwz2p6z2.js} +34 -34
- package/dist/chunks/{model-g154atg6.js → tool-output-c0xk14mm.js} +17 -17
- package/dist/chunks/{model-0e0jgjy9.js → tool-output-c46f3117.js} +11 -11
- package/dist/chunks/{model-wtgq8nqm.js → tool-output-c6x7d2ts.js} +7 -7
- package/dist/chunks/{model-63jssr0d.js → tool-output-cgs2kznv.js} +15 -15
- package/dist/chunks/{model-m7jmd0hd.js → tool-output-ckekbsk5.js} +22 -22
- package/dist/chunks/{model-kgex5j78.js → tool-output-cky18ayb.js} +11 -11
- package/dist/chunks/{model-mbqkgzdb.js → tool-output-cpqed4zs.js} +3 -3
- package/dist/chunks/{model-sxj6qfjf.js → tool-output-ctrm230j.js} +27 -27
- package/dist/chunks/{model-b67zw2j5.js → tool-output-d3fzpcez.js} +10 -10
- package/dist/chunks/{model-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-2eqnzn4s.js → tool-output-dgmwqqqe.js} +10 -10
- package/dist/chunks/{model-jx89vj1k.js → tool-output-dh62xe4r.js} +3 -3
- package/dist/chunks/{model-7bw1g6gn.js → tool-output-dk5xnaxx.js} +4 -4
- package/dist/chunks/{model-340hmagq.js → tool-output-dmc9yb6t.js} +20 -20
- package/dist/chunks/{model-nxv9x1zm.js → tool-output-dn2q7ewa.js} +7 -7
- package/dist/chunks/{model-pa0vwm8c.js → tool-output-dr6kpnea.js} +17 -17
- package/dist/chunks/{model-35s4j9cr.js → tool-output-e1wc05en.js} +11 -11
- package/dist/chunks/{model-q9g9j9gh.js → tool-output-e3148eb1.js} +19 -19
- package/dist/chunks/{model-5qd3pb7m.js → tool-output-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{model-wb79839p.js → tool-output-e8nh79sb.js} +9 -9
- package/dist/chunks/{model-hhwb3rx0.js → tool-output-ebwz916e.js} +18 -18
- package/dist/chunks/{model-5newpn23.js → tool-output-eendxhec.js} +28 -28
- package/dist/chunks/{model-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-w8a1jqtz.js → tool-output-f13580fy.js} +1 -1
- package/dist/chunks/{model-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-6vm2p5a1.js → tool-output-fjd8d6hc.js} +20 -20
- package/dist/chunks/{model-nfaaxv4r.js → tool-output-fvaebv5c.js} +26 -26
- package/dist/chunks/{model-0h8y3ex8.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{model-sysqhah2.js → tool-output-g22673a8.js} +14 -14
- package/dist/chunks/{model-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-vvf0vm2n.js → tool-output-gc2w1p23.js} +17 -17
- package/dist/chunks/{model-0q0he6s7.js → tool-output-gdvg1v0w.js} +28 -28
- package/dist/chunks/{model-nar1vcx8.js → tool-output-ggx4rb7k.js} +11 -11
- package/dist/chunks/{model-zrcjrc8a.js → tool-output-gh947223.js} +21 -21
- package/dist/chunks/{model-gtndzxs8.js → tool-output-gjpepzdv.js} +6 -6
- package/dist/chunks/{model-m1wmrjqx.js → tool-output-gn6n2gww.js} +13 -13
- package/dist/chunks/{model-chrqa3e7.js → tool-output-gry66kc0.js} +5 -5
- package/dist/chunks/{model-g56hrhg3.js → tool-output-h0ndpbmn.js} +9 -9
- package/dist/chunks/{model-fzj23b6d.js → tool-output-h2tz44th.js} +11 -11
- package/dist/chunks/{model-zvrj69sk.js → tool-output-h31pp8t3.js} +18 -18
- package/dist/chunks/{model-4k6phjpp.js → tool-output-hcs2f452.js} +20 -20
- package/dist/chunks/{model-4w20wkzz.js → tool-output-hfpdjywt.js} +14 -14
- package/dist/chunks/{model-8zzv4zj8.js → tool-output-hr7bspm8.js} +50 -50
- package/dist/chunks/{model-j113cymg.js → tool-output-j113cymg.js} +1 -1
- package/dist/chunks/{model-raktd10s.js → tool-output-j7gyfce7.js} +12 -12
- package/dist/chunks/{model-jchrqzf6.js → tool-output-jchrqzf6.js} +1 -1
- package/dist/chunks/{model-w47q07ee.js → tool-output-jewpd055.js} +5 -5
- package/dist/chunks/{model-891v6h49.js → tool-output-jfxkbtd9.js} +4 -4
- package/dist/chunks/{model-5z2mzmdm.js → tool-output-jtp4xp8v.js} +7 -7
- package/dist/chunks/{model-784fke7s.js → tool-output-jv32aesp.js} +86 -86
- package/dist/chunks/{model-bkswmhj3.js → tool-output-k175he82.js} +46 -46
- package/dist/chunks/{model-9437wt4d.js → tool-output-k5aja770.js} +8 -8
- package/dist/chunks/{model-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
- package/dist/chunks/{model-bhzsakrn.js → tool-output-k8kdgf5t.js} +42 -42
- package/dist/chunks/{model-78q1pp3f.js → tool-output-k9qv649c.js} +22 -22
- package/dist/chunks/{model-6r1yb0s4.js → tool-output-ka4dz7nq.js} +12 -12
- package/dist/chunks/{model-ct02k7de.js → tool-output-ke7xq34d.js} +5 -5
- package/dist/chunks/{model-15v1gk62.js → tool-output-kebac8xz.js} +34 -34
- package/dist/chunks/{model-9kg5w032.js → tool-output-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-pz0r8h4k.js → tool-output-kp7p0dvh.js} +35 -35
- package/dist/chunks/{model-jfb254mg.js → tool-output-kxkx1fm5.js} +13 -13
- package/dist/chunks/{model-yqveydy6.js → tool-output-ky596kc3.js} +4 -4
- package/dist/chunks/{model-vfpfqbnz.js → tool-output-m0jsseqx.js} +32 -32
- package/dist/chunks/{model-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{model-ts1rzmt6.js → tool-output-m9qp2phv.js} +5 -5
- package/dist/chunks/{model-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{model-pn50smkw.js → tool-output-md00hke5.js} +25 -25
- package/dist/chunks/{model-0canpjbz.js → tool-output-md8c097b.js} +26 -26
- package/dist/chunks/{model-me5bcav6.js → tool-output-me5bcav6.js} +1 -1
- package/dist/chunks/{model-jgp3dhd9.js → tool-output-mfd4wsk8.js} +43 -43
- package/dist/chunks/{model-dqgvvwe0.js → tool-output-mmkbt6v3.js} +9 -9
- package/dist/chunks/{model-ddq31bgq.js → tool-output-mn7fc7ja.js} +15 -15
- package/dist/chunks/{model-q1nnka74.js → tool-output-mpe6qr53.js} +8 -8
- package/dist/chunks/{model-gprpk8mk.js → tool-output-myfas7b5.js} +4 -4
- package/dist/chunks/{model-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
- package/dist/chunks/{model-mrmbr746.js → tool-output-n8m4zwz8.js} +4 -4
- package/dist/chunks/{model-x78b4590.js → tool-output-n8vtaxca.js} +22 -22
- package/dist/chunks/{model-nah043kf.js → tool-output-nah043kf.js} +1 -1
- package/dist/chunks/{model-c6sr2qh2.js → tool-output-nemq3kwn.js} +11 -11
- package/dist/chunks/{model-s64sqv58.js → tool-output-nh85g63h.js} +10 -10
- package/dist/chunks/{model-5jp10723.js → tool-output-nhh83qbn.js} +41 -41
- package/dist/chunks/{model-5cm23gk5.js → tool-output-nkkejs0x.js} +13 -13
- package/dist/chunks/{model-vdakd0pn.js → tool-output-nmjyhvat.js} +77 -77
- package/dist/chunks/{model-4hwp5n1a.js → tool-output-npbfck1k.js} +6 -6
- package/dist/chunks/{model-vmwcq5xv.js → tool-output-nybszfb1.js} +13 -13
- package/dist/chunks/{model-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
- package/dist/chunks/{model-3pj39t0e.js → tool-output-p0wda9xt.js} +3 -3
- package/dist/chunks/{model-6nb4ea3p.js → tool-output-p1m96dps.js} +16 -16
- package/dist/chunks/{model-hnbfgrzz.js → tool-output-p3hsmbes.js} +8 -8
- package/dist/chunks/{model-a1bvjvf9.js → tool-output-pf90p5q7.js} +43 -43
- package/dist/chunks/{model-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{model-4qc2xvk6.js → tool-output-pqngf5gp.js} +36 -36
- package/dist/chunks/{model-gn6ba7xn.js → tool-output-py28whss.js} +10 -10
- package/dist/chunks/{model-a49bexj4.js → tool-output-pycah8he.js} +32 -32
- package/dist/chunks/{model-mvthmwjs.js → tool-output-q0x7bn0w.js} +5 -5
- package/dist/chunks/{model-eqh43b5v.js → tool-output-q46y00v4.js} +9 -9
- package/dist/chunks/{model-pngkbba6.js → tool-output-q4b3sjyf.js} +25 -25
- package/dist/chunks/{model-vssrn3v8.js → tool-output-q5zq6djh.js} +5 -5
- package/dist/chunks/tool-output-q8814pp6.js +26 -0
- package/dist/chunks/{model-vd89anp8.js → tool-output-q9mdne05.js} +11 -11
- package/dist/chunks/{model-xet4rz3q.js → tool-output-qf8mwm23.js} +6 -6
- package/dist/chunks/{model-0b8de6ew.js → tool-output-qfs9mmpn.js} +8 -8
- package/dist/chunks/{model-8jztxfpf.js → tool-output-qjgzc4b4.js} +4 -4
- package/dist/chunks/{model-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-na88mdda.js → tool-output-r3b59dab.js} +17 -17
- package/dist/chunks/{model-9g5n6tdw.js → tool-output-r4tf9cx3.js} +12 -12
- package/dist/chunks/{model-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-d2r51erv.js → tool-output-rcq2wj92.js} +9 -9
- package/dist/chunks/{model-zba5tm1j.js → tool-output-rrad2nt9.js} +4 -4
- package/dist/chunks/{model-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-zf6q9j4p.js → tool-output-rxqg2rh4.js} +6 -6
- package/dist/chunks/{model-z0s5rknz.js → tool-output-s4g98fk9.js} +33 -33
- package/dist/chunks/{model-wqscedq8.js → tool-output-s7kyse9r.js} +9 -9
- package/dist/chunks/{model-df6r7s43.js → tool-output-sc1vpcb8.js} +18 -18
- package/dist/chunks/{model-a6strf84.js → tool-output-sf3ha4fy.js} +26 -26
- package/dist/chunks/{model-prv1cyb1.js → tool-output-sp47q1yk.js} +18 -18
- package/dist/chunks/{model-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-c9t2ty9q.js → tool-output-ssfehs1z.js} +4 -4
- package/dist/chunks/{model-hwbsae6b.js → tool-output-ssqdbp8v.js} +32 -32
- package/dist/chunks/{model-21vv1a77.js → tool-output-t9be5fj7.js} +4 -4
- package/dist/chunks/{model-8sxdqgb0.js → tool-output-tasvem1v.js} +6 -6
- package/dist/chunks/{model-zw8we4s7.js → tool-output-tbspmpch.js} +13 -13
- package/dist/chunks/{model-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-3nnrz6f6.js → tool-output-tmc7xdjs.js} +4 -4
- package/dist/chunks/{model-vf0zxygw.js → tool-output-tmp6rxaj.js} +25 -25
- package/dist/chunks/{model-tw8zr1ps.js → tool-output-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-gxtyjb3d.js → tool-output-v2gtqsm1.js} +15 -15
- package/dist/chunks/{model-tvs942hr.js → tool-output-v42401vs.js} +21 -21
- package/dist/chunks/{model-nyzphh1c.js → tool-output-v9vr9943.js} +18 -18
- package/dist/chunks/{model-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/tool-output-vfeyjw6g.js +523 -0
- package/dist/chunks/{model-m37sd98t.js → tool-output-vmfhgzt5.js} +4 -4
- package/dist/chunks/{model-cbvv1y68.js → tool-output-vx3jgdek.js} +3 -3
- package/dist/chunks/{model-wsjw5zph.js → tool-output-w35wk246.js} +19 -19
- package/dist/chunks/{model-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-c1hv1ece.js → tool-output-w5htd40q.js} +16 -16
- package/dist/chunks/{model-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{model-20d9rxq1.js → tool-output-wedq2s1n.js} +11 -11
- package/dist/chunks/{model-fa339sjc.js → tool-output-wf83r483.js} +28 -28
- package/dist/chunks/{model-8633aewc.js → tool-output-wgnf5zhk.js} +2 -2
- package/dist/chunks/{model-j2gfe9ae.js → tool-output-wjc56gzf.js} +32 -32
- package/dist/chunks/{model-qxerc9ee.js → tool-output-wm4529mk.js} +4 -4
- package/dist/chunks/{model-rb6ke7kq.js → tool-output-wp8cf92c.js} +21 -21
- package/dist/chunks/{model-g8vb2scg.js → tool-output-ws10xz6w.js} +14 -14
- package/dist/chunks/{model-tq4xd5v5.js → tool-output-wxmyhsez.js} +6 -6
- package/dist/chunks/{model-5bj5kag9.js → tool-output-wxsjgajd.js} +13 -13
- package/dist/chunks/{model-9zpxcqdf.js → tool-output-wyef362n.js} +22 -22
- package/dist/chunks/{model-r6h7fdbc.js → tool-output-x147gj8q.js} +23 -23
- package/dist/chunks/{model-7bjqyjrs.js → tool-output-x1edc6rz.js} +33 -33
- package/dist/chunks/{model-99h9c51m.js → tool-output-xcqg2a4v.js} +10 -10
- package/dist/chunks/{model-54bbrvq7.js → tool-output-xjbg8z6j.js} +11 -11
- package/dist/chunks/{model-3vq194ty.js → tool-output-xyjyzs8x.js} +18 -18
- package/dist/chunks/{model-vkkc8t8a.js → tool-output-xzg8yhtc.js} +9 -9
- package/dist/chunks/{model-zgmrepvs.js → tool-output-y00x4xpa.js} +4 -4
- package/dist/chunks/{model-fsq1pbsz.js → tool-output-y150bje3.js} +30 -30
- package/dist/chunks/{model-g8bt1dca.js → tool-output-y4dk34dd.js} +11 -11
- package/dist/chunks/{model-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-czhx5hsv.js → tool-output-yd1f0tk7.js} +11 -11
- package/dist/chunks/{model-4pr8e29t.js → tool-output-yfsz5fxv.js} +15 -15
- package/dist/chunks/{model-mq0mqgjr.js → tool-output-yj87g6ga.js} +11 -11
- package/dist/chunks/{model-1r91ydea.js → tool-output-yr9cnj92.js} +4 -4
- package/dist/chunks/{model-kw3tz860.js → tool-output-yv12yyqt.js} +12 -12
- package/dist/chunks/{model-fhzt8j0q.js → tool-output-ywhmtaft.js} +18 -18
- package/dist/chunks/{model-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-jfgmzhvh.js → tool-output-z2vdc9zv.js} +32 -32
- package/dist/chunks/tool-output-z355x5yr.js +18 -0
- package/dist/chunks/{model-67zb0nc8.js → tool-output-z38egdw8.js} +13 -13
- package/dist/chunks/{model-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
- package/dist/chunks/{model-s2gphw67.js → tool-output-z65n0b11.js} +21 -21
- package/dist/chunks/{model-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-gc9zf11p.js → tool-output-zqn9s4re.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +107 -102
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +71 -0
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/mcp/client.d.ts +7 -2
- package/dist/types/mcp/index.d.ts +8 -1
- package/dist/types/mcp/socket-client.d.ts +28 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-6f6jf5mb.js +0 -26
- package/dist/chunks/model-ggyjb5de.js +0 -523
- package/dist/chunks/model-grzehpz7.js +0 -18
- package/dist/chunks/model-wvqgfgh4.js +0 -257
- /package/dist/chunks/{model-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → tool-output-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a058387c.js → tool-output-a058387c.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-yd1f0tk7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5epaxwsw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID18,
|
|
9
|
+
Event20,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./tool-output-eendxhec.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-rrad2nt9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-gdvg1v0w.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
Service76
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-output-md8c097b.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./tool-output-3aracdxg.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-9fk2bqmm.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,17 +63,17 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make5(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
76
|
+
const credentials = yield* Service84;
|
|
77
77
|
const providers = yield* Service76;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
@@ -100,11 +100,11 @@ function make9(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make9(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make9(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make9(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make9(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make9(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make9(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make9(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make9(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID13.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID13.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make9(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make9(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID13.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID13.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make9(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID13.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make5();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID12.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make5, AzurePlugin2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event17,
|
|
13
|
+
ID: () => ID15,
|
|
14
|
+
Info: () => Info25,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID15 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info25 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event17 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID15, Current3, Info25, UpdateInput4, Event17, Vcs3, exports_schema };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-yd1f0tk7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5epaxwsw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./tool-output-eendxhec.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-gdvg1v0w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./tool-output-md8c097b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-3aracdxg.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID16.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service66,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node69
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service66 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service66, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service66.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service38, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node69 = makeGlobalNode({ service: Service66, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service66, node69, exports_environment };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./tool-output-md8c097b.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9fk2bqmm.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./tool-output-52fzkx6b.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service68;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service49,
|
|
17
|
+
node52
|
|
18
|
+
} from "./tool-output-e8nh79sb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node77
|
|
22
|
+
} from "./tool-output-31wms35x.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-output-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service41,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node44
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service41 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service49;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service41.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node44 = makeLocationNode({
|
|
277
|
+
service: Service41,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node77, node52]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service41, node44, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./tool-output-45fm8dkf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./tool-output-e8nh79sb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin49
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin49 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service71;
|
|
26
|
+
const image = yield* Service49;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin9 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin49, exports_image };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-5epaxwsw.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node5, exports_sdk };
|