@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service63,
|
|
3
|
+
node67,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-k1ays8z9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node63
|
|
9
|
+
} from "./location-activity-fpq9acqp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./location-activity-dbmgmdhy.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-047swmqf.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service63, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service18);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node63.replace(Layer.succeed(Service59, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node67.replace(Layer.succeed(Service63, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-ybhbtxjg.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-7r8cvc0t.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-ztxf5yj9.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-xpcx82f9.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node81
|
|
6
|
+
} from "./location-activity-fd43cwvv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node79
|
|
10
|
+
} from "./location-activity-1dq87ffp.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make17
|
|
16
|
+
} from "./location-activity-4wev17cz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service53,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node58
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service53 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service75;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make17;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node58 = makeLocationNode({
|
|
61
|
+
service: Service53,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node79, Global.node, node81, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service53, node58, exports_strategies };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-t8sq68e4.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./location-activity-yadxyp5v.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-a3r4dcrj.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service66,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node70
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service66 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service66.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service66, node70, exports_store };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./location-activity-svem01f7.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-ybhbtxjg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service41;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-t8sq68e4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-rvkgzh6z.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-ssdqnhy0.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load5
|
|
23
|
+
} from "./location-activity-yadxyp5v.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-v3sgzvyr.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-p9q2mgq8.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-activity-6y72mser.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-activity-rk68jqwy.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-activity-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-activity-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -377,7 +377,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service12.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node14 = makeLocationNode({
|
|
619
|
+
service: Service12,
|
|
620
620
|
layer: layer7,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
|
|
@@ -1,71 +1,71 @@
|
|
|
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
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service67,
|
|
12
|
+
node71
|
|
13
|
+
} from "./location-activity-ey8s4w80.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./location-activity-ybhbtxjg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node70
|
|
20
|
+
} from "./location-activity-76g3e01w.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service65,
|
|
26
|
+
node69
|
|
27
|
+
} from "./location-activity-gvj374je.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service81,
|
|
30
|
+
node85
|
|
31
|
+
} from "./location-activity-pedttwxr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
|
+
ID: () => ID8,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service64,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node68
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID8 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID10.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID8,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID8,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID8
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service64 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service75;
|
|
133
|
+
const agents = yield* Service67;
|
|
134
|
+
const sessions = yield* Service66;
|
|
135
|
+
const saved = yield* Service65;
|
|
136
|
+
const hooks = yield* Service81;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID8.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID8.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service64.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node68 = makeLocationNode({
|
|
303
|
+
service: Service64,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node79, node71, node70, node69, node85]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission2, Rule3, Ruleset2, Event14 };
|