@opencode/core 0.0.0-dev-20288 → 0.0.0-dev-20290
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{schema-g7zmhxpe.js → pty-00pys7g3.js} +32 -32
- package/dist/chunks/{schema-rhjbct0v.js → pty-0gdmqesm.js} +4 -4
- package/dist/chunks/{schema-nrqyh1vy.js → pty-0kptsf41.js} +23 -23
- package/dist/chunks/{schema-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-3qc7rb3n.js → pty-12m9tcs5.js} +13 -13
- package/dist/chunks/{schema-rxe9kw1p.js → pty-166nas2n.js} +75 -75
- package/dist/chunks/{schema-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-rayvshcv.js → pty-1r4hg1ab.js} +78 -78
- package/dist/chunks/{schema-k1hbv25z.js → pty-1sspf4zp.js} +11 -11
- package/dist/chunks/{schema-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{schema-p9zde1ds.js → pty-22pf21tc.js} +4 -4
- package/dist/chunks/{schema-6e4wfwfn.js → pty-25wmepd2.js} +13 -13
- package/dist/chunks/{schema-ar5g7bvd.js → pty-298khz9n.js} +25 -25
- package/dist/chunks/{schema-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-asn7e76h.js → pty-2qp1m1e2.js} +12 -12
- package/dist/chunks/{schema-8add9gat.js → pty-2xv95c3w.js} +15 -15
- package/dist/chunks/{schema-tqae5094.js → pty-31j2dbav.js} +5 -5
- package/dist/chunks/{schema-mfqp6xfm.js → pty-33w4ejhs.js} +9 -9
- package/dist/chunks/{schema-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-c4cjbe88.js → pty-3gxahddg.js} +7 -7
- package/dist/chunks/{schema-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-y66yym3e.js → pty-3sm5tmhn.js} +33 -33
- package/dist/chunks/{schema-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-jbvsa6eq.js → pty-47rn6gb0.js} +7 -7
- package/dist/chunks/{schema-1dngr6ye.js → pty-4fj5vy9w.js} +31 -31
- package/dist/chunks/{schema-zm01gqxz.js → pty-4j5pe0vj.js} +21 -21
- package/dist/chunks/{schema-trbrt766.js → pty-4m37mf4n.js} +1 -1
- package/dist/chunks/{schema-6tnpemwz.js → pty-4seh7fh4.js} +9 -9
- package/dist/chunks/{schema-2pkp6zs4.js → pty-4t6c091a.js} +15 -15
- package/dist/chunks/{schema-1k7rwa7s.js → pty-4yn5zrg4.js} +10 -10
- package/dist/chunks/{schema-w4d3zdxr.js → pty-4zpej1ag.js} +5 -5
- package/dist/chunks/{schema-5g297g80.js → pty-547v9var.js} +11 -11
- package/dist/chunks/{schema-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-rd34n9kj.js → pty-56d7j3tv.js} +27 -27
- package/dist/chunks/{schema-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-syf57q56.js → pty-5dkn69vz.js} +4 -4
- package/dist/chunks/{schema-pk2244jm.js → pty-5epte933.js} +3 -3
- package/dist/chunks/{schema-rkw03b1m.js → pty-5ggvksrg.js} +29 -29
- package/dist/chunks/{schema-0dqxrc4m.js → pty-5k8pr68x.js} +4 -4
- package/dist/chunks/{schema-t86dzknw.js → pty-5r8pgr53.js} +5 -5
- package/dist/chunks/{schema-8nq6hfsb.js → pty-5rqh976q.js} +6 -6
- package/dist/chunks/{schema-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-jkvmawpd.js → pty-5v9sj2jh.js} +7 -7
- package/dist/chunks/{schema-62bk2p8n.js → pty-5xrxk02f.js} +8 -8
- package/dist/chunks/{schema-d2krc34p.js → pty-5ynr4ewv.js} +13 -13
- package/dist/chunks/{schema-mtmx6r04.js → pty-63xt2gg6.js} +16 -16
- package/dist/chunks/{schema-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{schema-5yspremq.js → pty-69eq3qtv.js} +2 -2
- package/dist/chunks/{schema-3erybzfn.js → pty-6bncvy53.js} +15 -15
- package/dist/chunks/{schema-k42ydg5t.js → pty-6faamtbd.js} +24 -24
- package/dist/chunks/{schema-710btjv2.js → pty-6gp8watj.js} +14 -14
- package/dist/chunks/{schema-n2kah95r.js → pty-6hcnmam1.js} +6 -6
- package/dist/chunks/{schema-fwwk8vbp.js → pty-6hjx5zpb.js} +9 -9
- package/dist/chunks/{schema-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-1rdgat8x.js → pty-6n7pjf9k.js} +9 -9
- package/dist/chunks/{schema-1p07q0wb.js → pty-6pc27hjz.js} +8 -8
- package/dist/chunks/{schema-2dx4sdv9.js → pty-6rqaarfj.js} +14 -14
- package/dist/chunks/{schema-fwmc3p2a.js → pty-6z415m3h.js} +3 -3
- package/dist/chunks/{schema-154cngd0.js → pty-6zycmakc.js} +11 -11
- package/dist/chunks/{schema-49exe669.js → pty-705e2ap1.js} +5 -5
- package/dist/chunks/{schema-1c7fnsvx.js → pty-7101ktrf.js} +8 -8
- package/dist/chunks/{schema-mqvqsp83.js → pty-77p2n3ka.js} +32 -32
- package/dist/chunks/{schema-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{schema-153eqg7a.js → pty-7hs0hr17.js} +21 -21
- package/dist/chunks/{schema-n0pywpq4.js → pty-7tha5tbn.js} +6 -6
- package/dist/chunks/{schema-p0vqbhj1.js → pty-7tnxghr4.js} +25 -25
- package/dist/chunks/{schema-d737nyfv.js → pty-7v81x33d.js} +9 -9
- package/dist/chunks/{schema-57cn2fac.js → pty-839b17zc.js} +43 -43
- package/dist/chunks/{schema-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{schema-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-agpybfmq.js → pty-8p7750b3.js} +34 -34
- package/dist/chunks/{schema-bavh6hmm.js → pty-8qkhqjvg.js} +12 -12
- package/dist/chunks/{schema-31ajhxg6.js → pty-8rz6jvcp.js} +13 -13
- package/dist/chunks/{schema-3hyet2nj.js → pty-8ym6e508.js} +12 -12
- package/dist/chunks/{schema-dks45fbe.js → pty-903617vw.js} +12 -12
- package/dist/chunks/{schema-7j2qha59.js → pty-91p1v22t.js} +8 -8
- package/dist/chunks/{schema-8magacmx.js → pty-93xvzgtc.js} +41 -41
- package/dist/chunks/{schema-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{schema-72bnveqp.js → pty-95ws1gjh.js} +1 -1
- package/dist/chunks/{schema-rd5nw8th.js → pty-9aja3qk6.js} +3 -3
- package/dist/chunks/{schema-2q85j725.js → pty-9gca7nqa.js} +1 -1
- package/dist/chunks/{schema-ryxzba5a.js → pty-9gqjtvj6.js} +76 -76
- package/dist/chunks/{schema-cmwkp3r5.js → pty-9hn6k4tm.js} +8 -8
- package/dist/chunks/{schema-p642a9hn.js → pty-9mwkpmby.js} +27 -27
- package/dist/chunks/{schema-tpw8qqng.js → pty-9r73yh2k.js} +19 -19
- package/dist/chunks/{schema-r628jyme.js → pty-9wn9fhxy.js} +2 -2
- package/dist/chunks/{schema-f2py9ab6.js → pty-a14qddyf.js} +18 -18
- package/dist/chunks/{schema-he3390vg.js → pty-a3ymefbh.js} +4 -4
- package/dist/chunks/{schema-vqfr7fmp.js → pty-a51vj2sy.js} +24 -24
- package/dist/chunks/{schema-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-evbgk2k8.js → pty-ag9w8cw1.js} +5 -5
- package/dist/chunks/{schema-0v53mg2y.js → pty-an7cqtb7.js} +4 -4
- package/dist/chunks/{schema-jc4vhaqb.js → pty-ash4hwch.js} +9 -9
- package/dist/chunks/{schema-m6frs5w8.js → pty-b1xes142.js} +22 -22
- package/dist/chunks/{schema-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-v7pzj4a7.js → pty-b8pxkphb.js} +13 -13
- package/dist/chunks/{schema-r8pz5scw.js → pty-bskxk100.js} +6 -6
- package/dist/chunks/{schema-0ssx9rk5.js → pty-bvz46swk.js} +30 -30
- package/dist/chunks/{schema-3nttf8hh.js → pty-bwv6jga4.js} +132 -132
- package/dist/chunks/{schema-6va2t7at.js → pty-c36kazt5.js} +11 -11
- package/dist/chunks/{schema-54tcyq79.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{schema-jwygws3r.js → pty-cyyr2ryx.js} +14 -14
- package/dist/chunks/{schema-20y62ag7.js → pty-cz9at8s3.js} +10 -10
- package/dist/chunks/{schema-gfa817nt.js → pty-d6zc0yrw.js} +43 -43
- package/dist/chunks/{schema-nzpgeyy9.js → pty-db9gxvpc.js} +27 -27
- package/dist/chunks/{schema-f6bw9b7d.js → pty-dh4n3axn.js} +29 -29
- package/dist/chunks/{schema-y3q03scc.js → pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{schema-dnxkq42g.js → pty-dnxkq42g.js} +1 -1
- package/dist/chunks/{schema-57b9ws8p.js → pty-drwq78ky.js} +5 -5
- package/dist/chunks/{schema-2dwzncdn.js → pty-dtpcx3sj.js} +22 -22
- package/dist/chunks/{schema-8a6ajmms.js → pty-dyhjeyw1.js} +10 -10
- package/dist/chunks/{schema-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-vdt39ctd.js → pty-ebqraxde.js} +12 -12
- package/dist/chunks/{schema-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-njpngphx.js → pty-emvsgpqw.js} +13 -13
- package/dist/chunks/{schema-kzdcqyn1.js → pty-engkm2d6.js} +5 -5
- package/dist/chunks/{schema-mhkvc446.js → pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{schema-dy4czjxa.js → pty-eracma60.js} +48 -48
- package/dist/chunks/{schema-ghvt0j6w.js → pty-erp3bzqc.js} +142 -142
- package/dist/chunks/{schema-pqce1zvc.js → pty-etnqkgne.js} +10 -10
- package/dist/chunks/{schema-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-dj0njyye.js → pty-f02r5e20.js} +11 -11
- package/dist/chunks/{schema-8waq4e86.js → pty-f05szktz.js} +21 -21
- package/dist/chunks/{schema-yp2x3t23.js → pty-f2n192rq.js} +4 -4
- package/dist/chunks/{schema-y1dkk1pz.js → pty-f4c1ttaq.js} +1 -1
- package/dist/chunks/{schema-2c7hjkzv.js → pty-f6gb79hb.js} +15 -15
- package/dist/chunks/{schema-reyfe09k.js → pty-f7csm4ve.js} +28 -28
- package/dist/chunks/{schema-x1443ggv.js → pty-f9g9yax9.js} +9 -9
- package/dist/chunks/{schema-pf3z77yb.js → pty-fq6n6ras.js} +11 -11
- package/dist/chunks/{schema-r33ff4dw.js → pty-fvanntqq.js} +4 -4
- package/dist/chunks/{schema-m1nj95vb.js → pty-fw473rf4.js} +19 -19
- package/dist/chunks/{schema-hetb5xxa.js → pty-g1ja7mqv.js} +15 -15
- package/dist/chunks/{schema-vqhejtjq.js → pty-g2eq9m13.js} +43 -43
- package/dist/chunks/{schema-7pr2hkwv.js → pty-g5agzp2h.js} +5 -5
- package/dist/chunks/{schema-j699j8bt.js → pty-g97bb4fb.js} +2 -2
- package/dist/chunks/{schema-13019pck.js → pty-gb7cfa7m.js} +6 -6
- package/dist/chunks/{schema-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-n72fdvhp.js → pty-gee5yzwp.js} +2 -2
- package/dist/chunks/{schema-yzyvjjcs.js → pty-gghfkarr.js} +4 -4
- package/dist/chunks/{schema-xk4x4c8s.js → pty-gkjzek3h.js} +14 -14
- package/dist/chunks/{schema-1jhyh66k.js → pty-gm6y06j9.js} +14 -14
- package/dist/chunks/{schema-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-8rbmd5w8.js → pty-gx3m57p0.js} +16 -16
- package/dist/chunks/{schema-6k275t53.js → pty-gy1zn137.js} +24 -24
- package/dist/chunks/{schema-ghd8rszk.js → pty-gy9sb033.js} +8 -8
- package/dist/chunks/{schema-427t97hr.js → pty-h5w29vws.js} +1 -1
- package/dist/chunks/{schema-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-hdab2k61.js → pty-hdab2k61.js} +1 -1
- package/dist/chunks/{schema-kb6gw2zp.js → pty-hehaxqkv.js} +4 -4
- package/dist/chunks/{schema-rqm599xb.js → pty-hzgv6j90.js} +11 -11
- package/dist/chunks/{schema-5qkxfyep.js → pty-j5208yae.js} +4 -4
- package/dist/chunks/{schema-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/pty-jqh9b0xq.js +18 -0
- package/dist/chunks/{schema-rh3808zc.js → pty-js3ryzpr.js} +9 -9
- package/dist/chunks/{schema-yrna4ww2.js → pty-k06rjv8x.js} +12 -12
- package/dist/chunks/{schema-c4xegnd6.js → pty-k2q1nrn1.js} +1 -1
- package/dist/chunks/{schema-2sdfkd6k.js → pty-k3zkbgx7.js} +12 -12
- package/dist/chunks/{schema-8te0ay4y.js → pty-k4wv29t5.js} +48 -48
- package/dist/chunks/{schema-cavxacsx.js → pty-k94pa5tz.js} +7 -7
- package/dist/chunks/{schema-6am4naay.js → pty-kadk3yqy.js} +41 -41
- package/dist/chunks/{schema-184xzt1m.js → pty-kcjjyj53.js} +18 -18
- package/dist/chunks/{schema-ap14k8bx.js → pty-kefs7twp.js} +20 -20
- package/dist/chunks/{schema-wv04wdpg.js → pty-krfrp5kz.js} +11 -11
- package/dist/chunks/{schema-ermxvwhp.js → pty-m0r31qfn.js} +4 -4
- package/dist/chunks/{schema-p5kx0wbj.js → pty-m21hmhy7.js} +19 -19
- package/dist/chunks/{schema-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-71pa356p.js → pty-m5gekzn4.js} +13 -13
- package/dist/chunks/{schema-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-kbev84wv.js → pty-mbeja11x.js} +13 -13
- package/dist/chunks/{schema-pzhynvvn.js → pty-md3t2qq1.js} +29 -29
- package/dist/chunks/{schema-4v2n3s64.js → pty-mh6b7rh2.js} +29 -29
- package/dist/chunks/{schema-v7m34wzh.js → pty-mjk8ns3s.js} +14 -14
- package/dist/chunks/{schema-ceetf7sw.js → pty-mvfdckk2.js} +6 -6
- package/dist/chunks/{schema-satgepa2.js → pty-mxe8gkry.js} +39 -39
- package/dist/chunks/{schema-n1hg9gss.js → pty-mxmb5cw3.js} +9 -9
- package/dist/chunks/{schema-5h8bm6z8.js → pty-n05etbth.js} +20 -20
- package/dist/chunks/{schema-1dc4swx6.js → pty-n7j8ea7m.js} +25 -25
- package/dist/chunks/{schema-5et802t6.js → pty-nh7v3r81.js} +2 -2
- package/dist/chunks/{schema-tt5x9kn1.js → pty-nna5ba44.js} +7 -7
- package/dist/chunks/{schema-scthj3mq.js → pty-nsd6ttt2.js} +34 -34
- package/dist/chunks/{schema-jjywpw55.js → pty-nw0j14yf.js} +15 -15
- package/dist/chunks/{schema-529ckhyj.js → pty-nwcqeccj.js} +3 -3
- package/dist/chunks/{schema-39akfy7j.js → pty-nwmgq5md.js} +29 -29
- package/dist/chunks/{schema-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{schema-hjcva307.js → pty-p6sc6xf4.js} +7 -7
- package/dist/chunks/{schema-pat95rpb.js → pty-p7hfcpb1.js} +3 -3
- package/dist/chunks/{schema-6rf66fs8.js → pty-pghs74jm.js} +8 -8
- package/dist/chunks/{schema-jzdd0kff.js → pty-pgwpntn4.js} +4 -4
- package/dist/chunks/{schema-8s4a65d9.js → pty-pj681x6p.js} +23 -23
- package/dist/chunks/{schema-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/pty-pm9ypstk.js +26 -0
- package/dist/chunks/{schema-ct7vea8c.js → pty-ppxj9f8n.js} +18 -18
- package/dist/chunks/{schema-axd5pf8v.js → pty-pqnsbq8t.js} +11 -11
- package/dist/chunks/{schema-25ejj73a.js → pty-pvh8k8j6.js} +1 -1
- package/dist/chunks/{schema-45m6e98y.js → pty-q3dqc3h2.js} +33 -33
- package/dist/chunks/{schema-m4f215s9.js → pty-q3dzamve.js} +12 -12
- package/dist/chunks/{schema-2z03pgs9.js → pty-q607fvbk.js} +20 -20
- package/dist/chunks/{schema-6cbrenz4.js → pty-q82q9exb.js} +3 -3
- package/dist/chunks/{schema-830gdwbz.js → pty-q9e230a9.js} +42 -42
- package/dist/chunks/{schema-9jbvj98d.js → pty-qby9dwvd.js} +8 -8
- package/dist/chunks/{schema-fhs97t90.js → pty-qg0jgkcp.js} +9 -9
- package/dist/chunks/{schema-1ddwhj9c.js → pty-qjzxgxpv.js} +1 -1
- package/dist/chunks/{schema-djszqvmq.js → pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{schema-9ms5jdqj.js → pty-qn8304n9.js} +319 -319
- package/dist/chunks/{schema-26f6mtej.js → pty-qr5c3gzw.js} +27 -27
- package/dist/chunks/{schema-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-v1661eqb.js → pty-r4vqcvbj.js} +25 -25
- package/dist/chunks/{schema-v26931bg.js → pty-r5e5zwbb.js} +34 -34
- package/dist/chunks/{schema-myez78q6.js → pty-rac3vem9.js} +33 -33
- package/dist/chunks/{schema-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-c0f37q3v.js → pty-rr0hpwez.js} +10 -10
- package/dist/chunks/{schema-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-j89jbpxd.js → pty-sgc66tsc.js} +26 -26
- package/dist/chunks/{schema-fmeq518m.js → pty-skxtpxf8.js} +10 -10
- package/dist/chunks/{schema-z4vpgnje.js → pty-sp625ab5.js} +3 -3
- package/dist/chunks/{schema-6e5qcf77.js → pty-spg8qqh0.js} +22 -22
- package/dist/chunks/{schema-ef206a6w.js → pty-sxzc4anv.js} +14 -14
- package/dist/chunks/{schema-xm7brr7w.js → pty-t713ny8j.js} +8 -8
- package/dist/chunks/{schema-2fh33aa7.js → pty-t94cx5vh.js} +6 -6
- package/dist/chunks/{schema-1krwkbj6.js → pty-t9teg1yf.js} +11 -11
- package/dist/chunks/{schema-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-bk7jaeqh.js → pty-tazp3vs0.js} +4 -4
- package/dist/chunks/{schema-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{schema-138ez4pn.js → pty-tebcm7m3.js} +21 -21
- package/dist/chunks/{schema-rz37p9h3.js → pty-tffeed3q.js} +12 -12
- package/dist/chunks/{schema-m8t9ns79.js → pty-tkg4d23p.js} +20 -20
- package/dist/chunks/{schema-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-fc6re8k6.js → pty-v6dqrb48.js} +11 -11
- package/dist/chunks/{schema-1dfj24yg.js → pty-v6pj48ph.js} +8 -8
- package/dist/chunks/{schema-fz4jx657.js → pty-v9efh8jq.js} +11 -11
- package/dist/chunks/{schema-2a1fkd0m.js → pty-va5acnyd.js} +9 -9
- package/dist/chunks/{schema-0v1f7a68.js → pty-vb9k7s1g.js} +6 -6
- package/dist/chunks/{schema-3e14t8xn.js → pty-vdjz1shn.js} +16 -16
- package/dist/chunks/{schema-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-btbmdjwj.js → pty-vfjhn2wd.js} +4 -4
- package/dist/chunks/{schema-50mzsvk4.js → pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{schema-j7ym9e45.js → pty-vz4jexq7.js} +8 -8
- package/dist/chunks/{schema-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-j9vwtd15.js → pty-vzxynfrx.js} +13 -13
- package/dist/chunks/{schema-b5q3f6sv.js → pty-w1rhgxjx.js} +20 -20
- package/dist/chunks/{schema-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-p1cpmwyf.js → pty-w9xbefsq.js} +11 -11
- package/dist/chunks/{schema-qjnxxf51.js → pty-wbkyxrgf.js} +5 -5
- package/dist/chunks/{schema-n0aj83jp.js → pty-wcdd63eg.js} +28 -28
- package/dist/chunks/{schema-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{schema-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{schema-7q99yrtt.js → pty-wet12kzw.js} +15 -15
- package/dist/chunks/{schema-tk3wk1e5.js → pty-wfr11ckr.js} +11 -11
- package/dist/chunks/{schema-mbsv9vj9.js → pty-wh872f6y.js} +8 -8
- package/dist/chunks/{schema-pjt7axjg.js → pty-wjahz7sy.js} +22 -22
- package/dist/chunks/{schema-cxfg4d91.js → pty-wkj69y2r.js} +4 -4
- package/dist/chunks/{schema-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-9f3e1ggy.js → pty-x9d5zs2r.js} +7 -7
- package/dist/chunks/{schema-1g7epwpd.js → pty-xb02k0wq.js} +7 -7
- package/dist/chunks/{schema-aab0xmbg.js → pty-xdbc7yds.js} +14 -14
- package/dist/chunks/{schema-dhnefc5h.js → pty-xh9bnhqc.js} +47 -47
- package/dist/chunks/{schema-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-44wx7dpn.js → pty-xtcsdhc6.js} +3 -3
- package/dist/chunks/{schema-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{schema-k1qrnqst.js → pty-yf10kn3d.js} +8 -8
- package/dist/chunks/{schema-99a7xnff.js → pty-ymjj4a8f.js} +23 -23
- package/dist/chunks/{schema-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-s8zy8myc.js → pty-yt0fqk68.js} +5 -5
- package/dist/chunks/{schema-68y7phbn.js → pty-ywv187z9.js} +12 -12
- package/dist/chunks/{schema-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{schema-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-fj1w1qxk.js → pty-z236ez34.js} +17 -17
- package/dist/chunks/{schema-p6fh795y.js → pty-z8njfdrm.js} +46 -46
- package/dist/chunks/{schema-8gxqpgph.js → pty-zav06jzw.js} +4 -4
- package/dist/chunks/{schema-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-690vtge2.js → pty-zmqnc1z2.js} +26 -26
- package/dist/chunks/{schema-jv0hjpkt.js → pty-zmzm6hpq.js} +3 -3
- package/dist/chunks/{schema-3sqwhcjh.js → pty-zp56f3pw.js} +29 -29
- package/dist/chunks/{schema-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-qw8akyjk.js → pty-zv15rf3h.js} +10 -10
- package/dist/chunks/{schema-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +91 -91
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +90 -90
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/schema-7fj5dwt0.js +0 -18
- package/dist/chunks/schema-c3z7xvjd.js +0 -26
- /package/dist/chunks/{schema-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./pty-d6zc0yrw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./pty-w9xbefsq.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin44 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const shell = yield* Service72;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin5 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin44, exports_shell2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
11
|
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -49,7 +49,7 @@ var Plugin23 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin23, exports_exa };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-dyhjeyw1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node61
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service59.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node61 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service59, locationLayer2, node61, exports_aisdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./pty-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service83,
|
|
10
|
-
node87
|
|
11
|
-
} from "./schema-3hyet2nj.js";
|
|
7
|
+
} from "./pty-zmzm6hpq.js";
|
|
12
8
|
import {
|
|
13
9
|
Service82,
|
|
14
10
|
node86
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./pty-8ym6e508.js";
|
|
12
|
+
import {
|
|
13
|
+
Service83,
|
|
14
|
+
node87
|
|
15
|
+
} from "./pty-ywv187z9.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -97,9 +97,9 @@ function fromRow(row) {
|
|
|
97
97
|
}
|
|
98
98
|
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service83;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -287,7 +287,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
287
287
|
var node85 = makeGlobalNode({
|
|
288
288
|
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node86, node88, FSUtil.node, node87, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
293
|
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-4fj5vy9w.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-5ynr4ewv.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service39,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node42
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service39 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service39.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node42 = makeGlobalNode({ service: Service39, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service39, makeLayer2, layer16, node42, exports_model_transport };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin26,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin26 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin26, exports_tool_input_repair };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./pty-wjahz7sy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service68;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./schema-3hyet2nj.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./pty-8ym6e508.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./pty-ywv187z9.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9wn9fhxy.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-jqh9b0xq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service68,
|
|
18
|
+
node71
|
|
19
|
+
} from "./pty-wjahz7sy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node25
|
|
22
|
+
} from "./pty-dtpcx3sj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./pty-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service6,
|
|
36
|
+
node: () => node7
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
47
|
+
const watcher = yield* Service68;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service6.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node7 = makeLocationNode({
|
|
106
|
+
service: Service6,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node71, FSUtil.node, node84, node87, node86, node25, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service6, node7, exports_location_watcher };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|