@opencode/core 0.0.0-dev-20127 → 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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{config-dssafcpe.js → location-activity-00chxmw1.js} +18 -18
- package/dist/chunks/{config-1a4sspre.js → location-activity-00qn05c1.js} +4 -4
- package/dist/chunks/location-activity-047swmqf.js +252 -0
- package/dist/chunks/{config-r1fsesgm.js → location-activity-0b6t5wcs.js} +70 -70
- package/dist/chunks/{config-yqqd4sa6.js → location-activity-0db657ns.js} +18 -18
- package/dist/chunks/{config-16kxxb61.js → location-activity-0e5ragzw.js} +13 -13
- package/dist/chunks/{config-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-qsr9synt.js → location-activity-0ryd0fps.js} +5 -5
- package/dist/chunks/{config-g5prf4y9.js → location-activity-14wqat3s.js} +14 -14
- package/dist/chunks/{config-j7sgts27.js → location-activity-14zyb830.js} +14 -14
- package/dist/chunks/{config-bbf2nzw2.js → location-activity-199rync5.js} +20 -20
- package/dist/chunks/{config-gy9at9sn.js → location-activity-1ck70pg6.js} +8 -8
- package/dist/chunks/{config-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-sgc52vgw.js → location-activity-1dq87ffp.js} +17 -17
- package/dist/chunks/{config-eahhehpg.js → location-activity-1y283654.js} +4 -4
- package/dist/chunks/{config-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{config-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-20j0fgcq.js → location-activity-2e15xxab.js} +11 -11
- package/dist/chunks/{config-3nxb9rvh.js → location-activity-2fgn2we9.js} +9 -9
- package/dist/chunks/{config-fcrkznn8.js → location-activity-2k8khapm.js} +5 -5
- package/dist/chunks/{config-sadtqq7n.js → location-activity-2tchcg9b.js} +42 -42
- package/dist/chunks/{config-dg5bcj4q.js → location-activity-2y34zzjz.js} +6 -6
- package/dist/chunks/{config-4n68vvn4.js → location-activity-2yhh0s17.js} +4 -4
- package/dist/chunks/{config-a2tjvjty.js → location-activity-3ezyz0fw.js} +10 -10
- package/dist/chunks/{config-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-ffn32vtp.js → location-activity-3m2ryb9k.js} +9 -9
- package/dist/chunks/{config-0xytrptb.js → location-activity-3rzha7fy.js} +9 -9
- package/dist/chunks/{config-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-vgepzxbh.js → location-activity-4eq8w0dz.js} +4 -4
- package/dist/chunks/{config-2c60h6pz.js → location-activity-4jqmmxmr.js} +26 -26
- package/dist/chunks/{config-8ved8jnx.js → location-activity-4wev17cz.js} +8 -8
- package/dist/chunks/{config-1ygqh575.js → location-activity-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-nr2w2189.js → location-activity-58as8d0q.js} +25 -25
- package/dist/chunks/{config-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{config-svc2yp16.js → location-activity-5mebx48e.js} +2 -2
- package/dist/chunks/{config-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-fdzkgkhq.js → location-activity-5shjer5g.js} +6 -6
- package/dist/chunks/{config-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-tazp3vs0.js → location-activity-5xpznt2d.js} +4 -4
- package/dist/chunks/{config-2v0fm1hw.js → location-activity-63qq03z2.js} +23 -23
- package/dist/chunks/{config-qyhc2ect.js → location-activity-65fm8wzg.js} +18 -18
- package/dist/chunks/{config-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{config-spz7pvpb.js → location-activity-67k3rpgw.js} +20 -20
- package/dist/chunks/{config-eydfqfz8.js → location-activity-6azsd9bz.js} +32 -32
- package/dist/chunks/{config-hw3jf7zs.js → location-activity-6fkemk79.js} +17 -17
- package/dist/chunks/{config-8v1m0y60.js → location-activity-6gsk2t1b.js} +11 -11
- package/dist/chunks/{config-6h73sxmp.js → location-activity-6h73sxmp.js} +1 -1
- package/dist/chunks/{config-7t3tfz5t.js → location-activity-6hs6gz2x.js} +10 -10
- package/dist/chunks/{config-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-wvdf2pxg.js → location-activity-6p40mn3d.js} +18 -18
- package/dist/chunks/{config-fps507qa.js → location-activity-6pqk5efw.js} +19 -19
- package/dist/chunks/{config-5erymg1w.js → location-activity-6t769dak.js} +10 -10
- package/dist/chunks/{config-zkhserxx.js → location-activity-6vhdmhzn.js} +13 -13
- package/dist/chunks/{config-2ywgxq1j.js → location-activity-6y72mser.js} +4 -4
- package/dist/chunks/{config-nfg9kq59.js → location-activity-74gt6f1z.js} +21 -21
- package/dist/chunks/{config-cgt6twhd.js → location-activity-76g3e01w.js} +14 -14
- package/dist/chunks/{config-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-yp947cz6.js → location-activity-7fpezg28.js} +8 -8
- package/dist/chunks/{config-yvppk48a.js → location-activity-7p4ftmzw.js} +24 -24
- package/dist/chunks/{config-v92p9kc0.js → location-activity-7r8cvc0t.js} +57 -57
- package/dist/chunks/{config-72g3zqyf.js → location-activity-7vyrv1p0.js} +12 -12
- package/dist/chunks/{config-jcfd94wa.js → location-activity-7y43tzef.js} +4 -4
- package/dist/chunks/{config-qzp3w3dw.js → location-activity-7yn1p3wv.js} +1 -1
- package/dist/chunks/{config-v78vw6yh.js → location-activity-83edzhmt.js} +10 -10
- package/dist/chunks/{config-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-xka9c7fg.js → location-activity-8jdbpnmb.js} +13 -13
- package/dist/chunks/{config-b7v4cx43.js → location-activity-8ryk0bb9.js} +5 -5
- package/dist/chunks/{config-2dnv9bpn.js → location-activity-8xnd8qdj.js} +1 -1
- package/dist/chunks/{config-6qgk5hzy.js → location-activity-8zgh370v.js} +15 -15
- package/dist/chunks/{config-h5xc503t.js → location-activity-8zgrq2cs.js} +25 -25
- package/dist/chunks/{config-94ek1h2f.js → location-activity-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-eddmhssm.js → location-activity-9b8z7fn3.js} +9 -9
- package/dist/chunks/{config-ysxwcaka.js → location-activity-9c8hdrd1.js} +30 -30
- package/dist/chunks/{config-vt7nys27.js → location-activity-9jhz8kf9.js} +20 -20
- package/dist/chunks/{config-v13penc1.js → location-activity-9rc41y3y.js} +39 -39
- package/dist/chunks/{config-q7tnj3cs.js → location-activity-9vavq7z6.js} +45 -45
- package/dist/chunks/{config-8x96bj0m.js → location-activity-a2ew8a62.js} +7 -7
- package/dist/chunks/{config-rm23jeyq.js → location-activity-a3r4dcrj.js} +2 -2
- package/dist/chunks/{config-t6ka9dx9.js → location-activity-a3y6actq.js} +20 -20
- package/dist/chunks/{config-q0hrn92q.js → location-activity-a5xw7h9s.js} +22 -22
- package/dist/chunks/{config-8sbtcq5s.js → location-activity-a7vnenep.js} +16 -16
- package/dist/chunks/{config-vsp1fds9.js → location-activity-a8bn8zg0.js} +21 -21
- package/dist/chunks/{config-dhwr7h25.js → location-activity-a8zr1srk.js} +11 -11
- package/dist/chunks/{config-7174pgp6.js → location-activity-a99hzwg3.js} +1 -1
- package/dist/chunks/{config-4w6knpbj.js → location-activity-aa29ehy4.js} +43 -43
- package/dist/chunks/{config-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{config-p2j1q75x.js → location-activity-ab7ys0mb.js} +17 -17
- package/dist/chunks/{config-9x8w7p4j.js → location-activity-adfrr8rx.js} +24 -24
- package/dist/chunks/{config-hy258ha3.js → location-activity-afpx0ag9.js} +11 -11
- package/dist/chunks/{config-xy5sj35e.js → location-activity-amh0jneg.js} +22 -22
- package/dist/chunks/{config-fcbbx3j9.js → location-activity-ay8pchpw.js} +9 -9
- package/dist/chunks/{config-w87rt6qs.js → location-activity-b5thdwh1.js} +24 -24
- package/dist/chunks/{config-rk33hdvr.js → location-activity-b689z5pv.js} +13 -13
- package/dist/chunks/{config-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-dfe8djrf.js → location-activity-bct739vz.js} +4 -4
- package/dist/chunks/{config-ezbsm7tg.js → location-activity-brnskypg.js} +44 -44
- package/dist/chunks/{config-fxvr7k3s.js → location-activity-bv81my1a.js} +1 -1
- package/dist/chunks/{config-6hjx5zpb.js → location-activity-bydnjh3t.js} +9 -9
- package/dist/chunks/{config-8q9k32tn.js → location-activity-byngnetv.js} +6 -6
- package/dist/chunks/{config-pc13wr2c.js → location-activity-c0cxdtjh.js} +8 -8
- package/dist/chunks/{config-52zhtxpf.js → location-activity-chb9j7xe.js} +18 -18
- package/dist/chunks/{config-xc58nfyg.js → location-activity-cjx17cy4.js} +15 -15
- package/dist/chunks/{config-ckecvw8r.js → location-activity-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-9hn6k4tm.js → location-activity-cmwkp3r5.js} +8 -8
- package/dist/chunks/{config-16g44qj3.js → location-activity-d5rxy5ps.js} +18 -18
- package/dist/chunks/{config-6np4m6hv.js → location-activity-dbmgmdhy.js} +35 -35
- package/dist/chunks/{config-3h592g7x.js → location-activity-dfg0xrkq.js} +11 -11
- package/dist/chunks/{config-2sejkfem.js → location-activity-djszqvmq.js} +9 -9
- package/dist/chunks/{config-bxk1md5p.js → location-activity-dkbv0pwm.js} +6 -6
- package/dist/chunks/{config-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-drwq78ky.js → location-activity-drwq78ky.js} +1 -1
- package/dist/chunks/{config-ryjbxne7.js → location-activity-dsdbtt6k.js} +3 -3
- package/dist/chunks/{config-1q8wa827.js → location-activity-dx9z5cmm.js} +11 -11
- package/dist/chunks/location-activity-dxj72tfx.js +18 -0
- package/dist/chunks/{config-v1djkr2w.js → location-activity-e15wb2e6.js} +27 -27
- package/dist/chunks/{config-qh9bhcvf.js → location-activity-e1vfp9dd.js} +17 -17
- package/dist/chunks/{config-99wrhtss.js → location-activity-e3d78gy1.js} +41 -41
- package/dist/chunks/{config-8cmfe1vg.js → location-activity-e3sr3c5m.js} +37 -37
- package/dist/chunks/{config-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-tyn74aag.js → location-activity-ef5pvmp6.js} +8 -8
- package/dist/chunks/{config-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-a0ghkavf.js → location-activity-ekqdgrnf.js} +9 -9
- package/dist/chunks/{config-10zsszfr.js → location-activity-emz89tv7.js} +6 -6
- package/dist/chunks/{config-phwsvaab.js → location-activity-en5pf5hy.js} +1 -1
- package/dist/chunks/{config-6b65ztv1.js → location-activity-enxhs170.js} +9 -9
- package/dist/chunks/{config-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-1hhnftxq.js → location-activity-ey8s4w80.js} +24 -24
- package/dist/chunks/{config-kne8f3cn.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{config-8j7axh46.js → location-activity-fbde30ze.js} +10 -10
- package/dist/chunks/{config-vcfreb8r.js → location-activity-fd43cwvv.js} +12 -12
- package/dist/chunks/{config-c35kps7f.js → location-activity-ffmx0s91.js} +16 -16
- package/dist/chunks/{config-jvjbkr9j.js → location-activity-fj5x83me.js} +5 -5
- package/dist/chunks/{config-b4pwz10k.js → location-activity-fm1aaaph.js} +15 -15
- package/dist/chunks/{config-jh2rg891.js → location-activity-fnb938sq.js} +11 -11
- package/dist/chunks/{config-mx9vqzsb.js → location-activity-fpq9acqp.js} +6 -6
- package/dist/chunks/{config-1mxw8x31.js → location-activity-fr709x3m.js} +13 -13
- package/dist/chunks/{config-yfyk3984.js → location-activity-fyvrxnzz.js} +30 -30
- package/dist/chunks/{config-jy58bwtx.js → location-activity-g22nky7s.js} +5 -5
- package/dist/chunks/{config-2xs629qk.js → location-activity-gb1pw9e8.js} +8 -8
- package/dist/chunks/{config-shpyybr3.js → location-activity-gcn6ae9w.js} +20 -20
- package/dist/chunks/{config-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-d884m17t.js → location-activity-ge1tey9b.js} +5 -5
- package/dist/chunks/{config-m853nhb8.js → location-activity-gemqz5qk.js} +5 -5
- package/dist/chunks/{config-zpm5mcr1.js → location-activity-gmj22zjr.js} +18 -18
- package/dist/chunks/{config-4y7j986s.js → location-activity-gr1f03ws.js} +9 -9
- package/dist/chunks/{config-rzs3gq0x.js → location-activity-grxcxy9j.js} +8 -8
- package/dist/chunks/{config-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-n135dnsm.js → location-activity-gvj374je.js} +15 -15
- package/dist/chunks/{config-werwj205.js → location-activity-gwm3vqk0.js} +10 -10
- package/dist/chunks/{config-799hf882.js → location-activity-h3fcj642.js} +18 -18
- package/dist/chunks/{config-akqqet5h.js → location-activity-h64d2q1d.js} +24 -24
- package/dist/chunks/{config-4dgbcxzg.js → location-activity-h6r3nrb9.js} +4 -4
- package/dist/chunks/{config-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-adx83z8t.js → location-activity-he29wk0d.js} +23 -23
- package/dist/chunks/{config-c0g3q3bg.js → location-activity-hgh9aenx.js} +29 -29
- package/dist/chunks/{config-4ye6r6fn.js → location-activity-hpy43wkc.js} +9 -9
- package/dist/chunks/{config-cnwyxq1e.js → location-activity-hr3exm48.js} +4 -4
- package/dist/chunks/{config-xvx8kafd.js → location-activity-hsqj81tw.js} +13 -13
- package/dist/chunks/{config-1zh869pz.js → location-activity-j32gb99b.js} +9 -9
- package/dist/chunks/{config-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{config-grqp3cmb.js → location-activity-jexxy024.js} +3 -3
- package/dist/chunks/{config-a7e40s8p.js → location-activity-jg48dxtz.js} +6 -6
- package/dist/chunks/{config-b3q826kt.js → location-activity-jgwhhbxj.js} +26 -26
- package/dist/chunks/{config-yzep51rf.js → location-activity-jhtjz7ka.js} +30 -30
- package/dist/chunks/{config-9dn6mvr2.js → location-activity-jr6cb19j.js} +6 -6
- package/dist/chunks/{config-1rxr7f6r.js → location-activity-jyj8kx70.js} +70 -70
- package/dist/chunks/{config-cfavsdh4.js → location-activity-k1ays8z9.js} +11 -11
- package/dist/chunks/{config-1mr1eyme.js → location-activity-k307gc3k.js} +12 -12
- package/dist/chunks/{config-k3c624dm.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{config-s1b4b48z.js → location-activity-k7cmxszw.js} +30 -30
- package/dist/chunks/{config-pfc5wcba.js → location-activity-kcy5db85.js} +43 -43
- package/dist/chunks/{config-515z4g5k.js → location-activity-kktanpgg.js} +27 -27
- package/dist/chunks/{config-6ysrkrkr.js → location-activity-kpawa755.js} +8 -8
- package/dist/chunks/{config-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-kkt1pvxq.js → location-activity-mk7fb71e.js} +48 -48
- package/dist/chunks/{config-yv1fjq0p.js → location-activity-mmqvtx9a.js} +11 -11
- package/dist/chunks/{config-byggynze.js → location-activity-mp0cjcyf.js} +21 -21
- package/dist/chunks/{config-bpcdvc6b.js → location-activity-ms3y4yc7.js} +64 -64
- package/dist/chunks/{config-73tb2d7t.js → location-activity-mvfsc1pv.js} +3 -3
- package/dist/chunks/{config-epmkw3y8.js → location-activity-my9qc6c5.js} +1 -1
- package/dist/chunks/{config-5pt7ermt.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/{config-2xxgvyge.js → location-activity-n69ejrn2.js} +15 -15
- package/dist/chunks/{config-2nfs6qc9.js → location-activity-n6faef6a.js} +42 -42
- package/dist/chunks/{config-w2m16rkb.js → location-activity-nb5897zr.js} +8 -8
- package/dist/chunks/{config-a87twgwr.js → location-activity-nd16t2w9.js} +12 -12
- package/dist/chunks/{config-6anwy9fs.js → location-activity-p0b4ytnr.js} +6 -6
- package/dist/chunks/{config-3cz8rj72.js → location-activity-p44d8wdy.js} +5 -5
- package/dist/chunks/{config-pz8tbp7j.js → location-activity-p4v3fsfm.js} +24 -24
- package/dist/chunks/{config-t73e6et9.js → location-activity-p9kt6re1.js} +7 -7
- package/dist/chunks/{config-p3cpk4pp.js → location-activity-p9q2mgq8.js} +22 -22
- package/dist/chunks/{config-wt4b75er.js → location-activity-pe89x1zs.js} +39 -39
- package/dist/chunks/{config-ze75yzft.js → location-activity-pedttwxr.js} +8 -8
- package/dist/chunks/{config-3m46j07d.js → location-activity-pjg633hx.js} +28 -28
- package/dist/chunks/{config-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{config-nq7qbqzc.js → location-activity-pnv527nz.js} +9 -9
- package/dist/chunks/{config-msvrdtvz.js → location-activity-qa5tgt8t.js} +22 -22
- package/dist/chunks/{config-zt2th1vh.js → location-activity-qc7kyr9k.js} +24 -24
- package/dist/chunks/{config-2hq4rz85.js → location-activity-qf0e5n9s.js} +9 -9
- package/dist/chunks/{config-vkt5fbj2.js → location-activity-qpbc7zwf.js} +8 -8
- package/dist/chunks/{config-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{config-3wd95d96.js → location-activity-qyrkrrpg.js} +10 -10
- package/dist/chunks/{config-xka7mv2v.js → location-activity-r0tgc7by.js} +9 -9
- package/dist/chunks/{config-f2n192rq.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-0pedt0qh.js → location-activity-rbdxswwe.js} +164 -164
- package/dist/chunks/{config-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-9q25103b.js → location-activity-rev86p13.js} +16 -16
- package/dist/chunks/{config-s26g1336.js → location-activity-rk68jqwy.js} +6 -6
- package/dist/chunks/{config-6pc27hjz.js → location-activity-rkprpv83.js} +6 -6
- package/dist/chunks/{config-ymptrdr6.js → location-activity-rmeaczgp.js} +6 -6
- package/dist/chunks/{config-vwxfqwvv.js → location-activity-rvdwaktm.js} +2 -2
- package/dist/chunks/{config-7nbgfms9.js → location-activity-rvkgzh6z.js} +4 -4
- package/dist/chunks/{config-1dsw9fq7.js → location-activity-rzre3xs7.js} +33 -33
- package/dist/chunks/{config-0gdmqesm.js → location-activity-s8d7rejh.js} +4 -4
- package/dist/chunks/{config-v8h8cbks.js → location-activity-s8zv1qq9.js} +24 -24
- package/dist/chunks/{config-pjpqce74.js → location-activity-s9ygz4m4.js} +10 -13
- package/dist/chunks/{config-pbas15b9.js → location-activity-sb6908jt.js} +35 -35
- package/dist/chunks/{config-pf9pgydg.js → location-activity-ssdqnhy0.js} +4 -4
- package/dist/chunks/{config-wwbfbydv.js → location-activity-svaserhn.js} +20 -20
- package/dist/chunks/{config-jfap9aer.js → location-activity-svca6bhs.js} +50 -50
- package/dist/chunks/{config-rw2gjr4k.js → location-activity-svem01f7.js} +29 -29
- package/dist/chunks/{config-az63ayr1.js → location-activity-svqz55f3.js} +7 -7
- package/dist/chunks/{config-y3842byn.js → location-activity-t5mh7rab.js} +14 -14
- package/dist/chunks/{config-6qttmjpq.js → location-activity-t8sq68e4.js} +3 -3
- package/dist/chunks/{config-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{config-z7227wrg.js → location-activity-tgm43k3g.js} +15 -15
- package/dist/chunks/{config-fze14hen.js → location-activity-thqq6fyk.js} +30 -30
- package/dist/chunks/{config-krg1mvne.js → location-activity-tjd23wwa.js} +3 -3
- package/dist/chunks/{config-z3pw5915.js → location-activity-tn0aqsam.js} +5 -5
- package/dist/chunks/{config-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{config-frw0pd7b.js → location-activity-v24wjx7c.js} +3 -3
- package/dist/chunks/{config-p6ayam82.js → location-activity-v2rz7h9m.js} +12 -12
- package/dist/chunks/{config-37mwd34b.js → location-activity-v3sgzvyr.js} +1 -1
- package/dist/chunks/{config-xvfh2x84.js → location-activity-v56t4fyc.js} +6 -6
- package/dist/chunks/{config-6qg5yf3b.js → location-activity-v9n6xkdt.js} +20 -20
- package/dist/chunks/{config-xdka3trx.js → location-activity-vemj8v7h.js} +19 -19
- package/dist/chunks/{config-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{config-pm9twwzx.js → location-activity-vsy7cpk0.js} +24 -24
- package/dist/chunks/{config-mbmxjtmc.js → location-activity-vtt194rr.js} +13 -13
- package/dist/chunks/{config-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-cx4bma5z.js → location-activity-w4ec0zv4.js} +8 -8
- package/dist/chunks/{config-p1nm93x7.js → location-activity-wbkyxrgf.js} +5 -5
- package/dist/chunks/{config-wd3x2cqz.js → location-activity-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{config-f7e5rkha.js → location-activity-wh2p7wnd.js} +10 -10
- package/dist/chunks/{config-w4rqcj1w.js → location-activity-wvwh7dvb.js} +5 -5
- package/dist/chunks/{config-22aaza4z.js → location-activity-wyvh16fs.js} +23 -23
- package/dist/chunks/{config-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-gbhvfqq2.js → location-activity-x281atxp.js} +15 -15
- package/dist/chunks/{config-dpn9gxbb.js → location-activity-x33npz3x.js} +24 -24
- package/dist/chunks/{config-0br3sbwn.js → location-activity-x3gqap9d.js} +4 -4
- package/dist/chunks/{config-9hccfhrx.js → location-activity-x6zbs7cd.js} +22 -22
- package/dist/chunks/{config-qm5bh2zg.js → location-activity-xbd1cfx7.js} +13 -13
- package/dist/chunks/{config-ssn372xj.js → location-activity-xbrw7k0h.js} +8 -8
- package/dist/chunks/{config-xkntkrq7.js → location-activity-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-0vk9pt22.js → location-activity-xpcx82f9.js} +13 -13
- package/dist/chunks/{config-1h60jvfy.js → location-activity-xyrqpqc7.js} +32 -32
- package/dist/chunks/{config-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-5y2798r0.js → location-activity-yadxyp5v.js} +11 -11
- package/dist/chunks/{config-jvaehxt1.js → location-activity-ybhbtxjg.js} +9 -9
- package/dist/chunks/{config-s6376x3p.js → location-activity-ybj1xhjk.js} +9 -9
- package/dist/chunks/{config-sr5e78z3.js → location-activity-yctj4ypy.js} +10 -10
- package/dist/chunks/{config-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{config-z07pqspn.js → location-activity-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-fjkr4zhg.js → location-activity-z1hgn6m3.js} +14 -14
- package/dist/chunks/{config-b8p7xqbm.js → location-activity-z4b9a0f8.js} +7 -7
- package/dist/chunks/{config-29x78va6.js → location-activity-z63w68vq.js} +6 -6
- package/dist/chunks/{config-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-ne09twhz.js → location-activity-zfp7e1er.js} +26 -26
- package/dist/chunks/{config-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-5c29qaae.js → location-activity-zsrz5tex.js} +11 -11
- package/dist/chunks/{config-yxz8806d.js → location-activity-ztxf5yj9.js} +25 -25
- package/dist/chunks/{config-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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- 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 +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 +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- 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/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 +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +122 -122
- 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 +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 +352 -352
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- 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 +92 -92
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +148 -148
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +231 -231
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +121 -121
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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/config-1x11rq2a.js +0 -18
- package/dist/chunks/config-5w2nd07z.js +0 -252
- package/dist/chunks/config-gbs378er.js +0 -26
- package/dist/chunks/config-qvh4m5s3.js +0 -507
- /package/dist/chunks/{config-0mesazry.js → location-activity-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./location-activity-67k3rpgw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service49,
|
|
12
|
+
node54
|
|
13
|
+
} from "./location-activity-gcn6ae9w.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./location-activity-1dq87ffp.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-b5thdwh1.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-wvwh7dvb.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service51,
|
|
36
|
+
Event12,
|
|
37
|
+
node56
|
|
38
|
+
} from "./location-activity-6p40mn3d.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service48,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
|
+
node: () => node53,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service48 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service75;
|
|
97
|
+
const watcher = yield* Service49;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service74;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service51;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -222,7 +222,7 @@ var layer21 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service48.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer21 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured9(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service48,
|
|
268
|
+
layer: layer19(options),
|
|
269
|
+
deps: [node54, node87, FSUtil.node, Global.node, node79, node78, node56]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node53 = configured9();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service48, Test2, testLayer2, layer19, configured9, node53, exports_config };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service81,
|
|
10
|
+
node: () => node85
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service81 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service81.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node85 = makeLocationNode({ service: Service81, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service81, node85, exports_hooks };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./location-activity-7r8cvc0t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./location-activity-vsy7cpk0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input5,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin6,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name5 = "skill";
|
|
30
|
+
var Input5 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin6 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service42;
|
|
51
|
+
const permission = yield* Service64;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input5,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin26 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output4, description2, toModelOutput2, Plugin6, exports_skill };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node11, exports_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service50,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node55,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service50 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service50.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node55 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured11, node55, exports_select };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service36,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node39
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service36.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service36,
|
|
110
|
+
layer: layer15(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node39 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options5, Service36, layer15, configured5, node39, exports_instruction_discovery };
|
|
@@ -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/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
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 endpoint4 = "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 Plugin38 = 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 Plugin5 = 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, endpoint4, "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 Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin38, exports_firecrawl };
|