@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,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-sdkze8v1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./filesystem-zp6zzbwt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node68
|
|
12
|
+
} from "./filesystem-z9dqtg9m.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service70,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node74
|
|
20
|
+
} from "./filesystem-p1cpmwyf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service76,
|
|
23
|
+
node80
|
|
24
|
+
} from "./filesystem-fqtvmpfq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service36,
|
|
27
|
+
node38
|
|
28
|
+
} from "./filesystem-361qychh.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-q3t37ft6.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service50,
|
|
35
|
+
node53
|
|
36
|
+
} from "./filesystem-che44dvv.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-628568aw.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service35,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node37
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service35 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service35, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service81;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service77;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service70;
|
|
94
|
+
const environment = yield* Service65;
|
|
95
|
+
const hooks = yield* Service76;
|
|
96
|
+
const environments = yield* Service36;
|
|
97
|
+
const config = yield* Service50;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service35.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node37 = makeLocationNode({
|
|
320
|
+
service: Service35,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node85,
|
|
324
|
-
|
|
324
|
+
node81,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node74,
|
|
327
|
+
node68,
|
|
328
|
+
node80,
|
|
329
|
+
node38,
|
|
330
|
+
node53,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service35, cleanup2, node37, exports_shell4 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-sdkze8v1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event4,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options3,
|
|
30
|
+
Service: () => Service34,
|
|
31
|
+
configured: () => configured3,
|
|
32
|
+
layer: () => layer16,
|
|
33
|
+
node: () => node36
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event4 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service34 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service34.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured3(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service34,
|
|
110
|
+
layer: layer16(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node36 = configured3();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event4, Options3, Service34, layer16, configured3, node36, exports_instruction_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-f3ngv102.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./filesystem-hdthj1pw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info15
|
|
12
|
+
} from "./filesystem-3w0fmcng.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info13
|
|
15
|
+
} from "./filesystem-6hh8tjw2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info17
|
|
18
|
+
} from "./filesystem-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info11
|
|
24
|
+
} from "./filesystem-yjptyezs.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info10
|
|
27
|
+
} from "./filesystem-z0065k1n.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./filesystem-crka0j56.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./filesystem-z9dqtg9m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service65;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./filesystem-wgwsgwdw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./filesystem-cg3fyqky.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin46 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service80;
|
|
57
|
+
const permission = yield* Service72;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-sdkze8v1.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./filesystem-zp6zzbwt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service40,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node42
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service40 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service81;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service77;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service40.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node42 = makeLocationNode({ service: Service40, layer, deps: [node85, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service40, node42, exports_rpc, define2 };
|