@opencode/core 0.0.0-dev-20131 → 0.0.0-dev-20134
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 +75 -75
- package/dist/chunks/{model-resolver-cfv23f3f.js → session-0528tbrg.js} +6 -6
- package/dist/chunks/{model-resolver-phpw85vv.js → session-07770t2t.js} +4 -4
- package/dist/chunks/{model-resolver-zbr1vv3b.js → session-0bt82gmx.js} +25 -25
- package/dist/chunks/{model-resolver-2c0njjec.js → session-0ftdk3xv.js} +5 -5
- package/dist/chunks/{model-resolver-z4qjxmbw.js → session-0fzxf6wc.js} +44 -44
- package/dist/chunks/{model-resolver-7gn1sa53.js → session-0gpqv0d7.js} +13 -13
- package/dist/chunks/session-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-jc64rqpz.js → session-0mez8tnt.js} +31 -31
- package/dist/chunks/{model-resolver-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-r98e92ep.js → session-0v53mg2y.js} +4 -4
- package/dist/chunks/{model-resolver-et80q73h.js → session-0y0jf8bz.js} +10 -10
- package/dist/chunks/{model-resolver-bmjpewtg.js → session-0ytmhta4.js} +7 -7
- package/dist/chunks/{model-resolver-r8xr0va3.js → session-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-06pr8t08.js → session-1appytgr.js} +40 -40
- package/dist/chunks/{model-resolver-1dazxqgg.js → session-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-vpg6s37p.js → session-1h321hfh.js} +14 -14
- package/dist/chunks/{model-resolver-wrmrmykr.js → session-1jfryw5c.js} +9 -9
- package/dist/chunks/{model-resolver-yr3xshr9.js → session-1n8ztckr.js} +17 -17
- package/dist/chunks/{model-resolver-g220c3ay.js → session-1pjm8rrq.js} +17 -17
- package/dist/chunks/{model-resolver-h9yqjvwa.js → session-1r8qbjr2.js} +19 -19
- package/dist/chunks/{model-resolver-y6mhz57t.js → session-1y283654.js} +4 -4
- package/dist/chunks/{model-resolver-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-6h73sxmp.js → session-2402vzrj.js} +5 -5
- package/dist/chunks/{model-resolver-z63w68vq.js → session-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-0hf9g8pg.js → session-2a6rn6yr.js} +6 -6
- package/dist/chunks/{model-resolver-5zmnbfpv.js → session-2cj6zq2v.js} +22 -22
- package/dist/chunks/{model-resolver-zgnhzt77.js → session-2p8k3371.js} +5 -5
- package/dist/chunks/{model-resolver-e2z5s1q4.js → session-2q16hf7k.js} +35 -35
- package/dist/chunks/{model-resolver-tep61x30.js → session-2r8e2ygh.js} +9 -9
- package/dist/chunks/{model-resolver-tdpndm1c.js → session-2xwkyk0m.js} +5 -5
- package/dist/chunks/{model-resolver-qrpa6y5p.js → session-2yfxt0v2.js} +20 -20
- package/dist/chunks/{model-resolver-jg7327rx.js → session-30m2zrq6.js} +33 -33
- package/dist/chunks/{model-resolver-qw9dfm9w.js → session-31gafaz8.js} +42 -42
- package/dist/chunks/{model-resolver-43xnf7n2.js → session-32zq83rw.js} +10 -10
- package/dist/chunks/{model-resolver-qtg64bph.js → session-37sfe3bm.js} +12 -12
- package/dist/chunks/{model-resolver-tn0aqsam.js → session-3cfzdc8e.js} +5 -5
- package/dist/chunks/{model-resolver-ys5e46m7.js → session-3cybq1qc.js} +22 -22
- package/dist/chunks/{model-resolver-8pdtxvwz.js → session-3dys93xp.js} +24 -24
- package/dist/chunks/{model-resolver-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-k315xvzq.js → session-4c6z1rqe.js} +25 -25
- package/dist/chunks/{model-resolver-818pfwc9.js → session-4sh8yqy7.js} +11 -11
- package/dist/chunks/{model-resolver-0dd3shfy.js → session-52fg0y7n.js} +36 -36
- package/dist/chunks/{model-resolver-ckecvw8r.js → session-54tcyq79.js} +2 -2
- package/dist/chunks/{model-resolver-mfqp6xfm.js → session-56gdpj1q.js} +6 -6
- package/dist/chunks/{model-resolver-4sn99hha.js → session-57ez7d0k.js} +7 -7
- package/dist/chunks/{model-resolver-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-jdn4y69x.js → session-5jwtz7hv.js} +25 -25
- package/dist/chunks/{model-resolver-bnn3ejb3.js → session-5rp2rwnm.js} +18 -18
- package/dist/chunks/{model-resolver-5t3nmthw.js → session-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-tfe0tp1v.js → session-5y73arsz.js} +25 -25
- package/dist/chunks/session-619r8v3y.js +18 -0
- package/dist/chunks/{model-resolver-gn5vz676.js → session-6642w2cj.js} +8 -8
- package/dist/chunks/{model-resolver-669tq793.js → session-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-36z62d1v.js → session-69n9b74f.js} +35 -35
- package/dist/chunks/{model-resolver-k9tmrhf2.js → session-6bfgap5x.js} +34 -34
- package/dist/chunks/{model-resolver-1a1kv4b6.js → session-6h7z503f.js} +23 -23
- package/dist/chunks/{model-resolver-dt787f91.js → session-6hcqq1md.js} +11 -11
- package/dist/chunks/{model-resolver-6msgmcgs.js → session-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-3gpdp23k.js → session-6p5y4ap8.js} +17 -17
- package/dist/chunks/{model-resolver-fv5cfh7k.js → session-6pbvtem2.js} +11 -11
- package/dist/chunks/{model-resolver-r3s0jvgk.js → session-6r0aqgw3.js} +19 -20
- package/dist/chunks/{model-resolver-yvvvp4gn.js → session-757464b7.js} +8 -8
- package/dist/chunks/{model-resolver-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → session-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-mptx0e16.js → session-7fppjafy.js} +11 -11
- package/dist/chunks/{model-resolver-4qaqz5hy.js → session-7k6cskgv.js} +26 -26
- package/dist/chunks/{model-resolver-syb9bdnb.js → session-7w017e43.js} +32 -32
- package/dist/chunks/{model-resolver-mtxspnbv.js → session-846b6z84.js} +6 -6
- package/dist/chunks/{model-resolver-mt4m7rgv.js → session-87v2rkm0.js} +36 -36
- package/dist/chunks/{model-resolver-xwmpr423.js → session-8agd9fkq.js} +11 -11
- package/dist/chunks/{model-resolver-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
- package/dist/chunks/session-8f20taex.js +26 -0
- package/dist/chunks/{model-resolver-dz80t97f.js → session-8fzhy9k1.js} +11 -11
- package/dist/chunks/{model-resolver-2pg8f252.js → session-8mh5gech.js} +4 -4
- package/dist/chunks/{model-resolver-skewz91w.js → session-8mm8tgpp.js} +8 -8
- package/dist/chunks/{model-resolver-7gtkwbed.js → session-8w9tkbk6.js} +24 -24
- package/dist/chunks/{model-resolver-14vnkz19.js → session-8wynew8m.js} +28 -28
- package/dist/chunks/{model-resolver-s5e1nvhr.js → session-95w19n7z.js} +4 -4
- package/dist/chunks/{model-resolver-mw06f09h.js → session-97t28psz.js} +4 -4
- package/dist/chunks/{model-resolver-36cdy2c1.js → session-9hhr22e8.js} +13 -13
- package/dist/chunks/{model-resolver-x3smdky3.js → session-9n0v50v7.js} +24 -24
- package/dist/chunks/{model-resolver-9d2rvs94.js → session-9ndmafen.js} +26 -26
- package/dist/chunks/{model-resolver-j63mkyf2.js → session-9qda6h90.js} +48 -48
- package/dist/chunks/{model-resolver-e97x7vbd.js → session-9tvbt0s9.js} +19 -19
- package/dist/chunks/{model-resolver-2z2h1d1a.js → session-9xk7dr53.js} +28 -28
- package/dist/chunks/{model-resolver-n0tq777j.js → session-9y0w708y.js} +8 -8
- package/dist/chunks/{model-resolver-6fatt4mk.js → session-a3ftg8j6.js} +9 -9
- package/dist/chunks/{model-resolver-z3nay82g.js → session-a881zpfh.js} +9 -9
- package/dist/chunks/{model-resolver-bkmpw4ys.js → session-a9v9eagy.js} +43 -43
- package/dist/chunks/{model-resolver-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-vxd8j8jx.js → session-af6afdkh.js} +11 -11
- package/dist/chunks/{model-resolver-n12nh7v3.js → session-ahy4c62g.js} +16 -16
- package/dist/chunks/{model-resolver-8rrp652e.js → session-axg2n8ne.js} +45 -45
- package/dist/chunks/{model-resolver-g190xswt.js → session-axmvebxj.js} +21 -21
- package/dist/chunks/{model-resolver-hkagk5ex.js → session-b09hzw3k.js} +2 -2
- package/dist/chunks/{model-resolver-31aac5dg.js → session-b2s36faa.js} +15 -15
- package/dist/chunks/{model-resolver-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-hkk23z5q.js → session-b9628qxg.js} +27 -27
- package/dist/chunks/{model-resolver-2kze60mb.js → session-bdfpx8x9.js} +89 -89
- package/dist/chunks/{model-resolver-prwkcbsp.js → session-bf5cr955.js} +6 -6
- package/dist/chunks/{model-resolver-7xpjqkkh.js → session-bfa7c5ax.js} +66 -66
- package/dist/chunks/{model-resolver-k0a3z2qz.js → session-bgc5ggmx.js} +4 -4
- package/dist/chunks/{model-resolver-34ffsfmk.js → session-bhvj0hck.js} +22 -22
- package/dist/chunks/{model-resolver-z07pqspn.js → session-bjtzbw4r.js} +3 -3
- package/dist/chunks/{model-resolver-nswx804b.js → session-bsek55kf.js} +5 -5
- package/dist/chunks/{model-resolver-tj563fq2.js → session-bynbkkrq.js} +12 -12
- package/dist/chunks/{model-resolver-xr3c7pyz.js → session-c216p07d.js} +22 -22
- package/dist/chunks/{model-resolver-h78w9zet.js → session-c3kbhwag.js} +14 -14
- package/dist/chunks/{model-resolver-26ytv93r.js → session-c5fcvd0r.js} +172 -172
- package/dist/chunks/{model-resolver-bsqx64w4.js → session-c651xxjb.js} +4 -4
- package/dist/chunks/{model-resolver-vtpkq4qf.js → session-cgf4qtyb.js} +1 -1
- package/dist/chunks/{model-resolver-jprx4acp.js → session-ck0y83mj.js} +32 -32
- package/dist/chunks/{model-resolver-5xtgfte3.js → session-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-vnzk026p.js → session-cr1xjst3.js} +18 -18
- package/dist/chunks/{model-resolver-ng7mjv9a.js → session-d169bmdp.js} +7 -7
- package/dist/chunks/{model-resolver-g5dq6450.js → session-d2vtx4rg.js} +15 -15
- package/dist/chunks/{model-resolver-wgtcm0m7.js → session-d8cw0a7r.js} +4 -4
- package/dist/chunks/{model-resolver-wg9731he.js → session-dg3w1nd5.js} +3 -3
- package/dist/chunks/{model-resolver-sekja6vn.js → session-dxxbt7kt.js} +27 -27
- package/dist/chunks/{model-resolver-fq1mb532.js → session-dzx7cgz6.js} +23 -23
- package/dist/chunks/{model-resolver-5qd3pb7m.js → session-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-d39wnbs3.js → session-e91n1vqx.js} +19 -19
- package/dist/chunks/{model-resolver-p44d8wdy.js → session-ead3g9p8.js} +5 -5
- package/dist/chunks/{model-resolver-ecfe7b91.js → session-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-zx1yj1rb.js → session-egf2vfdp.js} +5 -5
- package/dist/chunks/{model-resolver-wgj8gk84.js → session-egkessa9.js} +13 -13
- package/dist/chunks/{model-resolver-ktaf8h5s.js → session-en82kyyd.js} +30 -30
- package/dist/chunks/{model-resolver-7bw9czss.js → session-eq7y7ctg.js} +16 -16
- package/dist/chunks/{model-resolver-6zbaf6y6.js → session-eqgmqgzq.js} +46 -37
- package/dist/chunks/{model-resolver-2f06ph81.js → session-esm0w1b0.js} +16 -16
- package/dist/chunks/{model-resolver-etq0c3wd.js → session-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-mxvadrgb.js → session-ex14zv7q.js} +22 -22
- package/dist/chunks/{model-resolver-pad12jgs.js → session-f0dr2g2r.js} +6 -6
- package/dist/chunks/{model-resolver-xts25mas.js → session-f521skwk.js} +17 -17
- package/dist/chunks/{model-resolver-79daw15k.js → session-fgem8802.js} +19 -19
- package/dist/chunks/{model-resolver-r9gyrj3a.js → session-fgfhh57a.js} +34 -34
- package/dist/chunks/{model-resolver-11a63abd.js → session-fhg3967s.js} +14 -14
- package/dist/chunks/{model-resolver-84zt2byv.js → session-fhs97t90.js} +9 -9
- package/dist/chunks/{model-resolver-a2ew8a62.js → session-fm2qvscf.js} +4 -4
- package/dist/chunks/{model-resolver-pvyheege.js → session-g0cq5w32.js} +11 -11
- package/dist/chunks/{model-resolver-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-94ek1h2f.js → session-gfvb90ym.js} +2 -2
- package/dist/chunks/{model-resolver-g5j9y4s8.js → session-gk0ydg26.js} +5 -5
- package/dist/chunks/{model-resolver-ddvm9hbe.js → session-gmnv6hk3.js} +11 -11
- package/dist/chunks/{model-resolver-312373c7.js → session-gv0zjanc.js} +2 -2
- package/dist/chunks/{model-resolver-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-b9yq29xv.js → session-h3g6m2mf.js} +1 -1
- package/dist/chunks/{model-resolver-cpj0znwe.js → session-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-m8de87mw.js → session-h7hj17zd.js} +18 -18
- package/dist/chunks/{model-resolver-n1vacj9h.js → session-hcs4mqse.js} +17 -17
- package/dist/chunks/{model-resolver-zp1dewdg.js → session-heacpetk.js} +12 -12
- package/dist/chunks/{model-resolver-v5w6wnvh.js → session-hphs28j4.js} +5 -5
- package/dist/chunks/{model-resolver-cqv513mk.js → session-hs240eev.js} +10 -10
- package/dist/chunks/{model-resolver-48mqjw6a.js → session-j071fj1s.js} +4 -4
- package/dist/chunks/{model-resolver-j56e64zr.js → session-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-rz6dkkgy.js → session-jhp1ybt8.js} +11 -11
- package/dist/chunks/{model-resolver-0nz87m70.js → session-jkdp9jhx.js} +5 -5
- package/dist/chunks/{model-resolver-6c4rfp41.js → session-jmnp53ge.js} +29 -29
- package/dist/chunks/session-jqzvwjpb.js +507 -0
- package/dist/chunks/{model-resolver-tr5g7dwj.js → session-jr0ecf9h.js} +35 -35
- package/dist/chunks/{model-resolver-qn4ba14w.js → session-jv01nqvq.js} +5 -5
- package/dist/chunks/{model-resolver-2ksgs95r.js → session-jw82g7av.js} +8 -8
- package/dist/chunks/{model-resolver-ncjresk4.js → session-k1qrnqst.js} +8 -8
- package/dist/chunks/{model-resolver-k3c624dm.js → session-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-7q7n39pe.js → session-kb59fdpw.js} +4 -4
- package/dist/chunks/{model-resolver-wgcg4671.js → session-kcdjsgm9.js} +7 -7
- package/dist/chunks/{model-resolver-148hwcm1.js → session-kpx4374r.js} +39 -39
- package/dist/chunks/{model-resolver-b10wfwbh.js → session-kz2d9cr5.js} +20 -20
- package/dist/chunks/{model-resolver-m3fdjcah.js → session-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-4k1ett8m.js → session-m3wa6616.js} +3 -3
- package/dist/chunks/{model-resolver-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-nvga8as2.js → session-m9z7dnhm.js} +25 -25
- package/dist/chunks/{model-resolver-trkehavn.js → session-mjar7v5n.js} +42 -42
- package/dist/chunks/{model-resolver-f0f4082g.js → session-mm4nhw9r.js} +9 -9
- package/dist/chunks/{model-resolver-4xhhjths.js → session-mm5kxf07.js} +5 -5
- package/dist/chunks/{model-resolver-nsyvzat3.js → session-mmqmbv6r.js} +65 -65
- package/dist/chunks/{model-resolver-5qw9a524.js → session-mvcnf324.js} +11 -11
- package/dist/chunks/{model-resolver-p995c4qr.js → session-mxjgq0yr.js} +44 -44
- package/dist/chunks/{model-resolver-c4k5568r.js → session-n33gk849.js} +11 -11
- package/dist/chunks/{model-resolver-tbggjeq3.js → session-n37bveed.js} +11 -11
- package/dist/chunks/{model-resolver-mvpnggzp.js → session-nar7sgjh.js} +16 -16
- package/dist/chunks/{model-resolver-p5n4cgkg.js → session-nbnpf60z.js} +5 -5
- package/dist/chunks/{model-resolver-pws4t4z4.js → session-nd53eew0.js} +12 -12
- package/dist/chunks/{model-resolver-aye9t8w1.js → session-ne7kgqpw.js} +11 -11
- package/dist/chunks/{model-resolver-d70vg6w7.js → session-nqrs8mbf.js} +5 -5
- package/dist/chunks/{model-resolver-geazy0ga.js → session-p3c4k0ck.js} +22 -22
- package/dist/chunks/{model-resolver-02ycnm9p.js → session-p7047zcd.js} +6 -6
- package/dist/chunks/{model-resolver-m1g4ddbr.js → session-p7bz2hjw.js} +13 -13
- package/dist/chunks/{model-resolver-r1vxhqvv.js → session-p7r1y5kx.js} +3 -3
- package/dist/chunks/{model-resolver-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-30h5yzkb.js → session-pr8jm0zb.js} +15 -15
- package/dist/chunks/{model-resolver-wd3x2cqz.js → session-psazpmmj.js} +2 -2
- package/dist/chunks/{model-resolver-vs0p53ya.js → session-pxesn7xt.js} +32 -32
- package/dist/chunks/{model-resolver-1p07q0wb.js → session-py3kkmfq.js} +4 -4
- package/dist/chunks/{model-resolver-avgcnp2n.js → session-q0wmx86t.js} +27 -27
- package/dist/chunks/{model-resolver-eg6dkfdg.js → session-q2mqgyy2.js} +31 -31
- package/dist/chunks/{model-resolver-9qk46xax.js → session-q4zrs7xy.js} +8 -8
- package/dist/chunks/{model-resolver-bbqvnk4j.js → session-q963sbf3.js} +21 -21
- package/dist/chunks/{model-resolver-f9fdmeaf.js → session-q99gfn14.js} +23 -23
- package/dist/chunks/{model-resolver-hkfaxnqd.js → session-qasz7rhc.js} +18 -18
- package/dist/chunks/{model-resolver-xwk6kexd.js → session-qbjfyf75.js} +30 -30
- package/dist/chunks/{model-resolver-djszqvmq.js → session-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-resolver-da6awahp.js → session-qpeyhwm2.js} +11 -11
- package/dist/chunks/{model-resolver-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/session-r3de6286.js +252 -0
- package/dist/chunks/{model-resolver-rpdh6k9e.js → session-r538rb9z.js} +10 -10
- package/dist/chunks/{model-resolver-mvfsc1pv.js → session-r5x6zcsm.js} +3 -3
- package/dist/chunks/{model-resolver-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-02nrjc1r.js → session-rhjbct0v.js} +6 -6
- package/dist/chunks/{model-resolver-6ersrjne.js → session-rp8jz6x1.js} +6 -6
- package/dist/chunks/{model-resolver-e9e65bk8.js → session-rrc5e3ev.js} +29 -29
- package/dist/chunks/{model-resolver-yrznvahk.js → session-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-y7mjge6b.js → session-s53ftpkx.js} +7 -7
- package/dist/chunks/{model-resolver-4xkes3e0.js → session-s8dmgcs0.js} +20 -20
- package/dist/chunks/{model-resolver-8qxd8ywd.js → session-sckvzk98.js} +18 -18
- package/dist/chunks/{model-resolver-r94sc7mg.js → session-sh3phbfe.js} +22 -22
- package/dist/chunks/{model-resolver-fchfgkaj.js → session-sskd9ndy.js} +3 -3
- package/dist/chunks/{model-resolver-wskc8q6d.js → session-sz5vz1wf.js} +11 -11
- package/dist/chunks/{model-resolver-qrcgjn0g.js → session-t4ksqcr2.js} +13 -13
- package/dist/chunks/{model-resolver-n06j78b9.js → session-t59yd1q2.js} +35 -35
- package/dist/chunks/{model-resolver-baaqp4zd.js → session-t7n9q6bq.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-865wjsr0.js → session-tbjk1c8h.js} +6 -6
- package/dist/chunks/{model-resolver-z9ceva1d.js → session-tbx5hf51.js} +13 -13
- package/dist/chunks/{model-resolver-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-8daq0xa6.js → session-tf0e10et.js} +8 -8
- package/dist/chunks/{model-resolver-019v9s6p.js → session-tfepzakq.js} +17 -17
- package/dist/chunks/{model-resolver-8nvr8aa5.js → session-tfvxnwx3.js} +78 -78
- package/dist/chunks/{model-resolver-fb8vwq5a.js → session-thcmj08g.js} +43 -43
- package/dist/chunks/{model-resolver-g2yswn4q.js → session-tmga29hh.js} +25 -25
- package/dist/chunks/{model-resolver-59tns5gj.js → session-tn1tvvf8.js} +3 -3
- package/dist/chunks/{model-resolver-j85kw5b6.js → session-tneds97h.js} +1 -1
- package/dist/chunks/{model-resolver-tvtrv512.js → session-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-5fk90ppn.js → session-txb4y5xa.js} +21 -21
- package/dist/chunks/{model-resolver-40py8n81.js → session-v176d600.js} +4 -4
- package/dist/chunks/{model-resolver-wz37ky42.js → session-va3x5b40.js} +12 -12
- package/dist/chunks/{model-resolver-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-1443xh57.js → session-vnvh2nvt.js} +17 -17
- package/dist/chunks/{model-resolver-c8t27pbe.js → session-vq9shp4g.js} +22 -22
- package/dist/chunks/{model-resolver-fwwaqksj.js → session-vqv9rnx6.js} +20 -20
- package/dist/chunks/{model-resolver-ab36d4rp.js → session-vweq6sc1.js} +32 -32
- package/dist/chunks/{model-resolver-ktk6m7yv.js → session-vy4zg7qh.js} +12 -12
- package/dist/chunks/{model-resolver-380686fe.js → session-vz7jp237.js} +14 -14
- package/dist/chunks/{model-resolver-vzcthcp8.js → session-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-1xdh55zq.js → session-w10brcxe.js} +18 -18
- package/dist/chunks/{model-resolver-3jbh6hat.js → session-w3qgazy5.js} +24 -24
- package/dist/chunks/{model-resolver-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-bscb95cy.js → session-wnmqtqbz.js} +9 -9
- package/dist/chunks/{model-resolver-rgp9xjnz.js → session-wrjmr25m.js} +9 -9
- package/dist/chunks/{model-resolver-vjkdmr6a.js → session-wxzrhv2x.js} +60 -60
- package/dist/chunks/{model-resolver-5c96rnmg.js → session-x049st24.js} +9 -9
- package/dist/chunks/{model-resolver-xd8zv5eh.js → session-x07y8hs2.js} +10 -10
- package/dist/chunks/{model-resolver-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-kwrf6mrp.js → session-x9n1am6t.js} +4 -4
- package/dist/chunks/{model-resolver-57b9ws8p.js → session-xfkkasph.js} +7 -7
- package/dist/chunks/{model-resolver-xkntkrq7.js → session-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-h52b82t8.js → session-xwwwchq2.js} +9 -9
- package/dist/chunks/{model-resolver-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-ndmv45hp.js → session-y6f0p4jw.js} +3 -3
- package/dist/chunks/{model-resolver-y71avatq.js → session-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-pzf166vf.js → session-yd2wz4pz.js} +15 -15
- package/dist/chunks/{model-resolver-tabketkd.js → session-yjwwdrr3.js} +9 -9
- package/dist/chunks/{model-resolver-pfk6y5a9.js → session-yp43kvqs.js} +3 -3
- package/dist/chunks/{model-resolver-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-j2gs22te.js → session-yyq2f7ar.js} +23 -23
- package/dist/chunks/{model-resolver-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-7fgmj9zm.js → session-z2gmecgp.js} +50 -50
- package/dist/chunks/{model-resolver-154cngd0.js → session-z2sk8n0r.js} +5 -5
- package/dist/chunks/{model-resolver-cre1ds5y.js → session-z583c3vg.js} +9 -9
- package/dist/chunks/{model-resolver-reg6q42h.js → session-zd30eb5w.js} +5 -5
- package/dist/chunks/{model-resolver-w1ab7jb8.js → session-zdeyg35w.js} +26 -26
- package/dist/chunks/{model-resolver-zeh9ct20.js → session-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-jpvyrqpf.js → session-zqjvm1pw.js} +8 -8
- package/dist/chunks/{model-resolver-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- 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 +79 -79
- 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 +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +130 -130
- 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 +124 -124
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +99 -99
- 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 +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- 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-mutation.js +100 -100
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +120 -120
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- 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 +333 -333
- 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 +2 -2
- 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 +121 -121
- 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 +93 -93
- 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 +77 -77
- 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 +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- 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 +78 -78
- 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 +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- 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 +73 -73
- 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 +115 -115
- package/dist/session/model-transport.js +5 -5
- 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 +229 -229
- 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 +114 -114
- package/dist/session/runner/step.js +124 -124
- 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 +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +112 -112
- package/dist/snapshot.js +89 -89
- 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 +121 -121
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +1 -1
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/model-resolver-5m5mx5gm.js +0 -252
- package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
- package/dist/chunks/model-resolver-7fj5dwt0.js +0 -18
- package/dist/chunks/model-resolver-hha64avn.js +0 -26
- package/dist/chunks/model-resolver-sps9zgfa.js +0 -507
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → session-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → session-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → session-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → session-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./session-h7hj17zd.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./session-9hhr22e8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service64 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service68;
|
|
81
|
+
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event14.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service64.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event14.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event14.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node71, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event14, inspect2, resolve4, node67, exports_wellknown };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./session-mmqmbv6r.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin49 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input10, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./session-ne7kgqpw.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-54tcyq79.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info11,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node60
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service57.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info11, ListInput5, AddInput2, Service57, node60, exports_saved };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./session-9n0v50v7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service70,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-tbx5hf51.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./session-cr1xjst3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./session-mmqmbv6r.js";
|
|
15
15
|
import {
|
|
16
16
|
Service15
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-heacpetk.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin8,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin8 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
55
|
const access = yield* Service15;
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
56
|
+
const fileMutation = yield* Service70;
|
|
57
|
+
const environment = yield* Service71;
|
|
58
|
+
const formatter = yield* Service79;
|
|
59
|
+
const permission = yield* Service55;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output5, toModelContent5, Plugin8, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./session-8wynew8m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./session-mmqmbv6r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service55;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|