@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,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-ysstqnzc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-sdkze8v1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service32
|
|
9
|
+
} from "./filesystem-6ehbgqat.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-gmjjhz4f.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./filesystem-474v7c4x.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service31
|
|
34
|
+
} from "./filesystem-spgtr7wt.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service28
|
|
37
|
+
} from "./filesystem-nwh98khw.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-5dgzn4tn.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./filesystem-9xnb7hyj.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./filesystem-mpkxj448.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./filesystem-jdyy8xf0.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service81;
|
|
67
67
|
const database = yield* Service82;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service73;
|
|
69
|
+
const instances = yield* Service32;
|
|
70
|
+
const execution = yield* Service28;
|
|
71
|
+
const admission = yield* Service31;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service32, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service32, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service32, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service32, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service32, instances), Effect.provideService(Service81, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make12, exports_session2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-ysstqnzc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-sdkze8v1.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-paegk39x.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-ze5y8rs0.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-tcg29b4q.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-2begppk9.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./filesystem-48egeg7n.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./filesystem-3g6gd80t.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./filesystem-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./filesystem-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service81;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service82).db;
|
|
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service12.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
621
|
-
layer:
|
|
619
|
+
var node14 = makeLocationNode({
|
|
620
|
+
service: Service12,
|
|
621
|
+
layer: layer7,
|
|
622
622
|
deps: [node85, node86, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info18 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-zp6zzbwt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service45,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node47
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service45 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service45, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service45, node47, canonical3, exports_location_service_map };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z63w68vq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-mxxp51f6.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-13b2ng85.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./filesystem-jsvb6vsn.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-ysstqnzc.js";
|
|
15
15
|
import {
|
|
16
16
|
Service81,
|
|
17
17
|
node85
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-sdkze8v1.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID16,
|
|
27
|
+
NotFoundError10
|
|
28
|
+
} from "./filesystem-wfjzk575.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-zp6zzbwt.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service45,
|
|
34
|
+
node47
|
|
35
|
+
} from "./filesystem-yjx4qmbw.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make17
|
|
42
|
+
} from "./filesystem-2fjrq4z2.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service44
|
|
45
|
+
} from "./filesystem-rttadtrv.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event6,
|
|
57
|
+
Info: () => Info7,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service43,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node45
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info7 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service43 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service82;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service81;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service45;
|
|
108
|
+
const gitStrategy = yield* make17;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError10({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service44).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service43.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node45 = Node.makeGlobalNode({
|
|
265
|
+
service: Service43,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node83, node85, node86, AppProcess.node, node47]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info7, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service43, node45, exports_worktree2, OperationError2 };
|