@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-yrqbhy7t.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-r34cw8yr.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-pacd6fme.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service69,
|
|
21
|
+
node72
|
|
22
|
+
} from "./generate-wjep8sxw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service24,
|
|
25
|
+
node28
|
|
26
|
+
} from "./generate-gh484rvf.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service8,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service8 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service24;
|
|
65
|
+
const store = yield* Service69;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service8.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node10 = makeLocationNode({
|
|
151
|
+
service: Service8,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node87, llmClient2, node28, node72, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service8, isUntitled2, layer6, node10, exports_title };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./generate-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info13
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node61
|
|
5
|
+
} from "./generate-979a2w4f.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-4j4tgtq5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service71,
|
|
12
|
+
node74
|
|
13
|
+
} from "./generate-7s451enq.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-ngcky491.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-y5njdhxq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./generate-ymftmb4x.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service33,
|
|
28
|
+
node37
|
|
29
|
+
} from "./generate-m86ds27b.js";
|
|
30
30
|
import {
|
|
31
31
|
make14
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-drwq78ky.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-hd8vw2pw.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service32,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer13,
|
|
48
|
+
node: () => node36,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -172,11 +172,11 @@ var boundImages2 = (messages) => {
|
|
|
172
172
|
}));
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
class
|
|
175
|
+
class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
const hooks = yield*
|
|
179
|
-
const transport = yield*
|
|
177
|
+
var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
178
|
+
const hooks = yield* Service71;
|
|
179
|
+
const transport = yield* Service33;
|
|
180
180
|
const app = yield* Metadata2;
|
|
181
181
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
182
182
|
const session = input.session;
|
|
@@ -184,7 +184,7 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
184
184
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
185
185
|
const tools = input.tools ?? {
|
|
186
186
|
definitions: [],
|
|
187
|
-
execute: () => new
|
|
187
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
188
188
|
};
|
|
189
189
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
190
190
|
const shaped = yield* shape({
|
|
@@ -280,17 +280,17 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
280
280
|
};
|
|
281
281
|
});
|
|
282
282
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
283
|
-
return
|
|
283
|
+
return Service32.of({
|
|
284
284
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
285
285
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
286
286
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
287
287
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
288
288
|
});
|
|
289
289
|
}));
|
|
290
|
-
var
|
|
291
|
-
service:
|
|
292
|
-
layer:
|
|
293
|
-
deps: [
|
|
290
|
+
var node36 = makeLocationNode({
|
|
291
|
+
service: Service32,
|
|
292
|
+
layer: layer13,
|
|
293
|
+
deps: [node74, node37, node61]
|
|
294
294
|
});
|
|
295
295
|
|
|
296
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
296
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer13, node36, exports_model_request };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-r34cw8yr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./generate-ddvgmnvd.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node73
|
|
13
|
+
} from "./generate-7p7qn9e9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./generate-32ymn5e1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node72
|
|
20
|
+
} from "./generate-wjep8sxw.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node71
|
|
27
|
+
} from "./generate-p1cfyvt1.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service71,
|
|
30
|
+
node74
|
|
31
|
+
} from "./generate-7s451enq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
46
|
ID: () => ID7,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service67,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node70
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID7 = Permission.ID;
|
|
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
114
|
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service67 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service70;
|
|
134
|
+
const sessions = yield* Service69;
|
|
135
|
+
const saved = yield* Service68;
|
|
136
|
+
const hooks = yield* Service71;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service67.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node70 = makeLocationNode({
|
|
303
|
+
service: Service67,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node83, node73, node72, node71, node74]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service67, node70, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./generate-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event12,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service60,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
22
|
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node63,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event12 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service60 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer22 = (options) => Layer.effect(
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service60.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service60.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service60).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service60, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node63 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event12, hasNativeBinding2, Native3, Options10, Service60, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured10, node63, exports_watcher };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./generate-z0hkwef7.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-8kd7g5rj.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node51
|
|
9
|
+
} from "./generate-732ar3t7.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-b5v2de1g.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service48;
|
|
335
335
|
return Service6.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node7 = makeLocationNode({ service: Service6, layer, deps: [
|
|
340
|
+
var node7 = makeLocationNode({ service: Service6, layer, deps: [node51] });
|
|
341
341
|
|
|
342
342
|
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-7w99qc9d.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|