@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref4,
|
|
11
|
+
Service75,
|
|
12
|
+
node79
|
|
13
|
+
} from "./location-activity-1dq87ffp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service33,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node36
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service33 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service75;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service33.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node36 = makeLocationNode({ service: Service33, layer, deps: [node87, node79] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service33, node36, exports_rpc, define2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-activity-1dq87ffp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node50
|
|
12
|
+
} from "./location-activity-p4v3fsfm.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service50,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node55
|
|
20
|
+
} from "./location-activity-qa5tgt8t.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service81,
|
|
23
|
+
node85
|
|
24
|
+
} from "./location-activity-pedttwxr.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service45,
|
|
27
|
+
node49
|
|
28
|
+
} from "./location-activity-grxcxy9j.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-activity-jexxy024.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service48,
|
|
35
|
+
node53
|
|
36
|
+
} from "./location-activity-pe89x1zs.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-activity-k307gc3k.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service44,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node48
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service44 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service75;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service50;
|
|
95
|
+
const environment = yield* Service46;
|
|
96
|
+
const hooks = yield* Service81;
|
|
97
|
+
const environments = yield* Service45;
|
|
98
|
+
const config = yield* Service48;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -196,10 +196,10 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
196
196
|
const truncated = latest.size > maxBytes || lines.length > maxLines;
|
|
197
197
|
const text = lines.length > maxLines ? lines.slice(-maxLines).join(`
|
|
198
198
|
`) : page.output;
|
|
199
|
-
const notice = truncated ?
|
|
199
|
+
const notice = truncated ? `
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
return { output: `${text}${notice}`, truncated };
|
|
201
|
+
[full output saved to ${info.file}]` : "";
|
|
202
|
+
return { output: `${text || "(no output)"}${notice}`, truncated };
|
|
203
203
|
}).pipe(Effect.catchTag("Shell.NotFoundError", () => Effect.succeed(undefined)));
|
|
204
204
|
return { info, capture };
|
|
205
205
|
});
|
|
@@ -317,22 +317,22 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
317
317
|
const command = yield* Deferred.await(ready);
|
|
318
318
|
return command.info;
|
|
319
319
|
});
|
|
320
|
-
return
|
|
320
|
+
return Service44.of({ create, list, get, wait, result, timeout, output, remove });
|
|
321
321
|
}));
|
|
322
|
-
var
|
|
323
|
-
service:
|
|
322
|
+
var node48 = makeLocationNode({
|
|
323
|
+
service: Service44,
|
|
324
324
|
layer: layer(),
|
|
325
325
|
deps: [
|
|
326
326
|
node87,
|
|
327
|
-
|
|
327
|
+
node79,
|
|
328
328
|
Global.node,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
329
|
+
node55,
|
|
330
|
+
node50,
|
|
331
|
+
node85,
|
|
332
|
+
node49,
|
|
333
|
+
node53,
|
|
334
334
|
cleanupNode
|
|
335
335
|
]
|
|
336
336
|
});
|
|
337
337
|
|
|
338
|
-
export {
|
|
338
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service44, cleanup2, node48, exports_shell4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./location-activity-fd43cwvv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./location-activity-1dq87ffp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service41,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service41 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node44 = makeLocationNode({
|
|
144
|
+
service: Service41,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service41, Service41.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error3, Service41, node44, noopLayer2, exports_snapshot2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./location-activity-pe89x1zs.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin14 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin43, exports_warming };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-7r8cvc0t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service32,
|
|
12
|
+
node35
|
|
13
|
+
} from "./location-activity-brnskypg.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-6pqk5efw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions3 = {};
|
|
24
24
|
__export(exports_instructions3, {
|
|
25
25
|
McpInstructions: () => exports_instructions3,
|
|
26
26
|
Service: () => Service24,
|
|
27
|
-
layer: () =>
|
|
27
|
+
layer: () => layer10,
|
|
28
28
|
node: () => node28
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -63,11 +63,11 @@ var update = (previous, current) => {
|
|
|
63
63
|
|
|
64
64
|
class Service24 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
66
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service32;
|
|
68
68
|
return Service24.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node28 = makeLocationNode({ service: Service24, layer:
|
|
99
|
+
var node28 = makeLocationNode({ service: Service24, layer: layer10, deps: [node35] });
|
|
100
100
|
|
|
101
|
-
export { Service24,
|
|
101
|
+
export { Service24, layer10, node28, exports_instructions3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-v56t4fyc.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-tjd23wwa.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service46,
|
|
8
|
+
node50
|
|
9
|
+
} from "./location-activity-p4v3fsfm.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-mp0cjcyf.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service46;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node50] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|