@opencode/core 0.0.0-dev-20170 → 0.0.0-dev-20180
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 +69 -69
- package/dist/chunks/{pty-1w51kcab.js → git-09d8031r.js} +32 -32
- package/dist/chunks/{pty-r369ybd3.js → git-0jw0xscs.js} +14 -14
- package/dist/chunks/{pty-b4xp5b4g.js → git-0n6mwmv5.js} +6 -6
- package/dist/chunks/{pty-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-dg2cj1yd.js → git-0pr3hkd7.js} +4 -4
- package/dist/chunks/{pty-vzqmaqpm.js → git-0v6jwyy3.js} +18 -18
- package/dist/chunks/{pty-47erbzba.js → git-114q0qvg.js} +11 -11
- package/dist/chunks/{pty-fwpk2wm7.js → git-11nfjzd7.js} +14 -14
- package/dist/chunks/{pty-8yen0vmk.js → git-1a08kc09.js} +19 -19
- package/dist/chunks/{pty-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-fjwmcm9g.js → git-1m9mvz04.js} +7 -7
- package/dist/chunks/{pty-5rt6txf8.js → git-1q898j1r.js} +18 -18
- package/dist/chunks/{pty-fne9b88m.js → git-1ydncxvh.js} +4 -4
- package/dist/chunks/{pty-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{pty-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-z63w68vq.js → git-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-pwf03s6r.js → git-2h9n59sv.js} +6 -6
- package/dist/chunks/{pty-37bbksa5.js → git-2hd68st2.js} +53 -53
- package/dist/chunks/{pty-2sejkfem.js → git-2sejkfem.js} +2 -2
- package/dist/chunks/{pty-ke9c0zby.js → git-2w73900m.js} +31 -31
- package/dist/chunks/{pty-07yh2w3s.js → git-2wj8n25z.js} +6 -6
- package/dist/chunks/{pty-kehatjqj.js → git-30m7dzgk.js} +11 -11
- package/dist/chunks/{pty-4z2qm7e6.js → git-30pwp36g.js} +10 -10
- package/dist/chunks/{pty-7w357n7h.js → git-369htbx8.js} +15 -15
- package/dist/chunks/{pty-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-00832hy7.js → git-3heg1ssy.js} +8 -8
- package/dist/chunks/{pty-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-0hbp2t3w.js → git-3jt824p6.js} +20 -20
- package/dist/chunks/{pty-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-z9ftkqee.js → git-3vrh6sd1.js} +9 -9
- package/dist/chunks/{pty-qsra982x.js → git-3wcq71ej.js} +3 -3
- package/dist/chunks/{pty-z1swwevk.js → git-3z8etzyw.js} +40 -40
- package/dist/chunks/{pty-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-3pbjq009.js → git-49w8mb30.js} +11 -11
- package/dist/chunks/{pty-ch9yp1pz.js → git-4atcys8t.js} +23 -23
- package/dist/chunks/{pty-eg2tb1rm.js → git-4cey7m6q.js} +11 -11
- package/dist/chunks/{pty-9gh63tf7.js → git-4d3460jv.js} +8 -8
- package/dist/chunks/{pty-ycxstv38.js → git-4h80zy7w.js} +11 -11
- package/dist/chunks/{pty-40y54r5c.js → git-4q3nzy60.js} +3 -3
- package/dist/chunks/{pty-jrm07jrz.js → git-4xxchepr.js} +18 -18
- package/dist/chunks/{pty-kahn2df4.js → git-4yeg4r3m.js} +13 -13
- package/dist/chunks/{pty-1ygqh575.js → git-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-57ez7d0k.js → git-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-r0841nan.js → git-5ab0pca5.js} +17 -17
- package/dist/chunks/{pty-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-6kspbkqh.js → git-5frpgbe6.js} +24 -24
- package/dist/chunks/{pty-mja4j6rb.js → git-5m30x6et.js} +14 -14
- package/dist/chunks/{pty-qmjzgd7a.js → git-5rqt673j.js} +42 -42
- package/dist/chunks/{pty-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-27ra7qpk.js → git-60at6cp5.js} +18 -18
- package/dist/chunks/{pty-c4n9gx9q.js → git-62600c50.js} +17 -17
- package/dist/chunks/{pty-5ar2sckv.js → git-666kj367.js} +5 -5
- package/dist/chunks/{pty-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{pty-36agyrng.js → git-67str9pe.js} +16 -16
- package/dist/chunks/{pty-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-nb301scj.js → git-6sjtj90m.js} +6 -6
- package/dist/chunks/{pty-jy93wyqx.js → git-6z9mwsmt.js} +24 -24
- package/dist/chunks/{pty-dfncrten.js → git-6zpczexw.js} +8 -8
- package/dist/chunks/{pty-73tb2d7t.js → git-73tb2d7t.js} +1 -1
- package/dist/chunks/{pty-mrz2mfwp.js → git-77ev5h06.js} +25 -25
- package/dist/chunks/{pty-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-2k8khapm.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-n158bs7w.js → git-7gp0zx07.js} +9 -9
- package/dist/chunks/{pty-nxhqveyz.js → git-7gvwkz6m.js} +5 -5
- package/dist/chunks/{pty-x6k9b9cw.js → git-80qyyxzp.js} +18 -18
- package/dist/chunks/{pty-cj3sqp0r.js → git-83h78zw0.js} +11 -11
- package/dist/chunks/{pty-3fqt7tyn.js → git-84073t5h.js} +25 -25
- package/dist/chunks/{pty-2gds47hr.js → git-860rnwef.js} +9 -9
- package/dist/chunks/{pty-2dejz1mq.js → git-89dkfx8j.js} +27 -27
- package/dist/chunks/{pty-te7gyzaz.js → git-8awf735n.js} +9 -9
- package/dist/chunks/{pty-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-8kjs0e52.js → git-8ehf9qx8.js} +2 -2
- package/dist/chunks/{pty-yhwy8nw2.js → git-8fhj4thy.js} +33 -33
- package/dist/chunks/{pty-wvtedn3t.js → git-8p4z7qek.js} +4 -4
- package/dist/chunks/{pty-py3kkmfq.js → git-8sze2n9a.js} +6 -6
- package/dist/chunks/{pty-27xgxgv2.js → git-8x95hpt8.js} +44 -44
- package/dist/chunks/{pty-7end9xac.js → git-91995yx2.js} +29 -29
- package/dist/chunks/{pty-0r7yqxbf.js → git-92a4ap4w.js} +5 -5
- package/dist/chunks/{pty-gfvb90ym.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-y8vthjxv.js → git-94tqfv3g.js} +12 -12
- package/dist/chunks/{pty-mqvas0bz.js → git-99x4at9v.js} +11 -11
- package/dist/chunks/{pty-b27vhd2z.js → git-a2ew8a62.js} +4 -4
- package/dist/chunks/{pty-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-3vqxbr3s.js → git-aamttb2x.js} +10 -10
- package/dist/chunks/{pty-dq0v80fr.js → git-afed7ext.js} +5 -5
- package/dist/chunks/{pty-t9zs3egg.js → git-an7cqtb7.js} +4 -4
- package/dist/chunks/{pty-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-1sxsykr6.js → git-b8kjk650.js} +8 -8
- package/dist/chunks/{pty-f73rjn58.js → git-baaqp4zd.js} +4 -4
- package/dist/chunks/{pty-f3eh0ser.js → git-bemvq2t2.js} +33 -33
- package/dist/chunks/{pty-a3c7ahw6.js → git-bgc5ggmx.js} +4 -4
- package/dist/chunks/{pty-x6vvseye.js → git-bh499fqr.js} +9 -9
- package/dist/chunks/{pty-33yknepq.js → git-bkynabhq.js} +24 -24
- package/dist/chunks/{pty-q4qsq2r1.js → git-brpwvc6v.js} +7 -7
- package/dist/chunks/{pty-jzsws37g.js → git-c0nbb22r.js} +10 -10
- package/dist/chunks/{pty-x4z8t7mn.js → git-c0ze6azg.js} +13 -13
- package/dist/chunks/{pty-dwwvf93g.js → git-ch4sbhb0.js} +11 -11
- package/dist/chunks/{pty-54tcyq79.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/git-ctefx7dc.js +18 -0
- package/dist/chunks/git-cvcxksr2.js +26 -0
- package/dist/chunks/{pty-se2405xg.js → git-cvjw7wsr.js} +8 -8
- package/dist/chunks/{pty-7febzfrp.js → git-cy4fed9j.js} +21 -21
- package/dist/chunks/{pty-xt0qjtha.js → git-cy9wafaf.js} +16 -16
- package/dist/chunks/{pty-f76fhdgf.js → git-cycs76hc.js} +3 -3
- package/dist/chunks/{pty-eqdtwbsd.js → git-cyhp5vj1.js} +3 -3
- package/dist/chunks/{pty-3pb9a38v.js → git-cyk2d3fq.js} +24 -24
- package/dist/chunks/{pty-t1kj1ks6.js → git-cytt16d4.js} +13 -13
- package/dist/chunks/{pty-twrb86q2.js → git-d3mxekym.js} +2 -2
- package/dist/chunks/{pty-pjz83rka.js → git-d62r6e8r.js} +136 -136
- package/dist/chunks/{pty-t70hw2aa.js → git-d93m8bwv.js} +27 -27
- package/dist/chunks/{pty-jmr301rc.js → git-d9v0jgcb.js} +21 -21
- package/dist/chunks/{pty-rw780tjq.js → git-dcb4ftaw.js} +1 -1
- package/dist/chunks/{pty-xkntkrq7.js → git-dmqcgk4z.js} +5 -5
- package/dist/chunks/{pty-rx2zrev4.js → git-dtnr7rkm.js} +17 -17
- package/dist/chunks/{pty-4xgaqrq2.js → git-e21mpqmm.js} +16 -16
- package/dist/chunks/{pty-7y7dz3xh.js → git-e252jyjm.js} +26 -26
- package/dist/chunks/{pty-5qd3pb7m.js → git-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-v2fqb831.js → git-e4mdbxmf.js} +5 -5
- package/dist/chunks/{pty-8vrhx02r.js → git-e66q86e2.js} +35 -35
- package/dist/chunks/{pty-gnk6yzfx.js → git-e89z02f5.js} +43 -43
- package/dist/chunks/{pty-54xnztgb.js → git-e9sbwmmk.js} +44 -44
- package/dist/chunks/{pty-ecfe7b91.js → git-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-c9fqa78w.js → git-ehrxfcx9.js} +7 -7
- package/dist/chunks/{pty-w6xjr483.js → git-end0w5gf.js} +13 -13
- package/dist/chunks/{pty-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-rgr7zy8c.js → git-ets61prm.js} +24 -24
- package/dist/chunks/{pty-7e8n9cs3.js → git-f2r29xz8.js} +37 -37
- package/dist/chunks/{pty-e2n265pm.js → git-f80p04w6.js} +8 -8
- package/dist/chunks/{pty-zz3dkezh.js → git-fcbfm0sn.js} +23 -23
- package/dist/chunks/{pty-x45rtsks.js → git-ff2gveh4.js} +17 -17
- package/dist/chunks/{pty-dwvzh0g2.js → git-fjvydvzm.js} +6 -6
- package/dist/chunks/{pty-1hpkc3d9.js → git-fm5zmhxr.js} +20 -20
- package/dist/chunks/{pty-t0fxg8b9.js → git-fpmq6gma.js} +5 -5
- package/dist/chunks/{pty-60t26s16.js → git-frtx2nz8.js} +15 -15
- package/dist/chunks/{pty-5n2dsd6w.js → git-fss1wqpp.js} +10 -10
- package/dist/chunks/{pty-ckqn5b0t.js → git-g0mmemcf.js} +17 -17
- package/dist/chunks/{pty-zrq8kphx.js → git-g1sxm558.js} +8 -8
- package/dist/chunks/{pty-qy4pzfzt.js → git-g92xzkhq.js} +5 -5
- package/dist/chunks/{pty-bbdm7xgf.js → git-g9ch0q6b.js} +16 -16
- package/dist/chunks/{pty-7xxh74w6.js → git-gb4zbcp8.js} +11 -11
- package/dist/chunks/{pty-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-r0kh7xsn.js → git-gjc5er36.js} +9 -9
- package/dist/chunks/{pty-ew0v584s.js → git-gng5hxs7.js} +23 -23
- package/dist/chunks/{pty-dnh4eggc.js → git-gppf410q.js} +30 -30
- package/dist/chunks/{pty-1p7f10vm.js → git-gs4tkc79.js} +8 -8
- package/dist/chunks/{pty-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-4n607a2z.js → git-h4z1mxff.js} +5 -5
- package/dist/chunks/{pty-5mtzsd3b.js → git-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-7fnyxttq.js → git-h7fdnx8v.js} +4 -4
- package/dist/chunks/{pty-99taak7k.js → git-h8r7rjgh.js} +33 -33
- package/dist/chunks/{pty-3vnaarfk.js → git-hazy572e.js} +16 -16
- package/dist/chunks/{pty-9gea571p.js → git-hdab2k61.js} +6 -6
- package/dist/chunks/{pty-9x77fmbz.js → git-hehaxqkv.js} +4 -4
- package/dist/chunks/{pty-nekn4kj4.js → git-hh3jtzcy.js} +9 -9
- package/dist/chunks/{pty-avjan795.js → git-hymttjhr.js} +9 -9
- package/dist/chunks/{pty-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-mg0z7gqm.js → git-j5cwm3bm.js} +5 -5
- package/dist/chunks/{pty-75wwy8y2.js → git-j67w5na4.js} +11 -11
- package/dist/chunks/{pty-jd6az1p0.js → git-jmarqnvm.js} +11 -11
- package/dist/chunks/{pty-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-5dmpnzwe.js → git-k96br1zw.js} +15 -15
- package/dist/chunks/{pty-9kmbd9mt.js → git-kbegyq1c.js} +2 -2
- package/dist/chunks/{pty-5nqyfg55.js → git-kenzbab6.js} +24 -24
- package/dist/chunks/{pty-mv4t038k.js → git-kjwmhxpf.js} +4 -4
- package/dist/chunks/{pty-nzfzj4ee.js → git-kpk8zhaq.js} +20 -20
- package/dist/chunks/{pty-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-8njz7rt2.js → git-m4gdtjrg.js} +15 -15
- package/dist/chunks/{pty-6d77vjf5.js → git-m9mm3axp.js} +26 -26
- package/dist/chunks/{pty-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-5b0bje4b.js → git-may19ace.js} +19 -19
- package/dist/chunks/{pty-8d0p2m37.js → git-mgmaefw5.js} +3 -3
- package/dist/chunks/{pty-6dxfrfn6.js → git-mkegk1gd.js} +29 -29
- package/dist/chunks/{pty-nndwhze1.js → git-mmwan2gk.js} +15 -15
- package/dist/chunks/{pty-prc9mp0v.js → git-mr3aysrj.js} +24 -24
- package/dist/chunks/{pty-cx803r68.js → git-mscdvfrd.js} +4 -4
- package/dist/chunks/{pty-ezqh9axr.js → git-mt57nh0v.js} +16 -16
- package/dist/chunks/{pty-kjhqpjf5.js → git-mx3acdr1.js} +3 -3
- package/dist/chunks/{pty-8anx25cs.js → git-n19t397f.js} +22 -22
- package/dist/chunks/{pty-1ed2t66p.js → git-n1ka8r9d.js} +4 -4
- package/dist/chunks/{pty-mf9m2v67.js → git-n7d88tpn.js} +3 -3
- package/dist/chunks/{pty-9by0nc1z.js → git-n9esk63t.js} +22 -22
- package/dist/chunks/{pty-j1dhetpm.js → git-nhf6180g.js} +8 -8
- package/dist/chunks/{pty-cgtg3r0q.js → git-nkbv9bpr.js} +313 -313
- package/dist/chunks/{pty-2bc87pvv.js → git-nqpk6sgc.js} +7 -7
- package/dist/chunks/{pty-kba9tdab.js → git-nth02yt4.js} +12 -12
- package/dist/chunks/{pty-w6yz6n38.js → git-ny5pcte9.js} +156 -156
- package/dist/chunks/{pty-dv4smdre.js → git-p7e63y9d.js} +18 -18
- package/dist/chunks/{pty-pa8pe2x7.js → git-pa8pe2x7.js} +1 -1
- package/dist/chunks/{pty-afp6dc07.js → git-pb6cen25.js} +10 -10
- package/dist/chunks/{pty-3rkt7740.js → git-pd1ntcfr.js} +14 -14
- package/dist/chunks/{pty-17y8z6sp.js → git-pfm9gbeb.js} +3 -3
- package/dist/chunks/{pty-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{pty-k53npxr2.js → git-pnqe9gv0.js} +1 -1
- package/dist/chunks/{pty-qgyvxnrz.js → git-q35enfgt.js} +3 -3
- package/dist/chunks/{pty-exr53306.js → git-q95ya1jw.js} +33 -33
- package/dist/chunks/{pty-67d35v68.js → git-qf43y6bq.js} +11 -11
- package/dist/chunks/{pty-nq7qbqzc.js → git-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-6d6xcght.js → git-qk0gpxf2.js} +8 -8
- package/dist/chunks/{pty-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-bc1mwsm1.js → git-qzx88zny.js} +20 -20
- package/dist/chunks/{pty-9kzv5r3t.js → git-rd143bxj.js} +5 -5
- package/dist/chunks/{pty-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-221x7bq0.js → git-rgs1nxgt.js} +18 -18
- package/dist/chunks/{pty-3gnkk110.js → git-rke4besn.js} +6 -6
- package/dist/chunks/{pty-cbamtmth.js → git-rny04ytj.js} +8 -8
- package/dist/chunks/{pty-vfcs7mkg.js → git-rr6984r4.js} +23 -23
- package/dist/chunks/{pty-ag3twsq1.js → git-rtathh62.js} +8 -8
- package/dist/chunks/{pty-hx5dphvg.js → git-rx7w6kha.js} +48 -48
- package/dist/chunks/{pty-3yakcpj9.js → git-s0d28j9p.js} +24 -24
- package/dist/chunks/{pty-xazd4z7p.js → git-s2n17b9m.js} +20 -20
- package/dist/chunks/{pty-yrznvahk.js → git-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-2h9st16x.js → git-s7s657b9.js} +14 -14
- package/dist/chunks/{pty-9zdcvzy0.js → git-sj9kkzcn.js} +26 -26
- package/dist/chunks/{pty-vp2t77bj.js → git-smrz51yc.js} +5 -5
- package/dist/chunks/{pty-bv318s69.js → git-sr6b03ft.js} +20 -20
- package/dist/chunks/{pty-0ft9cg2j.js → git-ss0awb04.js} +6 -6
- package/dist/chunks/{pty-571ezfbc.js → git-ss7d1vek.js} +11 -11
- package/dist/chunks/{pty-45tygp0h.js → git-swp2mva0.js} +30 -30
- package/dist/chunks/{pty-f3ngv102.js → git-t51qk8jz.js} +21 -21
- package/dist/chunks/{pty-eaj1djv9.js → git-t550f9t1.js} +8 -8
- package/dist/chunks/{pty-rt925ear.js → git-t9kh7ffs.js} +11 -11
- package/dist/chunks/{pty-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tjedn1bk.js → git-tbmac1c7.js} +4 -4
- package/dist/chunks/{pty-yttzf3nj.js → git-tbv16z2n.js} +4 -4
- package/dist/chunks/{pty-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{pty-0f7yvzkx.js → git-tej6vbjz.js} +10 -10
- package/dist/chunks/{pty-3p6y7fhg.js → git-thnfwydy.js} +32 -32
- package/dist/chunks/{pty-nefa8w28.js → git-thq55e10.js} +17 -17
- package/dist/chunks/{pty-v6aqgby1.js → git-tjaz3ert.js} +16 -16
- package/dist/chunks/{pty-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-t9ag37r3.js → git-v2qc2ynm.js} +21 -21
- package/dist/chunks/{pty-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-bc0ha7f3.js → git-vjmtwjf8.js} +73 -73
- package/dist/chunks/{pty-bh8ht1d2.js → git-vk04hqkj.js} +7 -7
- package/dist/chunks/{pty-ss96nb5e.js → git-vkc0skh6.js} +8 -8
- package/dist/chunks/{pty-gfmqcfkq.js → git-vkg4cfmh.js} +11 -11
- package/dist/chunks/{pty-8wqe6q5q.js → git-vq9f2bt3.js} +74 -74
- package/dist/chunks/{pty-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-3bbgm4hs.js → git-w7y24cr5.js} +19 -19
- package/dist/chunks/{pty-psazpmmj.js → git-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{pty-0996nyz8.js → git-wk5z6jzv.js} +9 -9
- package/dist/chunks/{pty-eh24cpx8.js → git-wtwjc2y3.js} +8 -8
- package/dist/chunks/{pty-a2ywx13m.js → git-wtznwfdr.js} +1 -1
- package/dist/chunks/{pty-zn493atz.js → git-wy9kf037.js} +10 -10
- package/dist/chunks/{pty-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-97fmyryk.js → git-x79d2r0k.js} +9 -9
- package/dist/chunks/{pty-nfzmfrje.js → git-x9zytbhm.js} +6 -6
- package/dist/chunks/{pty-gje89n48.js → git-xe0rw7pk.js} +28 -28
- package/dist/chunks/{pty-1813d5zh.js → git-xf3b7ak0.js} +13 -13
- package/dist/chunks/{pty-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{pty-6rm04a4d.js → git-xgdt0b3g.js} +6 -6
- package/dist/chunks/{pty-hxf9ag7d.js → git-xh2n1tx9.js} +43 -43
- package/dist/chunks/{pty-60vycrkp.js → git-xnxs98wq.js} +27 -27
- package/dist/chunks/{pty-979hjcpa.js → git-xtqytmaw.js} +34 -34
- package/dist/chunks/{pty-xbps7699.js → git-xy26ekgv.js} +12 -12
- package/dist/chunks/{pty-41tapkvj.js → git-xyqxxema.js} +42 -42
- package/dist/chunks/{pty-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{pty-vxp3kcg3.js → git-y906m0ew.js} +5 -5
- package/dist/chunks/{pty-ebzz9p7s.js → git-y9ddfctt.js} +13 -13
- package/dist/chunks/{pty-tx7gh1kr.js → git-ynctgny0.js} +37 -37
- package/dist/chunks/{pty-1acjjqhc.js → git-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-9wbp47sd.js → git-ytzyys1x.js} +3 -3
- package/dist/chunks/{pty-2v6ca730.js → git-yw133b83.js} +10 -10
- package/dist/chunks/{pty-bjtzbw4r.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-v64esaz8.js → git-z4eg18an.js} +11 -11
- package/dist/chunks/{pty-p7656wpr.js → git-z97943y0.js} +25 -25
- package/dist/chunks/{pty-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-45y21gs0.js → git-zmn0srxy.js} +20 -20
- package/dist/chunks/{pty-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-c72g4n35.js → git-zv3zq7g4.js} +5 -5
- package/dist/chunks/{pty-ph20cxtq.js → git-zvwz45r0.js} +9 -9
- package/dist/chunks/{pty-jyb2y6gr.js → git-zw6dw17q.js} +13 -13
- package/dist/chunks/{pty-372k5868.js → git-zw786g3k.js} +24 -24
- package/dist/chunks/{pty-zxq2ej10.js → git-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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +123 -123
- 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 +123 -123
- 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 +122 -122
- 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 +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +70 -70
- package/dist/file-access.js +104 -104
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- 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 +132 -132
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- 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 +96 -96
- package/dist/mcp/instructions.js +124 -124
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +1 -1
- 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 +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 +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- 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 +349 -349
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- 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/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +150 -150
- 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 +218 -218
- 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 +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +126 -126
- 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 +172 -172
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +123 -123
- 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 +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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- 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 +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-7fj5dwt0.js +0 -18
- package/dist/chunks/pty-99kmt16y.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6kdq0pjd.js → git-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-d3mxekym.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./git-w7y24cr5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service14,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -87,12 +87,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
87
87
|
}
|
|
88
88
|
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service15;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service14.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node16 = makeLocationNode({
|
|
144
|
+
service: Service14,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node17]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./git-3z8etzyw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./git-zvwz45r0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const image = yield* Service68;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin37 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin28, exports_image };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./git-hdab2k61.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-ctefx7dc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./git-xyqxxema.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service60), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./git-8x95hpt8.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-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: () => Plugin13,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
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 description4 = `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 Input6 = 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 Plugin13 = {
|
|
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* Service56;
|
|
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: description4,
|
|
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 Plugin24 = {
|
|
|
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, description4, Input10, Plugin13, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-kjwmhxpf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./git-swp2mva0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-91995yx2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./git-d93m8bwv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./git-89dkfx8j.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./git-n19t397f.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-4cey7m6q.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service76;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service19,
|
|
10
|
+
node: () => node22
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service19 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service19, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service19.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node22 = makeGlobalNode({ service: Service19, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service19, node22, exports_managed_policy };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-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: () => Plugin47,
|
|
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 Plugin47 = 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 { Plugin47, exports_tool_input_repair };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-y906m0ew.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|