@opencode/core 0.0.0-dev-20126 → 0.0.0-dev-20130
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-mutation-w8kkwjfy.js → location-activity-00chxmw1.js} +18 -18
- package/dist/chunks/{file-mutation-dbw36xtc.js → location-activity-00qn05c1.js} +4 -4
- package/dist/chunks/location-activity-047swmqf.js +252 -0
- package/dist/chunks/{file-mutation-qnjd433t.js → location-activity-0b6t5wcs.js} +89 -89
- package/dist/chunks/{file-mutation-wpg3r5fy.js → location-activity-0db657ns.js} +14 -14
- package/dist/chunks/{file-mutation-72rb9p64.js → location-activity-0e5ragzw.js} +13 -13
- package/dist/chunks/{file-mutation-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-3bc8czyk.js → location-activity-0ryd0fps.js} +5 -5
- package/dist/chunks/{file-mutation-r7hn1375.js → location-activity-14wqat3s.js} +14 -14
- package/dist/chunks/{file-mutation-sb57s57d.js → location-activity-14zyb830.js} +14 -14
- package/dist/chunks/{file-mutation-er7g126a.js → location-activity-199rync5.js} +20 -20
- package/dist/chunks/{file-mutation-rr3c0cyq.js → location-activity-1ck70pg6.js} +8 -8
- package/dist/chunks/{file-mutation-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-h53p64px.js → location-activity-1dq87ffp.js} +16 -16
- package/dist/chunks/{file-mutation-80scg3y3.js → location-activity-1y283654.js} +4 -4
- package/dist/chunks/{file-mutation-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-3r6ehhfq.js → location-activity-2e15xxab.js} +11 -11
- package/dist/chunks/{file-mutation-57ez7d0k.js → location-activity-2fgn2we9.js} +9 -9
- package/dist/chunks/{file-mutation-7dqw4kz8.js → location-activity-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-nn73askr.js → location-activity-2tchcg9b.js} +42 -42
- package/dist/chunks/{file-mutation-7w3s9kd0.js → location-activity-2y34zzjz.js} +4 -4
- package/dist/chunks/{file-mutation-qfbfp1v0.js → location-activity-2yhh0s17.js} +4 -4
- package/dist/chunks/{file-mutation-g7n3fm64.js → location-activity-3ezyz0fw.js} +23 -23
- package/dist/chunks/{file-mutation-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-mzga79vb.js → location-activity-3m2ryb9k.js} +9 -9
- package/dist/chunks/{file-mutation-7gzfq6z6.js → location-activity-3rzha7fy.js} +11 -11
- package/dist/chunks/{file-mutation-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-5qwkxp89.js → location-activity-4eq8w0dz.js} +4 -4
- package/dist/chunks/{file-mutation-gy8ga202.js → location-activity-4jqmmxmr.js} +26 -26
- package/dist/chunks/{file-mutation-2p8k3371.js → location-activity-4wev17cz.js} +8 -8
- package/dist/chunks/{file-mutation-33w4ejhs.js → location-activity-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-mutation-v9zq9qxn.js → location-activity-58as8d0q.js} +25 -25
- package/dist/chunks/{file-mutation-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-jtx09q4b.js → location-activity-5mebx48e.js} +5 -5
- package/dist/chunks/{file-mutation-4jk0qxj4.js → location-activity-5shjer5g.js} +8 -8
- package/dist/chunks/{file-mutation-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-wq4mmp7m.js → location-activity-5xpznt2d.js} +4 -4
- package/dist/chunks/{file-mutation-9jx8908j.js → location-activity-63qq03z2.js} +20 -20
- package/dist/chunks/{file-mutation-a917t0md.js → location-activity-65fm8wzg.js} +27 -27
- package/dist/chunks/{file-mutation-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-8e2atk35.js → location-activity-67k3rpgw.js} +30 -30
- package/dist/chunks/{file-mutation-t1c0b4ed.js → location-activity-6azsd9bz.js} +32 -32
- package/dist/chunks/{file-mutation-tzf2xzra.js → location-activity-6fkemk79.js} +17 -17
- package/dist/chunks/{file-mutation-rwd5573c.js → location-activity-6gsk2t1b.js} +11 -11
- package/dist/chunks/{file-mutation-2402vzrj.js → location-activity-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-hdy211xa.js → location-activity-6hs6gz2x.js} +16 -16
- package/dist/chunks/{file-mutation-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-st1j8ztb.js → location-activity-6p40mn3d.js} +18 -18
- package/dist/chunks/{file-mutation-wavqdc1d.js → location-activity-6pqk5efw.js} +25 -25
- package/dist/chunks/{file-mutation-zj5k55ky.js → location-activity-6t769dak.js} +10 -10
- package/dist/chunks/{file-mutation-08w54g8k.js → location-activity-6vhdmhzn.js} +13 -13
- package/dist/chunks/{file-mutation-qkb8ch3h.js → location-activity-6y72mser.js} +4 -4
- package/dist/chunks/{file-mutation-v0t54ggg.js → location-activity-74gt6f1z.js} +21 -21
- package/dist/chunks/{file-mutation-55ayhf34.js → location-activity-76g3e01w.js} +12 -12
- package/dist/chunks/{file-mutation-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-yecq0v11.js → location-activity-7fpezg28.js} +11 -11
- package/dist/chunks/{file-mutation-6w51mpm2.js → location-activity-7p4ftmzw.js} +24 -24
- package/dist/chunks/{file-mutation-gr6t64sj.js → location-activity-7r8cvc0t.js} +47 -47
- package/dist/chunks/{file-mutation-3c7f6ssd.js → location-activity-7vyrv1p0.js} +12 -12
- package/dist/chunks/{file-mutation-tfp9qs7d.js → location-activity-7y43tzef.js} +4 -4
- package/dist/chunks/{file-mutation-dqsr6cvb.js → location-activity-7yn1p3wv.js} +1 -1
- package/dist/chunks/{file-mutation-j5155tgc.js → location-activity-83edzhmt.js} +10 -10
- package/dist/chunks/{file-mutation-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-zz9ajb7v.js → location-activity-8jdbpnmb.js} +17 -17
- package/dist/chunks/{file-mutation-v6ghzfeb.js → location-activity-8ryk0bb9.js} +5 -5
- package/dist/chunks/{file-mutation-ers6jmne.js → location-activity-8xnd8qdj.js} +1 -1
- package/dist/chunks/{file-mutation-7x5j9h8t.js → location-activity-8zgh370v.js} +15 -15
- package/dist/chunks/{file-mutation-k7v2hf9f.js → location-activity-8zgrq2cs.js} +32 -32
- package/dist/chunks/{file-mutation-94ek1h2f.js → location-activity-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-mutation-cd6bm0sq.js → location-activity-9b8z7fn3.js} +9 -9
- package/dist/chunks/{file-mutation-5h1gmvy4.js → location-activity-9c8hdrd1.js} +31 -31
- package/dist/chunks/{file-mutation-x22cg2sb.js → location-activity-9jhz8kf9.js} +20 -20
- package/dist/chunks/{file-mutation-tq0nabwy.js → location-activity-9rc41y3y.js} +33 -33
- package/dist/chunks/{file-mutation-f0dqn4g8.js → location-activity-9vavq7z6.js} +51 -51
- package/dist/chunks/{file-mutation-ratrq7cm.js → location-activity-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-mutation-jca4demv.js → location-activity-a3r4dcrj.js} +2 -2
- package/dist/chunks/{file-mutation-hxg545me.js → location-activity-a3y6actq.js} +20 -20
- package/dist/chunks/{file-mutation-h1yars53.js → location-activity-a5xw7h9s.js} +24 -24
- package/dist/chunks/{file-mutation-6y91m51w.js → location-activity-a7vnenep.js} +16 -16
- package/dist/chunks/{file-mutation-jw80jp6b.js → location-activity-a8bn8zg0.js} +4 -4
- package/dist/chunks/{file-mutation-h2r7bbkd.js → location-activity-a8zr1srk.js} +8 -8
- package/dist/chunks/{file-mutation-68gs9314.js → location-activity-a99hzwg3.js} +3 -3
- package/dist/chunks/{file-mutation-etcxff87.js → location-activity-aa29ehy4.js} +45 -45
- package/dist/chunks/{file-mutation-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-9t03g7zr.js → location-activity-ab7ys0mb.js} +17 -17
- package/dist/chunks/{file-mutation-qknka9dr.js → location-activity-adfrr8rx.js} +18 -18
- package/dist/chunks/{file-mutation-8443f5nj.js → location-activity-afpx0ag9.js} +8 -8
- package/dist/chunks/{file-mutation-r4jpc7y8.js → location-activity-amh0jneg.js} +25 -25
- package/dist/chunks/{file-mutation-1813d5zh.js → location-activity-ay8pchpw.js} +8 -8
- package/dist/chunks/{file-mutation-nz6ejssm.js → location-activity-b5thdwh1.js} +24 -24
- package/dist/chunks/{file-mutation-bxn4xr1t.js → location-activity-b689z5pv.js} +13 -13
- package/dist/chunks/{file-mutation-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-ve4pfa0n.js → location-activity-bct739vz.js} +4 -4
- package/dist/chunks/{file-mutation-j4nwb9pe.js → location-activity-brnskypg.js} +51 -51
- package/dist/chunks/{file-mutation-a1szppz9.js → location-activity-bv81my1a.js} +3 -3
- package/dist/chunks/{file-mutation-0996nyz8.js → location-activity-bydnjh3t.js} +9 -9
- package/dist/chunks/{file-mutation-248sfqkf.js → location-activity-byngnetv.js} +12 -12
- package/dist/chunks/{file-mutation-zdngn9xm.js → location-activity-c0cxdtjh.js} +10 -10
- package/dist/chunks/{file-mutation-h32yg4c8.js → location-activity-chb9j7xe.js} +17 -17
- package/dist/chunks/{file-mutation-4x86753r.js → location-activity-cjx17cy4.js} +15 -15
- package/dist/chunks/{file-mutation-ckecvw8r.js → location-activity-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-mutation-tpw6cwsb.js → location-activity-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-mutation-6r966qhx.js → location-activity-d5rxy5ps.js} +16 -16
- package/dist/chunks/{file-mutation-cs08gwkb.js → location-activity-dbmgmdhy.js} +33 -33
- package/dist/chunks/{file-mutation-4zvwzfyb.js → location-activity-dfg0xrkq.js} +11 -11
- package/dist/chunks/{file-mutation-cwa6csj7.js → location-activity-djszqvmq.js} +9 -9
- package/dist/chunks/{file-mutation-b9jeenbt.js → location-activity-dkbv0pwm.js} +6 -6
- package/dist/chunks/{file-mutation-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mutation-xfkkasph.js → location-activity-drwq78ky.js} +4 -4
- package/dist/chunks/{file-mutation-y8z3vmm6.js → location-activity-dsdbtt6k.js} +5 -5
- package/dist/chunks/{file-mutation-y1y63myq.js → location-activity-dx9z5cmm.js} +11 -11
- package/dist/chunks/location-activity-dxj72tfx.js +18 -0
- package/dist/chunks/{file-mutation-h9bgfx4d.js → location-activity-e15wb2e6.js} +27 -27
- package/dist/chunks/{file-mutation-ds82e11p.js → location-activity-e1vfp9dd.js} +23 -23
- package/dist/chunks/{file-mutation-h2y3yhav.js → location-activity-e3d78gy1.js} +41 -41
- package/dist/chunks/{file-mutation-22y2m3bg.js → location-activity-e3sr3c5m.js} +37 -37
- package/dist/chunks/{file-mutation-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-cjnmt50d.js → location-activity-ef5pvmp6.js} +10 -10
- package/dist/chunks/{file-mutation-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-q0frpy02.js → location-activity-ekqdgrnf.js} +11 -11
- package/dist/chunks/{file-mutation-4hz2mmtn.js → location-activity-emz89tv7.js} +6 -6
- package/dist/chunks/{file-mutation-rwx7wstb.js → location-activity-en5pf5hy.js} +3 -3
- package/dist/chunks/{file-mutation-1n1tx8h8.js → location-activity-enxhs170.js} +6 -6
- package/dist/chunks/{file-mutation-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-khddj82n.js → location-activity-ey8s4w80.js} +21 -21
- package/dist/chunks/{file-mutation-ttqh24zm.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{file-mutation-21mj4bn4.js → location-activity-fbde30ze.js} +10 -10
- package/dist/chunks/{file-mutation-vy4zg7qh.js → location-activity-fd43cwvv.js} +12 -12
- package/dist/chunks/{file-mutation-kbszyzqp.js → location-activity-ffmx0s91.js} +16 -16
- package/dist/chunks/{file-mutation-ckv2q7n9.js → location-activity-fj5x83me.js} +5 -5
- package/dist/chunks/{file-mutation-qw2jr3s2.js → location-activity-fm1aaaph.js} +15 -15
- package/dist/chunks/{file-mutation-hpx69k21.js → location-activity-fnb938sq.js} +11 -11
- package/dist/chunks/{file-mutation-sd5f6jdk.js → location-activity-fpq9acqp.js} +6 -6
- package/dist/chunks/{file-mutation-t2tp239d.js → location-activity-fr709x3m.js} +15 -15
- package/dist/chunks/{file-mutation-9ckhw4yx.js → location-activity-fyvrxnzz.js} +36 -36
- package/dist/chunks/{file-mutation-vz0rnvv0.js → location-activity-g22nky7s.js} +5 -5
- package/dist/chunks/{file-mutation-8trrbr72.js → location-activity-gb1pw9e8.js} +8 -8
- package/dist/chunks/{file-mutation-en7c0xf8.js → location-activity-gcn6ae9w.js} +22 -22
- package/dist/chunks/{file-mutation-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-vkk8vd4a.js → location-activity-ge1tey9b.js} +5 -5
- package/dist/chunks/{file-mutation-fntxa7wr.js → location-activity-gemqz5qk.js} +5 -5
- package/dist/chunks/{file-mutation-tprfwfyz.js → location-activity-gmj22zjr.js} +22 -22
- package/dist/chunks/{file-mutation-0tmgye68.js → location-activity-gr1f03ws.js} +9 -9
- package/dist/chunks/{file-mutation-eeaf82dq.js → location-activity-grxcxy9j.js} +8 -8
- package/dist/chunks/{file-mutation-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-zz4yapdm.js → location-activity-gvj374je.js} +15 -15
- package/dist/chunks/{file-mutation-xvjsxppn.js → location-activity-gwm3vqk0.js} +10 -10
- package/dist/chunks/{file-mutation-0jg22twd.js → location-activity-h3fcj642.js} +18 -18
- package/dist/chunks/{file-mutation-d0rz62a2.js → location-activity-h64d2q1d.js} +20 -20
- package/dist/chunks/{file-mutation-44h5tttr.js → location-activity-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-mutation-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-agdwaq9x.js → location-activity-he29wk0d.js} +26 -26
- package/dist/chunks/{file-mutation-4whvt6s6.js → location-activity-hgh9aenx.js} +35 -35
- package/dist/chunks/{file-mutation-4fpbqhmf.js → location-activity-hpy43wkc.js} +9 -9
- package/dist/chunks/{file-mutation-8jptg25a.js → location-activity-hr3exm48.js} +4 -4
- package/dist/chunks/{file-mutation-dh52qfvh.js → location-activity-hsqj81tw.js} +26 -26
- package/dist/chunks/{file-mutation-ksxdz0cj.js → location-activity-j32gb99b.js} +11 -11
- package/dist/chunks/{file-mutation-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-q3t37ft6.js → location-activity-jexxy024.js} +3 -3
- package/dist/chunks/{file-mutation-qx0wyz6f.js → location-activity-jg48dxtz.js} +6 -6
- package/dist/chunks/{file-mutation-sh6458vc.js → location-activity-jgwhhbxj.js} +32 -32
- package/dist/chunks/{file-mutation-wn4wqpvw.js → location-activity-jhtjz7ka.js} +24 -24
- package/dist/chunks/{file-mutation-fhtpvx45.js → location-activity-jr6cb19j.js} +6 -6
- package/dist/chunks/{file-mutation-v303bt05.js → location-activity-jyj8kx70.js} +86 -86
- package/dist/chunks/{file-mutation-hvmbg5dq.js → location-activity-k1ays8z9.js} +9 -9
- package/dist/chunks/{file-mutation-e37h8kwf.js → location-activity-k307gc3k.js} +12 -12
- package/dist/chunks/{file-mutation-k3c624dm.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-fxxdr4p9.js → location-activity-k7cmxszw.js} +29 -29
- package/dist/chunks/{file-mutation-36dfs4g1.js → location-activity-kcy5db85.js} +43 -43
- package/dist/chunks/{file-mutation-nktykkx9.js → location-activity-kktanpgg.js} +22 -22
- package/dist/chunks/{file-mutation-f5gy8qwh.js → location-activity-kpawa755.js} +8 -8
- package/dist/chunks/{file-mutation-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-a3hc19rv.js → location-activity-mk7fb71e.js} +48 -48
- package/dist/chunks/{file-mutation-djgt5fnj.js → location-activity-mmqvtx9a.js} +11 -11
- package/dist/chunks/{file-mutation-jrpt1xcd.js → location-activity-mp0cjcyf.js} +26 -26
- package/dist/chunks/{file-mutation-s4q9yqp5.js → location-activity-ms3y4yc7.js} +60 -60
- package/dist/chunks/{file-mutation-73tb2d7t.js → location-activity-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-mutation-b2p42515.js → location-activity-my9qc6c5.js} +5 -5
- package/dist/chunks/{file-mutation-hb5spttd.js → location-activity-mzekc7h7.js} +26 -26
- package/dist/chunks/location-activity-mzr8x4ym.js +507 -0
- package/dist/chunks/location-activity-n2a38hdv.js +26 -0
- package/dist/chunks/{file-mutation-4n5421a4.js → location-activity-n69ejrn2.js} +18 -18
- package/dist/chunks/{file-mutation-f3vt2bxc.js → location-activity-n6faef6a.js} +40 -40
- package/dist/chunks/{file-mutation-xwnmf787.js → location-activity-nb5897zr.js} +10 -10
- package/dist/chunks/{file-mutation-688x7pqg.js → location-activity-nd16t2w9.js} +17 -17
- package/dist/chunks/{file-mutation-ss0awb04.js → location-activity-p0b4ytnr.js} +4 -4
- package/dist/chunks/{file-mutation-sra9araw.js → location-activity-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-mutation-sd3a96zz.js → location-activity-p4v3fsfm.js} +24 -24
- package/dist/chunks/{file-mutation-v8fkb6at.js → location-activity-p9kt6re1.js} +11 -11
- package/dist/chunks/{file-mutation-5ns2bjf8.js → location-activity-p9q2mgq8.js} +32 -32
- package/dist/chunks/{file-mutation-1sedp1z2.js → location-activity-pe89x1zs.js} +43 -43
- package/dist/chunks/{file-mutation-tx9w5tca.js → location-activity-pedttwxr.js} +8 -8
- package/dist/chunks/{file-mutation-8gh9a73j.js → location-activity-pjg633hx.js} +25 -25
- package/dist/chunks/{file-mutation-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-nscznvay.js → location-activity-pnv527nz.js} +9 -9
- package/dist/chunks/{file-mutation-3t6g7wkp.js → location-activity-qa5tgt8t.js} +15 -15
- package/dist/chunks/{file-mutation-6d2d39e9.js → location-activity-qc7kyr9k.js} +24 -24
- package/dist/chunks/{file-mutation-k7k78j8n.js → location-activity-qf0e5n9s.js} +9 -9
- package/dist/chunks/{file-mutation-vz7d5c1g.js → location-activity-qpbc7zwf.js} +8 -8
- package/dist/chunks/{file-mutation-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-epa3bmw4.js → location-activity-qyrkrrpg.js} +13 -13
- package/dist/chunks/{file-mutation-dsxey55j.js → location-activity-r0tgc7by.js} +9 -9
- package/dist/chunks/{file-mutation-1acjjqhc.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-mutation-mjdddjem.js → location-activity-rbdxswwe.js} +181 -181
- package/dist/chunks/{file-mutation-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-wngw2qw7.js → location-activity-rev86p13.js} +20 -20
- package/dist/chunks/{file-mutation-3m353frz.js → location-activity-rk68jqwy.js} +6 -6
- package/dist/chunks/{file-mutation-8sze2n9a.js → location-activity-rkprpv83.js} +6 -6
- package/dist/chunks/{file-mutation-zf5bw61z.js → location-activity-rmeaczgp.js} +11 -11
- package/dist/chunks/{file-mutation-n2ethy7h.js → location-activity-rvdwaktm.js} +2 -2
- package/dist/chunks/{file-mutation-4cdew6sp.js → location-activity-rvkgzh6z.js} +4 -4
- package/dist/chunks/{file-mutation-4tpa30t3.js → location-activity-rzre3xs7.js} +33 -33
- package/dist/chunks/{file-mutation-eaj1djv9.js → location-activity-s8d7rejh.js} +6 -6
- package/dist/chunks/{file-mutation-kg2qn9rr.js → location-activity-s8zv1qq9.js} +27 -27
- package/dist/chunks/{file-mutation-vy0eyd8e.js → location-activity-s9ygz4m4.js} +7 -10
- package/dist/chunks/{file-mutation-jgwpfrf8.js → location-activity-sb6908jt.js} +35 -35
- package/dist/chunks/{file-mutation-k9d40v1y.js → location-activity-ssdqnhy0.js} +4 -4
- package/dist/chunks/{file-mutation-mjsk7061.js → location-activity-svaserhn.js} +15 -15
- package/dist/chunks/{file-mutation-x5793zcz.js → location-activity-svca6bhs.js} +46 -46
- package/dist/chunks/{file-mutation-ae1rh8jg.js → location-activity-svem01f7.js} +32 -32
- package/dist/chunks/{file-mutation-x8jha37b.js → location-activity-svqz55f3.js} +7 -7
- package/dist/chunks/{file-mutation-z4vrctzg.js → location-activity-t5mh7rab.js} +21 -21
- package/dist/chunks/{file-mutation-jp0n41mz.js → location-activity-t8sq68e4.js} +3 -3
- package/dist/chunks/{file-mutation-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-3pdjw33a.js → location-activity-tgm43k3g.js} +15 -15
- package/dist/chunks/{file-mutation-hr3q54ky.js → location-activity-thqq6fyk.js} +44 -44
- package/dist/chunks/{file-mutation-6mfh7f1f.js → location-activity-tjd23wwa.js} +3 -3
- package/dist/chunks/{file-mutation-evbgk2k8.js → location-activity-tn0aqsam.js} +5 -5
- package/dist/chunks/{file-mutation-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-wyhm8gxt.js → location-activity-v24wjx7c.js} +5 -5
- package/dist/chunks/{file-mutation-5afv1qet.js → location-activity-v2rz7h9m.js} +10 -10
- package/dist/chunks/{file-mutation-sqy4ahhk.js → location-activity-v3sgzvyr.js} +1 -1
- package/dist/chunks/{file-mutation-1p2kvy81.js → location-activity-v56t4fyc.js} +6 -6
- package/dist/chunks/{file-mutation-s0hycazx.js → location-activity-v9n6xkdt.js} +23 -23
- package/dist/chunks/{file-mutation-w0wrcbs3.js → location-activity-vemj8v7h.js} +19 -19
- package/dist/chunks/{file-mutation-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-tjja5a9k.js → location-activity-vsy7cpk0.js} +22 -22
- package/dist/chunks/{file-mutation-mfa1dnmq.js → location-activity-vtt194rr.js} +13 -13
- package/dist/chunks/{file-mutation-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-0nd9yvwt.js → location-activity-w4ec0zv4.js} +8 -8
- package/dist/chunks/{file-mutation-qte5z7bc.js → location-activity-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-mutation-wd3x2cqz.js → location-activity-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-mutation-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-fj10zqs3.js → location-activity-wh2p7wnd.js} +10 -10
- package/dist/chunks/{file-mutation-k8eg9jwz.js → location-activity-wvwh7dvb.js} +5 -5
- package/dist/chunks/{file-mutation-yen1bsc2.js → location-activity-wyvh16fs.js} +16 -16
- package/dist/chunks/{file-mutation-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-8ag1zg7r.js → location-activity-x281atxp.js} +15 -15
- package/dist/chunks/{file-mutation-dnzwjmsp.js → location-activity-x33npz3x.js} +20 -20
- package/dist/chunks/{file-mutation-zy43x3f1.js → location-activity-x3gqap9d.js} +4 -4
- package/dist/chunks/{file-mutation-v23j6r7v.js → location-activity-x6zbs7cd.js} +22 -22
- package/dist/chunks/{file-mutation-zx7xtja6.js → location-activity-xbd1cfx7.js} +16 -16
- package/dist/chunks/{file-mutation-zbvb58e6.js → location-activity-xbrw7k0h.js} +8 -8
- package/dist/chunks/{file-mutation-xkntkrq7.js → location-activity-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-r2qgc71p.js → location-activity-xpcx82f9.js} +13 -13
- package/dist/chunks/{file-mutation-fmp81qfg.js → location-activity-xyrqpqc7.js} +32 -32
- package/dist/chunks/{file-mutation-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-9w1tyxn7.js → location-activity-yadxyp5v.js} +8 -8
- package/dist/chunks/{file-mutation-gmjjhz4f.js → location-activity-ybhbtxjg.js} +3 -3
- package/dist/chunks/{file-mutation-ht0r88e0.js → location-activity-ybj1xhjk.js} +15 -15
- package/dist/chunks/{file-mutation-tvedvvzn.js → location-activity-yctj4ypy.js} +10 -10
- package/dist/chunks/{file-mutation-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-yrznvahk.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-z07pqspn.js → location-activity-z07pqspn.js} +3 -3
- package/dist/chunks/{file-mutation-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-5mf3y8mk.js → location-activity-z1hgn6m3.js} +20 -20
- package/dist/chunks/{file-mutation-s7cavm8f.js → location-activity-z4b9a0f8.js} +7 -7
- package/dist/chunks/{file-mutation-z63w68vq.js → location-activity-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-qawdn968.js → location-activity-zfp7e1er.js} +26 -26
- package/dist/chunks/{file-mutation-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-e2artx0a.js → location-activity-zsrz5tex.js} +11 -11
- package/dist/chunks/{file-mutation-54xs9e4z.js → location-activity-ztxf5yj9.js} +29 -29
- package/dist/chunks/{file-mutation-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +212 -212
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +6 -6
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +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 +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +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 +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-mutation-2ab25d2y.js +0 -26
- package/dist/chunks/file-mutation-54ytyew1.js +0 -507
- package/dist/chunks/file-mutation-97gjng12.js +0 -252
- package/dist/chunks/file-mutation-by5v678g.js +0 -18
- /package/dist/chunks/{file-mutation-0mesazry.js → location-activity-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-activity-67k3rpgw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-ztxf5yj9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./location-activity-jgwhhbxj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./location-activity-8zgrq2cs.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-rmeaczgp.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-afpx0ag9.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* Service72;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ 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
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ 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) {
|
|
@@ -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(Event19.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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-afpx0ag9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./location-activity-67k3rpgw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-ztxf5yj9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-jgwhhbxj.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service74;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info25, SessionSchema2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./location-activity-jgwhhbxj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./location-activity-pe89x1zs.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service72;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service48);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service73,
|
|
12
|
+
node77,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./location-activity-ztxf5yj9.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./location-activity-1dq87ffp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service72,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node76,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service73;
|
|
231
|
+
const location = yield* Service75;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service72.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node87, node77, node79] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service72, node76, exports_provider3, Event17 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node79
|
|
7
|
+
} from "./location-activity-1dq87ffp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service17,
|
|
10
|
+
node19
|
|
11
|
+
} from "./location-activity-0db657ns.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
26
|
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer9,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node17,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options3 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const ripgrep = yield* Service17;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service15.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service75;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service15.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service75;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured3(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer9(options), deps: [node79, node19] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node17 = configured3();
|
|
189
189
|
|
|
190
|
-
export { Options3,
|
|
190
|
+
export { Options3, Service15, ripgrepLayer2, fffLayer2, layer9, configured3, node17, exports_search };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-vsy7cpk0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID6.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|