@opencode/core 0.0.0-dev-19634 → 0.0.0-dev-19636
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 +80 -80
- 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/{location-activity-d0k04ae2.js → filesystem-084qjam6.js} +16 -16
- package/dist/chunks/{location-activity-xcr2005v.js → filesystem-0dfh98b5.js} +7 -7
- package/dist/chunks/{location-activity-mek6yvvy.js → filesystem-0e31t5vv.js} +14 -14
- package/dist/chunks/{location-activity-fcrkznn8.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-activity-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-activity-4ty2qzq0.js → filesystem-11eespba.js} +33 -33
- package/dist/chunks/{location-activity-yh6estck.js → filesystem-122hfxms.js} +41 -41
- package/dist/chunks/{location-activity-denegxrg.js → filesystem-13b2ng85.js} +3 -3
- package/dist/chunks/{location-activity-eq1pz5kg.js → filesystem-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-activity-z2ccthd6.js → filesystem-1bdj34ne.js} +27 -27
- package/dist/chunks/{location-activity-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-s4anq1bw.js → filesystem-1fmrbde1.js} +8 -8
- package/dist/chunks/{location-activity-60apdgrg.js → filesystem-1h3h6ne9.js} +17 -17
- package/dist/chunks/{location-activity-pttq9aty.js → filesystem-1nr6pf8e.js} +27 -27
- package/dist/chunks/{location-activity-p2tjnj4y.js → filesystem-1rxs6y3d.js} +32 -32
- package/dist/chunks/{location-activity-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-bygegc7p.js → filesystem-24aj2vr8.js} +19 -19
- package/dist/chunks/{location-activity-nscznvay.js → filesystem-24dd53tp.js} +9 -9
- package/dist/chunks/{location-activity-twg49p76.js → filesystem-294fw6fk.js} +20 -20
- package/dist/chunks/{location-activity-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-nekcz3xb.js → filesystem-2a7p2dsd.js} +32 -32
- package/dist/chunks/{location-activity-hnzxsa26.js → filesystem-2b0awdga.js} +20 -20
- package/dist/chunks/{location-activity-7mnesavp.js → filesystem-2begppk9.js} +33 -33
- package/dist/chunks/{location-activity-0ke265bw.js → filesystem-2fgn2we9.js} +7 -7
- package/dist/chunks/{location-activity-v27f6r8c.js → filesystem-2fjrq4z2.js} +8 -8
- package/dist/chunks/{location-activity-hfdr1yjj.js → filesystem-2tfmgkzg.js} +4 -4
- package/dist/chunks/{location-activity-g9fxbq4t.js → filesystem-2zyp5ek9.js} +8 -8
- package/dist/chunks/{location-activity-33w4ejhs.js → filesystem-33w4ejhs.js} +2 -2
- package/dist/chunks/{location-activity-4c8bw516.js → filesystem-361qychh.js} +8 -8
- package/dist/chunks/{location-activity-gzvp2enz.js → filesystem-36sxhdsk.js} +47 -47
- package/dist/chunks/{location-activity-4vmfdbff.js → filesystem-3brweq1y.js} +25 -25
- package/dist/chunks/{location-activity-hcjrr87k.js → filesystem-3dgjdry5.js} +32 -32
- package/dist/chunks/{location-activity-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-2vzzw6jp.js → filesystem-3fqm51rm.js} +25 -25
- package/dist/chunks/{location-activity-0cepvv5p.js → filesystem-3g6gd80t.js} +6 -6
- package/dist/chunks/{location-activity-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-j0hg1fhw.js → filesystem-3r886gma.js} +16 -16
- package/dist/chunks/{location-activity-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-tn0aqsam.js → filesystem-3w0fmcng.js} +5 -5
- package/dist/chunks/{location-activity-bscb95cy.js → filesystem-4541pte3.js} +6 -6
- package/dist/chunks/{location-activity-43pnnnvw.js → filesystem-46qxp0cq.js} +31 -31
- package/dist/chunks/{location-activity-906sagcd.js → filesystem-474v7c4x.js} +14 -14
- package/dist/chunks/{location-activity-d7gawgh4.js → filesystem-48egeg7n.js} +4 -4
- package/dist/chunks/{location-activity-bhxbyefv.js → filesystem-4br0erxd.js} +20 -20
- package/dist/chunks/{location-activity-rfz3en0a.js → filesystem-4ne2b2yw.js} +3 -3
- package/dist/chunks/{location-activity-cgfbfj64.js → filesystem-4ttgz70x.js} +11 -11
- package/dist/chunks/{location-activity-82smkxr2.js → filesystem-4xzs0z00.js} +6 -6
- package/dist/chunks/{location-activity-a1bz86dw.js → filesystem-5c4hm403.js} +3 -3
- package/dist/chunks/{location-activity-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-aesb1r43.js → filesystem-5dgzn4tn.js} +14 -14
- package/dist/chunks/{location-activity-mwfp9aa9.js → filesystem-5h05hjvz.js} +8 -8
- package/dist/chunks/{location-activity-cdy9nwq0.js → filesystem-5qcj4ksz.js} +1 -1
- package/dist/chunks/{location-activity-6h2kpdsd.js → filesystem-5sb5x7cf.js} +22 -22
- package/dist/chunks/{location-activity-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-86v6ay1d.js → filesystem-5w5asw02.js} +14 -14
- package/dist/chunks/{location-activity-dv1qgsyq.js → filesystem-5yzzbxa7.js} +8 -8
- package/dist/chunks/{location-activity-g17wn8cw.js → filesystem-628568aw.js} +12 -12
- package/dist/chunks/{location-activity-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-gqbhnfc6.js → filesystem-68cg48z6.js} +12 -12
- package/dist/chunks/{location-activity-fpq9acqp.js → filesystem-6ehbgqat.js} +6 -6
- package/dist/chunks/{location-activity-3nzecmrt.js → filesystem-6f67xk9m.js} +13 -13
- package/dist/chunks/{location-activity-2402vzrj.js → filesystem-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-activity-3104ney4.js → filesystem-6hcnmam1.js} +8 -8
- package/dist/chunks/{location-activity-1g7epwpd.js → filesystem-6hh8tjw2.js} +7 -7
- package/dist/chunks/{location-activity-82rhge12.js → filesystem-6hjx5zpb.js} +9 -9
- package/dist/chunks/{location-activity-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-17zqhntc.js → filesystem-6r8wc0ff.js} +23 -25
- package/dist/chunks/{location-activity-pxzgjcae.js → filesystem-6r95854g.js} +37 -37
- package/dist/chunks/{location-activity-5ykxsbpd.js → filesystem-6xdccknh.js} +21 -21
- package/dist/chunks/filesystem-70jsskm8.js +18 -0
- package/dist/chunks/{location-activity-0n7g6cj7.js → filesystem-712r6eb2.js} +12 -12
- package/dist/chunks/{location-activity-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-eh1pcsjb.js → filesystem-81k51azh.js} +7 -7
- package/dist/chunks/{location-activity-88qemxbw.js → filesystem-82qkcyg7.js} +11 -11
- package/dist/chunks/{location-activity-d1fgk40q.js → filesystem-8393f43m.js} +11 -11
- package/dist/chunks/{location-activity-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-5c70fjhz.js → filesystem-8bcx3nez.js} +4 -4
- package/dist/chunks/{location-activity-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-8rbv3bp6.js → filesystem-8r7v4pv1.js} +26 -26
- package/dist/chunks/{location-activity-z6jgj9qh.js → filesystem-8we8r4vx.js} +10 -10
- package/dist/chunks/filesystem-99bpcqdd.js +26 -0
- package/dist/chunks/{location-activity-a4h7akap.js → filesystem-9f7wwfw1.js} +6 -6
- package/dist/chunks/{location-activity-b21a51b0.js → filesystem-9ngxpv4m.js} +8 -8
- package/dist/chunks/{location-activity-hcsnm3w3.js → filesystem-9rf1zay2.js} +8 -8
- package/dist/chunks/{location-activity-bra494j4.js → filesystem-9wvh8z56.js} +10 -10
- package/dist/chunks/{location-activity-aw0bkw4n.js → filesystem-9xnb7hyj.js} +20 -20
- package/dist/chunks/{location-activity-kza62csq.js → filesystem-a32yec29.js} +9 -9
- package/dist/chunks/{location-activity-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-q6df46tn.js → filesystem-aar5tqjz.js} +34 -34
- package/dist/chunks/{location-activity-e2hjzebn.js → filesystem-ag4rn41e.js} +4 -4
- package/dist/chunks/{location-activity-7vvyzmxr.js → filesystem-ahzc4xqv.js} +9 -9
- package/dist/chunks/{location-activity-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-mymwj47g.js → filesystem-b6pmepta.js} +16 -16
- package/dist/chunks/{location-activity-tz8rbmya.js → filesystem-b6zq1b9v.js} +17 -17
- package/dist/chunks/{location-activity-0v53mg2y.js → filesystem-bct739vz.js} +4 -4
- package/dist/chunks/{location-activity-ss7b8w3x.js → filesystem-bd2g5bk9.js} +9 -9
- package/dist/chunks/{location-activity-qdqcp7gy.js → filesystem-bwza20cw.js} +13 -13
- package/dist/chunks/{location-activity-f82gsy3s.js → filesystem-bxf23pqh.js} +11 -11
- package/dist/chunks/{location-activity-pcfw4ytb.js → filesystem-c3st1rh6.js} +13 -13
- package/dist/chunks/{location-activity-ybb10w0w.js → filesystem-c5b9ks87.js} +37 -37
- package/dist/chunks/{location-activity-gp3kd06s.js → filesystem-c86vv8em.js} +10 -10
- package/dist/chunks/{location-activity-2hhwva0q.js → filesystem-cackw8yz.js} +9 -9
- package/dist/chunks/{location-activity-03k0eexa.js → filesystem-caj0q3k9.js} +25 -25
- package/dist/chunks/{location-activity-m5z73ybf.js → filesystem-cbc0wxnt.js} +4 -4
- package/dist/chunks/{location-activity-djy4s3w8.js → filesystem-cg3fyqky.js} +51 -51
- package/dist/chunks/{location-activity-6zzgfnnp.js → filesystem-che44dvv.js} +46 -46
- package/dist/chunks/{location-activity-k0s3vght.js → filesystem-cmzp0t9y.js} +11 -11
- package/dist/chunks/{location-activity-0vk5t9pc.js → filesystem-cnrkenzz.js} +6 -6
- package/dist/chunks/{location-activity-4dgbcxzg.js → filesystem-cpj0znwe.js} +4 -4
- package/dist/chunks/{location-activity-hk1c8vyd.js → filesystem-crka0j56.js} +4 -4
- package/dist/chunks/{location-activity-prj1dfna.js → filesystem-cwfnw5hm.js} +10 -10
- package/dist/chunks/{location-activity-fm3rdqht.js → filesystem-d4xtzqw3.js} +17 -17
- package/dist/chunks/{location-activity-jm6h2r7k.js → filesystem-d7124rbf.js} +10 -10
- package/dist/chunks/{location-activity-bmje757x.js → filesystem-d79nh3qx.js} +11 -11
- package/dist/chunks/{location-activity-ed1bc2fk.js → filesystem-dc8590hs.js} +26 -26
- package/dist/chunks/{location-activity-08nh5zn9.js → filesystem-df21te9f.js} +16 -16
- package/dist/chunks/{location-activity-zvtx7z4t.js → filesystem-dg2gp1rn.js} +4 -4
- package/dist/chunks/{location-activity-8p4f9s12.js → filesystem-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-activity-qhhpdnq3.js → filesystem-drh00dzc.js} +10 -10
- package/dist/chunks/{location-activity-76j2zkm1.js → filesystem-e52vsy5d.js} +8 -8
- package/dist/chunks/{location-activity-ka91825f.js → filesystem-e5epjp6e.js} +21 -21
- package/dist/chunks/{location-activity-e5nv3ght.js → filesystem-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-activity-5rtg8v4f.js → filesystem-e8340df8.js} +2 -2
- package/dist/chunks/{location-activity-4t0fhshb.js → filesystem-e9vx22h1.js} +92 -92
- package/dist/chunks/{location-activity-s8d7rejh.js → filesystem-eaj1djv9.js} +6 -6
- package/dist/chunks/{location-activity-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-gbbkjfay.js → filesystem-egza69qx.js} +5 -5
- package/dist/chunks/{location-activity-r5nctdyj.js → filesystem-eshk1mrn.js} +11 -11
- package/dist/chunks/{location-activity-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-zk8c4w5t.js → filesystem-ex0pka66.js} +5 -5
- package/dist/chunks/{location-activity-r8xr0va3.js → filesystem-f2n192rq.js} +4 -4
- package/dist/chunks/{location-activity-a8bn8zg0.js → filesystem-f3ngv102.js} +4 -4
- package/dist/chunks/{location-activity-5e5w41rp.js → filesystem-f3w2w69r.js} +12 -13
- package/dist/chunks/{location-activity-ykhkzagw.js → filesystem-fhrwyyh1.js} +5 -5
- package/dist/chunks/{location-activity-nj9fmwgy.js → filesystem-fq9618wy.js} +6 -6
- package/dist/chunks/{location-activity-x353b1jt.js → filesystem-fqtvmpfq.js} +8 -8
- package/dist/chunks/{location-activity-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-activity-fe0sgkgp.js → filesystem-g0avntpg.js} +16 -16
- package/dist/chunks/{location-activity-mg95cf2p.js → filesystem-g0kf9mz8.js} +30 -30
- package/dist/chunks/{location-activity-kyqhqh76.js → filesystem-g61ycw3s.js} +23 -23
- package/dist/chunks/{location-activity-jk093xc7.js → filesystem-g7k1gdmz.js} +17 -17
- package/dist/chunks/filesystem-ga2889bp.js +474 -0
- package/dist/chunks/{location-activity-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-q1gpg2vw.js → filesystem-ghnetwzt.js} +20 -20
- package/dist/chunks/{location-activity-cwa6csj7.js → filesystem-gjwgx2c5.js} +9 -9
- package/dist/chunks/{location-activity-5xsytjsa.js → filesystem-gma20p0b.js} +13 -13
- package/dist/chunks/{location-activity-2e96adxv.js → filesystem-gmjjhz4f.js} +6 -6
- package/dist/chunks/{location-activity-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-5ytz7yek.js → filesystem-gw2kccs8.js} +5 -5
- package/dist/chunks/{location-activity-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-activity-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-h6z8d5tn.js → filesystem-h6z8d5tn.js} +1 -1
- package/dist/chunks/{location-activity-xkqk101e.js → filesystem-h9h4rw0b.js} +21 -21
- package/dist/chunks/{location-activity-cjvkrytv.js → filesystem-ha93k7pw.js} +34 -34
- package/dist/chunks/{location-activity-sbcsw7x3.js → filesystem-hb4ygmza.js} +30 -30
- package/dist/chunks/{location-activity-f828m53h.js → filesystem-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-activity-y7x142mt.js → filesystem-hdthj1pw.js} +8 -8
- package/dist/chunks/{location-activity-qv2g90k7.js → filesystem-hngmebnz.js} +23 -23
- package/dist/chunks/filesystem-hr9dp009.js +4 -0
- package/dist/chunks/{location-activity-ddx28pkg.js → filesystem-hzyv0aq5.js} +15 -15
- package/dist/chunks/{location-activity-dbw68bey.js → filesystem-j4450fcx.js} +11 -11
- package/dist/chunks/{location-activity-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-pjt0tmyv.js → filesystem-jbpnby0z.js} +17 -17
- package/dist/chunks/{location-activity-nng2ktcm.js → filesystem-jca4demv.js} +2 -2
- package/dist/chunks/{location-activity-74dyz2va.js → filesystem-jdyy8xf0.js} +7 -7
- package/dist/chunks/{location-activity-1ahg1sh0.js → filesystem-jfsctkpn.js} +4 -4
- package/dist/chunks/{location-activity-67j7x2y9.js → filesystem-jr7kwrkh.js} +15 -15
- package/dist/chunks/{location-activity-624sbt55.js → filesystem-jre2exce.js} +18 -18
- package/dist/chunks/filesystem-js7vje5a.js +247 -0
- package/dist/chunks/{location-activity-xm1e10md.js → filesystem-jsvb6vsn.js} +12 -12
- package/dist/chunks/{location-activity-tqt9saaw.js → filesystem-jzw9fxht.js} +21 -21
- package/dist/chunks/{location-activity-5dbhyfh5.js → filesystem-k191nb18.js} +2 -2
- package/dist/chunks/{location-activity-px3g1yhz.js → filesystem-k5xj2xmh.js} +11 -11
- package/dist/chunks/{location-activity-77em19ny.js → filesystem-kcnfxn04.js} +3 -3
- package/dist/chunks/{location-activity-1t5xpz08.js → filesystem-kqg5mzr3.js} +6 -6
- package/dist/chunks/{location-activity-cfpkc3c9.js → filesystem-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-activity-ewrkvhdm.js → filesystem-m1548a0r.js} +25 -25
- package/dist/chunks/{location-activity-hj9g8gj7.js → filesystem-m4m2egqz.js} +24 -24
- package/dist/chunks/{location-activity-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-4vzm117m.js → filesystem-mn8cph46.js} +11 -11
- package/dist/chunks/{location-activity-ajr48ztt.js → filesystem-mpkxj448.js} +9 -9
- package/dist/chunks/{location-activity-p3ffc6th.js → filesystem-msngqtw6.js} +5 -5
- package/dist/chunks/{location-activity-6797k0jx.js → filesystem-msqsbnvg.js} +54 -54
- package/dist/chunks/{location-activity-n8qb34cr.js → filesystem-mxxp51f6.js} +3 -3
- package/dist/chunks/{location-activity-4rp2yav4.js → filesystem-nc3pr63t.js} +10 -10
- package/dist/chunks/{location-activity-m473011f.js → filesystem-ng7a4pcr.js} +178 -178
- package/dist/chunks/{location-activity-hjt4xg1x.js → filesystem-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-activity-mss6c2nq.js → filesystem-nq29vp8n.js} +33 -33
- package/dist/chunks/{location-activity-e0g359b6.js → filesystem-nrck5rh0.js} +16 -17
- package/dist/chunks/{location-activity-8kg2aj4x.js → filesystem-nwh98khw.js} +38 -38
- package/dist/chunks/{location-activity-9byb4ycz.js → filesystem-p0r075tw.js} +41 -41
- package/dist/chunks/{location-activity-64j4absa.js → filesystem-p1cpmwyf.js} +22 -22
- package/dist/chunks/{location-activity-06dxphr1.js → filesystem-paegk39x.js} +4 -4
- package/dist/chunks/{location-activity-j1c46xdf.js → filesystem-pcefftg5.js} +9 -9
- package/dist/chunks/{location-activity-v0cp65xe.js → filesystem-pgeqw9gz.js} +32 -32
- package/dist/chunks/{location-activity-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-hrzb5a4q.js → filesystem-pqgd01zc.js} +51 -51
- package/dist/chunks/{location-activity-5es8r5yy.js → filesystem-pzcfktq3.js} +18 -18
- package/dist/chunks/{location-activity-7w99qc9d.js → filesystem-q3t37ft6.js} +3 -3
- package/dist/chunks/{location-activity-ad5n2mj6.js → filesystem-qe4fvz1x.js} +19 -19
- package/dist/chunks/{location-activity-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-4v16ejc8.js → filesystem-r2pbn9ew.js} +47 -47
- package/dist/chunks/{location-activity-q95mpdhc.js → filesystem-r397h8mg.js} +24 -24
- package/dist/chunks/{location-activity-r9mregkx.js → filesystem-r9mregkx.js} +2 -2
- package/dist/chunks/{location-activity-45z7vb86.js → filesystem-rba8598g.js} +24 -24
- package/dist/chunks/{location-activity-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-njce05kc.js → filesystem-reyjqdga.js} +4 -4
- package/dist/chunks/{location-activity-857s70jj.js → filesystem-rjq70d1v.js} +7 -7
- package/dist/chunks/{location-activity-6ersrjne.js → filesystem-rp8jz6x1.js} +6 -6
- package/dist/chunks/{location-activity-68awae68.js → filesystem-rsj9y6gb.js} +15 -15
- package/dist/chunks/{location-activity-c51pxcj4.js → filesystem-rttadtrv.js} +21 -21
- package/dist/chunks/{location-activity-k4x8m3jx.js → filesystem-s194k709.js} +11 -11
- package/dist/chunks/{location-activity-q6an3wbr.js → filesystem-s3v9fbv9.js} +32 -32
- package/dist/chunks/{location-activity-h0d5zpw8.js → filesystem-s70r0d8a.js} +4 -4
- package/dist/chunks/{location-activity-jr96ebry.js → filesystem-s97q8wmc.js} +15 -15
- package/dist/chunks/{location-activity-qwd5gyh3.js → filesystem-sd0hh66t.js} +26 -26
- package/dist/chunks/{location-activity-1w07c5qm.js → filesystem-sdkze8v1.js} +4 -4
- package/dist/chunks/{location-activity-dgvw86mt.js → filesystem-sjbhawkw.js} +1 -1
- package/dist/chunks/{location-activity-97kz9v19.js → filesystem-spgtr7wt.js} +24 -24
- package/dist/chunks/{location-activity-xbahze9c.js → filesystem-swvck4sd.js} +29 -29
- package/dist/chunks/{location-activity-b6ve8meh.js → filesystem-t7w8wthg.js} +26 -26
- package/dist/chunks/{location-activity-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-bz85s9hh.js → filesystem-tcg29b4q.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-eheadbcn.js → filesystem-texzw661.js} +5 -5
- package/dist/chunks/{location-activity-xt1m3p2v.js → filesystem-tjfjg9xy.js} +89 -89
- package/dist/chunks/{location-activity-3ga8xbd5.js → filesystem-tk8b1eqd.js} +5 -5
- package/dist/chunks/{location-activity-ctsyabgt.js → filesystem-tqzhfmjj.js} +8 -8
- package/dist/chunks/{location-activity-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-qk50xyb4.js → filesystem-tw0jddzq.js} +28 -28
- package/dist/chunks/{location-activity-kgryvjyb.js → filesystem-v1e70071.js} +27 -27
- package/dist/chunks/{location-activity-828jb2vs.js → filesystem-v54d4zy3.js} +5 -5
- package/dist/chunks/{location-activity-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-4z00zrw6.js → filesystem-vmd137xr.js} +65 -65
- package/dist/chunks/{location-activity-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-wpc3sj2f.js → filesystem-w2pmhvrv.js} +18 -18
- package/dist/chunks/{location-activity-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-af63xr5m.js → filesystem-w60r9xev.js} +45 -45
- package/dist/chunks/{location-activity-t25tx0ny.js → filesystem-w7ar50ta.js} +7 -7
- package/dist/chunks/{location-activity-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-t5cp6zrj.js → filesystem-we45q118.js} +3 -3
- package/dist/chunks/{location-activity-wy5fhmgr.js → filesystem-wfjzk575.js} +38 -38
- package/dist/chunks/{location-activity-4ac3qaja.js → filesystem-wgwsgwdw.js} +24 -24
- package/dist/chunks/{location-activity-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-485fr60v.js → filesystem-x1xcpfha.js} +11 -11
- package/dist/chunks/{location-activity-x0hexr7s.js → filesystem-xb46sqya.js} +9 -9
- package/dist/chunks/{location-activity-6wp7q8m3.js → filesystem-xdww2rec.js} +26 -26
- package/dist/chunks/{location-activity-8zj8062m.js → filesystem-xkhxx58a.js} +10 -10
- package/dist/chunks/{location-activity-458t80zw.js → filesystem-xvcyhft3.js} +33 -33
- package/dist/chunks/{location-activity-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{location-activity-gv25b9hk.js → filesystem-yfe53vnj.js} +24 -24
- package/dist/chunks/{location-activity-jv01nqvq.js → filesystem-yjptyezs.js} +5 -5
- package/dist/chunks/{location-activity-9a1ma9rw.js → filesystem-yjx4qmbw.js} +8 -8
- package/dist/chunks/{location-activity-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-c4v5m1fb.js → filesystem-ysstqnzc.js} +3 -3
- package/dist/chunks/{location-activity-p44d8wdy.js → filesystem-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-activity-rmdsgb4c.js → filesystem-ytg5f91j.js} +42 -42
- package/dist/chunks/{location-activity-p9bf82zb.js → filesystem-yvpfa4rd.js} +15 -15
- package/dist/chunks/{location-activity-daqfafcx.js → filesystem-yx9n7fpe.js} +16 -16
- package/dist/chunks/{location-activity-8tn4xam9.js → filesystem-z0065k1n.js} +43 -43
- package/dist/chunks/{location-activity-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{location-activity-59p8qdqp.js → filesystem-z6tazwav.js} +15 -15
- package/dist/chunks/{location-activity-xfrj9n77.js → filesystem-z9dqtg9m.js} +24 -24
- package/dist/chunks/{location-activity-wyw011zf.js → filesystem-ze5y8rs0.js} +8 -8
- package/dist/chunks/{location-activity-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-2je136h8.js → filesystem-zgy1cjmt.js} +15 -15
- package/dist/chunks/{location-activity-5qz30sk6.js → filesystem-zp6zzbwt.js} +16 -16
- package/dist/chunks/{location-activity-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-ypaa3ddc.js → filesystem-zs77z4r0.js} +12 -12
- package/dist/chunks/{location-activity-px76j0pk.js → filesystem-zvwz45r0.js} +9 -9
- package/dist/chunks/{location-activity-zxq2ej10.js → filesystem-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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- 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 +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- 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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- 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 +84 -84
- 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 +103 -103
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- 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/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 +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- 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 +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- 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 +9 -9
- 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 +228 -228
- 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 +5 -5
- 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 +86 -86
- 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 +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +106 -106
- package/dist/skill.js +103 -103
- 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 +123 -123
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/model-resolver.d.ts +2 -2
- package/dist/types/model.d.ts +1 -3
- package/dist/types/provider.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +3 -4
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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/location-activity-0mesazry.js +0 -4
- package/dist/chunks/location-activity-9sh4wc5j.js +0 -18
- package/dist/chunks/location-activity-kjwcy8ba.js +0 -247
- package/dist/chunks/location-activity-rz06d95t.js +0 -474
- package/dist/chunks/location-activity-va9hbjm6.js +0 -26
- /package/dist/chunks/{location-activity-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node83
|
|
6
|
+
} from "./filesystem-jsvb6vsn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./filesystem-zp6zzbwt.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make17
|
|
16
|
+
} from "./filesystem-2fjrq4z2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node46
|
|
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 Service44 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service77;
|
|
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(Service20, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node46 = makeLocationNode({
|
|
61
|
+
service: Service44,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node81, Global.node, node83, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service44, node46, exports_strategies };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service26,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node29
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service26.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node29 = makeGlobalNode({ service: Service26, layer: layer12, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service26, makeLayer2, layer12, node29, exports_model_transport };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./filesystem-zp6zzbwt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service64,
|
|
10
|
+
node67
|
|
11
|
+
} from "./filesystem-w2pmhvrv.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./filesystem-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service63,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node66,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service63 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service64;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service63.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service63.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service63.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service63, layer: layer23(options), deps: [node81, node67] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node66 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service63, ripgrepLayer2, fffLayer2, layer23, configured8, node66, exports_search };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-4ttgz70x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID7
|
|
6
|
+
} from "./filesystem-1rxs6y3d.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID7.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-sdkze8v1.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./filesystem-g0kf9mz8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-swvck4sd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-1rxs6y3d.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID5,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-hngmebnz.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID5
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID8.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID8.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID7.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID7.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-sdkze8v1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service39,
|
|
17
|
+
node41
|
|
18
|
+
} from "./filesystem-g61ycw3s.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service38,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node40
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event5 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service38 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service81;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service39;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node40 = makeLocationNode({
|
|
116
|
+
service: Service38,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node85,
|
|
118
|
+
deps: [Global.node, node85, node41]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service38, node40, exports_reference2, Event5 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-ysstqnzc.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery2,
|
|
3
3
|
SQLiteEffectSession2,
|
|
4
4
|
SQLiteEffectTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-k191nb18.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|