@opencode/core 0.0.0-dev-20308 → 0.0.0-dev-20311
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{job-ce1apvbh.js → generate-0085hr19.js} +28 -28
- package/dist/chunks/{job-7agfqtw3.js → generate-03ykhv53.js} +21 -21
- package/dist/chunks/{job-ydgy0jv4.js → generate-07770t2t.js} +4 -4
- package/dist/chunks/{job-yt1pgjeb.js → generate-0dr81x6h.js} +11 -11
- package/dist/chunks/{job-bzgcn0jp.js → generate-0jq9fyba.js} +9 -9
- package/dist/chunks/{job-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-xtnp6528.js → generate-1aft4d1r.js} +39 -39
- package/dist/chunks/{job-2cbr8e0c.js → generate-1d9tbeyw.js} +10 -10
- package/dist/chunks/{job-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-t6z4h4ef.js → generate-1fyhttb2.js} +3 -3
- package/dist/chunks/{job-qr2xy9an.js → generate-1njzkgw4.js} +35 -35
- package/dist/chunks/{job-qtnm96rr.js → generate-1vya40xm.js} +3 -3
- package/dist/chunks/{job-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{job-e4pf6x0c.js → generate-22jt7mmp.js} +20 -20
- package/dist/chunks/{job-fm3ea91t.js → generate-23pgy1bp.js} +12 -12
- package/dist/chunks/{job-xk747vep.js → generate-24dd53tp.js} +9 -9
- package/dist/chunks/{job-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-fdty3bfe.js → generate-2c835n2e.js} +5 -5
- package/dist/chunks/{job-0gaj4617.js → generate-2d57kztd.js} +6 -6
- package/dist/chunks/{job-ejjr4d4a.js → generate-2eryzwn5.js} +23 -23
- package/dist/chunks/{job-3cfzdc8e.js → generate-2f0bjgcj.js} +5 -5
- package/dist/chunks/{job-32fmsm3t.js → generate-2f1w8fmd.js} +9 -9
- package/dist/chunks/{job-57ez7d0k.js → generate-2fgn2we9.js} +9 -9
- package/dist/chunks/{job-jghm3nr4.js → generate-2p5ftwah.js} +15 -15
- package/dist/chunks/{job-mhmncbfj.js → generate-2yb60grw.js} +10 -10
- package/dist/chunks/{job-x3drdvdf.js → generate-32ymn5e1.js} +9 -9
- package/dist/chunks/{job-6za4hq8m.js → generate-33qnn5ry.js} +9 -9
- package/dist/chunks/{job-rrmr5xa7.js → generate-3ckkbjr6.js} +18 -18
- package/dist/chunks/{job-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-7zfqyb6c.js → generate-3vjxyz9p.js} +43 -43
- package/dist/chunks/{job-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-5e8mqnd8.js → generate-43tk2b99.js} +23 -23
- package/dist/chunks/{job-nge20mvg.js → generate-440wx6xb.js} +13 -13
- package/dist/chunks/{job-d2094b0z.js → generate-4arb9zza.js} +8 -8
- package/dist/chunks/{job-2n295dmf.js → generate-4c2df9zx.js} +8 -8
- package/dist/chunks/{job-4taxxdqg.js → generate-4e9qa1yk.js} +15 -15
- package/dist/chunks/{job-mnyzats1.js → generate-4g5hndmz.js} +18 -18
- package/dist/chunks/{job-rzmmsg92.js → generate-4gyadrbh.js} +35 -35
- package/dist/chunks/{job-h9wp8z5w.js → generate-4j4tgtq5.js} +4 -4
- package/dist/chunks/{job-wr2tdx6k.js → generate-4r3dk6a2.js} +22 -22
- package/dist/chunks/{job-zamxevfx.js → generate-4xkx8k44.js} +7 -7
- package/dist/chunks/{job-t51qk8jz.js → generate-50mzsvk4.js} +21 -21
- package/dist/chunks/{job-8t9vgpv1.js → generate-52dst9ej.js} +14 -14
- package/dist/chunks/{job-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{job-56gdpj1q.js → generate-56gdpj1q.js} +2 -2
- package/dist/chunks/{job-45yvnd99.js → generate-584xd2as.js} +17 -17
- package/dist/chunks/{job-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{job-fw181sc9.js → generate-5e1pzs32.js} +9 -9
- package/dist/chunks/{job-w0q98c30.js → generate-5hvea60m.js} +20 -20
- package/dist/chunks/{job-zkb4vf58.js → generate-5qbm8fhe.js} +38 -38
- package/dist/chunks/{job-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
- package/dist/chunks/{job-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-zm7jd1e6.js → generate-6416pc1c.js} +51 -51
- package/dist/chunks/{job-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{job-ezx3pmvp.js → generate-6bbg9vsb.js} +33 -33
- package/dist/chunks/{job-txz9h06q.js → generate-6k3166bs.js} +13 -13
- package/dist/chunks/{job-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-6pc27hjz.js → generate-6pc27hjz.js} +2 -2
- package/dist/chunks/{job-7e4xncrr.js → generate-6v2dyjqx.js} +33 -33
- package/dist/chunks/{job-c45hf4m4.js → generate-732ar3t7.js} +24 -24
- package/dist/chunks/{job-ee7065sf.js → generate-7ak6y54g.js} +19 -19
- package/dist/chunks/{job-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-7dqw4kz8.js → generate-7dqw4kz8.js} +1 -1
- package/dist/chunks/{job-2wgne18z.js → generate-7e733kya.js} +5 -5
- package/dist/chunks/{job-dve1wy78.js → generate-7kcn46rt.js} +21 -21
- package/dist/chunks/{job-thzwq1j5.js → generate-7p7qn9e9.js} +18 -18
- package/dist/chunks/{job-9y0w708y.js → generate-7s451enq.js} +8 -8
- package/dist/chunks/{job-9s00xzx6.js → generate-7v8m1a1x.js} +30 -30
- package/dist/chunks/{job-q8et3fat.js → generate-814v6m4p.js} +15 -15
- package/dist/chunks/{job-3akh1e1y.js → generate-821ermd3.js} +15 -15
- package/dist/chunks/{job-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{job-hseftdk9.js → generate-85eh4j2g.js} +34 -34
- package/dist/chunks/{job-egyycqd6.js → generate-85ej85ms.js} +5 -5
- package/dist/chunks/{job-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-f9121hkg.js → generate-8em80h20.js} +43 -43
- package/dist/chunks/{job-h8vx9wfd.js → generate-8f1bvar8.js} +53 -53
- package/dist/chunks/{job-w0ncza3d.js → generate-8kd7g5rj.js} +6 -6
- package/dist/chunks/{job-2vbzmx28.js → generate-8zddydas.js} +24 -24
- package/dist/chunks/{job-nx6sjzs2.js → generate-90ny61fc.js} +18 -18
- package/dist/chunks/{job-6zx481ey.js → generate-91wxwphj.js} +7 -7
- package/dist/chunks/{job-x174gykf.js → generate-938hwyrh.js} +5 -5
- package/dist/chunks/{job-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{job-gvtnnfzn.js → generate-95v4nsjn.js} +8 -8
- package/dist/chunks/{job-7zpeh0yx.js → generate-96ctqc5x.js} +4 -4
- package/dist/chunks/{job-50qj6gdt.js → generate-979a2w4f.js} +6 -6
- package/dist/chunks/{job-fz9k5gme.js → generate-9p1d72pj.js} +25 -25
- package/dist/chunks/{job-rbqxe5fv.js → generate-9pd2f5yz.js} +18 -18
- package/dist/chunks/{job-sp081sh0.js → generate-9rgc45s8.js} +32 -32
- package/dist/chunks/{job-m0vxh377.js → generate-a1wxwke7.js} +17 -17
- package/dist/chunks/{job-ratrq7cm.js → generate-a46v4e4v.js} +4 -4
- package/dist/chunks/{job-kjf646hj.js → generate-a5s3jpvp.js} +42 -42
- package/dist/chunks/{job-zpafchak.js → generate-a5vdvzcn.js} +11 -11
- package/dist/chunks/{job-t33x4pzp.js → generate-a8wkh39j.js} +5 -5
- package/dist/chunks/{job-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{job-553y2gq9.js → generate-aam4yepe.js} +21 -21
- package/dist/chunks/{job-x0asfvcp.js → generate-abngy076.js} +24 -24
- package/dist/chunks/{job-btr6y0gg.js → generate-agqxsrzz.js} +13 -13
- package/dist/chunks/{job-b5a9p79a.js → generate-ahw5tbvq.js} +323 -323
- package/dist/chunks/{job-69jpdfym.js → generate-amejyd4w.js} +23 -23
- package/dist/chunks/{job-kmj2q1se.js → generate-as21h9v2.js} +9 -9
- package/dist/chunks/{job-8tjazxg5.js → generate-awnxdpmt.js} +46 -46
- package/dist/chunks/{job-6rj7h2ys.js → generate-awsejm39.js} +20 -20
- package/dist/chunks/{job-m9h1p2a5.js → generate-azgbrbkh.js} +22 -22
- package/dist/chunks/{job-4j3r6a40.js → generate-b5v2de1g.js} +21 -21
- package/dist/chunks/{job-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-h4z1mxff.js → generate-b7b4ctej.js} +5 -5
- package/dist/chunks/{job-7xzey4tr.js → generate-bazj3hza.js} +15 -15
- package/dist/chunks/{job-sa48se28.js → generate-bbqtwfcr.js} +14 -14
- package/dist/chunks/{job-rq427kk0.js → generate-bevq0g19.js} +30 -30
- package/dist/chunks/{job-ahth1nzs.js → generate-bhsjg0n3.js} +20 -20
- package/dist/chunks/{job-n5zrq1fr.js → generate-bqjh05b8.js} +11 -11
- package/dist/chunks/{job-pdttqtx4.js → generate-bt1jz474.js} +5 -5
- package/dist/chunks/generate-by5v678g.js +18 -0
- package/dist/chunks/{job-cpjznzh0.js → generate-c6pt6dva.js} +6 -6
- package/dist/chunks/{job-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{job-1h677gbv.js → generate-cnvngknd.js} +33 -33
- package/dist/chunks/{job-2ahzp3mf.js → generate-cq4a9qth.js} +41 -41
- package/dist/chunks/{job-rzyvhj68.js → generate-ctx36fda.js} +37 -37
- package/dist/chunks/{job-5d607bsg.js → generate-cwa6csj7.js} +9 -9
- package/dist/chunks/{job-wggb31sn.js → generate-d172wthb.js} +26 -26
- package/dist/chunks/{job-4j555vrs.js → generate-dbtagb3j.js} +7 -7
- package/dist/chunks/{job-gecfa7ak.js → generate-ddvgmnvd.js} +16 -16
- package/dist/chunks/{job-wxgdnn8d.js → generate-dgb4ba8k.js} +12 -12
- package/dist/chunks/{job-mpk0rfs5.js → generate-dnxkq42g.js} +4 -4
- package/dist/chunks/{job-2wmg4f4f.js → generate-drfqr2ek.js} +9 -9
- package/dist/chunks/{job-drwq78ky.js → generate-drwq78ky.js} +1 -1
- package/dist/chunks/{job-yhe384nz.js → generate-e5cyx2g4.js} +20 -20
- package/dist/chunks/{job-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
- package/dist/chunks/{job-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-2n4xx9gy.js → generate-es45fn35.js} +35 -35
- package/dist/chunks/{job-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-g6y0qv04.js → generate-f6cejng9.js} +20 -20
- package/dist/chunks/{job-c6h0kh0m.js → generate-f77a5w0g.js} +13 -13
- package/dist/chunks/{job-mk289cw7.js → generate-fjqeck8h.js} +16 -16
- package/dist/chunks/{job-yg1ffw44.js → generate-fjxg64x0.js} +5 -5
- package/dist/chunks/{job-rjnyj61z.js → generate-fmhg56c5.js} +9 -9
- package/dist/chunks/{job-kjaxnezw.js → generate-fscpw8f3.js} +5 -5
- package/dist/chunks/{job-ftckbrn0.js → generate-fwzevyy4.js} +1 -1
- package/dist/chunks/{job-3hfr6h8q.js → generate-g0445xdp.js} +8 -8
- package/dist/chunks/{job-w0hb1wcw.js → generate-g0a45qje.js} +9 -9
- package/dist/chunks/{job-24p25g07.js → generate-gaa1tzxa.js} +25 -25
- package/dist/chunks/{job-rbvtz9k7.js → generate-gbs6e6v2.js} +11 -11
- package/dist/chunks/{job-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-wevb95zm.js → generate-gf4w2vvn.js} +19 -19
- package/dist/chunks/{job-tdd7qn19.js → generate-gh484rvf.js} +84 -84
- package/dist/chunks/{job-wyy93379.js → generate-gknmnwsv.js} +9 -9
- package/dist/chunks/{job-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-g60qj5yf.js → generate-gxr0tf1h.js} +2 -2
- package/dist/chunks/{job-arzm1sew.js → generate-h0kdtxf8.js} +33 -33
- package/dist/chunks/{job-ab780k9s.js → generate-h35vggef.js} +8 -8
- package/dist/chunks/{job-hf93yzgy.js → generate-h37r8vbk.js} +24 -24
- package/dist/chunks/{job-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-znsx74x0.js → generate-hd8vw2pw.js} +1 -1
- package/dist/chunks/{job-a17bsvhh.js → generate-hf41t8pz.js} +14 -14
- package/dist/chunks/{job-qte5z7bc.js → generate-hnr5yq9h.js} +5 -5
- package/dist/chunks/{job-wy3g45e0.js → generate-hr33daew.js} +4 -4
- package/dist/chunks/generate-hwbqwnb3.js +252 -0
- package/dist/chunks/{job-axdw2ewc.js → generate-hzm7snc9.js} +12 -12
- package/dist/chunks/{job-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{job-ve4pfa0n.js → generate-j83byb14.js} +4 -4
- package/dist/chunks/{job-8v096v85.js → generate-jf6ce2dj.js} +177 -177
- package/dist/chunks/{job-prse58hf.js → generate-jk5wpxvf.js} +3 -3
- package/dist/chunks/{job-ystb885c.js → generate-jtknk089.js} +10 -10
- package/dist/chunks/{job-mfzrfzpx.js → generate-jw2g4gey.js} +4 -4
- package/dist/chunks/{job-tk8jge9n.js → generate-k2057gb1.js} +16 -16
- package/dist/chunks/{job-nzks3jc8.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{job-gst7axd9.js → generate-k76fn4kw.js} +4 -4
- package/dist/chunks/{job-qamphbdd.js → generate-kambhmaz.js} +11 -11
- package/dist/chunks/{job-c032mhjs.js → generate-m35av5wd.js} +21 -21
- package/dist/chunks/{job-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-ffd8rhrh.js → generate-m86ds27b.js} +11 -11
- package/dist/chunks/{job-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-n7ty5vx1.js → generate-md55ss1w.js} +16 -16
- package/dist/chunks/{job-t6msp11s.js → generate-mmnbb39x.js} +6 -6
- package/dist/chunks/{job-mvfsc1pv.js → generate-mvfsc1pv.js} +1 -1
- package/dist/chunks/{job-tazp3vs0.js → generate-mvksx64m.js} +4 -4
- package/dist/chunks/{job-1rv33rkb.js → generate-n01ekzvg.js} +26 -26
- package/dist/chunks/{job-49w8mb30.js → generate-nbzsj80d.js} +11 -11
- package/dist/chunks/{job-gnf9h2c6.js → generate-neq7j8hb.js} +31 -31
- package/dist/chunks/{job-en27skky.js → generate-ngcky491.js} +45 -45
- package/dist/chunks/{job-71wqcp91.js → generate-nh7jf5qt.js} +22 -22
- package/dist/chunks/{job-8p0n7j1z.js → generate-nmfetzj5.js} +4 -4
- package/dist/chunks/{job-9jg3j1z9.js → generate-nmmahyvw.js} +9 -9
- package/dist/chunks/{job-nng2ktcm.js → generate-nng2ktcm.js} +2 -2
- package/dist/chunks/{job-h1ggmepm.js → generate-nreym987.js} +11 -11
- package/dist/chunks/{job-hgy094zc.js → generate-nt6ypc5t.js} +26 -26
- package/dist/chunks/{job-89279mjp.js → generate-nvefchs6.js} +24 -24
- package/dist/chunks/{job-ead3g9p8.js → generate-nxhqveyz.js} +5 -5
- package/dist/chunks/{job-qbs5cpq3.js → generate-nzsh53q3.js} +14 -14
- package/dist/chunks/{job-nyhht397.js → generate-p1cfyvt1.js} +12 -12
- package/dist/chunks/{job-sxv5e7yt.js → generate-pacd6fme.js} +11 -11
- package/dist/chunks/{job-83v5g6vg.js → generate-pfzrvarp.js} +4 -4
- package/dist/chunks/{job-qdgqbd7a.js → generate-pggm8t3g.js} +7 -7
- package/dist/chunks/{job-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{job-6jhkbw0q.js → generate-pr6rswsq.js} +11 -11
- package/dist/chunks/{job-ssmfn4td.js → generate-prsj8pfn.js} +22 -22
- package/dist/chunks/{job-5hx7d1d6.js → generate-q4fmv0xv.js} +5 -5
- package/dist/chunks/{job-cy2kmkqe.js → generate-q8n9d2sh.js} +5 -5
- package/dist/chunks/{job-b8mr6ake.js → generate-qb2tb8w1.js} +34 -34
- package/dist/chunks/{job-c576t1j6.js → generate-qq8x5mwt.js} +9 -9
- package/dist/chunks/{job-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{job-3qr6z643.js → generate-qtkmjp6n.js} +22 -22
- package/dist/chunks/{job-jgqjabpd.js → generate-qz02d4gv.js} +9 -9
- package/dist/chunks/{job-kse6dtet.js → generate-r0tjgr50.js} +22 -22
- package/dist/chunks/{job-a493fwmx.js → generate-r34cw8yr.js} +4 -4
- package/dist/chunks/{job-0hj7f8b1.js → generate-r4xhx5yy.js} +12 -12
- package/dist/chunks/{job-ewhr9vm8.js → generate-r65s3bqz.js} +6 -6
- package/dist/chunks/{job-57e9z27j.js → generate-rc1dmyce.js} +8 -8
- package/dist/chunks/{job-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-bpra0bax.js → generate-rfabxrr6.js} +25 -25
- package/dist/chunks/{job-0gdmqesm.js → generate-rhjbct0v.js} +4 -4
- package/dist/chunks/{job-gv91p32f.js → generate-rn2ttdtd.js} +18 -18
- package/dist/chunks/{job-mjwdsdr5.js → generate-rvqyhd8y.js} +3 -3
- package/dist/chunks/{job-9vzhd98t.js → generate-rw4cg28f.js} +48 -48
- package/dist/chunks/{job-m7mmez02.js → generate-rxsnry8w.js} +24 -24
- package/dist/chunks/{job-vt0hsv47.js → generate-s708rks0.js} +4 -4
- package/dist/chunks/{job-gg96jh64.js → generate-sd7dhxs3.js} +32 -32
- package/dist/chunks/{job-m21dq93q.js → generate-sfjqvhg3.js} +10 -10
- package/dist/chunks/{job-y1s1zzj0.js → generate-sfzrsyap.js} +9 -9
- package/dist/chunks/{job-rd1vtjw6.js → generate-svrzg09g.js} +8 -8
- package/dist/chunks/{job-v4m9838g.js → generate-t54ngshn.js} +15 -15
- package/dist/chunks/{job-fmzdq5kc.js → generate-tadj9bjf.js} +3 -3
- package/dist/chunks/{job-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{job-nn61gcb9.js → generate-tfn34vp9.js} +10 -10
- package/dist/chunks/{job-c08qq4nr.js → generate-tfsskg12.js} +20 -20
- package/dist/chunks/{job-s7j3avty.js → generate-thke6090.js} +15 -15
- package/dist/chunks/{job-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{job-jnjryw51.js → generate-v4qgwr45.js} +3 -3
- package/dist/chunks/{job-a0gtteda.js → generate-v9c8tcpz.js} +7 -7
- package/dist/chunks/{job-g5agzp2h.js → generate-vd7rzxqf.js} +5 -5
- package/dist/chunks/{job-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{job-5w7ejsbb.js → generate-vffhp2gv.js} +46 -46
- package/dist/chunks/{job-pyg39aa7.js → generate-vy2q9tj0.js} +11 -11
- package/dist/chunks/{job-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-c1dm0a9y.js → generate-w1jbyrm2.js} +66 -66
- package/dist/chunks/{job-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{job-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{job-e0sne4y3.js → generate-wgj5v4hd.js} +20 -20
- package/dist/chunks/{job-pvprqpm2.js → generate-wj63x7hs.js} +11 -11
- package/dist/chunks/{job-kkp8zx71.js → generate-wj76ss2k.js} +4 -4
- package/dist/chunks/{job-y4edekpm.js → generate-wjep8sxw.js} +14 -14
- package/dist/chunks/{job-dkjrz643.js → generate-wrb2h0pz.js} +24 -24
- package/dist/chunks/{job-bsdkd9h2.js → generate-x0fjgrm3.js} +11 -11
- package/dist/chunks/{job-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-s4g57b9r.js → generate-x536ta9q.js} +21 -21
- package/dist/chunks/{job-t8ss1db2.js → generate-xa3tz7a2.js} +84 -84
- package/dist/chunks/{job-azm3d0kz.js → generate-xb6c13qf.js} +23 -23
- package/dist/chunks/{job-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
- package/dist/chunks/{job-c42r5b8w.js → generate-xnvjtjgs.js} +4 -4
- package/dist/chunks/{job-ttqx45f3.js → generate-xp2x8we8.js} +32 -32
- package/dist/chunks/{job-e8qf31tm.js → generate-xrtm2pyg.js} +16 -16
- package/dist/chunks/{job-kc51kk61.js → generate-y153a536.js} +3 -3
- package/dist/chunks/{job-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-424p9vrf.js → generate-y5df08dr.js} +12 -12
- package/dist/chunks/{job-ny1qfqm5.js → generate-y5njdhxq.js} +7 -7
- package/dist/chunks/{job-a2rpfkac.js → generate-y5rf7nzv.js} +4 -4
- package/dist/chunks/{job-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{job-3ppptnan.js → generate-yf4jcbx9.js} +6 -6
- package/dist/chunks/{job-bnzwt7hj.js → generate-ygkdy722.js} +1 -1
- package/dist/chunks/{job-kqmyp3gw.js → generate-ymftmb4x.js} +24 -24
- package/dist/chunks/{job-1acjjqhc.js → generate-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-1sxx6fsp.js → generate-yp5y7gxn.js} +5 -5
- package/dist/chunks/{job-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-q2x6er7s.js → generate-yrqbhy7t.js} +3 -3
- package/dist/chunks/{job-s4enseaf.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/generate-ysdhkd7t.js +26 -0
- package/dist/chunks/{job-z07pqspn.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{job-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-jhc88c4z.js → generate-z0hkwef7.js} +26 -26
- package/dist/chunks/{job-xe86m5q7.js → generate-z3mwdy1e.js} +2 -2
- package/dist/chunks/{job-29x78va6.js → generate-z63w68vq.js} +6 -6
- package/dist/chunks/{job-fe76aby9.js → generate-z9mfjqhv.js} +10 -10
- package/dist/chunks/{job-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-1z0m13e0.js → generate-zhdcmryh.js} +17 -17
- package/dist/chunks/{job-ck6z855k.js → generate-zm45vcs9.js} +33 -33
- package/dist/chunks/{job-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-bz16qpmj.js → generate-zz5kw0a1.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/job-4pea7kwr.js +0 -252
- package/dist/chunks/job-kb6w2wmy.js +0 -26
- package/dist/chunks/job-q509s3k3.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-7w99qc9d.js → generate-7w99qc9d.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./generate-yf4jcbx9.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-32ymn5e1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service40
|
|
12
|
+
} from "./generate-k2057gb1.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-r34cw8yr.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./generate-ddvgmnvd.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info9,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service56,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node58
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service56 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service56.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node58 = makeLocationNode({
|
|
168
|
+
service: Service56,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node83, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, Service56, node58, exports_vcs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./generate-ddvgmnvd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./generate-732ar3t7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./generate-bbqtwfcr.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-b5v2de1g.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service67
|
|
24
|
+
} from "./generate-ngcky491.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service21
|
|
27
|
+
} from "./generate-4g5hndmz.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin12,
|
|
39
|
+
name: () => name10,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input9 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin12 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service48;
|
|
70
|
+
const ripgrep = yield* Service18;
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service21;
|
|
73
|
+
const permission = yield* Service67;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin28 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output7, toModelContent5, Plugin12, exports_glob };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-yrqbhy7t.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-r34cw8yr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./generate-yf4jcbx9.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service44
|
|
16
|
+
} from "./generate-zm45vcs9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-32ymn5e1.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service54;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service44;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service54;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service44;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
node51
|
|
7
|
+
} from "./generate-732ar3t7.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service48;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node51] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./generate-5e1pzs32.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./generate-yf4jcbx9.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./generate-7s451enq.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-32ymn5e1.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./generate-k2057gb1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service54;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service71;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service40;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service55;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./generate-z0hkwef7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./generate-yf4jcbx9.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-by5v678g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./generate-awnxdpmt.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./generate-z0hkwef7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|