@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-t8sq68e4.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service65,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service65 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service65.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node69 = makeGlobalNode({ service: Service65, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info22, ListInput4, AddInput2, Service65, node69, exports_saved };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-t8sq68e4.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service62 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service62.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node66 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service62, node66, exports_kv };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-vsy7cpk0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./location-activity-pe89x1zs.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-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: () => Plugin47,
|
|
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 Plugin47 = 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: ID6.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: ID6.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* Service48;
|
|
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, Plugin47, exports_skill3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-t8sq68e4.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node52
|
|
12
|
+
} from "./location-activity-5shjer5g.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
24
|
ID: () => ID7,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info9,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service47,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured8,
|
|
30
|
+
node: () => node51
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ import { systemError } from "effect/PlatformError";
|
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
38
|
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
41
41
|
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
@@ -56,14 +56,14 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service47 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service47,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node52]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info9({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,7 +154,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service47.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
159
|
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node51 = configured8();
|
|
225
225
|
|
|
226
|
-
export { ID7,
|
|
226
|
+
export { ID7, Info9, NotFound3, CreateConflict2, Service47, configured8, node51, exports_workspace };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-activity-1dq87ffp.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service50,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node55
|
|
16
|
+
} from "./location-activity-qa5tgt8t.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node18
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -45,7 +45,7 @@ var Info2 = Pty.Info;
|
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
49
|
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const shell = yield* Service50;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node18 = makeLocationNode({
|
|
274
|
+
service: Service16,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87,
|
|
276
|
+
deps: [node87, node79, node55]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service16, node18, exports_pty, Event4 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./location-activity-1dq87ffp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./location-activity-p4v3fsfm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./location-activity-0db657ns.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-mp0cjcyf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service64
|
|
24
|
+
} from "./location-activity-7r8cvc0t.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service55
|
|
27
|
+
} from "./location-activity-00chxmw1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin11,
|
|
39
|
+
name: () => name10,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin11 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service46;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service55;
|
|
73
|
+
const permission = yield* Service64;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin3 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output7, toModelContent5, Plugin11, exports_glob };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-afpx0ag9.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin39,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin39 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin20 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin20 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin39, exports_parallel };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-jgwhhbxj.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-8zgrq2cs.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|