@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info23
|
|
6
|
+
} from "./git-t51qk8jz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info22
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info23)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info22 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info22, exports_agent4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-d3mxekym.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service24
|
|
9
|
+
} from "./git-369htbx8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./git-cy9wafaf.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service8
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-860rnwef.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
|
+
Plugin: () => Plugin9,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name8,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name8 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input8 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin9 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service8;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service24;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name8,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input8,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin25 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent5 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name8, Input8, Plugin9, toModelContent5, exports_read };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node66,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node66 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer22, configured7, node66, exports_app };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service40,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service41, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service40.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node44 = makeGlobalNode({ service:
|
|
375
|
+
var node44 = makeGlobalNode({ service: Service40, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service40, makeLayer2, layer15, node44, exports_model_transport };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-n7d88tpn.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-x79d2r0k.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-n1ka8r9d.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-0pr3hkd7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./git-89dkfx8j.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-s0d28j9p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./git-3z8etzyw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin41,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin41 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service70;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-d3mxekym.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./git-3z8etzyw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./git-0jw0xscs.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service70;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service18;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin46 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin17, exports_worktree };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-4cey7m6q.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-kjwmhxpf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./git-swp2mva0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./git-91995yx2.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./git-d93m8bwv.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-0n6mwmv5.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service79;
|
|
57
|
+
const integrations = yield* Service77;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|