@opencode/core 0.0.0-dev-20519 → 0.0.0-dev-20521
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-z1z2g4rq.js → location-activity-01tx8f53.js} +31 -31
- package/dist/chunks/{repository-7exnn0s8.js → location-activity-0j9anxys.js} +5 -5
- package/dist/chunks/{repository-hrsw90a0.js → location-activity-0nh6kzyg.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-5q9a57aq.js → location-activity-0rvxctrv.js} +10 -10
- package/dist/chunks/{repository-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-6k16hz2a.js → location-activity-15cj8qrs.js} +22 -22
- package/dist/chunks/{repository-2vbjsh7b.js → location-activity-160scmv2.js} +41 -41
- package/dist/chunks/{repository-n0jrqa4n.js → location-activity-19jk5r44.js} +10 -10
- package/dist/chunks/{repository-b4ay83s5.js → location-activity-1ae0fb0f.js} +33 -33
- package/dist/chunks/{repository-wz1atnp1.js → location-activity-1c9fxvqt.js} +32 -32
- package/dist/chunks/{repository-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-nkbqs3g6.js → location-activity-1dkcmh1t.js} +8 -8
- package/dist/chunks/{repository-1dvck2a7.js → location-activity-1dvck2a7.js} +2 -2
- package/dist/chunks/{repository-hd1h4sdm.js → location-activity-1hgyh5xj.js} +24 -24
- package/dist/chunks/{repository-mcgqdyxj.js → location-activity-1j3dgyx5.js} +17 -17
- package/dist/chunks/{repository-1h55ez1m.js → location-activity-1pkjp48q.js} +4 -4
- package/dist/chunks/{repository-5hf9jtfg.js → location-activity-1saa9w2b.js} +27 -27
- package/dist/chunks/{repository-bd6jnwb5.js → location-activity-1y7mca2y.js} +31 -31
- package/dist/chunks/{repository-56gdpj1q.js → location-activity-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-30246xfp.js → location-activity-1z0xnmzn.js} +11 -11
- package/dist/chunks/{repository-jbjaz31x.js → location-activity-22dwcya1.js} +3 -3
- package/dist/chunks/{repository-nqbq2dfn.js → location-activity-28svkdeb.js} +9 -9
- package/dist/chunks/{repository-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-j5qjrfr0.js → location-activity-2nhms0n3.js} +27 -27
- package/dist/chunks/{repository-yvfm4zgg.js → location-activity-30tes4bs.js} +15 -15
- package/dist/chunks/{repository-pt0wt1wj.js → location-activity-3dyrv95m.js} +15 -15
- package/dist/chunks/{repository-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-ctyjcm37.js → location-activity-3gd3w2pg.js} +20 -20
- package/dist/chunks/{repository-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-n1n192bv.js → location-activity-3sj8yt8v.js} +4 -4
- package/dist/chunks/{repository-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-5dkb19jg.js → location-activity-3v7fz22j.js} +26 -26
- package/dist/chunks/{repository-vyxss0x7.js → location-activity-3vtc4pgb.js} +6 -6
- package/dist/chunks/{repository-dbyxgn0d.js → location-activity-3wp60njz.js} +4 -4
- package/dist/chunks/{repository-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-rqjg81cy.js → location-activity-3zyhkej9.js} +27 -27
- package/dist/chunks/{repository-7t7h7y47.js → location-activity-40wf16dd.js} +45 -45
- package/dist/chunks/{repository-0x85wf7n.js → location-activity-4551vydq.js} +22 -22
- package/dist/chunks/{repository-94mhjk1j.js → location-activity-4864cdyv.js} +8 -8
- package/dist/chunks/{repository-t7zyy776.js → location-activity-4f62khv0.js} +3 -3
- package/dist/chunks/{repository-75krc8da.js → location-activity-4k26tt2c.js} +20 -20
- package/dist/chunks/{repository-yt3hy1g9.js → location-activity-4n607a2z.js} +5 -5
- package/dist/chunks/{repository-fwn2qxfh.js → location-activity-4nve2rnj.js} +3 -3
- package/dist/chunks/{repository-p4m5rkpc.js → location-activity-4pg6v30t.js} +12 -12
- package/dist/chunks/{repository-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
- package/dist/chunks/{repository-t5mr26pw.js → location-activity-4zaxszxh.js} +14 -14
- package/dist/chunks/{repository-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-se3dpnjp.js → location-activity-58qd9brx.js} +13 -13
- package/dist/chunks/{repository-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-kzg8eg9w.js → location-activity-5n6f22tt.js} +3 -3
- package/dist/chunks/{repository-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-psxfbx9m.js → location-activity-5wzag2z6.js} +7 -7
- package/dist/chunks/{repository-p37cw4rj.js → location-activity-5yzzbxa7.js} +8 -8
- package/dist/chunks/{repository-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{repository-n733q660.js → location-activity-68hbh74y.js} +22 -22
- package/dist/chunks/{repository-nzsadt46.js → location-activity-691xqr4y.js} +5 -5
- package/dist/chunks/{repository-fvgnrajg.js → location-activity-6bnezdwd.js} +47 -47
- package/dist/chunks/{repository-ygdna4kr.js → location-activity-6kzp9tjq.js} +5 -5
- package/dist/chunks/{repository-k1qrnqst.js → location-activity-6ysrkrkr.js} +8 -8
- package/dist/chunks/{repository-71az546q.js → location-activity-71az546q.js} +2 -2
- package/dist/chunks/{repository-bfv1sg7e.js → location-activity-74cdqdj4.js} +6 -6
- package/dist/chunks/{repository-6rc6b2d0.js → location-activity-77m0p7r2.js} +31 -31
- package/dist/chunks/{repository-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-2k8khapm.js → location-activity-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-t9yz5pcd.js → location-activity-7ksze7ve.js} +19 -19
- package/dist/chunks/{repository-bg0vsp1h.js → location-activity-7pv3en3p.js} +21 -21
- package/dist/chunks/{repository-7t7xm5f5.js → location-activity-7sc99g37.js} +33 -33
- package/dist/chunks/{repository-y15vpdnr.js → location-activity-7v81x33d.js} +9 -9
- package/dist/chunks/{repository-03xyy9gs.js → location-activity-89rvcjqs.js} +8 -8
- package/dist/chunks/{repository-rt5fvqme.js → location-activity-8awxj94f.js} +13 -13
- package/dist/chunks/{repository-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-b0bn8jek.js → location-activity-8gj5hy41.js} +11 -11
- package/dist/chunks/{repository-cfsekr6v.js → location-activity-8sze2n9a.js} +6 -6
- package/dist/chunks/{repository-p8x4zn18.js → location-activity-92pkkjkx.js} +13 -13
- package/dist/chunks/{repository-h223frf1.js → location-activity-93wx4btr.js} +11 -11
- package/dist/chunks/{repository-knrehdqd.js → location-activity-98c1vh8m.js} +12 -12
- package/dist/chunks/{repository-42vews4y.js → location-activity-98vraqt9.js} +5 -5
- package/dist/chunks/{repository-7apag2ba.js → location-activity-999aqn6p.js} +9 -9
- package/dist/chunks/{repository-5pnadt17.js → location-activity-9anxccrj.js} +44 -44
- package/dist/chunks/{repository-9e5bzkjp.js → location-activity-9e5bzkjp.js} +3 -3
- package/dist/chunks/{repository-zdwe30dy.js → location-activity-9gea571p.js} +6 -6
- package/dist/chunks/{repository-zbzykp3k.js → location-activity-9mhdh3s2.js} +23 -23
- package/dist/chunks/{repository-68dcddmz.js → location-activity-9szwjyee.js} +4 -4
- package/dist/chunks/{repository-zt70qyd8.js → location-activity-9t0ctetm.js} +21 -21
- package/dist/chunks/{repository-q1ra8wwz.js → location-activity-9yswjp79.js} +18 -18
- package/dist/chunks/{repository-bgc5ggmx.js → location-activity-a3c7ahw6.js} +4 -4
- package/dist/chunks/{repository-t4gyfdwy.js → location-activity-a3ynkskz.js} +18 -18
- package/dist/chunks/{repository-3f8cefc3.js → location-activity-a7hcjh87.js} +15 -15
- package/dist/chunks/{repository-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-b3w8m03a.js → location-activity-adbzb285.js} +8 -8
- package/dist/chunks/{repository-c651xxjb.js → location-activity-afjydgk3.js} +4 -4
- package/dist/chunks/{repository-asg2gjc7.js → location-activity-aqz60ka6.js} +2 -2
- package/dist/chunks/{repository-f2gse5fy.js → location-activity-as4zy6vm.js} +6 -6
- package/dist/chunks/{repository-zfs8ae4p.js → location-activity-as7cf5zz.js} +4 -4
- package/dist/chunks/{repository-n9fkx9fb.js → location-activity-atpkxcjq.js} +41 -41
- package/dist/chunks/{repository-ekdgv9sd.js → location-activity-aw6ckkaw.js} +7 -7
- package/dist/chunks/{repository-985e6bwz.js → location-activity-axw8psg0.js} +5 -5
- package/dist/chunks/{repository-5c2tg5ke.js → location-activity-azz24fzd.js} +24 -24
- package/dist/chunks/{repository-rqccjq9f.js → location-activity-b0tb73q3.js} +34 -34
- package/dist/chunks/{repository-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-dgv0ky8a.js → location-activity-bxjbhrgj.js} +5 -5
- package/dist/chunks/{repository-srq8z0b0.js → location-activity-c01nkytp.js} +5 -5
- package/dist/chunks/{repository-01603vev.js → location-activity-c2w9nh9f.js} +15 -15
- package/dist/chunks/{repository-9xpxkkxc.js → location-activity-c4gwav79.js} +11 -11
- package/dist/chunks/{repository-v7tr91j2.js → location-activity-cs30bwkd.js} +20 -20
- package/dist/chunks/{repository-w1m3yhsf.js → location-activity-d9shzvfq.js} +3 -3
- package/dist/chunks/{repository-addxnjmp.js → location-activity-db2wf4at.js} +4 -4
- package/dist/chunks/{repository-688vv85h.js → location-activity-df2wbre9.js} +59 -59
- package/dist/chunks/{repository-8x1aspth.js → location-activity-dmbmpn6h.js} +53 -53
- package/dist/chunks/{repository-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-dpkg50ah.js → location-activity-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-vg4wf0mn.js → location-activity-e2tmtcte.js} +28 -28
- package/dist/chunks/{repository-mgh0sv84.js → location-activity-e6y7vv2n.js} +16 -16
- package/dist/chunks/{repository-fh6b6r6n.js → location-activity-e75k7gt1.js} +26 -26
- package/dist/chunks/{repository-6hh8tjw2.js → location-activity-edrmdtr5.js} +7 -7
- package/dist/chunks/{repository-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-mvb04ncq.js → location-activity-en6vk7kh.js} +19 -19
- package/dist/chunks/{repository-zk0y2mrg.js → location-activity-ep3pq24z.js} +9 -9
- package/dist/chunks/{repository-j028xdjb.js → location-activity-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-dqp1z7j3.js → location-activity-evg9512y.js} +10 -10
- package/dist/chunks/{repository-ravsngc6.js → location-activity-evv3dzvs.js} +26 -26
- package/dist/chunks/{repository-htdpdheb.js → location-activity-ewyax98d.js} +8 -8
- package/dist/chunks/{repository-c4b8ezrc.js → location-activity-ezkf672b.js} +44 -44
- package/dist/chunks/{repository-2mbdhcvf.js → location-activity-f1k3hqn9.js} +1 -1
- package/dist/chunks/{repository-wshymwk5.js → location-activity-f1n1je73.js} +19 -19
- package/dist/chunks/{repository-ckf8nxjz.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{repository-5xh06rp5.js → location-activity-fbqjtz0c.js} +13 -13
- package/dist/chunks/{repository-66g35fn0.js → location-activity-fcdty1ra.js} +19 -19
- package/dist/chunks/{repository-3hvbndb5.js → location-activity-fe9yc616.js} +35 -35
- package/dist/chunks/{repository-ekye0xrt.js → location-activity-fmdv976f.js} +9 -9
- package/dist/chunks/{repository-yj2tv32p.js → location-activity-fp5441vb.js} +13 -13
- package/dist/chunks/{repository-zevr4986.js → location-activity-fq0k09qp.js} +6 -6
- package/dist/chunks/{repository-207ajt2h.js → location-activity-fwfdmgk0.js} +5 -5
- package/dist/chunks/location-activity-g1p6fzp9.js +26 -0
- package/dist/chunks/{repository-2a4f6v5q.js → location-activity-g2y161wv.js} +8 -8
- package/dist/chunks/{repository-wh6zw745.js → location-activity-g6yfr6ja.js} +5 -5
- package/dist/chunks/{repository-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-ehzzcez4.js → location-activity-gs3arnfd.js} +15 -15
- package/dist/chunks/{repository-0j124r8p.js → location-activity-h1dds5vx.js} +5 -5
- package/dist/chunks/{repository-g0hvftey.js → location-activity-h1jr262y.js} +16 -16
- package/dist/chunks/{repository-h2b79v29.js → location-activity-h2b79v29.js} +2 -2
- package/dist/chunks/{repository-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-xq6z0cpe.js → location-activity-hd3y20fa.js} +37 -37
- package/dist/chunks/{repository-t93qmerw.js → location-activity-hqa377zx.js} +11 -11
- package/dist/chunks/{repository-nyr2ydaj.js → location-activity-hr3asgbz.js} +11 -11
- package/dist/chunks/location-activity-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-10a0p2jb.js → location-activity-jmh888fr.js} +14 -14
- package/dist/chunks/{repository-zc5g640q.js → location-activity-jy6n4x97.js} +12 -12
- package/dist/chunks/{repository-mr5n092j.js → location-activity-jyh3tc31.js} +23 -23
- package/dist/chunks/{repository-b67wgpc5.js → location-activity-jyq4wy3w.js} +20 -20
- package/dist/chunks/{repository-vjjaysxc.js → location-activity-k0dn768s.js} +2 -2
- package/dist/chunks/{repository-5sd2bsp4.js → location-activity-k0hp4vmt.js} +171 -171
- package/dist/chunks/{repository-rtzddngt.js → location-activity-k1vbp5vp.js} +25 -25
- package/dist/chunks/{repository-g4esgq2v.js → location-activity-k8h7fr5j.js} +42 -42
- package/dist/chunks/{repository-5xhdktqa.js → location-activity-kmbm8s16.js} +13 -13
- package/dist/chunks/location-activity-kpht16y1.js +507 -0
- package/dist/chunks/{repository-mjymc32g.js → location-activity-kvvk39gs.js} +4 -4
- package/dist/chunks/{repository-5caacxvf.js → location-activity-kwmtrvkt.js} +8 -8
- package/dist/chunks/{repository-q0zgm0mk.js → location-activity-kzxncgwt.js} +21 -21
- package/dist/chunks/{repository-bhp8nqnw.js → location-activity-m2g6eass.js} +6 -6
- package/dist/chunks/{repository-06b67pjk.js → location-activity-m32k1dn8.js} +18 -18
- package/dist/chunks/{repository-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-wa9j5a7a.js → location-activity-m4afetfz.js} +16 -16
- package/dist/chunks/{repository-hzrfc1p4.js → location-activity-m89858wj.js} +3 -3
- package/dist/chunks/{repository-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-g22mckqh.js → location-activity-mnyyh52c.js} +6 -6
- package/dist/chunks/{repository-1y969dbq.js → location-activity-mvkj911g.js} +27 -27
- package/dist/chunks/{repository-7j2qha59.js → location-activity-n27a7nb2.js} +8 -8
- package/dist/chunks/{repository-ns3eape4.js → location-activity-n2thn3nx.js} +1 -1
- package/dist/chunks/{repository-atjpr980.js → location-activity-n3m3k3m8.js} +45 -45
- package/dist/chunks/{repository-q4h1ncg4.js → location-activity-n76pv0kn.js} +15 -15
- package/dist/chunks/{repository-z30kww73.js → location-activity-nandancc.js} +11 -11
- package/dist/chunks/{repository-stkaepbr.js → location-activity-nj5d45w8.js} +24 -24
- package/dist/chunks/{repository-ntyyk472.js → location-activity-nthpf047.js} +16 -16
- package/dist/chunks/{repository-xsaexjm7.js → location-activity-pb9wnr0k.js} +24 -24
- package/dist/chunks/{repository-wpybfb3e.js → location-activity-pcqce75p.js} +6 -6
- package/dist/chunks/{repository-abszyt6t.js → location-activity-pd12hwc5.js} +22 -22
- package/dist/chunks/{repository-9yr9kc58.js → location-activity-pfpzmfy3.js} +10 -10
- package/dist/chunks/{repository-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{repository-b7hywp55.js → location-activity-pvbzzedf.js} +28 -28
- package/dist/chunks/{repository-6g1ntbc3.js → location-activity-py5e2b36.js} +24 -24
- package/dist/chunks/{repository-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
- package/dist/chunks/{repository-kmrg6sr7.js → location-activity-q3hpcm59.js} +28 -28
- package/dist/chunks/{repository-cpq3hfc5.js → location-activity-q58p899m.js} +8 -8
- package/dist/chunks/{repository-z89dd6j6.js → location-activity-qbv95z2b.js} +17 -17
- package/dist/chunks/{repository-37dq1jyk.js → location-activity-qespzq9h.js} +35 -35
- package/dist/chunks/{repository-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-f5dxayef.js → location-activity-qsaz8ezt.js} +33 -33
- package/dist/chunks/{repository-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-qxjc9qry.js → location-activity-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-qygbw77c.js → location-activity-qygbw77c.js} +2 -2
- package/dist/chunks/{repository-jdfywdr0.js → location-activity-r2bszs7a.js} +12 -12
- package/dist/chunks/{repository-79qaa2kf.js → location-activity-r2m716tb.js} +9 -9
- package/dist/chunks/{repository-z4fvbb2v.js → location-activity-r57psfea.js} +31 -31
- package/dist/chunks/{repository-ygcxs446.js → location-activity-r5k95fb4.js} +11 -11
- package/dist/chunks/{repository-rhraev7y.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{repository-xrpg47n6.js → location-activity-r9w3djhf.js} +9 -9
- package/dist/chunks/{repository-wr0qm6ht.js → location-activity-raf959tk.js} +8 -8
- package/dist/chunks/{repository-dkvtp6xa.js → location-activity-rag26639.js} +29 -29
- package/dist/chunks/{repository-cn4ym4tf.js → location-activity-rdmbyq3e.js} +4 -4
- package/dist/chunks/{repository-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-2kvbjdsz.js → location-activity-rgre93k7.js} +33 -33
- package/dist/chunks/{repository-s8d7rejh.js → location-activity-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-9kebxkvg.js → location-activity-rj252jhe.js} +79 -79
- package/dist/chunks/{repository-cj2dpy0x.js → location-activity-rmfgnaan.js} +45 -45
- package/dist/chunks/{repository-jsef83mq.js → location-activity-rrfqxz7e.js} +8 -8
- package/dist/chunks/{repository-gygtf6m1.js → location-activity-rt043p7b.js} +3 -3
- package/dist/chunks/{repository-1vy5fbnd.js → location-activity-rvg7fvdb.js} +11 -11
- package/dist/chunks/{repository-mbpkv0vm.js → location-activity-rw34hyyf.js} +15 -15
- package/dist/chunks/{repository-yrtnjjvk.js → location-activity-s3qvcq0a.js} +29 -29
- package/dist/chunks/{repository-mqzx2e15.js → location-activity-s4nntvmh.js} +30 -30
- package/dist/chunks/{repository-4g6efvjz.js → location-activity-s5w3pd96.js} +22 -22
- package/dist/chunks/{repository-vw21vv4a.js → location-activity-s8ne19c9.js} +11 -11
- package/dist/chunks/{repository-stwtv1xt.js → location-activity-s9jw59ev.js} +23 -23
- package/dist/chunks/{repository-dac4tb83.js → location-activity-sfepvqeg.js} +41 -41
- package/dist/chunks/{repository-5w4agvbq.js → location-activity-sfwtkxz8.js} +15 -15
- package/dist/chunks/{repository-qbt164p2.js → location-activity-t5ykwrj9.js} +29 -29
- package/dist/chunks/{repository-ecfzb1bw.js → location-activity-t5zdfcg6.js} +10 -10
- package/dist/chunks/{repository-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{repository-5cp6651z.js → location-activity-tjedn1bk.js} +4 -4
- package/dist/chunks/{repository-cdpaedqb.js → location-activity-tp1cmem0.js} +11 -11
- package/dist/chunks/{repository-3crmpgh7.js → location-activity-tvvjd900.js} +5 -5
- package/dist/chunks/{repository-0b2nrgqm.js → location-activity-twsfbymt.js} +21 -21
- package/dist/chunks/{repository-qhqsnwja.js → location-activity-txn989v4.js} +9 -9
- package/dist/chunks/{repository-f6b14pw0.js → location-activity-v0fcw5g9.js} +5 -5
- package/dist/chunks/{repository-gv4m19qx.js → location-activity-v3mm3c9w.js} +26 -26
- package/dist/chunks/{repository-f33632yd.js → location-activity-vd1y1hms.js} +10 -10
- package/dist/chunks/{repository-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-f4k2nah6.js → location-activity-vzdd8svv.js} +27 -27
- package/dist/chunks/{repository-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-ej1h7s1w.js → location-activity-w0kqh2my.js} +3 -3
- package/dist/chunks/{repository-84txncab.js → location-activity-w1eejvng.js} +5 -5
- package/dist/chunks/{repository-x0yc3knc.js → location-activity-w1v59pe1.js} +28 -28
- package/dist/chunks/{repository-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-g79x4qk4.js → location-activity-w7srsw53.js} +6 -6
- package/dist/chunks/{repository-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{repository-8wqbvn7m.js → location-activity-wkm1v3rg.js} +23 -23
- package/dist/chunks/{repository-rf2tf0a5.js → location-activity-wkp4k51m.js} +13 -13
- package/dist/chunks/{repository-1c0xhnep.js → location-activity-wp1ncj2v.js} +28 -28
- package/dist/chunks/{repository-5sg7yxgs.js → location-activity-wv95tysd.js} +1 -1
- package/dist/chunks/{repository-0v0nzeqp.js → location-activity-ww0jdshn.js} +11 -11
- package/dist/chunks/{repository-5xv116pf.js → location-activity-wyv8bs3b.js} +3 -3
- package/dist/chunks/{repository-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-v0es1rhs.js → location-activity-x327rsa8.js} +9 -9
- package/dist/chunks/{repository-21vwy28b.js → location-activity-x5w19dj0.js} +6 -6
- package/dist/chunks/{repository-qcajkq06.js → location-activity-x8snrdqj.js} +8 -8
- package/dist/chunks/{repository-1c0rj9z2.js → location-activity-xa33e9e0.js} +13 -13
- package/dist/chunks/{repository-eec2a58p.js → location-activity-xcp1w62v.js} +18 -18
- package/dist/chunks/{repository-2hqqn99n.js → location-activity-xdjjd8je.js} +16 -16
- package/dist/chunks/{repository-qe3svz7e.js → location-activity-xdnz35gs.js} +4 -4
- package/dist/chunks/{repository-g5w8qwbj.js → location-activity-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-f2amk4by.js → location-activity-xq3dk71y.js} +9 -9
- package/dist/chunks/{repository-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-x3qdjvsz.js → location-activity-y202wsz6.js} +7 -7
- package/dist/chunks/{repository-zk1pwz5f.js → location-activity-yar1mcnj.js} +34 -34
- package/dist/chunks/{repository-fe0wezkf.js → location-activity-yep97pyq.js} +15 -15
- package/dist/chunks/location-activity-ygxrzp7v.js +253 -0
- package/dist/chunks/{repository-g3x6pv90.js → location-activity-yhysz8aj.js} +14 -14
- package/dist/chunks/{repository-bh7hf5m0.js → location-activity-yq8dak3p.js} +48 -48
- package/dist/chunks/{repository-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-kq04rqgc.js → location-activity-ywhkxfss.js} +4 -4
- package/dist/chunks/{repository-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-3s1mxyqz.js → location-activity-zctryyn5.js} +8 -8
- package/dist/chunks/{repository-mdr9j661.js → location-activity-zgnngwqk.js} +12 -12
- package/dist/chunks/{repository-64xf6f6f.js → location-activity-zqy94ts4.js} +86 -86
- package/dist/chunks/{repository-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zrq8kphx.js → location-activity-zrq8kphx.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-vme6pr1d.js → location-activity-zxqvfsh3.js} +21 -21
- package/dist/chunks/{repository-ww8fvgny.js → location-activity-zzh1kv67.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- 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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- 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 +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +97 -97
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- 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/variant.js +93 -93
- 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 +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-5cvvr2b6.js +0 -26
- package/dist/chunks/repository-619r8v3y.js +0 -18
- package/dist/chunks/repository-pjbgbch7.js +0 -507
- package/dist/chunks/repository-y0b9bnxf.js +0 -253
- /package/dist/chunks/{repository-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-activity-4zaxszxh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node85
|
|
8
|
+
} from "./location-activity-19jk5r44.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service52,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node55
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event10 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service52 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service78;
|
|
70
|
+
const kv = yield* Service82;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service52.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node55 = makeLocationNode({
|
|
188
|
+
service: Service52,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node81, node85]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service52, node55, exports_websearch3, Event10 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node78
|
|
4
|
+
} from "./location-activity-40wf16dd.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info23,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node77,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info23, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service74 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node77 = LayerNode.unbound(Service74, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service74, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service75;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service74.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service74,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node78]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info23, Ref4, response2, Service74, node77, boundNode2, exports_location };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-3vtc4pgb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-activity-4zaxszxh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./location-activity-mvkj911g.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-db2wf4at.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-t5ykwrj9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service15
|
|
21
|
+
} from "./location-activity-6ysrkrkr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-rgre93k7.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-qespzq9h.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID5,
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-e2tmtcte.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID5
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID12.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service78;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service15;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID12.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID11.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID11.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-activity-4zaxszxh.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID16,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info27,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node80,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID16 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info27 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,7 +44,7 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
48
|
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
@@ -79,16 +79,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service78;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
93
|
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node80 = makeLocationNode({ service: Service77, layer: layer25, deps: [node81] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID16,
|
|
319
|
+
export { ID16, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node80, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-3vtc4pgb.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin2,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin2 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin36 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin2, exports_firecrawl };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make8(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make8 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node39
|
|
16
16
|
});
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node39 = makeGlobalNode({ service:
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service37, makeLayer2, layer16, node39, exports_model_transport };
|