@opencode/core 0.0.0-dev-19651 → 0.0.0-dev-19653
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{ripgrep-m6aadvxh.js → snapshot-01thgb1n.js} +66 -66
- package/dist/chunks/{ripgrep-ms5gt4ej.js → snapshot-05qwv096.js} +12 -12
- package/dist/chunks/{ripgrep-mbx6ky7y.js → snapshot-0h83wq1x.js} +11 -11
- package/dist/chunks/{ripgrep-6hjx5zpb.js → snapshot-0jq9fyba.js} +9 -9
- package/dist/chunks/snapshot-0mesazry.js +4 -0
- package/dist/chunks/{ripgrep-2a0dx3gy.js → snapshot-0msp93dq.js} +11 -11
- package/dist/chunks/{ripgrep-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-pnaxc6j9.js → snapshot-0xezjjjn.js} +8 -8
- package/dist/chunks/{ripgrep-h8xv34qf.js → snapshot-10x1vztd.js} +34 -34
- package/dist/chunks/{ripgrep-wna05xfk.js → snapshot-12t47v60.js} +5 -5
- package/dist/chunks/{ripgrep-qa3qhgw8.js → snapshot-19vf66h0.js} +4 -4
- package/dist/chunks/{ripgrep-ep11t42c.js → snapshot-1apne1gy.js} +41 -41
- package/dist/chunks/{ripgrep-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-aj930q3s.js → snapshot-1ef5mg7v.js} +3 -3
- package/dist/chunks/{ripgrep-b8hzf7nw.js → snapshot-1fh5hkmz.js} +8 -8
- package/dist/chunks/{ripgrep-4y72ap3v.js → snapshot-1jfn0zqb.js} +12 -12
- package/dist/chunks/{ripgrep-sm51y2s9.js → snapshot-1md7fgng.js} +15 -15
- package/dist/chunks/{ripgrep-waezr4dz.js → snapshot-1ny5n266.js} +9 -9
- package/dist/chunks/{ripgrep-bprqj5v0.js → snapshot-1th92w80.js} +24 -24
- package/dist/chunks/{ripgrep-5dmft2ek.js → snapshot-1y3jj0rs.js} +18 -18
- package/dist/chunks/{ripgrep-mfqp6xfm.js → snapshot-1ygqh575.js} +6 -6
- package/dist/chunks/{ripgrep-w2p2yfvn.js → snapshot-1yrbrdr0.js} +4 -4
- package/dist/chunks/{ripgrep-2sns7k14.js → snapshot-1ysy6ptp.js} +49 -49
- package/dist/chunks/{ripgrep-th2e34zp.js → snapshot-218gy5ye.js} +5 -5
- package/dist/chunks/{ripgrep-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-q6d53jre.js → snapshot-2336b01z.js} +8 -8
- package/dist/chunks/{ripgrep-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-bpb88xcm.js → snapshot-26wn6ybt.js} +295 -295
- package/dist/chunks/{ripgrep-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{ripgrep-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-yj0vbjjc.js → snapshot-2fvxk96d.js} +3 -3
- package/dist/chunks/{ripgrep-5149gher.js → snapshot-2gygnsh6.js} +11 -11
- package/dist/chunks/{ripgrep-z541ag29.js → snapshot-2nymxq0b.js} +1 -1
- package/dist/chunks/{ripgrep-zw7perxp.js → snapshot-2wr5drz2.js} +8 -8
- package/dist/chunks/{ripgrep-75cgqmea.js → snapshot-32mp9n9c.js} +13 -13
- package/dist/chunks/{ripgrep-3ap7mgrf.js → snapshot-3ap7mgrf.js} +2 -2
- package/dist/chunks/{ripgrep-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-ypsb1mmg.js → snapshot-3pyz1as7.js} +11 -11
- package/dist/chunks/{ripgrep-43y6qqc6.js → snapshot-3qd7w4g0.js} +15 -15
- package/dist/chunks/{ripgrep-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-avfc6w3p.js → snapshot-3trdb5vg.js} +14 -14
- package/dist/chunks/{ripgrep-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-252wh90r.js → snapshot-3wbd4v1a.js} +10 -10
- package/dist/chunks/{ripgrep-eh8sk6sx.js → snapshot-3xm7255b.js} +8 -8
- package/dist/chunks/{ripgrep-n00nrqde.js → snapshot-49tdp8w1.js} +39 -39
- package/dist/chunks/{ripgrep-7sr68zac.js → snapshot-4da5jyfn.js} +20 -20
- package/dist/chunks/{ripgrep-bxje3ty2.js → snapshot-5bvcz4p2.js} +11 -11
- package/dist/chunks/{ripgrep-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-bcphrpfy.js → snapshot-5ddxzgrt.js} +21 -21
- package/dist/chunks/snapshot-5ms05kda.js +247 -0
- package/dist/chunks/{ripgrep-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/snapshot-619r8v3y.js +18 -0
- package/dist/chunks/{ripgrep-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-q8td851s.js → snapshot-66dcbfb0.js} +24 -24
- package/dist/chunks/{ripgrep-48y73nye.js → snapshot-69dycrt6.js} +20 -20
- package/dist/chunks/{ripgrep-ydnpd9e9.js → snapshot-69vedpkd.js} +4 -4
- package/dist/chunks/{ripgrep-qecpqjj2.js → snapshot-6ad4ne84.js} +11 -11
- package/dist/chunks/{ripgrep-f8yxf6yh.js → snapshot-6kse8r33.js} +2 -2
- package/dist/chunks/{ripgrep-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-wzryet09.js → snapshot-6rpmvfyt.js} +11 -11
- package/dist/chunks/{ripgrep-1bbkgx8g.js → snapshot-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-bkkzjt1w.js → snapshot-7b52g2gd.js} +30 -30
- package/dist/chunks/{ripgrep-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-qgn6gcr1.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-76d2vfts.js → snapshot-7h87z3j8.js} +15 -15
- package/dist/chunks/{ripgrep-p2f705pb.js → snapshot-7rch35r1.js} +15 -15
- package/dist/chunks/{ripgrep-5x65af3d.js → snapshot-87dr90gt.js} +6 -6
- package/dist/chunks/{ripgrep-qhd4nzg7.js → snapshot-89q4ger5.js} +11 -11
- package/dist/chunks/{ripgrep-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-wee84rza.js → snapshot-8e1mf62q.js} +3 -3
- package/dist/chunks/{ripgrep-dpsj4cd4.js → snapshot-8jrg70p8.js} +24 -24
- package/dist/chunks/{ripgrep-6tnb4hg1.js → snapshot-8p3ra840.js} +13 -13
- package/dist/chunks/{ripgrep-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-mvst46h0.js → snapshot-8vdf1faw.js} +20 -20
- package/dist/chunks/{ripgrep-24krv7xn.js → snapshot-90fr4d2x.js} +20 -20
- package/dist/chunks/{ripgrep-syr8hw1k.js → snapshot-93kcsy4k.js} +25 -25
- package/dist/chunks/{ripgrep-179189h4.js → snapshot-9e3vcssh.js} +4 -4
- package/dist/chunks/{ripgrep-ce8ybvb1.js → snapshot-9e768ymn.js} +21 -21
- package/dist/chunks/{ripgrep-z5cdbbre.js → snapshot-9mdncq0s.js} +20 -20
- package/dist/chunks/{ripgrep-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-a3r4dcrj.js → snapshot-a3r4dcrj.js} +2 -2
- package/dist/chunks/{ripgrep-jjcjwdby.js → snapshot-a74266j8.js} +16 -16
- package/dist/chunks/{ripgrep-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-57ez7d0k.js → snapshot-aamtrqep.js} +9 -9
- package/dist/chunks/{ripgrep-8av4ea0y.js → snapshot-aceeg3cp.js} +29 -29
- package/dist/chunks/{ripgrep-5sc1p3pa.js → snapshot-af89ncq8.js} +16 -16
- package/dist/chunks/{ripgrep-1tgtm9xq.js → snapshot-akp91e4k.js} +13 -13
- package/dist/chunks/{ripgrep-bqqqenec.js → snapshot-ar8rz7nx.js} +7 -7
- package/dist/chunks/{ripgrep-5saq5gnw.js → snapshot-argg83d8.js} +13 -13
- package/dist/chunks/{ripgrep-6mrn9vmw.js → snapshot-awftjxgk.js} +30 -30
- package/dist/chunks/{ripgrep-m4h5krzp.js → snapshot-awgbw8fq.js} +31 -31
- package/dist/chunks/{ripgrep-kqab4rks.js → snapshot-b128nfhh.js} +5 -5
- package/dist/chunks/{ripgrep-9kpqy124.js → snapshot-b5816jtq.js} +27 -27
- package/dist/chunks/{ripgrep-92rdngqa.js → snapshot-b5h975ar.js} +18 -18
- package/dist/chunks/{ripgrep-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-bdqrk2vk.js → snapshot-bdqrk2vk.js} +1 -1
- package/dist/chunks/{ripgrep-f269mvek.js → snapshot-bh94tj1g.js} +38 -38
- package/dist/chunks/{ripgrep-awg9kq3k.js → snapshot-bn8ttp5v.js} +9 -9
- package/dist/chunks/{ripgrep-e5nv3ght.js → snapshot-bndc73cn.js} +5 -5
- package/dist/chunks/{ripgrep-e73xc17j.js → snapshot-bppjq47q.js} +11 -11
- package/dist/chunks/{ripgrep-6pmkj1a3.js → snapshot-bpwjc9wy.js} +19 -19
- package/dist/chunks/{ripgrep-6gv9q03x.js → snapshot-bq4csc8x.js} +6 -6
- package/dist/chunks/snapshot-c4g7evww.js +26 -0
- package/dist/chunks/{ripgrep-enmmrcfv.js → snapshot-c877w3g9.js} +28 -28
- package/dist/chunks/{ripgrep-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-6tt5evqq.js → snapshot-cq37gk0t.js} +4 -4
- package/dist/chunks/{ripgrep-5c0f1prt.js → snapshot-csf2jhsg.js} +4 -4
- package/dist/chunks/{ripgrep-teb3r9wt.js → snapshot-ctvc05cr.js} +17 -17
- package/dist/chunks/{ripgrep-0f9afca0.js → snapshot-d2aac7k2.js} +5 -5
- package/dist/chunks/{ripgrep-29j6d3vm.js → snapshot-dcqsap79.js} +11 -11
- package/dist/chunks/{ripgrep-9f2y37s0.js → snapshot-dpz4ks7y.js} +5 -5
- package/dist/chunks/{ripgrep-y22499gx.js → snapshot-drnp37zn.js} +1 -1
- package/dist/chunks/{ripgrep-xfkkasph.js → snapshot-drwq78ky.js} +4 -4
- package/dist/chunks/{ripgrep-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-3b0jx1ke.js → snapshot-e80mc8w1.js} +18 -18
- package/dist/chunks/{ripgrep-ps6d77n5.js → snapshot-edb149hz.js} +6 -6
- package/dist/chunks/{ripgrep-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-6y7j38z1.js → snapshot-eqmsh7pr.js} +9 -9
- package/dist/chunks/{ripgrep-n2jambzy.js → snapshot-er24ykwd.js} +53 -53
- package/dist/chunks/{ripgrep-253g34ze.js → snapshot-erzjndax.js} +8 -8
- package/dist/chunks/{ripgrep-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-yp6r65vs.js → snapshot-exh8aam3.js} +15 -15
- package/dist/chunks/{ripgrep-z1ej3c62.js → snapshot-eygb68nf.js} +23 -23
- package/dist/chunks/{ripgrep-yp2x3t23.js → snapshot-f2n192rq.js} +4 -4
- package/dist/chunks/{ripgrep-a7gfxea1.js → snapshot-f6h37ngn.js} +33 -33
- package/dist/chunks/{ripgrep-f828m53h.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-e70wmrry.js → snapshot-fcs2b5j4.js} +16 -16
- package/dist/chunks/{ripgrep-cy14vcgm.js → snapshot-fdzrfqx5.js} +4 -4
- package/dist/chunks/{ripgrep-vtcp04qa.js → snapshot-fkwnxpt2.js} +3 -3
- package/dist/chunks/{ripgrep-tj7hexbd.js → snapshot-fn0sks19.js} +6 -6
- package/dist/chunks/{ripgrep-tahaqeyb.js → snapshot-fq55hpy7.js} +24 -24
- package/dist/chunks/{ripgrep-e6qp4kc5.js → snapshot-fve3v9r5.js} +17 -17
- package/dist/chunks/{ripgrep-svsy9rmq.js → snapshot-fwbhsxh7.js} +3 -3
- package/dist/chunks/{ripgrep-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-3hfr6h8q.js → snapshot-g0445xdp.js} +8 -8
- package/dist/chunks/{ripgrep-jp7ckd89.js → snapshot-g290m0sn.js} +9 -9
- package/dist/chunks/{ripgrep-mzvzs703.js → snapshot-g7jvb7c9.js} +12 -12
- package/dist/chunks/{ripgrep-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-5d607bsg.js → snapshot-gjwgx2c5.js} +9 -9
- package/dist/chunks/{ripgrep-ac373s4s.js → snapshot-gkkbyfpt.js} +14 -14
- package/dist/chunks/{ripgrep-8fv676xw.js → snapshot-gp07xrgk.js} +3 -3
- package/dist/chunks/{ripgrep-sd98cdqm.js → snapshot-grmpjd60.js} +15 -15
- package/dist/chunks/{ripgrep-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-pt0e9nek.js → snapshot-gyg781zn.js} +77 -77
- package/dist/chunks/{ripgrep-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-3r2erwe8.js → snapshot-h2ez88j0.js} +160 -160
- package/dist/chunks/{ripgrep-h6r3nrb9.js → snapshot-h6r3nrb9.js} +1 -1
- package/dist/chunks/{ripgrep-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-ta523pqp.js → snapshot-h8hzwc5x.js} +1 -1
- package/dist/chunks/{ripgrep-7km188d0.js → snapshot-hb0he38b.js} +5 -5
- package/dist/chunks/{ripgrep-frhj4dms.js → snapshot-hfn0tva4.js} +12 -12
- package/dist/chunks/{ripgrep-rpg9c19m.js → snapshot-hn57h045.js} +4 -4
- package/dist/chunks/{ripgrep-j7x63ng9.js → snapshot-hn75ne8v.js} +18 -18
- package/dist/chunks/{ripgrep-jv01nqvq.js → snapshot-hnr5yq9h.js} +5 -5
- package/dist/chunks/{ripgrep-yyn26yh6.js → snapshot-hpwzmg5q.js} +9 -9
- package/dist/chunks/{ripgrep-h092eefw.js → snapshot-hqymy954.js} +23 -23
- package/dist/chunks/{ripgrep-7dgexg80.js → snapshot-hsj3aajr.js} +47 -47
- package/dist/chunks/{ripgrep-gtm0r2yw.js → snapshot-hsp1havs.js} +15 -15
- package/dist/chunks/{ripgrep-yhk486qm.js → snapshot-hst1fhzz.js} +14 -14
- package/dist/chunks/{ripgrep-jvgez6pn.js → snapshot-hvq2e6yw.js} +24 -24
- package/dist/chunks/{ripgrep-ct5mx16d.js → snapshot-hvxr6sb7.js} +20 -20
- package/dist/chunks/{ripgrep-vft62zwd.js → snapshot-j0wffheb.js} +4 -4
- package/dist/chunks/{ripgrep-jec41gjm.js → snapshot-j1198zr5.js} +9 -9
- package/dist/chunks/{ripgrep-adj67hrf.js → snapshot-j1cg1qz3.js} +33 -33
- package/dist/chunks/{ripgrep-gvr6y9jr.js → snapshot-j4yjh87y.js} +33 -33
- package/dist/chunks/{ripgrep-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-tctec8mv.js → snapshot-jbj8jg2f.js} +9 -9
- package/dist/chunks/{ripgrep-r8bhxde6.js → snapshot-jkw5p48s.js} +2 -2
- package/dist/chunks/{ripgrep-a9f26sj6.js → snapshot-jmq43bvs.js} +7 -7
- package/dist/chunks/{ripgrep-nmqjzj6h.js → snapshot-jzcabyfg.js} +4 -4
- package/dist/chunks/{ripgrep-2wyx13rv.js → snapshot-jzsegfhb.js} +4 -4
- package/dist/chunks/{ripgrep-ykdp11k0.js → snapshot-k5721584.js} +4 -4
- package/dist/chunks/{ripgrep-cq55yzqn.js → snapshot-kbvc63j3.js} +10 -10
- package/dist/chunks/{ripgrep-w9232wac.js → snapshot-kebtznj1.js} +9 -9
- package/dist/chunks/{ripgrep-k2r7sfhd.js → snapshot-kkzntj36.js} +24 -24
- package/dist/chunks/{ripgrep-e3wb4dtq.js → snapshot-kmbfnqse.js} +4 -4
- package/dist/chunks/{ripgrep-44ke2mar.js → snapshot-knb7evpn.js} +2 -2
- package/dist/chunks/{ripgrep-n1czd7vp.js → snapshot-m0kv6xab.js} +8 -8
- package/dist/chunks/{ripgrep-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-ge4kd7q2.js → snapshot-mft8z28a.js} +7 -7
- package/dist/chunks/{ripgrep-hryd4p41.js → snapshot-mqs2tvqp.js} +11 -11
- package/dist/chunks/{ripgrep-cyz92fbd.js → snapshot-mqxhjc40.js} +41 -41
- package/dist/chunks/{ripgrep-gdzyqw3g.js → snapshot-mrfv1e3e.js} +43 -43
- package/dist/chunks/{ripgrep-2s3d9dsp.js → snapshot-mwyy18e8.js} +11 -11
- package/dist/chunks/{ripgrep-xsh2gjj9.js → snapshot-mxv3m5ng.js} +9 -9
- package/dist/chunks/{ripgrep-e935xhvr.js → snapshot-n36b8xge.js} +27 -27
- package/dist/chunks/{ripgrep-hm24pp5g.js → snapshot-ne3jdqry.js} +6 -6
- package/dist/chunks/{ripgrep-q5rhn9x0.js → snapshot-njct8jvz.js} +11 -11
- package/dist/chunks/{ripgrep-pma9pq0s.js → snapshot-nnq58889.js} +26 -26
- package/dist/chunks/{ripgrep-a7y95dg8.js → snapshot-ntxwhzte.js} +12 -12
- package/dist/chunks/{ripgrep-8ncj45nv.js → snapshot-nwbtwnx3.js} +15 -15
- package/dist/chunks/{ripgrep-nmtykjd1.js → snapshot-nwha1t5p.js} +28 -28
- package/dist/chunks/{ripgrep-z5kf7ndz.js → snapshot-pcgbtdxm.js} +50 -50
- package/dist/chunks/{ripgrep-ttbky7b8.js → snapshot-pddmdwmf.js} +19 -19
- package/dist/chunks/{ripgrep-48exnw03.js → snapshot-phbzgask.js} +20 -20
- package/dist/chunks/{ripgrep-3dw0yn7k.js → snapshot-phjaars8.js} +6 -6
- package/dist/chunks/{ripgrep-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-3f7eawa7.js → snapshot-pp9p7z27.js} +5 -5
- package/dist/chunks/{ripgrep-pgr85bm1.js → snapshot-pt64hy19.js} +30 -30
- package/dist/chunks/{ripgrep-wbd0sh62.js → snapshot-q1c6gfm2.js} +22 -22
- package/dist/chunks/{ripgrep-dqx57jvk.js → snapshot-q3gzdryb.js} +7 -7
- package/dist/chunks/{ripgrep-s323gek4.js → snapshot-qhsabzhs.js} +9 -9
- package/dist/chunks/{ripgrep-ebt2v526.js → snapshot-qqcmrm0p.js} +17 -17
- package/dist/chunks/{ripgrep-a8zr1srk.js → snapshot-qs001aqx.js} +11 -11
- package/dist/chunks/{ripgrep-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-cpy6gm2a.js → snapshot-qz49fwgp.js} +4 -4
- package/dist/chunks/{ripgrep-gsf1yvdt.js → snapshot-r86vms50.js} +22 -22
- package/dist/chunks/{ripgrep-sx1n432n.js → snapshot-r98e92ep.js} +4 -4
- package/dist/chunks/{ripgrep-r9mregkx.js → snapshot-r9mregkx.js} +2 -2
- package/dist/chunks/{ripgrep-4r3kphav.js → snapshot-rd783k6y.js} +18 -18
- package/dist/chunks/{ripgrep-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-r4yqrmdq.js → snapshot-rf80fxgj.js} +5 -5
- package/dist/chunks/{ripgrep-j3s2z371.js → snapshot-rhafb4aa.js} +9 -9
- package/dist/chunks/{ripgrep-s8d7rejh.js → snapshot-rhjbct0v.js} +4 -4
- package/dist/chunks/{ripgrep-2mr0mq8k.js → snapshot-rj4axa9p.js} +7 -7
- package/dist/chunks/{ripgrep-xm47dg1f.js → snapshot-rr2wt9g3.js} +4 -4
- package/dist/chunks/{ripgrep-4yfzzjgx.js → snapshot-rz3xxe6k.js} +56 -56
- package/dist/chunks/{ripgrep-7wzgrp26.js → snapshot-s13g4vm4.js} +14 -14
- package/dist/chunks/{ripgrep-q34rxkyh.js → snapshot-s4emxj9z.js} +26 -26
- package/dist/chunks/{ripgrep-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-qhrjm1kp.js → snapshot-sa73gjsr.js} +44 -44
- package/dist/chunks/{ripgrep-hr56d05f.js → snapshot-sd061d7v.js} +13 -13
- package/dist/chunks/{ripgrep-348jn79r.js → snapshot-sh4v7n8h.js} +22 -22
- package/dist/chunks/{ripgrep-0czxdnwf.js → snapshot-st1gh55s.js} +1 -1
- package/dist/chunks/{ripgrep-rq60b8cd.js → snapshot-sv3gqcn4.js} +20 -20
- package/dist/chunks/{ripgrep-4ndvwbzn.js → snapshot-t594wqmv.js} +3 -3
- package/dist/chunks/{ripgrep-vc59xfej.js → snapshot-t5emj2h2.js} +27 -27
- package/dist/chunks/{ripgrep-090p04ra.js → snapshot-ta2099j2.js} +47 -47
- package/dist/chunks/{ripgrep-mxfbfm56.js → snapshot-tar7az88.js} +1 -1
- package/dist/chunks/{ripgrep-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-tn0aqsam.js → snapshot-tn0aqsam.js} +2 -2
- package/dist/chunks/{ripgrep-zhq6vg7a.js → snapshot-ts2x07a1.js} +1 -1
- package/dist/chunks/{ripgrep-t4nv35py.js → snapshot-tsm2qp81.js} +20 -20
- package/dist/chunks/{ripgrep-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-dz5p8mjs.js → snapshot-tzv9gha2.js} +10 -10
- package/dist/chunks/{ripgrep-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-0gt7v72w.js → snapshot-vkgpxk0m.js} +22 -22
- package/dist/chunks/{ripgrep-3pn063cz.js → snapshot-vq4eqjm7.js} +1 -1
- package/dist/chunks/{ripgrep-yf4jcbx9.js → snapshot-vqfzq50h.js} +6 -6
- package/dist/chunks/{ripgrep-p89m3vhk.js → snapshot-vrvxb7z7.js} +12 -12
- package/dist/chunks/{ripgrep-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-fee70ycn.js → snapshot-w2fs4da3.js} +11 -11
- package/dist/chunks/{ripgrep-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-g51abb3s.js → snapshot-w435n5nj.js} +22 -22
- package/dist/chunks/{ripgrep-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-vmfeg136.js → snapshot-wdn2d5ek.js} +8 -8
- package/dist/chunks/{ripgrep-s0b4cn51.js → snapshot-wfdf6d3v.js} +9 -9
- package/dist/chunks/{ripgrep-ybhbtxjg.js → snapshot-wrhfnc47.js} +9 -9
- package/dist/chunks/{ripgrep-btjz98dh.js → snapshot-wsepfvn3.js} +2 -2
- package/dist/chunks/{ripgrep-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-40hkqv6b.js → snapshot-x8mrydwy.js} +3 -3
- package/dist/chunks/{ripgrep-b3a3benk.js → snapshot-xac6wcsk.js} +17 -17
- package/dist/chunks/{ripgrep-a8bn8zg0.js → snapshot-xdk9p2qn.js} +21 -21
- package/dist/chunks/{ripgrep-jpbjg4xy.js → snapshot-xe6a6y7j.js} +42 -42
- package/dist/chunks/{ripgrep-tzp42dcf.js → snapshot-y1ah066v.js} +32 -32
- package/dist/chunks/{ripgrep-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-4c2df9zx.js → snapshot-y1qqcj8h.js} +8 -8
- package/dist/chunks/{ripgrep-qsbynavx.js → snapshot-y22m1gtg.js} +11 -11
- package/dist/chunks/{ripgrep-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-ntygj04g.js → snapshot-y742baad.js} +33 -33
- package/dist/chunks/{ripgrep-4pa2cjn6.js → snapshot-y9y2zt4e.js} +28 -28
- package/dist/chunks/{ripgrep-qpg5v3mm.js → snapshot-yehf1tbz.js} +15 -15
- package/dist/chunks/{ripgrep-vqha9mct.js → snapshot-yntgc0th.js} +23 -23
- package/dist/chunks/{ripgrep-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-6tgkqtb7.js → snapshot-yzmrefmx.js} +34 -34
- package/dist/chunks/{ripgrep-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-3b9qt4hj.js → snapshot-z3nay82g.js} +9 -9
- package/dist/chunks/{ripgrep-ck10g682.js → snapshot-z73n086k.js} +20 -20
- package/dist/chunks/{ripgrep-09sfstvz.js → snapshot-z896z5cb.js} +14 -14
- package/dist/chunks/{ripgrep-r00sg9dg.js → snapshot-z8kb0hdh.js} +22 -22
- package/dist/chunks/{ripgrep-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-a12n6xvh.js → snapshot-zt79f2av.js} +9 -9
- package/dist/chunks/{ripgrep-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +93 -93
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +93 -93
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +355 -355
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +89 -89
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +88 -88
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/ripgrep-cn8hjhwa.js +0 -26
- package/dist/chunks/ripgrep-hxa7m5za.js +0 -4
- package/dist/chunks/ripgrep-sgrk0bmb.js +0 -247
- package/dist/chunks/ripgrep-v1faaxn9.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jexxy024.js → snapshot-jexxy024.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-xac6wcsk.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-mxv3m5ng.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-q1c6gfm2.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin12,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -36,4 +36,4 @@ var Plugin30 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export { identity2,
|
|
39
|
+
export { identity2, Plugin12, exports_identity };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node5, exports_sdk };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event20
|
|
9
|
+
} from "./snapshot-c877w3g9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID16
|
|
12
|
+
} from "./snapshot-t5emj2h2.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
15
|
Service74
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-xac6wcsk.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-2fvxk96d.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-rz3xxe6k.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info9,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service48,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node51,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info9 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service48 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service81;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service48.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node51 = makeLocationNode({
|
|
112
|
+
service: Service48,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node85]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info9, ID5, Name2, available2, toModelOutput3, prepare3, Service48, node51, exports_skill5, Event9 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin20,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin20 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin40 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin20, exports_opencode };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./snapshot-1y3jj0rs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./snapshot-vqfzq50h.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service41;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref3
|
|
3
|
+
} from "./snapshot-fve3v9r5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_location_service_map, {
|
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
12
|
Service: () => Service56,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node59
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
@@ -23,12 +23,12 @@ class Service56 extends Context.Service()("@opencode/example/LocationServiceMap"
|
|
|
23
23
|
return Layer.unwrap(Effect.map(Service56, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
|
-
return
|
|
28
|
+
return Ref3.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export { Service56,
|
|
34
|
+
export { Service56, node59, canonical3, exports_location_service_map };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service61
|
|
7
|
+
} from "./snapshot-f6h37ngn.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-wrhfnc47.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ 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* Service61;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-fkwnxpt2.js";
|
|
8
8
|
import {
|
|
9
9
|
Service81,
|
|
10
10
|
node85
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node81
|
|
15
|
+
} from "./snapshot-1jfn0zqb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-aamtrqep.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info30,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID14 = ID15;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID14
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service77;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service81;
|
|
101
101
|
const db = (yield* Service82).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID14.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event18.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID14.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID14.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID14.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID14.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service76.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node80 = makeGlobalNode({
|
|
276
|
+
service: Service76,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node85, node86, FSUtil.node,
|
|
278
|
+
deps: [node85, node86, FSUtil.node, node81, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID14, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
|